add VSG network

Change-Id: I43758a916ccac190d04f88427737899ed66ed69d
diff --git a/mcord/cleanup.sh b/mcord/cleanup.sh
index c144961..bb15d30 100755
--- a/mcord/cleanup.sh
+++ b/mcord/cleanup.sh
@@ -33,10 +33,11 @@
 cleanup_network management
 cleanup_network management_host
 cleanup_network shared_network
-cleanup_network lan_rru_network
-cleanup_network lan_3gpp_s5s8_pgw_network
-cleanup_network lan_3gpp_s1u_network
-cleanup_network lan_3gpp_s1mme_network
+cleanup_network vsg_network
+#cleanup_network lan_rru_network
+#cleanup_network lan_3gpp_s5s8_pgw_network
+#cleanup_network lan_3gpp_s1u_network
+#cleanup_network lan_3gpp_s1mme_network
 cleanup_network lan_taas_test_network1
 cleanup_network lan_taas_public_network
 
@@ -56,6 +57,7 @@
 neutron net-delete management || true
 neutron net-delete management_host || true
 neutron net-delete shared_network || true
+neutron net-delete vsg_network || true
 neutron net-delete mysite_vsg-access || true
 neutron net-delete exampleservice-public || true
 neutron net-delete lan_taas_test_network1 || true
diff --git a/mcord/mcord.yaml b/mcord/mcord.yaml
index 00d36ba..e2addad 100644
--- a/mcord/mcord.yaml
+++ b/mcord/mcord.yaml
@@ -318,6 +318,29 @@
               node: mysite_management

               relationship: tosca.relationships.MemberOfSlice

 

+    vsg_template:

+      type: tosca.nodes.NetworkTemplate

+      properties:

+        visibility: private

+        translation: none

+        vtn_kind: VSG

+

+    vsg_network:

+      type: tosca.nodes.network.Network

+      properties:

+          ip_version: 4

+          cidr: 101.0.0.0/24

+      requirements:

+          - network_template:

+              node: vsg_template

+              relationship: tosca.relationships.UsesNetworkTemplate

+          - owner:

+              node: mysite_vbbu_slice1

+              relationship: tosca.relationships.MemberOfSlice

+          - connection:

+              node: mysite_vbbu_slice1

+              relationship: tosca.relationships.ConnectsToSlice

+

 #    lan_3gpp_s1mme_network:

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

 #      properties: