beautypg.com

Full examples – Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 82

background image

74

Multi-Service IronWare YANG Configuration Guide

53-1003038-02

Full examples

4

Full examples

The following shows the complete YANG model for MPLS configuration, as well as example RPC
requests and responses.

NOTE

For the most recent YANG models, visit

http://my.brocade.com

.

submodule mpls-config

{

belongs-to netiron-config

{

prefix brcd;

}

import common-defs

{

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 Router MPLS configuration. VERSION: ";

revision 2011-04-20

{

description "Initial revision";

}

typedef hop-limit-type

{

type uint32

{

range "0..255";

}

description "Type for Limit of hops";

}

typedef hop-limit-type

{

type uint32

{

range "0..255";

}

description "Type for Limit of hops";

}

typedef mpls-path-type