summaryrefslogtreecommitdiffstats
path: root/isisd/isis_circuit.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-09-23 14:38:02 +0200
committerRenato Westphal <renato@opensourcerouting.org>2019-09-23 14:38:05 +0200
commitc32496ee5cbfba00cf449ed3218df3d2caee5c3f (patch)
tree232d05dfc020b856d11972cf1c8500fc34469322 /isisd/isis_circuit.h
parentisisd, yang: implement read-only list of adjacencies (diff)
downloadfrr-c32496ee5cbfba00cf449ed3218df3d2caee5c3f.tar.xz
frr-c32496ee5cbfba00cf449ed3218df3d2caee5c3f.zip
isisd, yang: implement interface counters
The new "event-counters" grouping is almost a 1:1 copy of the same grouping from the IETF IS-IS module, except for the "lan-dis-changes" leaf which was skipped (more work needs to be done to support it). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_circuit.h')
-rw-r--r--isisd/isis_circuit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/isisd/isis_circuit.h b/isisd/isis_circuit.h
index e3541644a..b77c8ce35 100644
--- a/isisd/isis_circuit.h
+++ b/isisd/isis_circuit.h
@@ -144,6 +144,13 @@ struct isis_circuit {
uint32_t
desig_changes[2]; /* lanLxDesignatedIntermediateSystemChanges */
uint32_t rej_adjacencies; /* rejectedAdjacencies */
+ /*
+ * Counters as in ietf-isis@2019-09-09.yang
+ */
+ uint32_t id_len_mismatches; /* id-len-mismatch */
+ uint32_t max_area_addr_mismatches; /* max-area-addresses-mismatch */
+ uint32_t auth_type_failures; /*authentication-type-fails */
+ uint32_t auth_failures; /* authentication-fails */
QOBJ_FIELDS
};