Adds PORT_FORWARDING_FLOATINGIP_KEY

Let's make the constants to the consistent place.
Originally from: neutron/services/portforwarding/pf_plugin.py [1].
This constant will not be not widely used, and it is only for port
forwarding floating IPs QoS only.

[1] https://review.openstack.org/#/c/631448/

Change-Id: I80da2eed0fd8c78e6d15755ac0a4ed79c6f2143b
Related-Bug: #1796925
This commit is contained in:
LIU Yulong 2019-01-30 17:06:14 +08:00
parent ad2f0f06aa
commit f382631f1c
2 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,7 @@ ROUTER_INTERFACE_OWNERS_SNAT = (DEVICE_OWNER_ROUTER_INTF,
DEVICE_ID_RESERVED_DHCP_PORT = 'reserved_dhcp_port'
FLOATINGIP_KEY = '_floatingips'
PORT_FORWARDING_FLOATINGIP_KEY = '_pf_floatingips'
INTERFACE_KEY = '_interfaces'
HA_INTERFACE_KEY = '_ha_interface'

View File

@ -0,0 +1,4 @@
---
other:
- |
Add new ``PORT_FORWARDING_FLOATINGIP_KEY`` constant.