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 |
| 15 | |
| 16 | management: |
| 17 | type: tosca.nodes.network.Network |
| 18 | properties: |
| 19 | ip_version: 4 |
| 20 | cidr: 172.27.0.0/24 |
| 21 | requirements: |
| 22 | - network_template: |
| 23 | node: management_template |
| 24 | relationship: tosca.relationships.UsesNetworkTemplate |
| 25 | - owner: |
| 26 | node: mysite_management |
| 27 | relationship: tosca.relationships.MemberOfSlice |
| 28 | |
| 29 | mysite: |
| 30 | type: tosca.nodes.Site |
| 31 | |
| 32 | mysite_management: |
| 33 | description: This slice exists solely to own the management network |
| 34 | type: tosca.nodes.Slice |
| 35 | properties: |
| 36 | network: noauto |
| 37 | requirements: |
| 38 | - site: |
| 39 | node: mysite |
| 40 | relationship: tosca.relationships.MemberOfSite |
| 41 | |