xen-drbd
diff od.py @ 33:85165c844ac9
fill only linux domains; skip all other
author | igor@manas.xt.vpn |
---|---|
date | Mon Aug 18 12:29:26 2008 +0300 (2008-08-18) |
parents | 6e01df357a6a |
children | 44efea4507ac |
line diff
1.1 --- a/od.py Tue Feb 19 12:53:45 2008 +0200 1.2 +++ b/od.py Mon Aug 18 12:29:26 2008 +0300 1.3 @@ -1,5 +1,5 @@ 1.4 1.5 -node1='debian' 1.6 +node1='manas' 1.7 node2='mirror' 1.8 #i_am=node1 1.9 1.10 @@ -15,7 +15,8 @@ 1.11 node1_ip=ip_address[node1] 1.12 node2_ip=ip_address[node2] 1.13 1.14 -domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt', 'pgw', 'ldap', 'mail', 'uucp', 'samba', ] 1.15 +domains= [ 'gw', 'igw', 'dns', 'vpn', 'apt', 'pgw', 'ldap', 'mail', 'uucp', 'samba', 'test'] 1.16 +domain_types= [ 'linux', 'linux', 'linux', 'linux', 'linux', 'linux', 'linux', 'linux', 'linux', 'linux', 'hvm' ] 1.17 1.18 domain_home = { 1.19 node1 : ['dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'vpn', 'uucp', 'apt'], 1.20 @@ -36,6 +37,7 @@ 1.21 'vpn' :192, 1.22 'uucp' :128, 1.23 'apt' :128, 1.24 + 'test' :128, 1.25 } 1.26 1.27 vcpus_table={ 1.28 @@ -49,6 +51,7 @@ 1.29 'vpn' :4, 1.30 'uucp' :4, 1.31 'apt' :2, 1.32 + 'test' :2, 1.33 } 1.34 1.35 lvm_vg_name="TURBO" 1.36 @@ -73,6 +76,7 @@ 1.37 'drbd14:samba-nbumail:100G', 1.38 'drbd17:samba-profiles:100G' 1.39 ], 1.40 + 'test' : ['drbd18:test:3G'], 1.41 } 1.42 1.43 bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501'] 1.44 @@ -94,6 +98,7 @@ 1.45 'vpn' : ['xenbr3'], 1.46 'apt' : ['xenbr3'], 1.47 'uucp' : ['xenbr3'], 1.48 + 'test' : ['xenbr3'], 1.49 } 1.50 1.51 # FOR INSTALLATION ONLY