Specifications
5-74
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 5 Cisco CRS-1 Series XML and Native Data Access Techniques
Available Set of Native Data Access Techniques
<IPV4Address>10.0.101.6</IPV4Address>
</IPAddress>
</Naming>
.
.
.
data returned for 3rd neighbor
.
.
.
</Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
</Get>
</Response>
XML Request Using Operation Scope (Content Attribute)
The Content attribute is used on any table element in order to specify the scope of a <Get> operation.
Table 5-1 describes the content attribute values are supported.
If the Content attribute is specified on a nontable element, it is ignored. Note also that the Content and
Count attributes can be used together on the same table element.
The following example displays the Content attribute that is used to list all configured BGP neighbors:
Sample XML Client Request Using the All Content Attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable Content=”Entries”/>
</BGPEntity>
</AS>
</BGP>
</Configuration>
</Get>
</Request>
Table 5-1 Content Attributes
Content Attribute Description
All Use to get all leaf items and their values. All is the default when the Content
attribute is not specified on a table element.
Entries Use to get the Naming information for each entry within a specified table object
class. Entries provides a one-level get capability.