NSXv: avoid changing of LBaaS port states
Changing the state of LBaaS ports have no effect as this is not supported by NSXv backend. Change-Id: Ibd050a36ef12171a55f5dbdd430382d8fd560c33
This commit is contained in:
parent
183b86b1f0
commit
19a30117a0
@ -1921,8 +1921,7 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
oct_const.DEVICE_OWNER_OCTAVIA]:
|
||||
orig_state = original_port.get("admin_state_up")
|
||||
new_state = port_data.get("admin_state_up")
|
||||
if new_state is not None and (orig_state != new_state) and (
|
||||
orig_state and not new_state):
|
||||
if new_state is not None and (orig_state != new_state):
|
||||
err_msg = _("Changing admin_state for "
|
||||
"loadbalancer's internal port is not supported")
|
||||
LOG.warning(err_msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user