Get-config> operation example – Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 96

Advertising
background image

88

Multi-Service IronWare YANG Configuration Guide

53-1003038-02

Full examples

4

<get-config> operation example

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

<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"

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

message-id="1">

<nc:get-config>

<nc:source>

<nc:running/>

</nc:source>

<nc:filter nc:type="subtree">

<brcd:netiron-config>

<brcd:mpls-config/>

</brcd:netiron-config>

</nc:filter>

</nc:get-config>

</nc:rpc>

]]>]]>

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

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

message-id="1">

<nc:data>

<brcd:netiron-config>

<brcd:mpls-config>

<brcd:path>

<brcd:name>Pri_to_mlx4_2</brcd:name>

<brcd:strict>1.99.144.1</brcd:strict>

<brcd:strict>1.99.142.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_mlx4_3</brcd:name>

<brcd:strict>1.99.143.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_mlx4_4</brcd:name>

<brcd:strict>1.99.144.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_mlx4_5</brcd:name>

<brcd:strict>1.99.145.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_mlx8_1</brcd:name>

<brcd:strict>1.99.143.1</brcd:strict>

<brcd:strict>1.99.141.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_u40</brcd:name>

<brcd:strict>1.99.144.1</brcd:strict>

<brcd:strict>1.99.142.1</brcd:strict>

<brcd:strict>1.99.30.1</brcd:strict>

</brcd:path>

<brcd:path>

<brcd:name>Pri_to_u41</brcd:name>

<brcd:strict>1.99.144.1</brcd:strict>

<brcd:strict>1.99.142.1</brcd:strict>

<brcd:strict>1.99.40.1</brcd:strict>

</brcd:path>

<brcd:path>

Advertising