blob: 2bd017398082426a7fa480217f5d8e54382aaee9 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Set up management network for CORD POD
4imports:
5 - custom_types/xos.yaml
6
7topology_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