X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fnetwork%2Fdocker-compose.yml;h=d8e2ed94acd1b4a6a752ac08b085f26eece98f59;hb=470bbf5501fc5afbb2b084c86ccc1e0184292a5b;hp=25ff1b0ac9445f5d387865ee33f62153cc27d26e;hpb=a289a48ee7b462456d1b27606e6ab576f94ea929;p=oam.git diff --git a/solution/network/docker-compose.yml b/solution/network/docker-compose.yml index 25ff1b0..d8e2ed9 100755 --- a/solution/network/docker-compose.yml +++ b/solution/network/docker-compose.yml @@ -29,16 +29,14 @@ x-common_env: &common_env NTS_HOST_TRANSFER_SFTP_BASE_PORT: ${NTS_HOST_TRANSFER_SFTP_BASE_PORT} SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} - SDN_CONTROLLER_IP: ${SDNC_OAM_HOST} - # SDN_CONTROLLER_PORT: ${SDNC_REST_PORT} - SDN_CONTROLLER_CALLHOME_IP: ${SDNC_OAM_IPv6} - SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT} + SDN_CONTROLLER_IP: ${SDNC_DCN_HOST} + SDN_CONTROLLER_CALLHOME_IP: ${SDNC_DCN_HOST} SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME} SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD} VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} - VES_ENDPOINT_IP: ${VES_COLLECTOR_OAM_HOST} + VES_ENDPOINT_IP: ${VES_COLLECTOR_DCN_HOST} VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} @@ -57,9 +55,8 @@ x-topo-env: &topo_env x-nf: &common_nf stop_grace_period: 5m extra_hosts: - - "identity.smo.o-ran-sc.org:${HOST_IP}" - - "controller.oam.smo.o-ran-sc.org:${HOST_IP}" - - "ves-collector.oam.smo.o-ran-sc.org:${HOST_IP}" + - "controller.dcn.${GATEWAY_DOMAIN}:${HOST_IP}" + - "ves-collector.dcn.${GATEWAY_DOMAIN}:${HOST_IP}" cap_add: - SYS_ADMIN - SYS_PTRACE @@ -77,50 +74,84 @@ services: environment: <<: [*common_env, *du_env] - ntsim-ng-o-ru-fh-11221: + ntsim-ng-o-du-1123: + <<: *common_nf + image: "${LOCAL_DOCKER_REPO}nts-ng-o-ran-du-rel-18:${NTS_BUILD_VERSION}" + container_name: ntsim-ng-o-du-1123 + hostname: O-DU-1123 + volumes: + - ./ntsim-ng-o-du-rel-18/config.json:/opt/dev/ntsim-ng/config/config.json + - ./ntsim-ng-o-du-rel-18/_3gpp-common-managed-element-running.xml:/opt/dev/deploy/data/_3gpp-common-managed-element-running.xml + - ./ntsim-ng-o-du-rel-18/_3gpp-common-managed-element-operational.xml:/opt/dev/deploy/data/_3gpp-common-managed-element-operational.xml + environment: + <<: [*common_env, *du_env] + + ntsim-ng-o-ru-11221: <<: *common_nf image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" - container_name: ntsim-ng-o-ru-fh-11221 + container_name: ntsim-ng-o-ru-11221 hostname: O-RU-11221 volumes: - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/config.json:/opt/dev/ntsim-ng/config/config.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml + - ./ntsim-ng-o-ru/o-ru-11221/config.json:/opt/dev/ntsim-ng/config/config.json + - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json + - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json + - ./ntsim-ng-o-ru/o-ru-11221/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml + - ./ntsim-ng-o-ru/o-ru-11221/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml environment: + SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} <<: [*common_env, *ru_env] - ntsim-ng-o-ru-fh-11222: + ntsim-ng-o-ru-11222: <<: *common_nf image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" - container_name: ntsim-ng-o-ru-fh-11222 + container_name: ntsim-ng-o-ru-11222 hostname: O-RU-11222 volumes: - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/config.json:/opt/dev/ntsim-ng/config/config.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml + - ./ntsim-ng-o-ru/o-ru-11222/config.json:/opt/dev/ntsim-ng/config/config.json + - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json + - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json + - ./ntsim-ng-o-ru/o-ru-11222/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml + - ./ntsim-ng-o-ru/o-ru-11222/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml environment: + SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} <<: [*common_env, *ru_env] - ntsim-ng-o-ru-fh-11223: + ntsim-ng-o-ru-11223: <<: *common_nf image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" - container_name: ntsim-ng-o-ru-fh-11223 + container_name: ntsim-ng-o-ru-11223 hostname: O-RU-11223 volumes: - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/config.json:/opt/dev/ntsim-ng/config/config.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml - - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml + - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml + - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml + environment: + SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} + <<: [*common_env, *ru_env] + + ntsim-ng-o-ru-11224: + <<: *common_nf + image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" + container_name: ntsim-ng-o-ru-11224 + hostname: O-RU-11224 + volumes: + - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json + - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml + - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml environment: + SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} <<: [*common_env, *ru_env] networks: default: - name: oam - external: true - \ No newline at end of file + driver: bridge + name: network + enable_ipv6: true + ipam: + driver: default + config: + - subnet: ${NETWORK_SUBNET_DCN_IPv6}