Get Request Of Nonexistent Data: Example - Cisco CRS-1 - Carrier Routing System Router Api Manual

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 4
Cisco CRS-1 Series XML and Native Data Operations
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
</Get>
</Response>

Get Request of Nonexistent Data: Example

The following example shows a native data request to get the configuration values for a particular BGP
neighbor similar to the previous example. However, in this example the client application is requesting
the configuration for a nonexistent neighbor. Instead of returning an error, the Cisco CRS-1 Series router
returns the requested object class hierarchy, but without any data.
Whenever a client application attempts to get nonexistent data, the Cisco CRS-1 Series router usually
Note
will not treat this as an error and will return the empty object class hierarchy in the response.
OL-4596-01
</Configuration>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.6</IPV4Address>
</IPAddress>
</Naming>
<RemoteAS>6</RemoteAS>
<EBGPMultihopMaxHopCount>255</EBGPMultihopMaxHopCount>
<NeighborAFTable>
<NeighborAF>
<Naming>
<AF>IPv4Unicast</AF>
</Naming>
<Activate>true</Activate>
<PrefixListFilterIn>orf</PrefixListFilterIn>
<AdvertiseORF>Both</AdvertiseORF>
</NeighborAF>
<NeighborAF>
<Naming>
<AF>IPv4Multicast</AF>
</Naming>
<Activate>true</Activate>
<PrefixListFilterIn>orf</PrefixListFilterIn>
</NeighborAF>
</NeighborAFTable>
</Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
Cisco CRS-1 Series Carrier Routing System XML API Guide
Native Data Operation Content
4-59

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?

This manual is also suitable for:

Crs-1 series

Table of Contents