Use more octavia-lib constants

Octavia has a pretty extensive definition of constants,
start using them where possible.  Had to tweak a lot of
lines due to wrapping, but functionally nothing should
have changed.

Removed some extra parens where found and other misc
cleanups.

Also bumped neutron-lib to >= 2.1.0 since that is py3-only.

Change-Id: If400730cb759130192966bacf3c6edb9faa18899
This commit is contained in:
Brian Haley 2020-03-26 15:49:28 -04:00
parent eff9150ed9
commit d6f65325a0
4 changed files with 344 additions and 315 deletions

View File

@ -50,7 +50,7 @@ munch==2.1.0
netaddr==0.7.18
netifaces==0.10.4
neutron==15.0.0
neutron-lib==1.28.0
neutron-lib==2.1.0
octavia-lib==1.3.1
openstackdocstheme==1.20.0
openstacksdk==0.11.2

View File

@ -24,6 +24,7 @@ OVN_SG_IDS_EXT_ID_KEY = 'neutron:security_group_ids'
OVN_DEVICE_OWNER_EXT_ID_KEY = 'neutron:device_owner'
OVN_FIP_EXT_ID_KEY = 'neutron:fip_id'
OVN_FIP_PORT_EXT_ID_KEY = 'neutron:fip_port_id'
OVN_GW_PORT_EXT_ID_KEY = 'neutron:gw_port_id'
LB_EXT_IDS_LS_REFS_KEY = 'ls_refs'
LB_EXT_IDS_LR_REF_KEY = 'lr_ref'

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
keystoneauth1>=3.4.0 # Apache-2.0
netaddr>=0.7.18 # BSD
neutron-lib>=1.28.0 # Apache-2.0
neutron-lib>=2.1.0 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
oslo.log>=3.36.0 # Apache-2.0
oslo.serialization>=2.28.1 # Apache-2.0