

def test_setup_tunnel_port(self):
    network_type = 'vxlan'
    port = 11111
    self.br.setup_tunnel_port(network_type=network_type, port=port)
    (dp, ofp, ofpp) = self._get_dp()
    expected = [call._send_msg(ofpp.OFPFlowMod(dp, cookie=self.stamp, instructions=[ofp.OFPInstructionGotoTable(table_id=4)], match=ofpp.OFPMatch(in_port=port), priority=1, table_id=0))]
    self.assertEqual(expected, self.mock.mock_calls)

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_tun.py OVSTunnelBridgeTest.test_setup_tunnel_port/VarMisuse@69/94 `ofpp`->`ofp`