Skip to content

Commit

Permalink
Merge pull request #5039 from opensourcerouting/isisd-yang-state-data
Browse files Browse the repository at this point in the history
isisd: start implementing yang-modeled state data
  • Loading branch information
donaldsharp committed Sep 24, 2019
2 parents d99d43b + c32496e commit e030e86
Show file tree
Hide file tree
Showing 5 changed files with 928 additions and 284 deletions.
1 change: 1 addition & 0 deletions isisd/isis_adjacency.c
Expand Up @@ -254,6 +254,7 @@ void isis_adj_state_change(struct isis_adjacency *adj,
reason ? reason : "unspecified");
}

circuit->adj_state_changes++;
#ifndef FABRICD
/* send northbound notification */
isis_notif_adj_state_change(adj, new_state, reason);
Expand Down
7 changes: 7 additions & 0 deletions isisd/isis_circuit.h
Expand Up @@ -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
};
Expand Down

0 comments on commit e030e86

Please sign in to comment.