diff options
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/client.py | 4 | ||||
-rwxr-xr-x | deploy/deploy_host.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/deploy/client.py b/deploy/client.py index 8617a56a..2831678f 100644 --- a/deploy/client.py +++ b/deploy/client.py @@ -238,6 +238,9 @@ opts = [ cfg.StrOpt('odl_l3_agent', help='odl l3 agent enable flag', default='Disable'), + cfg.StrOpt('onos_sfc', + help='onos_sfc enable flag', + default='Disable'), ] CONF.register_cli_opts(opts) @@ -727,6 +730,7 @@ class CompassClient(object): package_config['enable_fwaas'] = (CONF.enable_fwaas== "true") package_config['enable_vpnaas'] = (CONF.enable_vpnaas== "true") package_config['odl_l3_agent'] = "Enable" if CONF.odl_l3_agent == "Enable" else "Disable" + package_config['onos_sfc'] = "Enable" if CONF.onos_sfc == "Enable" else "Disable" status, resp = self.client.update_cluster_config( cluster_id, package_config=package_config) diff --git a/deploy/deploy_host.sh b/deploy/deploy_host.sh index 2e2ec714..22d9656e 100755 --- a/deploy/deploy_host.sh +++ b/deploy/deploy_host.sh @@ -45,7 +45,7 @@ function deploy_host(){ --deployment_timeout="${DEPLOYMENT_TIMEOUT}" --${POLL_SWITCHES_FLAG} --dashboard_url="${DASHBOARD_URL}" \ --cluster_vip="${VIP}" --network_cfg="$NETWORK" --neutron_cfg="$NEUTRON" \ --enable_secgroup="${ENABLE_SECGROUP}" --enable_fwaas="${ENABLE_FWAAS}" \ - --rsa_file="$rsa_file" --enable_vpnaas="${ENABLE_VPNAAS}" --odl_l3_agent="${odl_l3_agent}" + --rsa_file="$rsa_file" --enable_vpnaas="${ENABLE_VPNAAS}" --odl_l3_agent="${odl_l3_agent}" --onos_sfc="${onos_sfc}" RET=$? sleep $((AYNC_TIMEOUT+5)) |