Skip to contentSkip to conversation

XendNode instance // network bridge // SrvRoot

DISCUSSION Pascal Bouchareine 2 participants 2 messages Apr 30, 2007

lore
Share & tools
lore
#0 lore raw

Hi,
In the current -unstable tree, classes use a singleton XendNode.instance() to represent node configuration.

This instance is first created from SrvServer, when create() is called - hence it is initialized with no knowledge of bridges/networks, since they get started later by Vifctl.network('start') from SrvServer in start().

This leads to half-a-bug: if you have no StateStore, network-bridge 'xenbr0' is not seen by the xen Api until the first xend restart (bridge created, Brctl has it).

I'm really lost in this part of the code, and don't what is going to change or get removed from there, so I have no real idea how to fix this. Is this SrvRoot()/{node,domain,vnet} used ?

Thanks,
Pascal

Signature · 2 lines
\o/   Pascal Bouchareine - Gandi 
 g    0170393757           15, place de la Nation - 75011 Paris      
#1 lore raw

Whoops... I'll fix this.

Cheers

Tom

Quoted 28 lines · Pascal Bouchareine

Hi,
In the current -unstable tree, classes use a singleton XendNode.instance() to represent node configuration.

This instance is first created from SrvServer, when create() is called - hence it is initialized with no knowledge of bridges/networks, since they get started later by Vifctl.network('start') from SrvServer in start().

This leads to half-a-bug: if you have no StateStore, network-bridge 'xenbr0' is not seen by the xen Api until the first xend restart (bridge created, Brctl has it).

I'm really lost in this part of the code, and don't what is going to change or get removed from there, so I have no real idea how to fix this. Is this SrvRoot()/{node,domain,vnet} used ?

Thanks,
Pascal

Signature · 7 lines
\o/   Pascal Bouchareine - Gandi
 g    0170393757           15, place de la Nation - 75011 Paris

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel