Технические ссылки для Cisco Cisco Prime Network Registrar 8.1
getBlock
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
212
getBlockByIpAddress Request
This request has four parameters.
Parameter Name
Description
Required
ipAddress
The starting IP Address of the block
Yes
container
The container holding the block
Only if the IP Address is not unique
due to overlapping space.
size
The block’s CIDR size.
Only if there are multiple blocks with
the same starting address, e.g.
10.0.0.0/8 (aggregate) and 10.0.0.0/24
(child block).
status
The block’s status. Valid values are “Free”,
“Reserved”, “Aggregate”, “Deployed”,
“FullyAssigned”
Only if there are multiple blocks with
the same starting address. This can
occur for aggregates where there is a
free block with the same starting
address and size.
Return Codes
Condition
Return Code
Container Not Found
-5
Block not Unique
-97
Invalid IP Address
-26
Block not Found
-36
Invalid Block Status
-17