def test_encap(self):
    ' Encapsulation test\n        Send frames from pg1\n        Verify receipt of encapsulated frames on pg0\n        '
    self.pg1.add_stream([self.frame_reply])
    self.pg0.enable_capture()
    self.pg_start()
    out = self.pg0.get_capture(1)
    pkt = out[0]
    self.check_encapsulation(pkt, self.single_tunnel_vni)
Encapsulation test
Send frames from pg1
Verify receipt of encapsulated frames on pg0
def test_encap(self):
    ' Encapsulation test\n        Send frames from pg1\n        Verify receipt of encapsulated frames on pg0\n        '
    self.pg1.add_stream([self.frame_reply])
    self.pg0.enable_capture()
    self.pg_start()
    out = self.pg0.get_capture(1)
    pkt = out[0]
    self.check_encapsulation(pkt, self.single_tunnel_vni)