OVS DVR: Use a right mac address value to compose a flow
Closes-Bug: #1420092 Change-Id: Ifbeab18e6f9dfc4564b931543ceb3a65edc03b91
This commit is contained in:
parent
67af95768b
commit
294d778eb8
|
@ -295,7 +295,7 @@ class OVSDVRNeutronAgent(dvr_rpc.DVRAgentRpcApiMixin):
|
|||
self.phys_brs[physical_network].add_flow(
|
||||
table=constants.DVR_NOT_LEARN_VLAN,
|
||||
priority=2,
|
||||
dl_src=mac,
|
||||
dl_src=mac['mac_address'],
|
||||
actions="output:%s" %
|
||||
self.phys_ofports[physical_network])
|
||||
|
||||
|
@ -313,7 +313,7 @@ class OVSDVRNeutronAgent(dvr_rpc.DVRAgentRpcApiMixin):
|
|||
# result in flow explosions
|
||||
self.tun_br.add_flow(table=constants.DVR_NOT_LEARN,
|
||||
priority=1,
|
||||
dl_src=mac,
|
||||
dl_src=mac['mac_address'],
|
||||
actions="output:%s" %
|
||||
self.patch_int_ofport)
|
||||
self.registered_dvr_macs.add(mac['mac_address'])
|
||||
|
|
Loading…
Reference in New Issue