Simulated O-RUs according to conf spec
- add static IPv4 addresses on OAM network
Issue-ID: OAM-334
Change-Id: I1ed160f629d62cb0ff9a173c2908a3ebd8dce5ea
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
diff --git a/solution/smo/oam/docker-compose.yml b/solution/smo/oam/docker-compose.yml
index 97f7304..b778170 100755
--- a/solution/smo/oam/docker-compose.yml
+++ b/solution/smo/oam/docker-compose.yml
@@ -42,6 +42,7 @@
environment:
ENABLE_ODL_CLUSTER: false
ENABLE_OAUTH: true
+ ODL_CERT_DIR: ${SDNC_CERT_DIR}
ODL_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
SDNC_CONFIG_DIR: /opt/onap/ccsdk/data/properties
SDNC_REPLICAS: 0
@@ -72,6 +73,8 @@
- ./controller/oauth-provider.config.json:/opt/opendaylight/etc/oauth-provider.config.json
- ./controller/devicemanager.properties:/opt/opendaylight/etc/devicemanager.properties
- ./controller/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
+ - ./controller/certs/certs.properties:${SDNC_CERT_DIR}/certs.properties
+ - ./controller/certs/keys0.zip:${SDNC_CERT_DIR}/keys0.zip
labels:
traefik.enable: true
traefik.http.routers.controller.entrypoints: websecure
@@ -81,6 +84,7 @@
networks:
smo:
default:
+ ipv4_address: ${SDNC_OAM_IPv4}
ipv6_address: ${SDNC_OAM_IPv6}
ves-collector:
@@ -110,6 +114,9 @@
traefik.http.services.ves.loadbalancer.server.port: ${VES_ENDPOINT_PORT}
networks:
smo:
+ default:
+ ipv4_address: ${VES_COLLECTOR_OAM_IPv4}
+ ipv6_address: ${VES_COLLECTOR_OAM_IPv6}
networks:
smo:
@@ -121,5 +128,7 @@
ipam:
driver: default
config:
- - subnet: "${NETWORK_SUBNET_OAM_IPv6}"
- gateway: "${NETWORK_GATEWAY_OAM_IPv6}"
+ - subnet: ${NETWORK_SUBNET_OAM_IPv4}
+ gateway: ${NETWORK_GATEWAY_OAM_IPv4}
+ - subnet: ${NETWORK_SUBNET_OAM_IPv6}
+ gateway: ${NETWORK_GATEWAY_OAM_IPv6}