add switch for openstack network node's components high availability

Change-Id: I555fc334b8429f4741bf0a8eec3ea3c02fcb5ae1
Signed-off-by: chenshuai <chenshuai@huawei.com>
This commit is contained in:
chenshuai 2016-11-03 03:39:35 -04:00
parent f2f38ff301
commit 5a929be775
3 changed files with 10 additions and 0 deletions

View File

@ -121,6 +121,14 @@ METADATA = {
'default_value': 'Disable' 'default_value': 'Disable'
} }
}, },
'ha_network': {
'_self': {
'mapping_to': 'ha_network',
'field': 'anytype',
'is_required':False,
'default_value': 'Disable'
}
},
'network_cfg': { 'network_cfg': {
'_self': { '_self': {
'mapping_to': 'network_cfg' 'mapping_to': 'network_cfg'

View File

@ -31,6 +31,7 @@ enable_fwaas: $getVar('enable_fwaas', True)
enable_vpnaas: $getVar('enable_vpnaas', True) enable_vpnaas: $getVar('enable_vpnaas', True)
odl_l3_agent: $getVar('odl_l3_agent', 'Disable') odl_l3_agent: $getVar('odl_l3_agent', 'Disable')
moon: $getVar('moon', 'Disable') moon: $getVar('moon', 'Disable')
ha_network: $getVar('ha_network', 'Disable')
onos_nic: $getVar('onos_nic', 'eth2') onos_nic: $getVar('onos_nic', 'eth2')
ip_settings: $ip_settings ip_settings: $ip_settings
network_cfg: $network_cfg network_cfg: $network_cfg

View File

@ -31,6 +31,7 @@ enable_fwaas: $getVar('enable_fwaas', True)
enable_vpnaas: $getVar('enable_vpnaas', True) enable_vpnaas: $getVar('enable_vpnaas', True)
odl_l3_agent: $getVar('odl_l3_agent', 'Disable') odl_l3_agent: $getVar('odl_l3_agent', 'Disable')
moon: $getVar('moon', 'Disable') moon: $getVar('moon', 'Disable')
ha_network: $getVar('ha_network', 'Disable')
onos_nic: $getVar('onos_nic', 'eth2') onos_nic: $getVar('onos_nic', 'eth2')
ip_settings: $ip_settings ip_settings: $ip_settings
network_cfg: $network_cfg network_cfg: $network_cfg