diff options
author | root <zhou.ya@zte.com.cn> | 2017-07-06 10:42:50 +0800 |
---|---|---|
committer | root <zhou.ya@zte.com.cn> | 2017-07-07 12:50:18 +0800 |
commit | 77f085712a8a7ab2cb42411f457ee87675cdf676 (patch) | |
tree | 4c56c97d737f1ce6cd93b6e482deb57419957f73 /templates/virtual_environment | |
parent | 680bac98dd00728de21dfb5e0f932a5f3a4bdcba (diff) |
add extra interface to enable the keepablived plane and the api plane
Change-Id: I0157bf8b6fa9be254c61bb384065f80107ab3dda
Signed-off-by: root <zhou.ya@zte.com.cn>
Diffstat (limited to 'templates/virtual_environment')
-rw-r--r-- | templates/virtual_environment/networks/external.xml (renamed from templates/virtual_environment/networks/os-all_in_one.xml) | 0 | ||||
-rw-r--r-- | templates/virtual_environment/networks/keepalived.xml | 12 | ||||
-rw-r--r-- | templates/virtual_environment/vms/computer01.xml | 4 | ||||
-rw-r--r-- | templates/virtual_environment/vms/computer02.xml | 4 | ||||
-rw-r--r-- | templates/virtual_environment/vms/controller01.xml | 4 | ||||
-rw-r--r-- | templates/virtual_environment/vms/controller02.xml | 4 | ||||
-rw-r--r-- | templates/virtual_environment/vms/controller03.xml | 4 |
7 files changed, 32 insertions, 0 deletions
diff --git a/templates/virtual_environment/networks/os-all_in_one.xml b/templates/virtual_environment/networks/external.xml index f8e86830..f8e86830 100644 --- a/templates/virtual_environment/networks/os-all_in_one.xml +++ b/templates/virtual_environment/networks/external.xml diff --git a/templates/virtual_environment/networks/keepalived.xml b/templates/virtual_environment/networks/keepalived.xml new file mode 100644 index 00000000..7f13a1c6 --- /dev/null +++ b/templates/virtual_environment/networks/keepalived.xml @@ -0,0 +1,12 @@ +<network connections='1'> + <name>daisy3</name> + <forward mode='nat'> + <nat> + <port start='1024' end='65535'/> + </nat> + </forward> + <bridge name='daisy3' stp='on' delay='0'/> + <domain name='daisy3'/> + <ip address='100.20.11.1' netmask='255.255.255.0'> + </ip> +</network> diff --git a/templates/virtual_environment/vms/computer01.xml b/templates/virtual_environment/vms/computer01.xml index 66c54eb7..5f7f88ba 100644 --- a/templates/virtual_environment/vms/computer01.xml +++ b/templates/virtual_environment/vms/computer01.xml @@ -84,6 +84,10 @@ <source network='daisy2' bridge='daisy2'/> <model type='rtl8139'/> </interface> + <interface type='network'> + <source network='daisy3' bridge='daisy3'/> + <model type='rtl8139'/> + </interface> <serial type='pty'> <source path='/dev/pts/4'/> <target port='0'/> diff --git a/templates/virtual_environment/vms/computer02.xml b/templates/virtual_environment/vms/computer02.xml index f176a1e4..bad307cf 100644 --- a/templates/virtual_environment/vms/computer02.xml +++ b/templates/virtual_environment/vms/computer02.xml @@ -84,6 +84,10 @@ <source network='daisy2' bridge='daisy2'/> <model type='rtl8139'/> </interface> + <interface type='network'> + <source network='daisy3' bridge='daisy3'/> + <model type='rtl8139'/> + </interface> <serial type='pty'> <source path='/dev/pts/4'/> <target port='0'/> diff --git a/templates/virtual_environment/vms/controller01.xml b/templates/virtual_environment/vms/controller01.xml index c432c310..e2919996 100644 --- a/templates/virtual_environment/vms/controller01.xml +++ b/templates/virtual_environment/vms/controller01.xml @@ -84,6 +84,10 @@ <source network='daisy2' bridge='daisy2'/> <model type='rtl8139'/> </interface> + <interface type='network'> + <source network='daisy3' bridge='daisy3'/> + <model type='rtl8139'/> + </interface> <serial type='pty'> <source path='/dev/pts/4'/> <target port='0'/> diff --git a/templates/virtual_environment/vms/controller02.xml b/templates/virtual_environment/vms/controller02.xml index d13d00a9..cec3c517 100644 --- a/templates/virtual_environment/vms/controller02.xml +++ b/templates/virtual_environment/vms/controller02.xml @@ -84,6 +84,10 @@ <source network='daisy2' bridge='daisy2'/> <model type='rtl8139'/> </interface> + <interface type='network'> + <source network='daisy3' bridge='daisy3'/> + <model type='rtl8139'/> + </interface> <serial type='pty'> <source path='/dev/pts/4'/> <target port='0'/> diff --git a/templates/virtual_environment/vms/controller03.xml b/templates/virtual_environment/vms/controller03.xml index c0622c62..b86f82b9 100644 --- a/templates/virtual_environment/vms/controller03.xml +++ b/templates/virtual_environment/vms/controller03.xml @@ -84,6 +84,10 @@ <source network='daisy2' bridge='daisy2'/> <model type='rtl8139'/> </interface> + <interface type='network'> + <source network='daisy3' bridge='daisy3'/> + <model type='rtl8139'/> + </interface> <serial type='pty'> <source path='/dev/pts/4'/> <target port='0'/> |