mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix public IPs not being removed from the VR when deprovisioned
(cherry picked from commit 23f64a13a85b89518860eb3600ed7652ebbc89ba) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
cdc9947d48
commit
c206098783
@ -106,6 +106,10 @@ class CsAddress(CsDataBag):
|
||||
ip.setAddress(address)
|
||||
logging.info("Address found in DataBag ==> %s" % address)
|
||||
|
||||
if not address['add'] and not ip.configured():
|
||||
logging.info("Skipping %s as the add flag is set to %s " % (address['public_ip'], address['add']))
|
||||
continue
|
||||
|
||||
if ip.configured():
|
||||
logging.info(
|
||||
"Address %s on device %s already configured", ip.ip(), dev)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user