diff options
author | Neale Ranns <neale@graphiant.com> | 2022-08-13 10:58:11 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-08-18 08:30:36 +0000 |
commit | 6e4a56e65697999d2f9e2fd539b9e53a0d420266 (patch) | |
tree | 1f609b9616a2af9f902fef09f823e70a78246253 /src/vnet/ip-neighbor/ip_neighbor.api | |
parent | b29c60660a69ae892495de65e8c5147052c84ef5 (diff) |
ip-neighbor: Declarative .api counters.
Type: improvement
plus the addition of the 'thorttle' counter of IP6.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Ic845247a9f3288caa755c33e79ae2eb6d2029d09
Diffstat (limited to 'src/vnet/ip-neighbor/ip_neighbor.api')
-rw-r--r-- | src/vnet/ip-neighbor/ip_neighbor.api | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/src/vnet/ip-neighbor/ip_neighbor.api b/src/vnet/ip-neighbor/ip_neighbor.api index 62730e7c1e3..a04fcbc569e 100644 --- a/src/vnet/ip-neighbor/ip_neighbor.api +++ b/src/vnet/ip-neighbor/ip_neighbor.api @@ -264,6 +264,85 @@ service { events ip_neighbor_event_v2; }; +counters ip4_neighbor { + throttled { + severity info; + type counter64; + units "packets"; + description "ARP requests throttled"; + }; + resolved { + severity info; + type counter64; + units "packets"; + description "ARP requests resolved"; + }; + no_buffers { + severity error; + type counter64; + units "packets"; + description "ARP requests out of buffer"; + }; + request_sent { + severity info; + type counter64; + units "packets"; + description "ARP requests sent"; + }; + non_arp_adj { + severity error; + type counter64; + units "packets"; + description "ARPs to non-ARP adjacencies"; + }; + no_source_address { + severity error; + type counter64; + units "packets"; + description "no source address for ARP request"; + }; +}; + +counters ip6_neighbor { + throttled { + severity info; + type counter64; + units "packets"; + description "throttled"; + }; + drop { + severity error; + type counter64; + units "packets"; + description "address overflow drops"; + }; + request_sent { + severity info; + type counter64; + units "packets"; + description "neighbor solicitations sent"; + }; + no_source_address { + severity error; + type counter64; + units "packets"; + description "no source address for ND solicitation"; + }; + no_buffers { + severity error; + type counter64; + units "packets"; + description "no buffers"; + }; +}; + +paths { + "/err/ip4-arp" "ip4_neighbor"; + "/err/ip4-glean" "ip4_neighbor"; + "/err/ip6-arp" "ip6_neighbor"; + "/err/ip6-glean" "ip6_neighbor"; +}; + /* * Local Variables: * eval: (c-set-style "gnu") |