WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Random swap of interfaces at domU startup


Le 18 janv. 07 à 20:28, Luke S. Crawford a écrit :
This is a Linux problem rather than a Xen problem; Linux is notorious for swapping network interfaces when disturbed.


I don't think so. The problem comes from xend, it doesn't plug the vif interface on the right bridge.

I guess the problem comes from dict handling in Python, default dicts are not ordered

This is OK :
(XendDomainInfo:1195) {'bridge': 'xenbr0', 'mac': '00:26:3E:7B:0B: 24', 'uuid': '17ccddf1-17ee-87a6-9534-a8439402f38a', 'ip': '192.168.2.145'} (XendDomainInfo:1195) {'bridge': 'xenbr1', 'mac': '00:26:3E:7B:0B: 25', 'uuid': 'b96f77b6-b310-7f21-cdfc-a9a598c85790', 'ip': '10.1.0.21'}

This is NOT OK :
(XendDomainInfo:1195) {'bridge': 'xenbr1', 'mac': '00:26:3E:7B:0B: 25', 'uuid': '661e6a7e-be77-28ce-180d-fca88aa826ab', 'ip': '10.1.0.21'} (XendDomainInfo:1195) {'bridge': 'xenbr0', 'mac': '00:26:3E:7B:0B: 24', 'uuid': '87f327a3-0544-f76a-81f8-6edd5ac7b6f5', 'ip': '192.168.2.145'}

In the configuration file the interfaces are defined as a list which is ordered, xend parses the configuration and creates a dictionary which is not ordered. So the order of the interfaces is lost.





--
Frédéric VANNIÈRE
frederic@xxxxxxxxxxx




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users