Fix for lbaas scenario cases
Lbaas cases was failing due to barbican changes while attaching security groups to lb vip port Due to this lbaas cases are failigin ci job This fix will fix this issue. Change-Id: I398b628f35d4e04b299963404e2fcce7bd333639
This commit is contained in:
parent
55c7bfbb71
commit
e3f9cc7df7
@ -850,9 +850,14 @@ class FeatureManager(traffic_manager.IperfManager,
|
||||
else:
|
||||
break
|
||||
if not CONF.nsxv3.ens:
|
||||
self.cmgr_adm.ports_client.update_port(
|
||||
self.loadbalancer['vip_port_id'],
|
||||
security_groups=[self.sg['id']])
|
||||
if barbican:
|
||||
self.cmgr_adm.ports_client.update_port(
|
||||
self.loadbalancer['vip_port_id'],
|
||||
security_groups=[self.sg['id']])
|
||||
else:
|
||||
self.ports_client.update_port(
|
||||
self.loadbalancer['vip_port_id'],
|
||||
security_groups=[self.sg['id']])
|
||||
# create lbaas public interface
|
||||
if barbican:
|
||||
if not hasattr(self, 'vip_ip_address'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user