beautypg.com

Using the custom action mechanism – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 49

background image

Network OS NETCONF Operations Guide

17

53-1003231-02

Retrieving operational data

2

vlan-20

active

tengigabitethernet

66/0/10

tagged

20

true

The field is true, so use the value returned in as the
in the next call to to return information about the next VLAN.

20

30

static

vlan-30

active

tengigabitethernet

66/0/12

tagged

30

false

If the field returns false, no more VLAN data can be retrieved.

Using the custom action mechanism

An action is a proprietary mechanism used for implementing operations that do not affect the
configuration datastore. Several implementations of actions exist in the Network OS
implementation for retrieving operational information. The following structure is defined in the
brocade-zone.yang module for displaying operational data related to zoning.

+--rw common-def:show

+--rw brocade-zone:zoning

+--action brocade-zone:operation-info

+--input

+--output

+--ro brocade-zone:db-max

+--ro brocade-zone:db-avail

+--ro brocade-zone:db-committed

+--ro brocade-zone:db-transaction

+--ro brocade-zone:transaction-token

+--ro brocade-zone:last-zone-changed-timestamp

+--ro brocade-zone:last-zone-committed-timestamp

The following example shows use of the / action.