aboutsummaryrefslogtreecommitdiffstats
path: root/templates/default/mso-po-adapter-config
diff options
context:
space:
mode:
authorpiclose <pc457b@intl.att.com>2017-02-01 16:18:30 +0100
committerpiclose <pc457b@intl.att.com>2017-02-01 16:19:06 +0100
commit03f2362649b5bcf83d7e6e5359abf18b6810f16b (patch)
tree2107611be86508add699e6ed33e912221795f25f /templates/default/mso-po-adapter-config
parentdd8e6f97fe382311d40487749b8706f4f3ae9f94 (diff)
Initial OpenECOMP MSO mso-config cookbook commit
Change-Id: I57dfeb7fb8fceea14e1d1394f51009af141dd6a1 Signed-off-by: piclose <pc457b@intl.att.com>
Diffstat (limited to 'templates/default/mso-po-adapter-config')
-rw-r--r--templates/default/mso-po-adapter-config/cloud_config.json34
-rw-r--r--templates/default/mso-po-adapter-config/mso.network.properties39
-rw-r--r--templates/default/mso-po-adapter-config/mso.tenant.properties13
-rw-r--r--templates/default/mso-po-adapter-config/mso.vnf.properties38
4 files changed, 124 insertions, 0 deletions
diff --git a/templates/default/mso-po-adapter-config/cloud_config.json b/templates/default/mso-po-adapter-config/cloud_config.json
new file mode 100644
index 0000000..41586c1
--- /dev/null
+++ b/templates/default/mso-po-adapter-config/cloud_config.json
@@ -0,0 +1,34 @@
+{
+ "cloud_config":
+ {
+ "identity_services":
+ {
+ <% @var["identity_services"].each_with_index do |item,count| %>
+ "<%= item[:dcp_clli] %>":
+ {
+ "identity_url": "<%= item[:identity_url] %>",
+ "mso_id": "<%= item[:mso_id] %>",
+ "mso_pass": "<%= item[:mso_pass] %>",
+ "admin_tenant": "<%= item[:admin_tenant] %>",
+ "member_role": "<%= item[:member_role] %>",
+ "tenant_metadata": <%= item[:tenant_metadata] %>,
+ "identity_server_type": "<%= item[:identity_server_type] %>",
+ "identity_authentication_type": "<%= item[:identity_authentication_type] %>"
+ }<%= ',' if count < (@var["identity_services"].size - 1) %>
+ <% end %>
+ },
+ "cloud_sites":
+ {
+ <% @var["cloud_sites"].each_with_index do |item,count| %>
+ "<%= item[:id] %>":
+ {
+ "region_id": "<%= item[:region_id] %>",
+ "clli": "<%= item[:lcp_clli] %>",
+ "aic_version": "<%= item[:aic_version] %>",
+ "identity_service_id": "<%= item[:identity_service_id] %>"
+ }<%= ',' if count < (@var["cloud_sites"].size - 1) %>
+ <% end %>
+ }
+ }
+}
+
diff --git a/templates/default/mso-po-adapter-config/mso.network.properties b/templates/default/mso-po-adapter-config/mso.network.properties
new file mode 100644
index 0000000..cab41f0
--- /dev/null
+++ b/templates/default/mso-po-adapter-config/mso.network.properties
@@ -0,0 +1,39 @@
+# MSO Properties go here
+org.openecomp.mso.adapters.network.bpelauth=<%= @var["network"]["nwbpelauth"] %>
+
+# Socket timeout for BPEL client (in seconds)
+org.openecomp.mso.adapters.network.sockettimeout=<%= @var["network"]["sockettimeout"] %>
+
+# Connect timeout for BPEL client (in seconds)
+org.openecomp.mso.adapters.network.connecttimeout=<%= @var["network"]["connecttimeout"] %>
+
+# Max number of times to retry for BPEL client
+org.openecomp.mso.adapters.network.retrycount=<%= @var["network"]["retrycount"] %>
+
+# Default interval to wait between retries (in seconds), negative means use backoff algorithm
+org.openecomp.mso.adapters.network.retryinterval=<%= @var["network"]["retryinterval"] %>
+
+# Default list of response codes to trigger a retry (900 is "connection failed")
+org.openecomp.mso.adapters.network.retrylist=<%= @var["network"]["retrylist"] %>
+
+###########
+#po
+###
+ecomp.mso.adapters.po.retryCodes=<%= @var["network"]["po.retryCodes"] %>
+ecomp.mso.adapters.po.retryDelay=<%= @var["network"]["po.retryDelay"] %>
+ecomp.mso.adapters.po.retryCount=<%= @var["network"]["po.retryCount"] %>
+
+###########
+#heat
+###
+ecomp.mso.adapters.heat.create.pollInterval=<%= @var["network"]["heat.create.pollInterval"] %>
+ecomp.mso.adapters.heat.delete.pollTimeout=<%= @var["network"]["heat.delete.pollTimeout"] %>
+ecomp.mso.adapters.heat.delete.pollInterval=<%= @var["network"]["heat.delete.pollInterval"] %>
+
+###########
+#needed in network file also for keystoneEP/ORM
+###########
+org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["network"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %>
+org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["network"]["org.openecomp.mso.adapters.default_keystone_url_version"] %>
+org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["network"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %>
+
diff --git a/templates/default/mso-po-adapter-config/mso.tenant.properties b/templates/default/mso-po-adapter-config/mso.tenant.properties
new file mode 100644
index 0000000..52910b0
--- /dev/null
+++ b/templates/default/mso-po-adapter-config/mso.tenant.properties
@@ -0,0 +1,13 @@
+org.openecomp.mso.adapters.tenant.default_tenant_description=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_tenant_description"] %>
+org.openecomp.mso.adapters.tenant.default_region_type=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_region_type"] %>
+org.openecomp.mso.adapters.tenant.default_user_role=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_user_role"] %>
+org.openecomp.mso.adapters.tenant.default_success_status_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_success_status_string"] %>
+org.openecomp.mso.adapters.tenant.default_no_regions_status_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_no_regions_status_string"] %>
+org.openecomp.mso.adapters.tenant.default_orm_request_path=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_request_path"] %>
+org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %>
+org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["tenant"]["org.openecomp.mso.adapters.default_keystone_url_version"] %>
+org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["tenant"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %>
+org.openecomp.mso.adapters.tenant.default_orm_url_replace_this=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_url_replace_this"] %>
+org.openecomp.mso.adapters.tenant.default_orm_url_replace_with_this=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_url_replace_with_this"] %>
+org.openecomp.mso.adapters.tenant.default_quota_value=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_quota_value"] %>
+org.openecomp.mso.adapters.tenant.set_default_quota=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.set_default_quota"] %>
diff --git a/templates/default/mso-po-adapter-config/mso.vnf.properties b/templates/default/mso-po-adapter-config/mso.vnf.properties
new file mode 100644
index 0000000..1711a31
--- /dev/null
+++ b/templates/default/mso-po-adapter-config/mso.vnf.properties
@@ -0,0 +1,38 @@
+###########
+#vnf
+###
+org.openecomp.mso.adapters.vnf.bpelauth=<%= @var["vnf"]["vnfbpelauth"] %>
+org.openecomp.mso.adapters.vnf.checkRequiredParameters=<%= @var["vnf"]["checkrequiredparameters"] %>
+org.openecomp.mso.adapters.vnf.addGetFilesOnVolumeReq=<%= @var["vnf"]["addgetfilesonvolumereq"] %>
+# Socket timeout for BPEL client (in seconds)
+org.openecomp.mso.adapters.vnf.sockettimeout=<%= @var["vnf"]["sockettimeout"] %>
+# Connect timeout for BPEL client (in seconds)
+org.openecomp.mso.adapters.vnf.connecttimeout=<%= @var["vnf"]["connecttimeout"] %>
+# Max number of times to retry for BPEL client
+org.openecomp.mso.adapters.vnf.retrycount=<%= @var["vnf"]["retrycount"] %>
+# Default interval to wait between retries (in seconds), negative means use backoff algorithm
+org.openecomp.mso.adapters.vnf.retryinterval=<%= @var["vnf"]["retryinterval"] %>
+# Default list of response codes to trigger a retry (900 is "connection failed")
+org.openecomp.mso.adapters.vnf.retrylist=<%= @var["vnf"]["retrylist"] %>
+
+###########
+#po
+###
+ecomp.mso.adapters.po.retryCodes=<%= @var["vnf"]["po.retryCodes"] %>
+ecomp.mso.adapters.po.retryDelay=<%= @var["vnf"]["po.retryDelay"] %>
+ecomp.mso.adapters.po.retryCount=<%= @var["vnf"]["po.retryCount"] %>
+
+###########
+#heat
+###
+ecomp.mso.adapters.heat.create.pollInterval=<%= @var["vnf"]["heat.create.pollInterval"] %>
+ecomp.mso.adapters.heat.delete.pollTimeout=<%= @var["vnf"]["heat.delete.pollTimeout"] %>
+ecomp.mso.adapters.heat.delete.pollInterval=<%= @var["vnf"]["heat.delete.pollInterval"] %>
+
+###########
+#needed in vnf file also for keystoneEP/ORM
+###########
+org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["vnf"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %>
+org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["vnf"]["org.openecomp.mso.adapters.default_keystone_url_version"] %>
+org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["vnf"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %>
+