blob: ac8ad7eaf518a87ebcdf4d0a40469242c1351a81 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Set up management network for CORD POD
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
management_template:
type: tosca.nodes.NetworkTemplate
properties:
visibility: private
translation: none
management:
type: tosca.nodes.network.Network
properties:
ip_version: 4
cidr: 10.102.83.0/24
requirements:
- network_template:
node: management_template
relationship: tosca.relationships.UsesNetworkTemplate
- owner:
node: mysite_management
relationship: tosca.relationships.MemberOfSlice
mysite:
type: tosca.nodes.Site
mysite_management:
description: This slice exists solely to own the management network
type: tosca.nodes.Slice
properties:
network: noauto
requirements:
- site:
node: mysite
relationship: tosca.relationships.MemberOfSite