diff options
author | CNlucius <lukai1@huawei.com> | 2016-07-19 17:47:13 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-07-19 19:27:21 +0800 |
commit | cbd1cdbca8b2553b0ede3bb934adf597a1510ea4 (patch) | |
tree | 69e3bd5c368226c7caa9cfc57c30a8ced8805261 | |
parent | a059593121d83a1d5a54cdc2e605fd7cbbe50eea (diff) |
COMPASS-440
add config for onos_sfc ci job
Change-Id: I2ae0e4339a8388de8b83b4f2e39edfc465892a20
Signed-off-by: CNlucius <lukai1@huawei.com>
-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)) |