Getting Yin And Yang Files From The Device - Siemens RX1400 Reference Manual

Ruggedcom series
Hide thumbs Also See for RX1400:
Table of Contents

Advertisement

RUGGEDCOM NETCONF
Reference Guide
3.
Review the list and locate the <schema> entries for items you want to retrieve. For example, shown here are
the <schema> entries for the rmf_admin namespace:
<schema>
<identifier>rmf_admin</identifier>
<version>2012-03-07</version>
<format>yin</format>
<namespace>http://ruggedcom.com/ns/rmf_admin</namespace>
<location>NETCONF</location>
</schema>
<schema>
<identifier>rmf_admin</identifier>
<version>2012-03-07</version>
<format>yang</format>
<namespace>http://ruggedcom.com/ns/rmf_admin</namespace>
<location>NETCONF</location>
</schema>
4.
Make a note of the <identifier>, <format>, and <version> data. You need this information to retrieve
the YIN or YANG file from the device.
5.
After finding the <identifier>, <format>, and <version> for the schema you want to download, you
can retrieve the YIN and YANG files. For instructions, refer to
the
Device".
Section 4.6.2

Getting YIN and YANG Files from the Device

To retrieve a specific YIN or YANG file, do the following:
1.
Log in to the device and start a NETCONF session. For instructions on how to initiate a NETCONF session, refer
to
Section 3.2, "Connecting to the NETCONF
2.
Download a list of schemas from RUGGEDCOM NETCONF and determine the identifier, version and format of
the schema associated with the target YIN or YANG file. For more information, refer to
Schemas from the
3.
Issue this command:
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
<identifier>{identifier}</identifier>
<version>{version}</version>
<format>{format}</format>
</get-schema>
</rpc>]]>]]>
• {identifier}
Specifies the schema name.
• {version}
Specifies the schema version number.
• {format}
Specifies the schema format: yin or yang.
For example, this command retrieves the rmf_admin YIN file:
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
<identifier>rmf_admin</identifier>
Getting YIN and YANG Files from the Device
Device".
Section 4.6.2, "Getting YIN and YANG Files from
Service".
Chapter 4
Getting Data
Section 4.6.1, "Getting
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1511Rx1512Rx5000Mx5000Mx5000re ... Show all

Table of Contents