X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_neighbor.py;h=c34ac1aea4e0eaae96666e6ef62826ba295a90fe;hb=09843951dc200f4bf52e0e09a9a63a477fa6c3b1;hp=241479a1d30a5017bc35054cd6158dab1b5bc58a;hpb=e2fe097424fb169dfe01421ff17b8ccd0c26b4a6;p=vpp.git diff --git a/test/test_neighbor.py b/test/test_neighbor.py index 241479a1d30..c34ac1aea4e 100644 --- a/test/test_neighbor.py +++ b/test/test_neighbor.py @@ -4,6 +4,7 @@ import unittest import os from socket import AF_INET, AF_INET6, inet_pton +from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner from vpp_neighbor import VppNeighbor, find_nbr from vpp_ip_route import VppIpRoute, VppRoutePath, find_route, \ @@ -82,6 +83,7 @@ class ARPTestCase(VppTestCase): ether = rx[Ether] self.assertEqual(ether.dst, "ff:ff:ff:ff:ff:ff") self.assertEqual(ether.src, smac) + self.assertEqual(ether.type, 0x0806) arp = rx[ARP] self.assertEqual(arp.hwtype, 1) @@ -98,6 +100,7 @@ class ARPTestCase(VppTestCase): ether = rx[Ether] self.assertEqual(ether.dst, dmac) self.assertEqual(ether.src, smac) + self.assertEqual(ether.type, 0x0806) arp = rx[ARP] self.assertEqual(arp.hwtype, 1) @@ -132,6 +135,7 @@ class ARPTestCase(VppTestCase): ether = rx[Ether] self.assertEqual(ether.dst, dmac) self.assertEqual(ether.src, smac) + self.assertEqual(ether.type, 0x0800) ip = rx[IP] self.assertEqual(ip.src, sip) @@ -141,6 +145,7 @@ class ARPTestCase(VppTestCase): ether = rx[Ether] self.assertEqual(ether.dst, dmac) self.assertEqual(ether.src, smac) + self.assertEqual(ether.type, 0x8847) mpls = rx[MPLS] self.assertTrue(mpls.label, label) @@ -1811,6 +1816,7 @@ class ARPTestCase(VppTestCase): conn2.remove_vpp_config() +@tag_fixme_vpp_workers class NeighborStatsTestCase(VppTestCase): """ ARP/ND Counters """