| tosca_definitions_version: tosca_simple_yaml_1_0 |
| |
| description: Set up public network for CORD POD |
| imports: |
| - custom_types/xos.yaml |
| |
| topology_template: |
| node_templates: |
| |
| service#vrouter: |
| type: tosca.nodes.VRouterService |
| |
| public_template: |
| type: tosca.nodes.NetworkTemplate |
| properties: |
| visibility: private |
| translation: none |
| vtn_kind: PUBLIC |
| |
| public: |
| type: tosca.nodes.network.Network |
| properties: |
| ip_version: 4 |
| requirements: |
| - network_template: |
| node: public_template |
| relationship: tosca.relationships.UsesNetworkTemplate |
| - owner: |
| node: mysite_public |
| relationship: tosca.relationships.MemberOfSlice |
| - vrouter_tenant: |
| node: service#vrouter |
| relationship: tosca.relationships.TenantOfService |
| |
| mysite: |
| type: tosca.nodes.Site |
| |
| mysite_public: |
| description: This slice exists solely to own the public network |
| type: tosca.nodes.Slice |
| properties: |
| network: noauto |
| requirements: |
| - site: |
| node: mysite |
| relationship: tosca.relationships.MemberOfSite |