7-83
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 7 Cisco CRS-1 Series XML and Large Data Retrieval (Iterators)
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
2nd block of data returned here
.
.
.
</Global>
</AS>
</BGP>
</Configuration>
<Get>
</Response>
Third XML Client Request Using) the <GetNext> Iterator to Retrieve the Next Block of BGP Configuration Data
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetNext IteratorID=”1”/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router Containing Third Block of Retrieved Data
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID=”1”>
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
3rd block of data returned here
.
.
.
</Global>
</AS>
</BGP>
</Configuration>
</Get>
</Response>
Final XML Client Request Using the <GetNext> Iterator to Retrieve the Last Block of BGP Configuration Data
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetNext IteratorID=”1”/>
</Request>
Final XML Response from the Cisco CRS-1 Series Router Containing Final Block of Retrieved Data
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>