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 efb504f commit d253552Copy full SHA for d253552
neutron/agent/ovn/metadata/agent.py
@@ -586,13 +586,13 @@ def provision_datapath(self, datapath):
586
ip1, ip2 = ip_lib.IPWrapper().add_veth(
587
veth_name[0], veth_name[1], namespace)
588
589
+ # Configure the MAC address.
590
+ ip2.link.set_address(metadata_port_info.mac)
591
+
592
# Make sure both ends of the VETH are up
593
ip1.link.set_up()
594
ip2.link.set_up()
595
- # Configure the MAC address.
- ip2.link.set_address(metadata_port_info.mac)
-
596
cidrs_to_add, cidrs_to_delete = self._process_cidrs(
597
{dev['cidr'] for dev in ip2.addr.list()},
598
datapath_ports_ips,
0 commit comments