add a shared network for multiple slices

Change-Id: I17f63f60708c1c629c9d162d07e283f712b471b2
diff --git a/mcord/mcord.yaml b/mcord/mcord.yaml
index 0e0b8d4..481e693 100644
--- a/mcord/mcord.yaml
+++ b/mcord/mcord.yaml
@@ -271,6 +271,22 @@
               node: mysite_vpgwc_slice1

               relationship: tosca.relationships.ConnectsToSlice

 

+    shared_network:

+      type: tosca.nodes.network.Network.XOS

+      properties:

+          ip_version: 4

+          cidr: 172.17.8.0/24

+      requirements:

+          - network_template:

+              node: External

+              relationship: tosca.relationships.UsesNetworkTemplate

+          - owner:

+              node: mysite_mobile_net

+              relationship: tosca.relationships.MemberOfSlice

+          - slice:

+              node: mysite_mobile_net

+              relationship: tosca.relationships.ConnectsToSlice

+

     mysite:

       type: tosca.nodes.Site

 

@@ -322,6 +338,9 @@
           - management:

               node: management

               relationship: tosca.relationships.ConnectsToNetwork

+          - connection:

+              node: shared_network

+              relationship: tosca.relationships.ConnectsToNetwork

       properties:

           network: noauto

 #          default_flavor: m1.xlarge

@@ -346,6 +365,9 @@
           - management:

               node: management

               relationship: tosca.relationships.ConnectsToNetwork

+          - connection:

+              node: shared_network

+              relationship: tosca.relationships.ConnectsToNetwork

       properties:

           network: noauto