Merge "Python 3: fix test_ovs_tunnel"
This commit is contained in:
commit
c584417967
@ -596,7 +596,7 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
|
|||||||
if network_type in constants.TUNNEL_NETWORK_TYPES:
|
if network_type in constants.TUNNEL_NETWORK_TYPES:
|
||||||
if self.enable_tunneling:
|
if self.enable_tunneling:
|
||||||
# outbound broadcast/multicast
|
# outbound broadcast/multicast
|
||||||
ofports = self.tun_br_ofports[network_type].values()
|
ofports = list(self.tun_br_ofports[network_type].values())
|
||||||
if ofports:
|
if ofports:
|
||||||
self.tun_br.install_flood_to_tun(lvid,
|
self.tun_br.install_flood_to_tun(lvid,
|
||||||
segmentation_id,
|
segmentation_id,
|
||||||
|
@ -294,7 +294,7 @@ class TunnelTest(object):
|
|||||||
self._verify_mock_calls()
|
self._verify_mock_calls()
|
||||||
|
|
||||||
def test_provision_local_vlan(self):
|
def test_provision_local_vlan(self):
|
||||||
ofports = TUN_OFPORTS[p_const.TYPE_GRE].values()
|
ofports = list(TUN_OFPORTS[p_const.TYPE_GRE].values())
|
||||||
self.mock_tun_bridge_expected += [
|
self.mock_tun_bridge_expected += [
|
||||||
mock.call.install_flood_to_tun(LV_ID, LS_ID, ofports),
|
mock.call.install_flood_to_tun(LV_ID, LS_ID, ofports),
|
||||||
mock.call.provision_local_vlan(
|
mock.call.provision_local_vlan(
|
||||||
|
Loading…
Reference in New Issue
Block a user