xentaur

changeset 47:b67ffcdd0043

xenomips default parameters
author igor
date Wed Oct 24 16:08:42 2007 +0300 (2007-10-24)
parents 85794a582ef5
children 7a1b67a60fce
files xendomain.py
line diff
     1.1 --- a/xendomain.py	Wed Oct 24 15:30:43 2007 +0300
     1.2 +++ b/xendomain.py	Wed Oct 24 16:08:42 2007 +0300
     1.3 @@ -16,8 +16,24 @@
     1.4  sys.path.append(os.environ['HOME']+"/xentaur")
     1.5  os.environ['xendomain']=domain
     1.6  
     1.7 +
     1.8 +############################
     1.9 +# default values:
    1.10 +platform='7200'
    1.11 +npe_type='npe-400'
    1.12 +bridge_bridge_table = {
    1.13 +}
    1.14 +
    1.15 +hidden_bridges = []
    1.16 +broken_links = []
    1.17 +temporary_links = []
    1.18 +
    1.19 +real_bridges=[]
    1.20 +real_nodes=[]
    1.21 +############################
    1.22 +
    1.23 +# overriden by network config
    1.24  #try:
    1.25 -
    1.26  exec 'from %s import *' % (network)
    1.27  #except:
    1.28  #    print "Can't find or interpret module %s with topology description" %(network)