Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Set up management network for CORD POD |
| 4 | imports: |
| 5 | - custom_types/xos.yaml |
| 6 | |
| 7 | topology_template: |
| 8 | node_templates: |
| 9 | |
| 10 | management_template: |
| 11 | type: tosca.nodes.NetworkTemplate |
| 12 | properties: |
| 13 | visibility: private |
| 14 | translation: none |
Scott Baker | 09d8936 | 2016-08-29 17:08:27 -0700 | [diff] [blame] | 15 | vtn_kind: MANAGEMENT_LOCAL |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 16 | |
| 17 | management: |
| 18 | type: tosca.nodes.network.Network |
| 19 | properties: |
| 20 | ip_version: 4 |
| 21 | cidr: 172.27.0.0/24 |
| 22 | requirements: |
| 23 | - network_template: |
| 24 | node: management_template |
| 25 | relationship: tosca.relationships.UsesNetworkTemplate |
| 26 | - owner: |
| 27 | node: mysite_management |
| 28 | relationship: tosca.relationships.MemberOfSlice |
| 29 | |
| 30 | mysite: |
| 31 | type: tosca.nodes.Site |
| 32 | |
| 33 | mysite_management: |
| 34 | description: This slice exists solely to own the management network |
| 35 | type: tosca.nodes.Slice |
| 36 | properties: |
| 37 | network: noauto |
| 38 | requirements: |
| 39 | - site: |
| 40 | node: mysite |
| 41 | relationship: tosca.relationships.MemberOfSite |
Scott Baker | 09d8936 | 2016-08-29 17:08:27 -0700 | [diff] [blame] | 42 | |