beautypg.com

Brocade-clock – Brocade Network OS YANG Reference Manual v4.1.1 User Manual

Page 40

background image

28

Network OS YANG Reference Manual

53-1003230-01

brocade-clock

2

brocade-clock

Description

Provides a data model for managing the local clock. It provides mechanisms for setting the local
clock time and time zone and for retrieving local clock information.

Top-level

containers

Top-level nodes and their subtree hierarchies follow.

module: brocade-clock
+--rw clock-set-datetime
+--rw clock-set-timezone

External

augmentations

Nodes that augment other modules and their subtrees follow.

module: brocade-common-def
| +--rw clock-server:clock

RPCs

Custom RPCs defined in this module follow.

Retrieve local clock information:

+---x show-clock
+--ro input
| +--ro rbridge-id? common-def:rbridge-id-all-type
+--ro output
+--ro clock-time
+--ro rbridge-id-out? common-def:rbridge-id-type
+--ro current-time? ietfyang:date-and-time
+--ro timezone? string

Actions

Proprietary actions defined in this module follow.

Set the date and time:

module: brocade-clock
+--rw clock-set-datetime
| +--ro clock
| +--ro input
| | +--ro set ietfyang:date-and-time
| | +--ro rbridge-id? common-def:rbridge-id-all-type
| +--ro output

Set the time zone:

module: brocade-clock
+--rw clock-set-timezone
+--ro clock
+--ro input
| +--ro timezone common-def:timezone
| +--ro rbridge-id? common-def:rbridge-id-all-type
+--ro output

Set the time zone:

module: brocade-common-def
+--rw no
| +--rw clock-server:clock
| | +--ro clock-server:timezone
| | +--ro clock-server:input
| | | +--ro clock-server:rbridge-id? common-def:rbridge-id-all-type
| | +--ro clock-server:output