Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | |
| 6 | description: public network config, generated by platform-install |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | # site, fully created in deployment.yaml |
| 12 | {{ site_name }}: |
| 13 | type: tosca.nodes.Site |
| 14 | |
| 15 | # vrouter service, fully created in cord-service.yaml |
| 16 | service#vrouter: |
| 17 | type: tosca.nodes.VRouterService |
| 18 | |
| 19 | # public network |
| 20 | public_template: |
| 21 | type: tosca.nodes.NetworkTemplate |
| 22 | properties: |
Andy Bavier | bcf0894 | 2017-02-01 15:24:21 -0500 | [diff] [blame] | 23 | visibility: public |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 24 | translation: none |
| 25 | vtn_kind: PUBLIC |
| 26 | |
| 27 | public: |
| 28 | type: tosca.nodes.network.Network |
| 29 | properties: |
| 30 | ip_version: 4 |
| 31 | requirements: |
| 32 | - network_template: |
| 33 | node: public_template |
| 34 | relationship: tosca.relationships.UsesNetworkTemplate |
| 35 | - owner: |
| 36 | node: {{ site_name }}_public |
| 37 | relationship: tosca.relationships.MemberOfSlice |
| 38 | - vrouter_tenant: |
| 39 | node: service#vrouter |
| 40 | relationship: tosca.relationships.TenantOfService |
| 41 | |
| 42 | |
| 43 | {{ site_name }}_public: |
| 44 | description: This slice exists solely to own the public network |
| 45 | type: tosca.nodes.Slice |
| 46 | properties: |
| 47 | network: noauto |
| 48 | requirements: |
| 49 | - site: |
| 50 | node: {{ site_name }} |
| 51 | relationship: tosca.relationships.MemberOfSite |
| 52 | |