This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. The Directory Services (DS). Co...
Version: 2019-10-31
module Cisco-IOS-XR-sysadmin-ds { yang-version 1; namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds"; prefix xr-ds; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-sysadmin-show-trace { prefix show_trace; } import cisco-semver { prefix semver; } organization "Cisco Systems Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. The Directory Services (DS). Copyright (c) 2010-2020 by Cisco Systems, Inc. All rights reserved."; revision "2019-10-31" { description "Changed prefix due to conflict with ietf-datastores"; } revision "2019-04-15" { description "Establish semantic version baseline."; } revision "2018-05-21" { description "Added string description for some show options"; } revision "2017-04-12" { description "Changed the namespace and module name"; } revision "2016-10-12" { description "Unhide commands and configs. Moved to advanced-grp"; } revision "2016-05-11" { description "Initial version."; } semver:module-version "1.1.0"; semver:module-version "1.0.0"; typedef service-scope { type enumeration { enum "None" { value 0; } enum "Rack" { value 1; } enum "System" { value 2; } enum "Node" { value 3; } } } typedef process-role { type enumeration { enum "NoRole" { value 0; } enum "Active" { value 1; } enum "Standby" { value 2; } enum "None" { value 3; } enum "Unknown" { value 254; } } } typedef process-issu-role { type enumeration { enum "Primary" { value 1; } enum "Secondary" { value 2; } enum "Tertiary" { value 3; } enum "Unknown" { value 254; } } } container services { config false; description "Directory Services Entries"; list all-locations { key "location"; leaf location { type string; description "Node Location"; } list services { key "name"; leaf name { type string; description "Name of the service"; } list endpoint { description "endpoint info for a service in DS"; leaf scope { type service-scope; } leaf ip { type inet:ipv4-address; } leaf port { type inet:port-number; } leaf role { type process-role; } leaf issu_role { type process-issu-role; } leaf node { type string; description "Ethernet address of the node hosting the endpoint"; } } // list endpoint list registrations { description "clients registered for a service in DS"; leaf client { type string; } leaf pid { type uint32; } } // list registrations } // list services } // list all-locations } // container services container services-stats { config false; description "Directory Services Stats"; container ds { config false; list trace { key "buffer"; config false; description "show traceable processes"; leaf buffer { type string; } list location { key "location_name"; leaf location_name { type string; } list all-options { key "option"; leaf option { type string; } list trace-blocks { leaf data { type string; description "Trace output block"; } } // list trace-blocks } // list all-options } // list location } // list trace } // container ds list all-locations { key "location"; leaf location { type string; } list stats { key "name"; leaf name { type string; description "Name of the service"; } leaf published { type uint32; description "number of endpoints published for this service"; } leaf deleted { type uint32; description "number of endpoints deleted for this service"; } leaf modified { type uint32; description "number of endpoints modified for this service"; } leaf registered { type uint32; description "number of clients registered for this service"; } leaf unregistered { type uint32; description "number of clients un-registered for this service"; } leaf notifications { type uint32; description "number of clients notified for this service"; } leaf remote_sent { type uint32; description "number of remote service updates sent to remote nodes"; } leaf remote_recv { type uint32; description "number of remote service received from remote nodes"; } } // list stats } // list all-locations } // container services-stats } // module Cisco-IOS-XR-sysadmin-ds
© 2023 YumaWorks, Inc. All rights reserved.