aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/api/vpp/supported_crcs.yaml10
-rw-r--r--resources/libraries/python/IPUtil.py13
2 files changed, 14 insertions, 9 deletions
diff --git a/resources/api/vpp/supported_crcs.yaml b/resources/api/vpp/supported_crcs.yaml
index 5ea52861d2..2a65497d65 100644
--- a/resources/api/vpp/supported_crcs.yaml
+++ b/resources/api/vpp/supported_crcs.yaml
@@ -26,9 +26,11 @@
# Please keep alphabetic order.
# Use bash command "env LC_COLLATE=C sort -u" if not clear.
+# TODO: Update comments, as we removed device tests.
+
# https://packagecloud.io/app/fdio/release
-# /search?q=24.06&filter=debs&filter=all&dist=debian
-24.06-release:
+# /search?q=24.10&filter=debs&filter=all&dist=debian
+24.10-release:
# plugins/acl/acl.api
acl_add_replace: '0xee5c2f18' # dev
acl_add_replace_reply: '0xac407b0c' # dev
@@ -177,8 +179,8 @@
ip_route_add_del: '0xb8ecfe0d' # dev
ip_route_add_del_reply: '0x1992deab' # dev
# ip_source_check_interface_add_del / reply # unused L1 keyword vpp_ip_source_check_setup
- ip_table_add_del: '0x0ffdaec0' # dev
- ip_table_add_del_reply: '0xe8d4e804' # dev
+ ip_table_add_del_v2: '0x14e5081f' # dev
+ ip_table_add_del_v2_reply: '0xe8d4e804' # dev
# vnet/ipip/ipip.api
ipip_add_tunnel: '0x2ac399f5' # dev
diff --git a/resources/libraries/python/IPUtil.py b/resources/libraries/python/IPUtil.py
index 933fa34211..504bc3eb69 100644
--- a/resources/libraries/python/IPUtil.py
+++ b/resources/libraries/python/IPUtil.py
@@ -1,5 +1,5 @@
-# Copyright (c) 2023 Cisco and/or its affiliates.
-# Copyright (c) 2023 PANTHEON.tech s.r.o.
+# Copyright (c) 2024 Cisco and/or its affiliates.
+# Copyright (c) 2024 PANTHEON.tech s.r.o.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -778,24 +778,27 @@ class IPUtil:
papi_exec.add(cmd, **args).get_reply(err_msg)
@staticmethod
- def add_fib_table(node, table_id, ipv6=False):
+ def add_fib_table(node, table_id, ipv6=False, create_mfib=True):
"""Create new FIB table according to ID.
:param node: Node to add FIB on.
:param table_id: FIB table ID.
:param ipv6: Is this an IPv6 table
+ :param create_mfib: Whether to create also mfib table.
:type node: dict
:type table_id: int
:type ipv6: bool
+ :type create_mfib: bool
"""
- cmd = u"ip_table_add_del"
+ cmd = u"ip_table_add_del_v2"
table = dict(
table_id=int(table_id),
is_ip6=ipv6
)
args = dict(
table=table,
- is_add=True
+ create_mfib=create_mfib,
+ is_add=True,
)
err_msg = f"Failed to add FIB table on host {node[u'host']}"