# HG changeset patch # User igor # Date 1193226792 -10800 # Node ID 04f0c6694d1edbc401de2beb7d535a70d4182ca0 # Parent 61476759b5f1e9874d7c8e4004b7cea7b6670ab6 default network module diff -r 61476759b5f1 -r 04f0c6694d1e xendomain.py --- a/xendomain.py Wed Oct 24 14:30:08 2007 +0300 +++ b/xendomain.py Wed Oct 24 14:53:12 2007 +0300 @@ -60,8 +60,17 @@ xenomips='/xenomips/ios/'+ios_name+platform_option+npe_option+' -m 00:16:3e:01:'+hex(int(N))[2:]+':01' +defult_network_module={ + '7200' : 'PA-FE-TX', + '3600' : 'NM-1FE-TX', + '3725' : 'NM-1FE-TX', + '3745' : 'NM-1FE-TX', + '2691' : 'NM-1FE-TX', +} +network_module=default_network_module[platform] + for i in range(len(vbridges)-1): - xenomips += ' -p '+str(i+1)+':PA-FE-TX' + xenomips += ' -p '+str(i+1)+':'+network_module for i in range(len(vbridges)): xenomips += ' -s '+str(i)+':0:gen_eth:eth'+str(i)