Merge "Drop old templates OVN bridge mac addresses"

This commit is contained in:
Zuul 2022-10-27 21:54:22 +00:00 committed by Gerrit Code Review
commit c239ea1cf4
2 changed files with 0 additions and 85 deletions

View File

@ -1,37 +0,0 @@
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}

View File

@ -1,48 +0,0 @@
heat_template_version: wallaby
description: >
Port without IP address, used to allocate MAC addresses for OVN chassis.
parameters:
RootStackName:
description: The name of the stack/plan.
type: string
PortName:
description: Name of the port
default: ''
type: string
OVNMacAddressNetworkName:
default: ovn_mac_addr_net
description: The name of the OVNMacAddr network.
type: string
PortDeletionPolicy:
description: >
Whether to retain or delete the neutron port resource on deletion of the
stack
type: string
default: delete
constraints:
- allowed_values: [delete, retain]
resources:
OVNMacAddressPort:
type: OS::Neutron::Port
deletion_policy: {get_param: PortDeletionPolicy}
properties:
name: {get_param: PortName}
network: {get_param: OVNMacAddressNetworkName}
fixed_ips: []
tags:
- str_replace:
template: tripleo_ovn_mac_net=$NET_NAME
params:
$NET_NAME: {get_param: OVNMacAddressNetworkName}
- str_replace:
template: tripleo_stack_name=$STACK_NAME
params:
$STACK_NAME: {get_param: RootStackName}
outputs:
mac_address:
description: MAC address of the port
value: {get_attr: [OVNMacAddressPort, mac_address]}