Skip to content

Commit

Permalink
Update KeyChain model to accept hex string for key-id openconfig#733 (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
m26singhvi authored Dec 2, 2022
1 parent 51fd82f commit ac8beba
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions release/models/keychain/openconfig-keychain.yang
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module openconfig-keychain {
import openconfig-extensions { prefix oc-ext; }
import openconfig-keychain-types { prefix oc-keychain-types; }
import openconfig-types { prefix oc-types; }
import openconfig-yang-types { prefix oc-yang; }

// meta
organization "OpenConfig working group";
Expand All @@ -32,7 +33,13 @@ module openconfig-keychain {
which may be then referenced by other models such as routing protocol
management.";

oc-ext:openconfig-version "0.3.0";
oc-ext:openconfig-version "0.4.0";

revision "2022-11-05" {
description
"Update key-id to a union of hex-string and uint64.";
reference "0.4.0";
}

revision "2022-03-05" {
description
Expand Down Expand Up @@ -186,7 +193,12 @@ module openconfig-keychain {
description "This grouping defines key-chain key parameters.";

leaf key-id {
type uint64;
type union {
type oc-yang:hex-string {
length "1..64";
}
type uint64;
}
description
"Identifier for the key within the keychain.";
}
Expand Down

0 comments on commit ac8beba

Please sign in to comment.