From f75240d062552f868afbbdd195c2636468333099 Mon Sep 17 00:00:00 2001 From: dplore Date: Mon, 4 Mar 2024 10:49:36 -0800 Subject: [PATCH] Remove yang OC models --- acctz/gnsi-acctz.yang | 187 ------------------- authz/gnsi-authz.yang | 178 ------------------ certz/gnsi-certz.yang | 187 ------------------- credentialz/gnsi-credentialz.yang | 279 ---------------------------- pathz/gnsi-pathz.yang | 298 ------------------------------ yang/gnsi-telemetry.yang | 50 ----- 6 files changed, 1179 deletions(-) delete mode 100644 acctz/gnsi-acctz.yang delete mode 100644 authz/gnsi-authz.yang delete mode 100644 certz/gnsi-certz.yang delete mode 100644 credentialz/gnsi-credentialz.yang delete mode 100644 pathz/gnsi-pathz.yang delete mode 100644 yang/gnsi-telemetry.yang diff --git a/acctz/gnsi-acctz.yang b/acctz/gnsi-acctz.yang deleted file mode 100644 index 752628e..0000000 --- a/acctz/gnsi-acctz.yang +++ /dev/null @@ -1,187 +0,0 @@ -module gnsi-acctz { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/acctz/yang"; - prefix gnsi-acctz; - - import openconfig-system { - prefix oc-sys; - } - import openconfig-system-grpc { - prefix oc-sys-grpc; - } - import openconfig-types { - prefix oc-types; - } - import openconfig-yang-types { - prefix oc-yang; - } - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "This module provides a data model for the metadata of the gRPC - accounting operations on a device."; - - revision 2023-01-24 { - description - "Remove duplicate counters container."; - reference "0.2.0"; - } - - revision 2023-12-01 { - description - "Initial revision."; - reference "0.1.0"; - } - - typedef cmd_service { - description "enum CommandService.CmdServiceType"; - type enumeration { - enum UNSPECIFIED { - value 0; - } - enum SHELL { - value 1; - } - enum CLI { - value 2; - } - enum WEBUI { - value 3; - } - enum RESTCONF { - value 4; - } - enum NETCONF { - value 5; - } - } - } - typedef grpc_service { - description "enum GrpcService.GrpcServiceType"; - type enumeration { - enum UNSPECIFIED { - value 0; - } - enum GNMI { - value 1; - } - enum GNOI { - value 2; - } - enum GNSI { - value 3; - } - enum GRIBI { - value 4; - } - enum P4RT { - value 5; - } - } - } - typedef service-request { - description "enum RecordResponse.service_request"; - type enumeration { - enum cmd_service { - value 4; - } - enum grpc_service { - value 5; - } - } - } - typedef service-type { - description "enum cmd or grpc service type"; - type union { - type cmd_service; - type grpc_service; - } - } - - // gnsi.acctz client statistics - grouping client-counters { - description - "A collection of counters that were collected by the gNSI.acctz - module while servicing acctz clients."; - - leaf history_istruncated { - type oc-yang:counter64; - description - "The total number of times that a RecordRequest resulted in - a RecordResponse being marked history_istruncated. ie: a - request was made for a timestamp that did not exist in the - history."; - } - leaf IdleTimeouts { - type oc-yang:counter64; - description - "The total number of times that a client was disconnected - due to missing keepalives (ie: RecordRequests)."; - } - leaf RecordRequests { - type oc-yang:counter64; - description - "The total number of RecordRequest RPCs that have been received."; - } - leaf RecordResponses { - type oc-yang:counter64; - description - "The total number of RecordRequest RPCs that have been sent."; - } - } - - // gnsi.acctz producer statistics - grouping source-counters { - description - "A collection of counters for gNSI.acctz record production per - service request type."; - - list source-records { - key "service type"; - // unique "service type"; - description - "The total number of times the gNSI.authz module denied access - to a RPC."; - - leaf service { - type service-request; - mandatory true; - } - leaf type { - type service-type; - mandatory true; - } - leaf records { - type oc-yang:counter64; - description - "The total number of records produced for the service_request - type."; - } - } - } - - grouping grpc-server-acctz-counters { - description - "A collection of counters from the gNSI.acctz module. This collection - augments the existing certz grpc counters"; - - container client-counters { - uses client-counters; - } - container source-counters { - uses source-counters; - } - } - - // Augments section. - augment "/oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server" { - description - "Counters collected by the gNSI.acctz module."; - - uses grpc-server-acctz-counters; - } -} diff --git a/authz/gnsi-authz.yang b/authz/gnsi-authz.yang deleted file mode 100644 index c7bbb34..0000000 --- a/authz/gnsi-authz.yang +++ /dev/null @@ -1,178 +0,0 @@ -module gnsi-authz { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/authz/yang"; - prefix gnsi-authz; - - import openconfig-system { - prefix oc-sys; - } - import openconfig-system-grpc { - prefix oc-sys-grpc; - } - import openconfig-types { - prefix oc-types; - } - import openconfig-yang-types { - prefix oc-yang; - } - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "This module provides a data model for the metadata of the gRPC - authorization policies installed on a networking device."; - - revision 2022-10-30 { - description - "Adds success/failure counters."; - reference "0.3.0"; - } - - revision 2022-08-01 { - description - "Single authz policy."; - reference "0.2.0"; - } - - revision 2022-01-17 { - description - "Initial revision."; - reference "0.1.0"; - } - - typedef version { - type string; - description - "The version ID of the gRPC authorization policy as provided by - the gRPC Authorization Policy Manager when the policy was pushed. - This leaf persists through a reboot."; - } - - typedef created-on { - type oc-types:timeticks64; - description - "The creation time of the gRPC authorization policy as reported by - the gRPC Authorization Policy manager when the policy was pushed - to the device. This value is reported as nanoseconds since epoch - (January 1st, 1970 00:00:00 GMT). This leaf persists through - a reboot."; - } - - // gRPC server authorization policy related definitions. - grouping counters { - description - "A collection of counters that were collected by the gNSI.authz - module while evaluating access to a RPC."; - - leaf access-rejects { - type oc-yang:counter64; - description - "The total number of times the gNSI.authz module denied access - to a RPC."; - } - leaf last-access-reject { - type oc-types:timeticks64; - description - "A timestamp of the last time the gNSI.authz denied access to - a RPC."; - } - leaf access-accepts { - type oc-yang:counter64; - description - "The total number of times the gNSI.authz module allowed access - to a RPC."; - } - leaf last-access-accept { - type oc-types:timeticks64; - description - "A timestamp of the last time the gNSI.authz allowed access to - a RPC."; - } - } - - grouping grpc-server-user-authz-policy-success-failure-counters { - description - "A collection of counters collected by the gNSI.authz module."; - - container rpcs { - description - "A collection of counters collected by the gNSI.authz module - for each RPC separately."; - - list rpc { - description - "A collection of counters collected by the gNSI.authz module - for a RPC identified by the `name`."; - - key name; - leaf name { - type leafref { - path "../state/name"; - } - description - "The name of the RPC the counters were collected for."; - } - container state { - leaf name { - type string; - description - "The name of the RPC the counters were collected - for."; - } - uses counters; - } - } - } - } - - grouping grpc-server-authz-policy-success-failure-counters { - description - "A collection of counters collected by the gNSI.authz module."; - - container authz-policy-counters { - description - "A collection of counters collected by the gNSI.authz module."; - config false; - - uses grpc-server-user-authz-policy-success-failure-counters; - } - } - - grouping grpc-server-authz-policy-state { - description - "gNMI server's gRPC authorization policy freshness-related data."; - - leaf grpc-authz-policy-version { - type version; - description - "The version of the gRPC authorization policy that is used by - this system."; - } - leaf grpc-authz-policy-created-on { - type created-on; - description - "The timestamp of the moment when the gRPC authorization policy - that is currently used by this system was created."; - } - } - - // Augments section. - - augment "/oc-sys:system/oc-sys:aaa/oc-sys:authorization/" + - "oc-sys:state" { - description - "A system's gRPC authorization policy freshness information."; - - uses grpc-server-authz-policy-state; - } - augment "/oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server" { - description - "Counters collected while evaluating access to a gRPC server using - the gNSI.authz authorization policy."; - - uses grpc-server-authz-policy-success-failure-counters; - } -} \ No newline at end of file diff --git a/certz/gnsi-certz.yang b/certz/gnsi-certz.yang deleted file mode 100644 index 4ba882b..0000000 --- a/certz/gnsi-certz.yang +++ /dev/null @@ -1,187 +0,0 @@ -module gnsi-certz { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/certz/yang"; - prefix gnsi-certz; - - import openconfig-system { - prefix oc-sys; - } - import openconfig-system-grpc { - prefix oc-sys-grpc; - } - import openconfig-types { - prefix oc-types; - } - import openconfig-yang-types { - prefix oc-yang; - } - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "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"; - reference "0.4.0"; - } - - revision 2023-05-10 { - description - "Adds authentication policy freshness information."; - reference "0.3.0"; - } - - revision 2022-10-30 { - description - "Adds success/failure counters."; - reference "0.2.0"; - } - - revision 2022-09-20 { - description - "Initial revision."; - reference "0.1.0"; - } - - typedef version { - type string; - description - "The version ID of the credential as provided by the credential - manager when the credential was pushed. This leaf persists through - a reboot."; - } - - typedef created-on { - type oc-types:timeticks64; - description - "The creation time of the credential as reported by the credential - manager when the credential was pushed to the device. This value is - reported as nanoseconds since epoch (January 1st, 1970 00:00:00 GMT). - This leaf persists through a reboot."; - } - // gRPC server related definitions. - // Success/failure counters. - grouping counters { - description - "A collection of counters that were collected while attempting - to establish connections to the gRPC server."; - - container counters { - config false; - description - "A collection of counters that were collected by the gRPC during - the authentication process."; - - leaf connection-rejects { - type oc-yang:counter64; - description - "The total number of times that gRPC clients have failed - in establishing a connection to the server."; - } - leaf last-connection-reject { - type oc-types:timeticks64; - description - "A timestamp of the last time a gRPC client failed - in establishing a connection to the server."; - } - leaf connection-accepts { - type oc-yang:counter64; - description - "The total number of times that gRPC clients have succeeded - in establishing a connection to the server."; - } - leaf last-connection-accept { - type oc-types:timeticks64; - description - "A timestamp of the last time a gRPC client succeeded - in establishing a connection to the server."; - } - } - } - - grouping grpc-server-credentials-state { - description - "gRPC server credentials freshness-related data."; - - leaf certificate-version { - type version; - description - "The version of the certificate (and associated - private key) that is used by this gRPC server."; - } - leaf certificate-created-on { - type created-on; - description - "The timestamp of the moment when the certificate - (and associated private key) that is currently used - by this gRPC server was created."; - } - leaf ca-trust-bundle-version { - type version; - description - "The version of the bundle of the Certificate - Authority certificates a.k.a. trust bundle used by - this gRPC server."; - } - leaf ca-trust-bundle-created-on { - type created-on; - description - "The timestamp of the moment when the bundle of - the Certificate Authority certificates (a.k.a. - trust bundle) was created."; - } - leaf certificate-revocation-list-bundle-version { - type version; - description - "The version of the Certificate Revocation List bundle used by - this gRPC server."; - } - leaf certificate-revocation-list-bundle-created-on { - type created-on; - description - "The timestamp of the moment when the Certificate Revocation - List bundle was created."; - } - leaf authentication-policy-version { - type version; - description - "The version of the authentication policy that is used by - this gRPC server."; - } - leaf authentication-policy-created-on { - type created-on; - description - "The timestamp of the moment when the authentication policy - that is currently used by this gRPC server was created."; - } - leaf ssl-profile-id { - type string; - description - "The ID of this gRPC server's SSL profile - as used by the gNSI Certz service"; - } - } - - // Augments section. - - augment "/oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/" + - "oc-sys-grpc:state" { - description - "A gRPC server credentials freshness information."; - - uses grpc-server-credentials-state; - uses counters; - } -} \ No newline at end of file diff --git a/credentialz/gnsi-credentialz.yang b/credentialz/gnsi-credentialz.yang deleted file mode 100644 index c7c037f..0000000 --- a/credentialz/gnsi-credentialz.yang +++ /dev/null @@ -1,279 +0,0 @@ -module gnsi-credentialz { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/credentialz/yang"; - prefix gnsi-credz; - - import openconfig-system { - prefix oc-sys; - } - import openconfig-types { - prefix oc-types; - } - import openconfig-yang-types { - prefix oc-yang; - } - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "This module provides a data model for the metadata of SSH and console - credentials installed on a networking device."; - - revision 2024-01-05 { - description - "Fix typo in YANG leaves"; - reference "0.5.0"; - } - - revision 2023-10-03 { - description - "Added state leaves for admin-user"; - reference "0.4.0"; - } - - revision 2023-08-18 { - description - "Fixed the canonical order of config field."; - reference "0.3.0"; - } - - revision 2022-10-30 { - description - "Adds success/failure counters."; - reference "0.2.0"; - } - - revision 2022-08-22 { - description - "Initial revision."; - reference "0.1.0"; - } - - typedef version { - type string; - description - "The version ID of the credential as provided by the credential - manager when the credential was pushed. This leaf persists through - a reboot."; - } - - typedef created-on { - type oc-types:timeticks64; - description - "The creation time of the credential as reported by the credential - manager when the credential was pushed to the device. This value is - reported as nanoseconds since epoch (January 1st, 1970 00:00:00 GMT). - This leaf persists through a reboot."; - } - - // SSH server related definitions. - - grouping ssh-server-credentials-version { - description - "SSH server credentials freshness-related data."; - - leaf active-trusted-user-ca-keys-version { - type version; - description - "The version of the Certificate Authority keys."; - } - - leaf active-trusted-user-ca-keys-created-on { - type created-on; - description - "The timestamp of the moment when the trusted user CA keys - were created."; - } - - leaf active-host-certificate-version { - type version; - description - "The version of the host certificate."; - } - - leaf active-host-certificate-created-on { - type created-on; - description - "The timestamp of the moment when the host certificate - was created."; - } - - leaf active-host-key-version { - type version; - description - "The version of the host public key."; - } - - leaf active-host-key-created-on { - type created-on; - description - "The timestamp of the moment when the host key was - created."; - } - } - - // Success/failure counters. - grouping counters { - description - "A collection of counters that were collected while evaluating - access to the target."; - - container counters { - config false; - description - "A collection of counters collected while authorizing users - accessing the target."; - leaf access-rejects { - type oc-yang:counter64; - description - "The total number of times access to the target has been - denied."; - } - leaf last-access-reject { - type oc-types:timeticks64; - description - "A timestamp of the last time access to the target has been - denied."; - } - leaf access-accepts { - type oc-yang:counter64; - description - "The total number of times access to the target has been - allowed."; - } - leaf last-access-accept { - type oc-types:timeticks64; - description - "A timestamp of the last time access to the target has been - allowed."; - } - } - } - // System role SSH related definitions. - - grouping user-ssh-credentials-version { - description - "System role credentials freshness-related data."; - - leaf authorized-principals-list-version { - type version; - description - "The version of the list of authorized principals currently - associated with this system role."; - } - - leaf authorized-principals-list-created-on { - type created-on; - description - "The timestamp of the moment the currently used list of - authorized principals has been created."; - } - - leaf authorized-keys-list-version { - type version; - description - "The version of the list of authorized keys that is currently - associated with this system role."; - } - - leaf authorized-keys-list-created-on { - type created-on; - description - "The timestamp of the moment the currently used list of - authorized keys has been created."; - } - } - - grouping console-config-state { - description - "Console-related configuration and state."; - container console { - description - "Console-related configuration and state."; - - container config { - description - "Console-related configuration."; - } - - container state { - config false; - description - "Console-related state."; - - uses counters; - } - } - } - // System role console related definitions. - - grouping user-console-credentials-version { - description - "System role credentials freshness-related data."; - - leaf password-version { - type version; - description - "The version of the password that is currently used to - authenticate this user account."; - } - - leaf password-created-on { - type created-on; - description - "The timestamp of the moment the currently used password has - been created."; - } - } - - // Augments section. - - augment "/oc-sys:system" { - description - "Console credentials freshness data."; - - uses console-config-state; - } - augment "/oc-sys:system/oc-sys:ssh-server/oc-sys:state" { - description - "SSH server credentials freshness data."; - - uses ssh-server-credentials-version; - uses counters; - } - augment "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/" + - "oc-sys:user/oc-sys:state" { - description - "A system role credentials freshness information."; - - uses user-console-credentials-version; - uses user-ssh-credentials-version; - } - augment "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:admin-user/" + - "oc-sys:state" { - description - "A system role credentials freshness information."; - - uses user-console-credentials-version; - uses user-ssh-credentials-version; - } - deviation "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/" + - "oc-sys:user/oc-sys:config/oc-sys:ssh-key" { - deviate not-supported; - } - deviation "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/" + - "oc-sys:user/oc-sys:state/oc-sys:ssh-key" { - deviate not-supported; - } - deviation "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/" + - "oc-sys:user/oc-sys:config/oc-sys:password" { - deviate not-supported; - } - deviation "/oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/" + - "oc-sys:user/oc-sys:config/oc-sys:password-hashed" { - deviate not-supported; - } -} diff --git a/pathz/gnsi-pathz.yang b/pathz/gnsi-pathz.yang deleted file mode 100644 index 9460b6b..0000000 --- a/pathz/gnsi-pathz.yang +++ /dev/null @@ -1,298 +0,0 @@ -module gnsi-pathz { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/pathz/yang"; - prefix gnsi-pathz; - - import openconfig-system { - prefix oc-sys; - } - import openconfig-system-grpc { - prefix oc-sys-grpc; - } - import openconfig-types { - prefix oc-types; - } - import openconfig-yang-types { - prefix oc-yang; - } - - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "This module provides a data model for the metadata of - OpenConfig-path-based authorization policies installed on a networking - device."; - - revision 2022-10-30 { - description - "Adds success/failure counters."; - reference "0.2.0"; - } - - revision 2022-01-17 { - description - "Initial revision."; - reference "0.1.0"; - } - - typedef version { - type string; - description - "The version ID of the OpenConfig-path-based authorization policy - as provided by the OpenConfig-path-based Authorization Policy - Manager when the policy was pushed. This leaf persists through - a reboot."; - } - - typedef created-on { - type oc-types:timeticks64; - description - "The creation time of the OpenConfig-path-based authorization policy - as reported by the OpenConfig-path-based Authorization Policy - manager when the policy was pushed to the device. This value is - reported as nanoseconds since epoch (January 1st, 1970 00:00:00 GMT). - This leaf persists through a reboot."; - } - - // gRPC server related definitions. - grouping counters { - description - "A collection of counters that were collected by the gNSI.pathz - module while evaluating access to an OpenConfig path."; - - leaf access-rejects { - type oc-yang:counter64; - description - "The total number of times the gNSI.pathz module denied access - to an OpenConfig path."; - } - leaf last-access-reject { - type oc-types:timeticks64; - description - "A timestamp of the last time the gNSI.pathz denied access to - an OpenConfig path"; - } - leaf access-accepts { - type oc-yang:counter64; - description - "The total number of times the gNSI.pathz module allowed access - to an OpenConfig path."; - } - leaf last-access-accept { - type oc-types:timeticks64; - description - "A timestamp of the last time the gNSI.pathz allowed access to - an OpenConfig path"; - } - } - - grouping gnmi-pathz-policy-success-failure-counters { - description - "A collection of counters collected by the gNSI.pathz module."; - - container gnmi-pathz-policy-counters { - config false; - - uses gnmi-pathz-policy-xpath-success-failure-counters; - } - } - - grouping gnmi-pathz-policy-xpath-success-failure-counters { - description - "A collection of per-OpenConfig path counters."; - - container paths { - description - "A collection of per-OpenConfig path counters."; - - list path { - key xpath; - leaf xpath { - type leafref { - path "../state/xpath"; - } - description - "A OpenConfig schema path (xpath) the counter were - collected for."; - } - container state { - leaf xpath { - type string; - description - "A OpenConfig schema path (xpath) the counter were - collected for."; - } - container reads { - description - "The counter were collected while - performing a read operation on the - `xpath`."; - uses counters; - } - container writes { - description - "The counter were collected while - performing a write operation on the - `xpath`."; - uses counters; - } - } - } - } - } - - grouping grpc-server-gnmi-pathz-policy-state { - description - "gNMI server OpenConfig-path-based authorization policy - freshness-related data."; - - leaf gnmi-pathz-policy-version { - type version; - description - "The version of the OpenConfig-path-based authorization policy - that is used by this gNMI server."; - } - leaf gnmi-pathz-policy-created-on { - type created-on; - description - "The timestamp of the moment when the OpenConfig-path-based - authorization policy that is currently used by this gNMI server - was created."; - } - } - - grouping gnmi-pathz-policy-state { - description - "Operational state data for a gNMI OpenConfig-path-based - authorization policy."; - leaf instance { - type enumeration { - enum ACTIVE { - value 1; - description - "The policy that is currently used by the gNMI service - to authorize access."; - } - enum SANDBOX { - value 2; - description - "The most recent policy that has been uploaded during - the Rotation() RPC. If there is no Rotate() RPC in - progress, then referring to this instance of the policy - will result in an error."; - } - } - description - "The instance identifier of the gNMI OpenConfig-path-based - authorization policy."; - } - leaf version { - type version; - description - "The version of the gNMI OpenConfig-path-based authorization - policy."; - } - leaf created-on { - type created-on; - description - "The timestamp of the moment when the policy was - created."; - } - } - - grouping gnmi-pathz-policies { - description - "Collection of OpenConfig-path-based authorization policies that - have been installed on the device using the gNSI OpenConfig-path- - based authorization policy management service. - Each OpenConfig-path-based authorization policy listed here is - identified by its status (either ACTIVE or SANDBOX) and has its - version and creation date/time listed."; - - container policies { - config false; - description - "Information about freshness of an OpenConfig-path-based - authorization policy that have been installed - on the device using the gNSI OpenConfig-path-based - authorization policy management service."; - - list policy { - key instance; - ordered-by system; - description - "Information about the OpenConfig-path-based authorization - policy that is identified by the `instance`."; - leaf instance { - type leafref { - path "../state/instance"; - } - description - "The ID of the OpenConfig-path-based authorization - policy."; - } - container state { - description - "Operational state data for an OpenConfig-path-based - authorization policies."; - - uses gnmi-pathz-policy-state; - } - } - } - } - - grouping system-gnmi-pathz-policies { - description - "Collection of OpenConfig-path-based authorization policies that - have been installed on the device using the gNSI OpenConfig-path- - based authorization policy management service. - Each policy listed here is identified by its status (either ACTIVE - or SANDBOX) and has its version and creation date/time listed."; - - container gnmi-pathz-policies { - config false; - description - "Collection of OpenConfig-path-based authorization policies that - have been installed on the device using the gNSI OpenConfig- - path-based authorization policy management service. - Each policy listed here is identified by its status (either - ACTIVE or SANDBOX) and has its version and creation date/time - listed."; - - uses gnmi-pathz-policies; - } - } - - // Augments section. - - augment "/oc-sys:system" { - description - "Collection of OpenConfig-path-based authorization policies that - have been installed on the device using the gNSI OpenConfig-path- - based authorization policy management service. - Each policy listed here is identified by its status (either ACTIVE - or SANDBOX) and has its version and creation date/time listed."; - - uses system-gnmi-pathz-policies; - } - augment "/oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server/" + - "oc-sys-grpc:state" { - description - "A gNMI server OpenConfig-path-based authorization policy freshness - information."; - - uses grpc-server-gnmi-pathz-policy-state; - } - augment "/oc-sys:system/oc-sys-grpc:grpc-servers/oc-sys-grpc:grpc-server" { - description - "A gNMI server OpenConfig-path-based authorization policy - success/failure counters."; - - uses gnmi-pathz-policy-success-failure-counters; - } -} \ No newline at end of file diff --git a/yang/gnsi-telemetry.yang b/yang/gnsi-telemetry.yang deleted file mode 100644 index a0cf6a0..0000000 --- a/yang/gnsi-telemetry.yang +++ /dev/null @@ -1,50 +0,0 @@ -module gnsi-telemetry { - yang-version 1.1; - namespace "https://github.com/openconfig/gnsi/yang"; - prefix gnsi; - - import gnsi-authz { - prefix gnsi-authz; - } - import gnsi-certz { - prefix gnsi-certz; - } - import gnsi-credentialz { - prefix gnsi-credz; - } - import gnsi-pathz { - prefix gnsi-pathz; - } - organization - "Google LLC"; - - contact - "Google LLC"; - - description - "This module provides a data model for the metadata of credentials - installed on a networking device."; - - revision 2022-09-20 { - description - "Updated to reflect change of gNSI.cert into gNSI.certz."; - reference "0.4.0"; - } - revision 2022-09-10 { - description - "Updated to reflect combination of gNSI.ssh and gNSI.console into - gNSI.credentialz."; - reference "0.3.0"; - } - revision 2022-02-10 { - description - "Split into sub-api files."; - reference "0.2.0"; - } - revision 2022-01-07 { - description - "Initial revision."; - reference "0.1.0"; - } - -} \ No newline at end of file