yang: modify standard model

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 <chopps@labn.net>
This commit is contained in:
Christian Hopps 2024-03-01 06:14:46 -05:00
parent 0f6538263d
commit 3fa5a77def
2 changed files with 30 additions and 0 deletions

View File

@ -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:frog@lists.frrouting.org>
FRR Development List: <mailto:dev@lists.frrouting.org>";
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;
}
}
}

View File

@ -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