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

Page 88

Advertising
background image

80

Multi-Service IronWare YANG Configuration Guide

53-1003038-02

Full examples

4

type uint32

{

range "1..255";

}

description "Num of unresponded path " +

"or resv before time out";

}

}

}

grouping mpls-config-grouping

{

description "Router MPLS configuration group";

container mpls-config

{

description "Router MPLS configuration";

uses mpls-path-grouping;

uses mpls-lsp-grouping;

uses mpls-rsvp-grouping;

}

}

}

The following example shows the RPC request and response of an <edit-config> operation.

<nc:rpc message-id="1" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"

xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/">

<nc:edit-config>

<nc:target>

<nc:running/>

</nc:target>

<nc:config>

<brcd:netiron-config>

<brcd:mpls-config>

<brcd:path>

<brcd:name>example</brcd:name>

<brcd:strict>1.1.1.1</brcd:strict>

<brcd:loose>2.2.2.2</brcd:loose>

<brcd:insert-strict>

<brcd:addr>3.3.3.3</brcd:addr>

<brcd:before>2.2.2.2</brcd:before>

</brcd:insert-strict>

<brcd:insert-loose>

<brcd:addr>4.4.4.4</brcd:addr>

<brcd:before>1.1.1.1</brcd:before>

</brcd:insert-loose>

</brcd:path>

<brcd:path>

<brcd:name>example2</brcd:name>

<brcd:strict>10.10.10.10</brcd:strict>

</brcd:path>

<brcd:lsp>

<brcd:name>example</brcd:name>

<brcd:adaptive></brcd:adaptive>

Advertising