| {% macro address(data, network) -%} |
| {% if data is defined and network is defined -%} |
| {{ data['NetworkSettings']['Networks'][network]['IPAddress'] }}:50555 }} |
| slaves: ["chameleon", "ofagent"] |
| "/chameleon/chameleon/main.py", |
| "--fluentd=fluentd:24224", |
| "--grpc-endpoint={{ address(data, network) }}", |
| "--instance-id-is-container-name", |
| SERVICE_8881_NAME: "chameleon-rest" |
| - "/var/run/docker.sock:/tmp/docker.sock" |
| "/ofagent/ofagent/main.py", |
| "--consul=${DOCKER_HOST_IP}:8500", |
| "--fluentd=fluentd:24224", |
| "--controller=${DOCKER_HOST_IP}:6633", |
| "--grpc-endpoint={{ address(data, network) }}", |
| "--instance-id-is-container-name", |
| - "/var/run/docker.sock:/tmp/docker.sock" |