aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-10-28 10:59:36 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-10-28 10:59:36 +0800
commit53d69be6f2485d0b37d4791a2d6eb278b69a7297 (patch)
tree1272dcc8c26ac56adc4e02e2613f4e1c36c21c5a
parent4e7f7cb51316cc3c5e70fa0eef1d0a34bf2f5a30 (diff)
Add MSB IP Config
Add MSB IP Conifg Change-Id: I69d7e4d3b45cb6d2bbbe3e956296ee88f263b748 Issue-ID:SO-280 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
-rw-r--r--attributes/topology.rb3
-rw-r--r--templates/default/mso-topology-config/topology.properties4
2 files changed, 4 insertions, 3 deletions
diff --git a/attributes/topology.rb b/attributes/topology.rb
index 609ce86..afcd7ef 100644
--- a/attributes/topology.rb
+++ b/attributes/topology.rb
@@ -9,7 +9,8 @@ node.default["mso-config"]["topology"]["camunda-load-balancer"] = URI.join(node[
node.default["mso-config"]["topology"]["site-name"] = node.chef_environment
node.default["mso-config"]["topology"]["server-port"] = "8080"
node.default["mso-config"]["topology"]["ssl-enable"] = "false"
-
+node.default["mso-config"]["topology"]["msb-server-ip"] = "127.0.0.1"
+node.default["mso-config"]["topology"]["msb-server-port"] = "8080"
node.default["mso-config"]["topology"]["apih-healthcheck-urn"] = "/ecomp/mso/infra/healthcheck,/asdc/healthcheck,/dbadapters/healthcheck"
node.default["mso-config"]["topology"]["jra-healthcheck-urn"] = "/networks/rest/healthcheck,/adapters/rest/healthcheck,/vnfs/rest/healthcheck,/tenants/rest/healthcheck"
node.default["mso-config"]["topology"]["camunda-healthcheck-urn"] = "/mso/healthcheck,/mso/common/healthcheck"
diff --git a/templates/default/mso-topology-config/topology.properties b/templates/default/mso-topology-config/topology.properties
index 2b79394..c055797 100644
--- a/templates/default/mso-topology-config/topology.properties
+++ b/templates/default/mso-topology-config/topology.properties
@@ -16,5 +16,5 @@ camunda-healthcheck-urn=<%= @var["camunda-healthcheck-urn"] %>
apih-nodehealthcheck-urn=<%= @var["apih-nodehealthcheck-urn"] %>
jra-nodehealthcheck-urn=<%= @var["jra-nodehealthcheck-urn"] %>
camunda-nodehealthcheck-urn=<%= @var["camunda-nodehealthcheck-urn"] %>
-msb-ip=10.229.32.131
-msb-port=8099 \ No newline at end of file
+msb-ip=<%= @var["msb-server-ip"] %>
+msb-port=<%= @var["msb-server-port"] %> \ No newline at end of file