From 91122c70a42f416800630ca01b220cef974f97ed Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Mon, 16 Jan 2023 17:12:48 +0000 Subject: [PATCH] acl: add dumper for acls A reasonable attempt will be made to shorten the output of terms, but due to the nature of the ACL plugin in VPP, all ACLs will be unrolled into their individual ACEs (called 'terms'). - src/dst-port will only be emitted with UDP/TCP - icmp-typc/code will only be emitted with ICMP/ICMPv6 - icmp-code/type and source/destination-ports ranges will be collapsed where appropriate. - if protocol is 0, only L3 information will be emitted NOTE: a bug in the VPP plugin will allow for ICMP 'sport' and 'dport' upper value to be 16 bits. If an ACE is retrieved from the dataplane regarding an ICMP or ICMPv6 (referring the 16 bit values to icmp type and code), they will be truncated and a warning issued. --- vppcfg/vpp/vppapi.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vppcfg/vpp/vppapi.py b/vppcfg/vpp/vppapi.py index 189ae1e..639c3f1 100644 --- a/vppcfg/vpp/vppapi.py +++ b/vppcfg/vpp/vppapi.py @@ -121,7 +121,6 @@ class VPPApi: "interface_addresses": {}, "interface_mpls": {}, "interface_acls": {}, - "interface_mpls": {}, "bondethernets": {}, "bondethernet_members": {}, "bridgedomains": {},