summaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-19 08:02:05 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-19 08:02:05 +0000
commita5d9a6384c09ff8e84c7e6bfefb9b9202b0c2341 (patch)
tree619d37247db604325ca63421e54733d8ae1d3096 /deploy/client.py
parentbe2bef457417df3aabcf371c8c8b9484c955c0f8 (diff)
parent4251f3ca9b4271649f9670468529ba2b077269d0 (diff)
Merge "support FWaaS and VPNaaS"
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/client.py b/deploy/client.py
index b69b8acc..15f1ba8d 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -204,6 +204,12 @@ opts = [
cfg.StrOpt('enable_secgroup',
help='enable security group',
default='true'),
+ cfg.StrOpt('enable_vpnaas',
+ help='enable vpn as service',
+ default='true'),
+ cfg.StrOpt('enable_fwaas',
+ help='enable firewall as service',
+ default='true'),
cfg.StrOpt('network_cfg',
help='netowrk config file',
default=''),
@@ -702,6 +708,8 @@ class CompassClient(object):
package_config["ha_proxy"]["vip"] = CONF.cluster_vip
package_config['enable_secgroup'] = (CONF.enable_secgroup == "true")
+ package_config['enable_fwaas'] = (CONF.enable_fwaas== "true")
+ package_config['enable_vpnaas'] = (CONF.enable_vpnaas== "true")
status, resp = self.client.update_cluster_config(
cluster_id, package_config=package_config)