beautypg.com

Common definitions and headers, In this chapter, Common definition and header elements – Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 11: Chapter 2, Chapter

background image

Multi-Service IronWare YANG Configuration Guide

3

53-1003038-02

Chapter

2

Common Definitions and Headers

In this chapter

Common definition and header elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

NetIron configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Device version state data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

RPC delete operation example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Common definition and header elements

The following YANG model contains the common type definitions and the common objects used by
the other YANG models.

NOTE

For the most recent YANG models, visit http://my.brocade.com.

module common-defs

{

namespace "http://brocade.com/ns/netconf/config/netiron-config/";

prefix "common";

organization

"Brocade Communications Inc.";

contact

"Technical Support Center"+

"130 Holger Way,"+

"San Jose, CA 95134"+

"Email: [email protected]"+

"Phone: 1-800-752-8061"+

"URL: www.brocade.com";

description "This module defines the common definitions. VERSION: ";

revision 2011-04-20

{

description "Initial revision";

}

typedef interface-all-types

{

type string

{

pattern

"ethernet\s+\d{1,2}/\d{1,2}|"+

"ethernet\s+\d{1,2}/\d{1,2}\s+to\d{1,2}/\d{1,2}|"+

"pos\s+\d{1,2}/\d{1,2}|"+