xentaur

diff xendomain.py @ 56:308b524d9a70

Многочисленные изменения
Перевод на ОО-модель


Various changes
Transit to OO-model
Real devices can be configured
Interfaces names
Cross bridges
author igor
date Sat Nov 10 19:58:39 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 19:58:39 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