tripleo-heat-templates/network/ovn_mac_addr_net.yaml

38 lines
1.2 KiB
YAML

heat_template_version: wallaby
description: Network used to allocate MAC addresses for OVN chassis.
parameters:
OVNMacAddressNetworkName:
default: ovn_mac_addr_net
description: The name of the OVNMacAddr network.
type: string
ManageNetworks:
default: true
type: boolean
description: >
Manage the network and related resources (subnets and segments) with
either create, update, or delete operations (depending on the stack
operation). Does not apply to ports which will always be managed as
needed. Defaults to true. For multi-stack use cases where the network
related resources have already been managed by a separate stack, this
parameter can be set to false.
conditions:
manage_networks: {get_param: ManageNetworks}
resources:
OVNMacAddressNetwork:
type: OS::Neutron::Net
condition: manage_networks
properties:
name: {get_param: OVNMacAddressNetworkName}
value_specs:
description: Network used to allocate MAC addresses for OVN chassis.
outputs:
OS::stack_id:
description: >
Network used to allocate MAC addresses for OVN chassis.
value: {get_resource: OVNMacAddressNetwork}