system-test docker-compose uses golang openolt as the default
Added a python compose file if needed
Updated bbsim test to use current arguments
Change-Id: Ib25c9a29381633bdbd2fd8081fbe7fd9b9d940f5
diff --git a/compose/system-test.yml b/compose/system-test.yml
index 71dea7c..2f5c446 100644
--- a/compose/system-test.yml
+++ b/compose/system-test.yml
@@ -156,33 +156,24 @@
adapter_openolt:
image: "${DOCKER_REGISTRY}${DOCKER_REPOSITORY}voltha-openolt-adapter:${DOCKER_TAG}"
- logging:
- driver: "json-file"
- options:
- max-size: "10m"
- max-file: "3"
command: [
- "/voltha/adapters/openolt/main.py",
- "-v",
- "--name=openolt",
- "--kafka_adapter=${DOCKER_HOST_IP}:9092",
- "--kafka_cluster=${DOCKER_HOST_IP}:9092",
- "--backend=etcd",
- "--etcd=${DOCKER_HOST_IP}:2379",
- "--core_topic=rwcore"
+ "/app/openolt",
+ "--kafka_adapter_host=${DOCKER_HOST_IP}",
+ "--kafka_adapter_port=9092",
+ "--kafka_cluster_host=${DOCKER_HOST_IP}",
+ "--kafka_cluster_port=9092",
+ "--core_topic=rwcore",
+ "--kv_store_host=${DOCKER_HOST_IP}",
+ "--kv_store_port=2379"
]
+ ports:
+ - "50062:50062"
networks:
- default
- restart: unless-stopped
adapter_openonu:
image: "${DOCKER_REGISTRY}${DOCKER_REPOSITORY}voltha-openonu-adapter:${DOCKER_TAG}"
- logging:
- driver: "json-file"
- options:
- max-size: "10m"
- max-file: "3"
command: [
"/voltha/adapters/brcm_openomci_onu/main.py",
"-v",
@@ -195,4 +186,3 @@
]
networks:
- default
- restart: unless-stopped