Add proxy entries for opendaylight endpoints 87/41687/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 11 Sep 2017 15:02:09 +0000 (19:02 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 12 Sep 2017 10:23:56 +0000 (14:23 +0400)
Change-Id: I8ebe4dedb9601ae0f45922fd30a34c67382755fc
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/proxy.yml

index 4aa7bb0..89a1930 100644 (file)
@@ -40,3 +40,30 @@ parameters:
         proxy:
           alternative_names: "IP:${_param:openstack_proxy_address}"
           key_usage: 'digitalSignature, keyEncipherment'
+  nginx:
+    server:
+      site:
+        nginx_proxy_opendaylight_web:
+          enabled: true
+          type: nginx_proxy
+          name: opendaylight_web
+          check: false
+          proxy:
+            host: ${_param:opendaylight_service_host}
+            port: 8181
+            protocol: http
+          host:
+            name: ${_param:nginx_proxy_openstack_api_host}
+            port: 8181
+        nginx_proxy_opendaylight_rest:
+          enabled: true
+          type: nginx_proxy
+          name: opendaylight_rest
+          check: false
+          proxy:
+            host: ${_param:opendaylight_service_host}
+            port: 8282
+            protocol: http
+          host:
+            name: ${_param:nginx_proxy_openstack_api_host}
+            port: 8282