def _vLb_soap(): while True: try: impl = driver_impl.BrocadeAdxDeviceDriverImpl( self.conf.brocade_vlb.username, self.conf.brocade_vlb.password, mgmt_ip) impl.delete_vip(vip) except Exception as e: LOG.debug('vLB Driver::delete_vip trying to connect to' 'vLB - %s' % e) yield self.conf.brocade_vlb.vlb_poll_interval continue break
def _vLb_soap(): while True: try: impl = driver_impl.BrocadeAdxDeviceDriverImpl( self.conf.brocade_vlb.username, self.conf.brocade_vlb.password, mgmt_ip) impl.update_member(old_member, member) except UnsupportedFeature as e: raise e except Exception as e: LOG.debug('vLB Driver::update_member trying to connect to' 'vLB - %s' % e) yield self.conf.brocade_vlb.vlb_poll_interval continue break
def _vLb_soap(): while True: try: impl = driver_impl.BrocadeAdxDeviceDriverImpl( self.conf.brocade_vlb.username, self.conf.brocade_vlb.password, mgmt_ip) impl.delete_health_monitor(health_monitor, pool_id) except UnsupportedFeature as e: raise e except Exception as e: LOG.debug('vLB Driver::delete_pool_health_monitor trying ' ' to connect to vLB - %s' % e) yield self.conf.brocade_vlb.vlb_poll_interval continue break
def _vLb_soap(): while True: try: impl = driver_impl.BrocadeAdxDeviceDriverImpl( self.conf.brocade_vlb.username, self.conf.brocade_vlb.password, mgmt_ip) impl.create_pool(pool['pool']) impl.ifconfig_e1(data_ip, subnet['subnet']['cidr']) impl.create_static_route('0.0.0.0', '0', subnet['subnet']['gateway_ip']) impl.enable_source_nat() except Exception as e: LOG.debug('vLB Driver::Load Balancer instance %s' % e) yield self.conf.brocade_vlb.vlb_poll_interval continue break