Refactor OVNMacAddressNetwork

Move the OVNMacAddressNetwork resource out of the
Networks resource. This is a special network that
we want to create internally.

Having this network nested in the Networks resource
interfer with the work related to creating composable
networks with non-heat tooling.

Change-Id: I5551af42bc87fb8489edbfbd2abadba3dca30b0b
This commit is contained in:
Harald Jensås 2020-09-23 01:13:07 +02:00
parent b918441bbd
commit 6362a0205f
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,6 @@ resources:
type: OS::TripleO::Network::{{network.name}}
{%- endfor %}
OVNMacAddressNetwork:
type: OS::TripleO::OVNMacAddressNetwork
NetworkExtraConfig:
type: OS::TripleO::Network::ExtraConfig

View File

@ -914,6 +914,9 @@ resources:
properties:
CtlplaneNetworkCidrs: {get_attr: [ControlVirtualIP, network, tags]}
OVNMacAddressNetwork:
type: OS::TripleO::OVNMacAddressNetwork
{%- for role in roles %}
{{role.name}}GroupVars:
type: OS::Heat::Value