VOL-211: Integrate a clustered Consul service with all Voltha components that use it

This submission adds Docker stackfiles for the chameleon and netconf services.

Change-Id: I3fe091221aeae3e034be74fd4b134f1609f2f7a4
diff --git a/compose/docker-compose-chameleon-swarm.yml b/compose/docker-compose-chameleon-swarm.yml
new file mode 100644
index 0000000..eb6342a
--- /dev/null
+++ b/compose/docker-compose-chameleon-swarm.yml
@@ -0,0 +1,40 @@
+#
+# This Docker stackfile deploys a chameleon swarm, one container per node.
+#
+# Chameleon depends on the following being present:
+# - the 'voltha_net' overlay network
+# - the Voltha service
+#
+# To deploy the stack, issue the command:
+#
+#     docker stack deploy -c docker-compose-chameleon-swarm.yml chameleon
+#
+
+version: "3"
+services:
+  chameleon:
+    image: cord/chameleon:latest
+    deploy:
+      mode: global
+    environment:
+      SERVICE_8881_NAME: "chameleon-rest"
+    entrypoint:
+      - /chameleon/chameleon/main.py
+      - -v
+      - --consul=consul:8500
+      - --fluentd=fluentd:24224
+      - --rest-port=8881
+      - --grpc-endpoint=voltha:50555
+      - --instance-id-is-container-name
+    networks:
+      - voltha-net
+    ports:
+      - "8881:8881"
+    volumes:
+      - /var/run/docker.sock:/tmp/docker.sock
+      
+networks:
+  voltha-net:
+    external:
+      name: voltha_net
+
diff --git a/compose/docker-compose-netconf-swarm.yml b/compose/docker-compose-netconf-swarm.yml
new file mode 100644
index 0000000..ed39a27
--- /dev/null
+++ b/compose/docker-compose-netconf-swarm.yml
@@ -0,0 +1,39 @@
+#
+# This Docker stackfile deploys a netconf swarm, one container per node.
+#
+# Netconf depends on the following being present:
+# - the 'voltha_net' overlay network
+# - the Voltha service
+#
+# To deploy the stack, issue the command:
+#
+#     docker stack deploy -c docker-compose-netconf-swarm.yml netconf
+#
+
+version: "3"
+services:
+  netconf:
+    image: cord/netconf:latest
+    deploy:
+      mode: global
+    environment:
+      SERVICE_1830_NAME: "netconf-server"
+    entrypoint:
+      - /netconf/netconf/main.py
+      - -v
+      - --consul=consul:8500
+      - --fluentd=fluentd:24224
+      - --grpc-endpoint=voltha:50555
+      - --instance-id-is-container-name
+    networks:
+      - voltha-net
+    ports:
+      - "830:1830"
+    volumes:
+      - /var/run/docker.sock:/tmp/docker.sock
+      
+networks:
+  voltha-net:
+    external:
+      name: voltha_net
+