aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/client.py b/deploy/client.py
index e3591e51..50e236f0 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -249,6 +249,9 @@ opts = [
cfg.StrOpt('onos_sfc',
help='onos_sfc enable flag',
default='Disable'),
+ cfg.StrOpt('odl_sfc',
+ help='odl_sfc enable flag',
+ default='Disable'),
]
CONF.register_cli_opts(opts)
@@ -779,6 +782,8 @@ class CompassClient(object):
if CONF.odl_l3_agent == "Enable" else "Disable"
package_config['onos_sfc'] = "Enable" \
if CONF.onos_sfc == "Enable" else "Disable"
+ package_config['odl_sfc'] = "Enable" \
+ if CONF.odl_sfc == "Enable" else "Disable"
status, resp = self.client.update_cluster_config(
cluster_id, package_config=package_config)