X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=test%2Ftest_gbp.py;h=cf9ad251d4b3eacf9c9ed964e887e2c3989adfcb;hp=05a4b4df51324d44af0d66b0e6ee249eba029082;hb=fa0ac2c56;hpb=da7f7b6164e976a97ff0afb13f488c60461402bc diff --git a/test/test_gbp.py b/test/test_gbp.py index 05a4b4df513..cf9ad251d4b 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -461,6 +461,8 @@ class VppGbpContract(VppObject): self.dst_epg = dst_epg self.rules = rules self.allowed_ethertypes = allowed_ethertypes + while (len(self.allowed_ethertypes) < 16): + self.allowed_ethertypes.append(0) def add_vpp_config(self): rules = [] @@ -481,7 +483,8 @@ class VppGbpContract(VppObject): self.src_epg.sclass, self.dst_epg.sclass, self.acl_index, - [], []) + [], + self.allowed_ethertypes) def __str__(self): return self.object_id()