CORD-2578 Create networks in TOSCA

Change-Id: Ia91d881529810a08746e9a5ed8931dab08013719
diff --git a/templates/mcord-ng40-services.yml.j2 b/templates/mcord-ng40-services.yml.j2
index 7106eb4..1b0233b 100644
--- a/templates/mcord-ng40-services.yml.j2
+++ b/templates/mcord-ng40-services.yml.j2
@@ -120,8 +120,6 @@
         name: management_hosts
 {% endif %}
 
-# Other networks are created by vEPC service
-
 # ONOS_CORD, fully created in vtn.yaml
     service#ONOS_CORD:
       type: tosca.nodes.ONOSService
@@ -321,3 +319,22 @@
         - provider_service:
             node: service#mcord
             relationship: tosca.relationships.BelongsToOne
+
+# EPC networks
+
+{% for network in mcord_networks %}
+    {{ network['name'] }}:
+      type: tosca.nodes.Network
+      properties:
+          name: {{ network['name'] }}
+          subnet: {{ network['subnet'] }}
+          permit_all_slices: {{ network['permit_all_slices'] }}
+      requirements:
+          - template:
+              node: {{ network['template'] }}
+              relationship: tosca.relationships.BelongsToOne
+          - owner:
+              node: {{ site_name }}_{{ network['owner'] }}
+              relationship: tosca.relationships.BelongsToOne
+
+{% endfor %}
\ No newline at end of file