ut: Remove unused method

Was probably overlooked to be removed from [1]

[1] c32c0af9af

TrivialFix

Change-Id: I54805c504dfd5ea9b1faf6a95bd61b3371260f58
This commit is contained in:
Jakub Libosvar 2024-10-14 16:14:48 +00:00
parent 21274cff18
commit b11ca32c68

View File

@ -4500,14 +4500,6 @@ class TestOVNMechanismDriverMetadataPort(MechDriverSetupBase,
p.start()
self.addCleanup(p.stop)
def _create_fake_dhcp_port(self, device_id, neutron_port=False):
port = {'network_id': 'fake',
'device_owner': const.DEVICE_OWNER_DISTRIBUTED,
'device_id': device_id}
if neutron_port:
port['device_owner'] = const.DEVICE_OWNER_DHCP
return port
def test_metadata_port_on_network_create(self):
"""Check metadata port create.