Skip to content

Commit

Permalink
yang: modify standard model
Browse files Browse the repository at this point in the history
We need to operate w/o cryptographic algorithm during key creation
due to how our legacy CLI works (each command issuing a single YANG
modification).

Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Mar 3, 2024
1 parent 0f65382 commit 3fa5a77
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions yang/ietf/frr-deviations-ietf-key-chain.yang
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module frr-deviations-ietf-key-chain {
yang-version 1.1;
namespace "http://frrouting.org/yang/frr-deviations-ietf-key-chain";
prefix frr-deviations-ietf-key-chain;

import ietf-key-chain {
prefix kc;
}

organization
"FRRouting";
contact
"FRR Users List: <mailto:[email protected]>
FRR Development List: <mailto:[email protected]>";
description
"This module defines deviation statements for the ietf-key-chain
module.";

revision 2024-03-03 {
description "Initial revision.";
reference "RFC 8177: YANG Data Model for Key Chains";
}

deviation /kc:key-chains/kc:key-chain/kc:key/kc:crypto-algorithm {
deviate replace {
mandatory false;
}
}
}
1 change: 1 addition & 0 deletions yang/subdir.am
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dist_yangmodels_DATA += yang/frr-bgp-route-map.yang
dist_yangmodels_DATA += yang/frr-vrf.yang
dist_yangmodels_DATA += yang/frr-route-types.yang
dist_yangmodels_DATA += yang/frr-routing.yang
dist_yangmodels_DATA += yang/ietf/frr-deviations-ietf-key-chain.yang
dist_yangmodels_DATA += yang/ietf/ietf-routing-types.yang
dist_yangmodels_DATA += yang/ietf/ietf-interfaces.yang
dist_yangmodels_DATA += yang/ietf/ietf-bgp-types.yang
Expand Down

0 comments on commit 3fa5a77

Please sign in to comment.