From 12bc3acf85ab428f178a687d8085e1a3a056de5b Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sun, 17 Mar 2019 00:19:01 -0400 Subject: [PATCH] Use vmbr name for Bridge interfaces --- node-daemon/pvcd/VXNetworkInstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-daemon/pvcd/VXNetworkInstance.py b/node-daemon/pvcd/VXNetworkInstance.py index f03dd3d3..5c58774e 100644 --- a/node-daemon/pvcd/VXNetworkInstance.py +++ b/node-daemon/pvcd/VXNetworkInstance.py @@ -68,7 +68,7 @@ class VXNetworkInstance(object): self.description = None self.vlan_nic = 'vlan{}'.format(self.vni) - self.bridge_nic = 'br{}'.format(self.vni) + self.bridge_nic = 'vmbr{}'.format(self.vni) # Zookeper handlers for changed states @self.zk_conn.DataWatch('/networks/{}'.format(self.vni)) @@ -101,7 +101,7 @@ class VXNetworkInstance(object): self.dhcp4_end = ( zkhandler.readdata(self.zk_conn, '/networks/{}/dhcp4_end'.format(self.vni)) == 'True' ) self.vxlan_nic = 'vxlan{}'.format(self.vni) - self.bridge_nic = 'br{}'.format(self.vni) + self.bridge_nic = 'vmbr{}'.format(self.vni) self.nftables_netconf_filename = '{}/networks/{}.nft'.format(self.config['nft_dynamic_directory'], self.vni) self.firewall_rules = []