feat(crc): Bump messages after 24.10 release 32/41932/2
authorVratko Polak <[email protected]>
Tue, 26 Nov 2024 13:46:52 +0000 (14:46 +0100)
committerVratko Polak <[email protected]>
Tue, 26 Nov 2024 13:46:52 +0000 (14:46 +0100)
+ Add option to skip mfib table creation, not used yet.
- Comments mentioning device tests not updated, TODO added instead.

Change-Id: I1dc24c0ba3e9f04bfe4fc139af680301dd15ae53
Signed-off-by: Vratko Polak <[email protected]>
resources/api/vpp/supported_crcs.yaml
resources/libraries/python/IPUtil.py

index 5ea5286..2a65497 100644 (file)
 # 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
     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
index 933fa34..504bc3e 100644 (file)
@@ -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']}"