diff --git a/certz/README.md b/certz/README.md index 0662d37..1c0956f 100644 --- a/certz/README.md +++ b/certz/README.md @@ -209,10 +209,10 @@ module: gnsi-certz +--ro authentication-policy-created-on? created-on +--ro ssl-profile-id? string +--ro counters - +--ro access-rejects? oc-yang:counter64 - +--ro last-access-reject? oc-types:timeticks64 - +--ro access-accepts? oc-yang:counter64 - +--ro last-access-accept? oc-types:timeticks64 + +--ro connection-rejects? oc-yang:counter64 + +--ro last-connection-reject? oc-types:timeticks64 + +--ro connection-accepts? oc-yang:counter64 + +--ro last-connection-accept? oc-types:timeticks64 ``` ### `openconfig-system` tree @@ -656,9 +656,9 @@ module: openconfig-system +--ro gnsi-certz:authentication-policy-created-on? created-on +--ro gnsi-certz:ssl-profile-id? string +--ro gnsi-certz:counters - +--ro gnsi-certz:access-rejects? oc-yang:counter64 - +--ro gnsi-certz:last-access-reject? oc-types:timeticks64 - +--ro gnsi-certz:access-accepts? oc-yang:counter64 - +--ro gnsi-certz:last-access-accept? oc-types:timeticks64 + +--ro gnsi-certz:connection-rejects? oc-yang:counter64 + +--ro gnsi-certz:last-connection-reject? oc-types:timeticks64 + +--ro gnsi-certz:connection-accepts? oc-yang:counter64 + +--ro gnsi-certz:last-connection-accept? oc-types:timeticks64 ``` diff --git a/certz/gnsi-certz.html b/certz/gnsi-certz.html index 03b00e1..478e179 100644 --- a/certz/gnsi-certz.html +++ b/certz/gnsi-certz.html @@ -5115,7 +5115,7 @@

Module: gnsi-certz, Namespace:
  - access-accepts + connection-accepts
@@ -5127,14 +5127,14 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys:aaa/oc-sys:server-groups/oc-sys:server-group/oc-sys:servers/oc-sys:server/oc-sys:radius/oc-sys:state/oc-sys:counters/oc-sys:access-accepts + /oc-sys:system/oc-sys:aaa/oc-sys:server-groups/oc-sys:server-group/oc-sys:servers/oc-sys:server/oc-sys:radius/oc-sys:state/oc-sys:counters/oc-sys:connection-accepts
  - access-rejects + connection-rejects
@@ -5146,7 +5146,7 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys:aaa/oc-sys:server-groups/oc-sys:server-group/oc-sys:servers/oc-sys:server/oc-sys:radius/oc-sys:state/oc-sys:counters/oc-sys:access-rejects + /oc-sys:system/oc-sys:aaa/oc-sys:server-groups/oc-sys:server-group/oc-sys:servers/oc-sys:server/oc-sys:radius/oc-sys:state/oc-sys:counters/oc-sys:connection-rejects @@ -8496,8 +8496,9 @@

Module: gnsi-certz, Namespace:
  - gnsi-certz:access-rejects - + gnsi-certz:connection-rejects +
leaf @@ -8508,16 +8509,16 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:access-rejects + /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:connection-rejects
  - gnsi-certz:last-access-reject - + gnsi-certz:last-connection-reject +
leaf @@ -8528,16 +8529,16 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:last-access-reject + /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:last-connection-reject
  - gnsi-certz:access-accepts - + gnsi-certz:connection-accepts +
leaf @@ -8548,16 +8549,16 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:access-accepts + /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:connection-accepts
  - gnsi-certz:last-access-accept - + gnsi-certz:last-connection-accept +
leaf @@ -8568,7 +8569,7 @@

Module: gnsi-certz, Namespace: no config ? current - /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:last-access-accept + /oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/oc-sys-grpc:state/gnsi-certz:counters/gnsi-certz:last-connection-accept diff --git a/certz/gnsi-certz.yang b/certz/gnsi-certz.yang index 4f25c35..31f70a6 100644 --- a/certz/gnsi-certz.yang +++ b/certz/gnsi-certz.yang @@ -25,6 +25,12 @@ module gnsi-certz { "This module provides a data model for the metadata of gRPC credentials installed on a networking device."; + revision 2023-02-13 { + description + "rename access/reject counters"; + reference "0.5.0"; + } + revision 2023-08-24 { description "Adds ssl-profile-id leaf"; @@ -69,8 +75,8 @@ module gnsi-certz { // Success/failure counters. grouping counters { description - "A collection of counters that were collected while evaluating - access to the gRPC server."; + "A collection of counters that were collected while attempting + to establish connections to the gRPC server."; container counters { config false; @@ -78,28 +84,29 @@ module gnsi-certz { "A collection of counters that were collected by the gRPC during the authentication process."; - leaf access-rejects { + leaf connection-rejects { type oc-yang:counter64; description - "The total number of times the gRPC denied access to the server."; + "The total number of times that gRPC clients have succeeded + in establishing a connection to the server."; } - leaf last-access-reject { + leaf last-connection-reject { type oc-types:timeticks64; description - "A timestamp of the last time the gRPC denied access to - the server."; + "A timestamp of the last time a gRPC client failed + in establishing a connection to the server." } - leaf access-accepts { + leaf connection-accepts { type oc-yang:counter64; description - "The total number of times the gPRC allowed access to - the server."; + "The total number of times that gRPC clients have succeeded + in establishing a connection to the server."; } - leaf last-access-accept { + leaf last-connection-accept { type oc-types:timeticks64; description - "A timestamp of the last time the gRPC allowed access to - the server."; + "A timestamp of the last time a gRPC client succeeded + in establishing a connection to the server." } } } diff --git a/version/version.pb.go b/version/version.pb.go index a8f987c..b801d2e 100644 --- a/version/version.pb.go +++ b/version/version.pb.go @@ -32,7 +32,7 @@ var file_github_com_openconfig_gnsi_version_version_proto_rawDesc = []byte{ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x2c, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x73, 0x69, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x3e, 0x05, 0x31, - 0x2e, 0x36, 0x2e, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x36, 0x2e, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_github_com_openconfig_gnsi_version_version_proto_goTypes = []interface{}{} diff --git a/version/version.proto b/version/version.proto index ae54b63..4b9a523 100644 --- a/version/version.proto +++ b/version/version.proto @@ -20,5 +20,5 @@ package gnsi; import "github.com/openconfig/gnoi/types/types.proto"; -option (gnoi.types.gnoi_version) = "1.6.0"; +option (gnoi.types.gnoi_version) = "1.6.1"; option go_package = "github.com/openconfig/gnsi/version";