diff options
author | Neale Ranns <nranns@cisco.com> | 2019-01-09 00:04:04 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-01-10 13:29:33 +0000 |
commit | 45db885a6a050aa809ae333bf6c14349db644822 (patch) | |
tree | e58cbf714460230cc842185992d4a2720ccca83b /test | |
parent | e33cab390705f7fd24cf9443a18a96a4e309707d (diff) |
ARP/ND: copy opaque2 persistent fields to new packet
Change-Id: Ic65f686aaccaf8450732d88d7471b587faccaa9d
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_gbp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py index 568191c6f35..51df8d9e936 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -3135,8 +3135,9 @@ class TestGBP(VppTestCase): self.assertEqual(rx[VXLAN].vni, 88) self.assertTrue(rx[VXLAN].flags.G) self.assertTrue(rx[VXLAN].flags.Instance) - # policy is not applied since we don't know where it's going - self.assertFalse(rx[VXLAN].gpflags.A) + # policy was applied to the original IP packet + self.assertEqual(rx[VXLAN].gpid, 200) + self.assertTrue(rx[VXLAN].gpflags.A) self.assertFalse(rx[VXLAN].gpflags.D) inner = rx[VXLAN].payload |