blob: 27b8b5163d15f579665a3fe3573a1a491652210e [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
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 Baker09d89362016-08-29 17:08:27 -070042