beautypg.com

Retrieving the current local clock and time zone, Removing the time zone setting – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 81

background image

Network OS NETCONF Operations Guide

49

53-1003231-02

Time zone settings

4

message-id="305">

Retrieving the current local clock and time zone

The RPC in the urn:brocade.com:mgmt:brocade-clock namespace returns the local
time, date, and time zone. The local clock is used unless a switch ID is specified. Specify “all” as
the to request local clocks from all switches in the cluster.

The following example returns the clock and time zone information for the switch with routing
bridge ID 66.

66

rpc-reply message-id="307" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

66

2012-05-17T12:15:00

America/Los_Angeles

Removing the time zone setting

To clear the time zone data, issue the // action. The node is located
in the urn:brocade.com:mgmt:brocade-common-def namespace. The node element and
leaf element are located in the urn:brocade.com:mgmt:brocade-clock node and added
to the common-def:no node by augmentation.

The following example removes the time zone setting.

message-id="306">