aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-08-04 22:48:37 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-08-04 22:48:37 -0400
commit5b533929e96a543172ca301797e9c664851ab443 (patch)
tree7320b2c99805c889f7528a449457c63e125ee032 /deploy
parentc5a23a4c88d9adf2043c21bbc0438f29c2979973 (diff)
add moon scenario in Compass
JIRA: COMPASS-463 Change-Id: Ia51d7d592c0508c104ab42f62fa62693f85f4867 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy')
-rw-r--r--deploy/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/client.py b/deploy/client.py
index 2831678f..d44a3716 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('moon',
+ help='moon enable flag',
+ default='Disable'),
cfg.StrOpt('onos_sfc',
help='onos_sfc enable flag',
default='Disable'),
@@ -730,6 +733,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['moon'] = "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(