diff options
author | Ole Troan <ot@cisco.com> | 2019-09-11 17:49:08 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-09-19 14:24:54 +0000 |
commit | 75761b933f3e28494bae4b2cf5636a07ffe6ce18 (patch) | |
tree | a9663623eba8a5c26c6bcceab1606c946ce29754 /test | |
parent | fbc388986e3f38aaedff87b843137be81b7d4f91 (diff) |
api: split vl_api_prefix into two
One type for address with prefix and one type for prefix.
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Icfec51d9b7d5cde1d69fbecdd97498688ab7b295
Signed-off-by: Ole Troan <ot@cisco.com>
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/vpp_ip_route.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_ip_route.py b/test/vpp_ip_route.py index 7742936a8a0..8f9d51a7d2a 100644 --- a/test/vpp_ip_route.py +++ b/test/vpp_ip_route.py @@ -153,7 +153,7 @@ def fib_interface_ip_prefix(test, address, length, sw_if_index): # TODO: refactor this to VppIpPrefix.__eq__ for a in addrs: if a.sw_if_index == sw_if_index and \ - a.prefix == prefix: + a.prefix.network == prefix: return True return False |