We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c162ea2 commit 0673a9bCopy full SHA for 0673a9b
neutron/agent/ovn/metadata/agent.py
@@ -649,13 +649,13 @@ def provision_datapath(self, datapath):
649
ip1, ip2 = ip_lib.IPWrapper().add_veth(
650
veth_name[0], veth_name[1], namespace)
651
652
+ # Configure the MAC address.
653
+ ip2.link.set_address(metadata_port_info.mac)
654
+
655
# Make sure both ends of the VETH are up
656
ip1.link.set_up()
657
ip2.link.set_up()
658
- # Configure the MAC address.
- ip2.link.set_address(metadata_port_info.mac)
-
659
cidrs_to_add, cidrs_to_delete = self._process_cidrs(
660
{dev['cidr'] for dev in ip2.addr.list()},
661
datapath_ports_ips,
0 commit comments