Dockerizing ofagent
Change-Id: Ic2ead67cedd74463a72efca8c3f5d74ea2433af8
diff --git a/compose/docker-compose-system-test.yml b/compose/docker-compose-system-test.yml
index 5c261f8..a3e8ab1 100644
--- a/compose/docker-compose-system-test.yml
+++ b/compose/docker-compose-system-test.yml
@@ -126,3 +126,26 @@
SERVICE_8881_NAME: "chameleon-rest"
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
+ #
+ # ofagent server instance
+ #
+ ofagent:
+ image: cord/ofagent
+ command: [
+ "/ofagent/main.py",
+ "-v",
+ "--consul=${DOCKER_HOST_IP}:8500",
+ "--fluentd=fluentd:24224",
+ "--controller=localhost:6633",
+ "--grpc-endpoint=@voltha-grpc",
+ "--instance-id-is-container-name",
+ "-v"
+ ]
+ depends_on:
+ - consul
+ - voltha
+ links:
+ - consul
+ - fluentd
+ volumes:
+ - "/var/run/docker.sock:/tmp/docker.sock"