blob: b45f0d537dc4241648d8b9a37e30258e67bfb25c [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
Scott Baker09d89362016-08-29 17:08:27 -070015 vtn_kind: MANAGEMENT_LOCAL
Scott Baker50421662016-06-27 22:09:48 -070016
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
Scott Bakerb08cd8d2016-10-12 09:56:34 -070030 management_hosts_template:
31 type: tosca.nodes.NetworkTemplate
32 properties:
33 visibility: private
34 translation: none
35 vtn_kind: MANAGEMENT_HOST
36
Scott Baker53f01352016-10-19 10:05:56 -070037# management_hosts:
38# type: tosca.nodes.network.Network
39# properties:
40# ip_version: 4
41# cidr: 10.1.0.0/24
42# start_ip: 10.1.0.128
43# end_ip: 10.1.0.254
44# requirements:
45# - network_template:
46# node: management_hosts_template
47# relationship: tosca.relationships.UsesNetworkTemplate
48# - owner:
49# node: mysite_management
50# relationship: tosca.relationships.MemberOfSlice
Scott Bakerb08cd8d2016-10-12 09:56:34 -070051
Scott Baker50421662016-06-27 22:09:48 -070052 mysite:
53 type: tosca.nodes.Site
54
55 mysite_management:
56 description: This slice exists solely to own the management network
57 type: tosca.nodes.Slice
58 properties:
59 network: noauto
60 requirements:
61 - site:
62 node: mysite
63 relationship: tosca.relationships.MemberOfSite
Scott Baker09d89362016-08-29 17:08:27 -070064