xentaur

diff xendomain.py @ 57:548bd71dc5fb

+ example
author igor
date Sat Nov 10 20:00:12 2007 +0200 (2007-11-10)
parents 7a1b67a60fce
children 58381d1fe31b
line diff
     1.1 --- a/xendomain.py	Wed Oct 24 19:28:37 2007 +0300
     1.2 +++ b/xendomain.py	Sat Nov 10 20:00:12 2007 +0200
     1.3 @@ -54,6 +54,13 @@
     1.4  #builder='linux'
     1.5  cpu_cap = 10
     1.6  
     1.7 +for br in bridges:
     1.8 +    if not br in vbridges_table.keys():
     1.9 +        vbridges_table[br]=[]
    1.10 +
    1.11 +for domain in domains:
    1.12 +    if not domain in connection_table.keys():
    1.13 +        connection_table[domain]='true'
    1.14  
    1.15  vbridges = vbridges_table[name]
    1.16