diff --git a/neutron_lib/placement/constants.py b/neutron_lib/placement/constants.py index bbf11c605..c07c27609 100644 --- a/neutron_lib/placement/constants.py +++ b/neutron_lib/placement/constants.py @@ -27,3 +27,7 @@ INVENTORY_OPTIONS = set([ 'reserved', 'step_size', ]) + +# Tunnelled networks resource provider default name. +RP_TUNNELLED = 'rp_tunnelled' +TRAIT_NETWORK_TUNNEL = 'CUSTOM_NETWORK_TUNNEL_PROVIDER' diff --git a/releasenotes/notes/add-placement-constants-tunnelled-networks-b57eb88fed14791b.yaml b/releasenotes/notes/add-placement-constants-tunnelled-networks-b57eb88fed14791b.yaml new file mode 100644 index 000000000..82f05b643 --- /dev/null +++ b/releasenotes/notes/add-placement-constants-tunnelled-networks-b57eb88fed14791b.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Added two constants to model tunnelled networks in the Placement + API: ``RP_TUNNELLED`` and ``TRAIT_NETWORK_TUNNEL``.