Skip to content

Commit

Permalink
Adding glome key version and console state. (#1178)
Browse files Browse the repository at this point in the history
* Adding GLOME capabilities to gnsi credentialz.
  • Loading branch information
sourcequench authored Sep 13, 2024
1 parent bab19fd commit 9b0a82e
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion release/models/gnsi/openconfig-gnsi-credentialz.yang
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ module openconfig-gnsi-credentialz {
/system/aaa/authentication/users/user/config/password-hashed
/system/aaa/authentication/users/user/state/password-hashed";

oc-ext:openconfig-version "0.6.0";
oc-ext:openconfig-version "0.7.0";

revision 2024-09-10 {
description
"Adding GLOME capabilities.";
reference "0.7.0";
}

revision 2024-02-13 {
description
Expand Down Expand Up @@ -142,6 +148,26 @@ module openconfig-gnsi-credentialz {
}
}

// GLOME related definitions.

grouping glome-key-version {
description
"Version identifier for the configured GLOME key.";

leaf active-glome-key-version {
type version;
description
"The version of the GLOME key.";
}

leaf active-glome-key-created-on {
type created-on;
description
"The timestamp of the moment when the GLOME key
was created.";
}
}

// Success/failure counters.
grouping counters {
description
Expand Down Expand Up @@ -232,9 +258,16 @@ module openconfig-gnsi-credentialz {
"Console-related state.";

uses counters;

leaf enabled {
type boolean;
description
"Whether GLOME is enabled or not.";
}
}
}
}

// System role console related definitions.

grouping user-console-credentials-version {
Expand Down

0 comments on commit 9b0a82e

Please sign in to comment.