add 5 networks for ngic epc

Change-Id: I2219dd544708f875ca0f2891bf4ee0b98cb6ee01
diff --git a/profile_manifests/mcord.yml b/profile_manifests/mcord.yml
index ff93578..3f90970 100644
--- a/profile_manifests/mcord.yml
+++ b/profile_manifests/mcord.yml
@@ -36,6 +36,11 @@
   - wan-net.yaml
   - vsg-net.yaml
   - flat-net.yaml
+  - s1u-net.yaml
+  - s11-net.yaml
+  - nbi-net.yaml
+  - sbi-net.yaml
+  - sgi-net.yaml
   - mcord-services.yml
   - xos-gui-extensions.yml
   - internet-emulator-service.yaml
diff --git a/roles/cord-profile/templates/mcord-services.yml.j2 b/roles/cord-profile/templates/mcord-services.yml.j2
index 56d5549..0445f0a 100644
--- a/roles/cord-profile/templates/mcord-services.yml.j2
+++ b/roles/cord-profile/templates/mcord-services.yml.j2
@@ -60,6 +60,42 @@
         no-update: true
 {% endif %}
 
+# s1u_network is for connectivity between VMs, fully created in s1u-net.yaml
+    s1u_network:
+      type: tosca.nodes.network.Network.XOS
+      properties:
+        no-create: true
+        no-delete: true
+        no-update: true
+# s11_network is for connectivity between VMs, fully created in s11-net.yaml
+    s11_network:
+      type: tosca.nodes.network.Network.XOS
+      properties:
+        no-create: true
+        no-delete: true
+        no-update: true
+# nbi_network is for connectivity between VMs, fully created in nbi-net.yaml
+    nbi_network:
+      type: tosca.nodes.network.Network.XOS
+      properties:
+        no-create: true
+        no-delete: true
+        no-update: true
+# sbi_network is for connectivity between VMs, fully created in sbi-net.yaml
+    sbi_network:
+      type: tosca.nodes.network.Network.XOS
+      properties:
+        no-create: true
+        no-delete: true
+        no-update: true
+# sgi_network is for connectivity between VMs, fully created in sgi-net.yaml
+    sgi_network:
+      type: tosca.nodes.network.Network.XOS
+      properties:
+        no-create: true
+        no-delete: true
+        no-update: true
+
 # shared_network is for connectivity between VMs, fully created in shared-net.yaml
     shared_network:
       type: tosca.nodes.network.Network.XOS
diff --git a/roles/cord-profile/templates/nbi-net.yaml.j2 b/roles/cord-profile/templates/nbi-net.yaml.j2
new file mode 100644
index 0000000..cc7cc88
--- /dev/null
+++ b/roles/cord-profile/templates/nbi-net.yaml.j2
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: network for north bound interface (nbi)
+
+topology_template:
+  node_templates:
+
+# site, fully created in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+# nbi network
+    nbi_template:
+      type: tosca.nodes.NetworkTemplate
+      properties:
+          visibility: private
+          translation: none
+          vtn_kind: PRIVATE
+
+    nbi_network:
+      type: tosca.nodes.network.Network
+      properties:
+          ip_version: 4
+          cidr: 113.0.0.0/24
+      requirements:
+          - network_template:
+              node: nbi_template
+              relationship: tosca.relationships.UsesNetworkTemplate
+          - owner:
+              node: {{ site_name }}_nbi
+              relationship: tosca.relationships.MemberOfSlice
+
+    {{ site_name }}_nbi:
+      description: This slice exists solely to own the private network
+      type: tosca.nodes.Slice
+      properties:
+          network: noauto
+      requirements:
+          - site:
+              node: {{ site_name }}
+              relationship: tosca.relationships.MemberOfSite
+
+
diff --git a/roles/cord-profile/templates/s11-net.yaml.j2 b/roles/cord-profile/templates/s11-net.yaml.j2
new file mode 100644
index 0000000..3e0ac53
--- /dev/null
+++ b/roles/cord-profile/templates/s11-net.yaml.j2
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: network for S11 interface
+
+topology_template:
+  node_templates:
+
+# site, fully created in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+# s11 network
+    s11_template:
+      type: tosca.nodes.NetworkTemplate
+      properties:
+          visibility: private
+          translation: none
+          vtn_kind: PRIVATE
+
+    s11_network:
+      type: tosca.nodes.network.Network
+      properties:
+          ip_version: 4
+          cidr: 112.0.0.0/24
+      requirements:
+          - network_template:
+              node: s11_template
+              relationship: tosca.relationships.UsesNetworkTemplate
+          - owner:
+              node: {{ site_name }}_s11
+              relationship: tosca.relationships.MemberOfSlice
+
+    {{ site_name }}_s11:
+      description: This slice exists solely to own the private network
+      type: tosca.nodes.Slice
+      properties:
+          network: noauto
+      requirements:
+          - site:
+              node: {{ site_name }}
+              relationship: tosca.relationships.MemberOfSite
+
+
diff --git a/roles/cord-profile/templates/s1u-net.yaml.j2 b/roles/cord-profile/templates/s1u-net.yaml.j2
new file mode 100644
index 0000000..dfa5e68
--- /dev/null
+++ b/roles/cord-profile/templates/s1u-net.yaml.j2
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: network for S1U interface
+
+topology_template:
+  node_templates:
+
+# site, fully created in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+# s1u network
+    s1u_template:
+      type: tosca.nodes.NetworkTemplate
+      properties:
+          visibility: private
+          translation: none
+          vtn_kind: PRIVATE
+
+    s1u_network:
+      type: tosca.nodes.network.Network
+      properties:
+          ip_version: 4
+          cidr: 111.0.0.0/24
+      requirements:
+          - network_template:
+              node: s1u_template
+              relationship: tosca.relationships.UsesNetworkTemplate
+          - owner:
+              node: {{ site_name }}_s1u
+              relationship: tosca.relationships.MemberOfSlice
+
+    {{ site_name }}_s1u:
+      description: This slice exists solely to own the private network
+      type: tosca.nodes.Slice
+      properties:
+          network: noauto
+      requirements:
+          - site:
+              node: {{ site_name }}
+              relationship: tosca.relationships.MemberOfSite
+
+
diff --git a/roles/cord-profile/templates/sbi-net.yaml.j2 b/roles/cord-profile/templates/sbi-net.yaml.j2
new file mode 100644
index 0000000..901f725
--- /dev/null
+++ b/roles/cord-profile/templates/sbi-net.yaml.j2
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: network for south bound interface (sbi)
+
+topology_template:
+  node_templates:
+
+# site, fully created in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+# sbi network
+    sbi_template:
+      type: tosca.nodes.NetworkTemplate
+      properties:
+          visibility: private
+          translation: none
+          vtn_kind: PRIVATE
+
+    sbi_network:
+      type: tosca.nodes.network.Network
+      properties:
+          ip_version: 4
+          cidr: 114.0.0.0/24
+      requirements:
+          - network_template:
+              node: sbi_template
+              relationship: tosca.relationships.UsesNetworkTemplate
+          - owner:
+              node: {{ site_name }}_sbi
+              relationship: tosca.relationships.MemberOfSlice
+
+    {{ site_name }}_sbi:
+      description: This slice exists solely to own the private network
+      type: tosca.nodes.Slice
+      properties:
+          network: noauto
+      requirements:
+          - site:
+              node: {{ site_name }}
+              relationship: tosca.relationships.MemberOfSite
+
+
diff --git a/roles/cord-profile/templates/sgi-net.yaml.j2 b/roles/cord-profile/templates/sgi-net.yaml.j2
new file mode 100644
index 0000000..784133f
--- /dev/null
+++ b/roles/cord-profile/templates/sgi-net.yaml.j2
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: network for SGI interface
+
+topology_template:
+  node_templates:
+
+# site, fully created in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+# sgi network
+    sgi_template:
+      type: tosca.nodes.NetworkTemplate
+      properties:
+          visibility: private
+          translation: none
+          vtn_kind: PRIVATE
+
+    sgi_network:
+      type: tosca.nodes.network.Network
+      properties:
+          ip_version: 4
+          cidr: 115.0.0.0/24
+      requirements:
+          - network_template:
+              node: sgi_template
+              relationship: tosca.relationships.UsesNetworkTemplate
+          - owner:
+              node: {{ site_name }}_sgi
+              relationship: tosca.relationships.MemberOfSlice
+
+    {{ site_name }}_sgi:
+      description: This slice exists solely to own the private network
+      type: tosca.nodes.Slice
+      properties:
+          network: noauto
+      requirements:
+          - site:
+              node: {{ site_name }}
+              relationship: tosca.relationships.MemberOfSite
+
+