# HG changeset patch # User igor # Date 1193228250 -10800 # Node ID 9c7a4cfa97384c3c40b20654536afe72de9334ac # Parent 04f0c6694d1edbc401de2beb7d535a70d4182ca0 many platforms support diff -r 04f0c6694d1e -r 9c7a4cfa9738 build-xenomips-image --- a/build-xenomips-image Wed Oct 24 14:53:12 2007 +0300 +++ b/build-xenomips-image Wed Oct 24 15:17:30 2007 +0300 @@ -2,8 +2,8 @@ DYNAMIPS_BUILD=no XENOMIPS_FS_BUILD=no -CONFIG_FS_BUILD=yes -IOS_FS_BUILD=no +CONFIG_FS_BUILD=no +IOS_FS_BUILD=yes XENOMIPS_DIR="files/" XENOMIPS_IMAGES_DIR="/xen/images/" diff -r 04f0c6694d1e -r 9c7a4cfa9738 xendomain.py --- a/xendomain.py Wed Oct 24 14:53:12 2007 +0300 +++ b/xendomain.py Wed Oct 24 15:17:30 2007 +0300 @@ -58,9 +58,13 @@ if platform == '7200': npe_option=" -t "+npe_type -xenomips='/xenomips/ios/'+ios_name+platform_option+npe_option+' -m 00:16:3e:01:'+hex(int(N))[2:]+':01' +mac_option=' -m 00:16:3e:01:'+hex(int(N))[2:]+':01' +if platform != '7200': + mac_option ='' -defult_network_module={ +xenomips='/xenomips/ios/'+ios_name+platform_option+npe_option+mac_option + +default_network_module={ '7200' : 'PA-FE-TX', '3600' : 'NM-1FE-TX', '3725' : 'NM-1FE-TX', @@ -69,8 +73,9 @@ } network_module=default_network_module[platform] -for i in range(len(vbridges)-1): - xenomips += ' -p '+str(i+1)+':'+network_module +for i in range(len(vbridges)): + if platform!= '7200' or i!=0: + xenomips += ' -p '+str(i)+':'+network_module for i in range(len(vbridges)): xenomips += ' -s '+str(i)+':0:gen_eth:eth'+str(i)