Xml Request For Specific Object Instances (Repeated Naming Information) - 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

Available Set of Native Data Access Techniques
</Get>
</Response>

XML Request for Specific Object Instances (Repeated Naming Information)

Wildcarding allows the client application to effectively specify all instances of a particular object.
Similarly, the client application might have a need to specify only a limited set of instances of an object.
Specifying object instances can be done by simply repeating the naming information in the request.
The following example shows how to retrieve the address independent configuration for three different
BGP neighbors, that is, the neighbors with addresses 10.0.101.1, 10.0.101.6, and 10.0.101.8, by
repeating the naming information, once for each desired instance.
Sample XML Client Request Using Repeated Naming Information for BGP <NeighborAddress> Instances
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
Cisco CRS-1 Series Carrier Routing System XML API Guide
5-72
data for more neighbors
returned here
.
.
.
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.1</IPV4Address>
</IPAddress>
</Naming>
</Neighbor>
</NeighborTable>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.6</IPV4Address>
</IPAddress>
</Naming>
</Neighbor>
</NeighborTable>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.8</IPV4Address>
</IPAddress>
</Naming>
</Neighbor>
Chapter 5
Cisco CRS-1 Series XML and Native Data Access Techniques
OL-4596-01

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Crs-1 series

Table of Contents