summaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-02-23 09:23:51 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-23 09:23:51 +0000
commit8906fd0b7886fac22cc85839992634cf9f020a23 (patch)
tree276d18117c33bdcc0248900302c1d61739177cd0 /deploy/client.py
parent3d55eab0b45c7f4ae4e4411f035c2fdd8e07c614 (diff)
parent19e5c05e7bbb5b0ca8e5e52e7ae0a64bcf25da54 (diff)
Merge "support odl_l3_agent enable flag param"
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/client.py b/deploy/client.py
index fc5dc729..a87decc9 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -235,6 +235,9 @@ opts = [
cfg.StrOpt('rsa_file',
help='ssh rsa key file',
default=''),
+ cfg.StrOpt('odl_l3_agent',
+ help='odl l3 agent enable flag',
+ default='Disable'),
]
CONF.register_cli_opts(opts)
@@ -723,6 +726,7 @@ class CompassClient(object):
package_config['enable_secgroup'] = (CONF.enable_secgroup == "true")
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"
status, resp = self.client.update_cluster_config(
cluster_id, package_config=package_config)