Pingping Lin | ebc2524 | 2017-01-25 20:08:56 -0800 | [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 |
Pingping Lin | c904662 | 2017-02-09 07:44:53 +0000 | [diff] [blame] | 15 | vtn_kind: MANAGEMENT_LOCAL |
Pingping Lin | ebc2524 | 2017-01-25 20:08:56 -0800 | [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 |
| 42 | |