Create a single public network that all services (other than vSG) can connect to
Change-Id: Iae168b9f1676b7921175c3b38b7608b1fb6cf418
diff --git a/cord-pod/pod-exampleservice.yaml b/cord-pod/pod-exampleservice.yaml
index 77e4c4a..4102127 100644
--- a/cord-pod/pod-exampleservice.yaml
+++ b/cord-pod/pod-exampleservice.yaml
@@ -22,6 +22,13 @@
no-delete: true
no-update: true
+ public:
+ type: tosca.nodes.network.Network.XOS
+ properties:
+ no-create: true
+ no-delete: true
+ no-update: true
+
service#vrouter:
type: tosca.nodes.Service
properties:
@@ -29,31 +36,6 @@
no-delete: true
no-update: true
- template#private_wan:
- type: tosca.nodes.NetworkTemplate
- properties:
- visibility: private
- translation: none
- vtn_kind: public
-
- exampleservice-public:
- type: tosca.nodes.network.Network
- properties:
- ip_version: 4
- requirements:
- - network_template:
- node: template#private_wan
- relationship: tosca.relationships.UsesNetworkTemplate
- - owner:
- node: mysite_exampleservice
- relationship: tosca.relationships.MemberOfSlice
- - connection:
- node: mysite_exampleservice
- relationship: tosca.relationships.ConnectsToSlice
- - vrouter_tenant:
- node: service#vrouter
- relationship: tosca.relationships.TenantOfService
-
mysite:
type: tosca.nodes.Site
@@ -72,6 +54,9 @@
- management:
node: management
relationship: tosca.relationships.ConnectsToNetwork
+ - public:
+ node: public
+ relationship: tosca.relationships.ConnectsToNetwork
- exmapleserver:
node: service#exampleservice
relationship: tosca.relationships.MemberOfService