

def test_floating_ip_get_associated_with_loadbalancer_vip(self):
    assoc_port = copy.deepcopy(self.api_ports.list()[1])
    assoc_port['device_owner'] = 'neutron:LOADBALANCER'
    assoc_port['device_id'] = str(uuid.uuid4())
    assoc_port['name'] = ('vip-' + str(uuid.uuid4()))
    self._test_floating_ip_get_associated(assoc_port, 'loadbalancer')

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/api_tests/network_tests.py NetworkApiNeutronFloatingIpTests.test_floating_ip_get_associated_with_loadbalancer_vip/original