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 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 15 | |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 16 | # vrouter service, fully created in cord-service.yaml |
| 17 | service#vrouter: |
| 18 | type: tosca.nodes.VRouterService |
| 19 | |
| 20 | # public network |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 21 | |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 22 | public_template: |
| 23 | type: tosca.nodes.NetworkTemplate |
| 24 | properties: |
Andy Bavier | bcf0894 | 2017-02-01 15:24:21 -0500 | [diff] [blame] | 25 | visibility: public |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 26 | translation: none |
| 27 | vtn_kind: PUBLIC |
| 28 | |
| 29 | public: |
| 30 | type: tosca.nodes.network.Network |
| 31 | properties: |
| 32 | ip_version: 4 |
| 33 | requirements: |
| 34 | - network_template: |
| 35 | node: public_template |
| 36 | relationship: tosca.relationships.UsesNetworkTemplate |
| 37 | - owner: |
| 38 | node: {{ site_name }}_public |
| 39 | relationship: tosca.relationships.MemberOfSlice |
| 40 | - vrouter_tenant: |
| 41 | node: service#vrouter |
| 42 | relationship: tosca.relationships.TenantOfService |
| 43 | |
| 44 | |
| 45 | {{ site_name }}_public: |
| 46 | description: This slice exists solely to own the public network |
| 47 | type: tosca.nodes.Slice |
| 48 | properties: |
| 49 | network: noauto |
| 50 | requirements: |
| 51 | - site: |
| 52 | node: {{ site_name }} |
| 53 | relationship: tosca.relationships.MemberOfSite |
| 54 | |