xentaur

changeset 31:532f2ed25f70

fontsize + shapes color
author nata
date Sat Sep 22 00:09:45 2007 +0300 (2007-09-22)
parents 55b03e2a35c0
children bf2d7c5bb340
files build-xenomips-image shapes/all/quagga.png shapes/all/router.png shapes/all/switch.png shapes/all/switch_turned_down.png shapes/all/xenomips.png xentaur.py
line diff
     1.1 --- a/build-xenomips-image	Fri Sep 21 22:40:26 2007 +0300
     1.2 +++ b/build-xenomips-image	Sat Sep 22 00:09:45 2007 +0300
     1.3 @@ -1,13 +1,13 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -DYNAMIPS_BUILD=yes
     1.7 +DYNAMIPS_BUILD=no
     1.8  XENOMIPS_FS_BUILD=yes
     1.9 -CONFIG_FS_BUILD=yes
    1.10 -IOS_FS_BUILD=yes
    1.11 +CONFIG_FS_BUILD=no
    1.12 +IOS_FS_BUILD=no
    1.13  
    1.14  XENOMIPS_DIR="files/"
    1.15 -XENOMIPS_IMAGES_DIR="../xenomips-images/"
    1.16 -IOS_DIR="ios/"
    1.17 +XENOMIPS_IMAGES_DIR="/home/nata/xenomips-images/"
    1.18 +IOS_DIR="/home/nata/ios/"
    1.19  SSH_OPEN_KEY=files/id_dsa.pub
    1.20  
    1.21  #Xenomips FS
     2.1 Binary file shapes/all/quagga.png has changed
     3.1 Binary file shapes/all/router.png has changed
     4.1 Binary file shapes/all/switch.png has changed
     5.1 Binary file shapes/all/switch_turned_down.png has changed
     6.1 Binary file shapes/all/xenomips.png has changed
     7.1 --- a/xentaur.py	Fri Sep 21 22:40:26 2007 +0300
     7.2 +++ b/xentaur.py	Sat Sep 22 00:09:45 2007 +0300
     7.3 @@ -6,7 +6,7 @@
     7.4  xenomips_vars.N='1'
     7.5  sys.path.append('/etc/xen')
     7.6  
     7.7 -xen_config_name='fabergeN'
     7.8 +xen_config_name='netw'
     7.9  exec 'from '+xen_config_name+' import bridges,vbridges_table, hidden_bridges, domains, broken_links, temporary_links, domain_types'
    7.10  
    7.11  bridges_turned_down=[]
    7.12 @@ -85,7 +85,7 @@
    7.13      for domain in domains:
    7.14          domain_type[domain]=domain_types[i]
    7.15          i+=1
    7.16 -    return node+" [label=\"  "+node+"\",shapefile=\"shapes/all/"+domain_type[node]+".png\",fontcolor=navy,fontsize=14]"
    7.17 +    return node+" [label=\"  "+node+"\",shapefile=\"shapes/all/"+domain_type[node]+".png\",fontcolor=black,fontsize=16]"
    7.18  
    7.19  def graph_bridge(bridge):
    7.20      if bridge in hidden_bridges:
    7.21 @@ -189,6 +189,7 @@
    7.22  """
    7.23  
    7.24  def shell():
    7.25 +    autoredraw()
    7.26      ipshell = IPShellEmbed()
    7.27      ipshell()
    7.28