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-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
+