rehome trunk related callback resource names

This patch rehomes the SUBPORTS, TRUNK and TRUNK_PLUGIN constants
from neutron.services.trunk.constants into the neutron-lib callback
resources as they are used in callbacks today [1].

[1] http://codesearch.openstack.org/?q=%5C.(SUBPORTS%7CTRUNK%7CTRUNK_PLUGIN)%2C

Change-Id: I26d9e748cdf1425d206d3e63056986011a518d6f
This commit is contained in:
Boden R 2019-02-06 09:30:57 -07:00
parent aceb7c50ed
commit 5cbfecc7bc
2 changed files with 8 additions and 0 deletions

View File

@ -32,3 +32,6 @@ SEGMENT_HOST_MAPPING = 'segment_host_mapping'
SUBNET = 'subnet'
SUBNETS = 'subnets'
SUBNETPOOL_ADDRESS_SCOPE = 'subnetpool_address_scope'
SUBPORTS = 'subports'
TRUNK = 'trunk'
TRUNK_PLUGIN = 'trunk_plugin'

View File

@ -0,0 +1,5 @@
---
features:
- The ``SUBPORTS``, ``TRUNK`` and ``TRUNK_PLUGIN`` constants are now
available in ``neutron_lib.callbacks.resources`` for defining Trunk
related callback resources.