Merge "Remove ovs-vsctl direct calls"
This commit is contained in:
commit
654187e729
@ -429,11 +429,7 @@ class OvsTaasDriver(taas_base.TaasAgentDriver):
|
|||||||
actions=flow_action)
|
actions=flow_action)
|
||||||
|
|
||||||
def _create_tunnel_flood_flow_action(self):
|
def _create_tunnel_flood_flow_action(self):
|
||||||
|
port_name_list = self.tun_br.get_port_name_list()
|
||||||
args = ["ovs-vsctl", "list-ports", "br-tun"]
|
|
||||||
res = utils.execute(args, run_as_root=True, privsep_exec=True)
|
|
||||||
|
|
||||||
port_name_list = res.splitlines()
|
|
||||||
|
|
||||||
flow_action = ("move:NXM_OF_VLAN_TCI[0..11]->NXM_NX_TUN_ID[0..11],"
|
flow_action = ("move:NXM_OF_VLAN_TCI[0..11]->NXM_NX_TUN_ID[0..11],"
|
||||||
"mod_vlan_vid:1")
|
"mod_vlan_vid:1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user