CORD-2083 Add VM to SGI network
Change-Id: I1302c1e0605d48a032e5fd9ae5ca5e1e56aaa377
diff --git a/roles/cord-profile/templates/internet-emulator-service.yaml.j2 b/roles/cord-profile/templates/internet-emulator-service.yaml.j2
index 96332dc..ac7768f 100644
--- a/roles/cord-profile/templates/internet-emulator-service.yaml.j2
+++ b/roles/cord-profile/templates/internet-emulator-service.yaml.j2
@@ -60,32 +60,8 @@
no-update: true
{% endif %}
-# shared_network is for connectivity between VMs, fully created in shared-net.yaml
- shared_network:
- type: tosca.nodes.network.Network.XOS
- properties:
- no-create: true
- no-delete: true
- no-update: true
-
-# wan_network for vPGWU and its upstream connectivity, fully created in wan-net.yaml
- wan_network:
- type: tosca.nodes.network.Network.XOS
- properties:
- no-create: true
- no-delete: true
- no-update: true
-
-# VLAN networks for RRH and vBBU, fully created in vsg-net.yaml
- vsg_network:
- type: tosca.nodes.network.Network.XOS
- properties:
- no-create: true
- no-delete: true
- no-update: true
-
-# flat network for vMME, vSGWC, vSGWU, to connect to RRU, fully created in flat-net.yaml
- flat_network:
+# 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
@@ -123,4 +99,18 @@
relationship: tosca.relationships.DefaultFlavor
- connection_to_management:
node: management
- relationship: tosca.relationships.ConnectsToNetwork
\ No newline at end of file
+ relationship: tosca.relationships.ConnectsToNetwork
+ - connection_to_sgi_network:
+ node: sgi_network
+ relationship: tosca.relationships.ConnectsToNetwork
+
+# CORD Service Instances
+ serviceinstance#internetemulator:
+ type: tosca.nodes.InternetEmulatorServiceInstance
+ requirements:
+ - tenant:
+ node: service#internetemulator
+ relationship: tosca.relationships.TenantOfService
+ - dependency:
+ node: {{ site_name }}_internetemulator
+ relationship: tosca.relationships.DependsOn