Cisco Cisco Prime Network Registrar 8.1 Technical References
Operation
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
302
information on configuring the Callout Manager to perform these tasks please see the
section above called Configuration – ARIN File Generation.)
All of the scripts are written in PERL and require that PERL 5 be installed and configured
All of the scripts are written in PERL and require that PERL 5 be installed and configured
on the Cisco Prime Network Registrar IPAM Executive system by the system
administrator. PERL 5 is NOT supplied with Cisco Prime Network Registrar IPAM.
Although fully functional, the scripts are provided as examples.
The ARIN scripts all operate in a similar fashion. They accept as their first argument a
The ARIN scripts all operate in a similar fashion. They accept as their first argument a
filename. This filename should point to a file that contains block information formatted
as name-value pairs. The scripts parse this file to pull out any required data and decide
whether or not to proceed with the template processing. The key decision point is the
presence of a property called
swipname
in the data file. If the property is present and is
non-empty, then the scripts will proceed with creating a Reassign-Simple template for
adding, modifying, or deleting an address space. After creating the template, it will attempt
to send an email to the address specified in the
to_address
field, as defined in the
swip.properties file.
Note: All scripts delete the data file before exiting.
Note: All scripts delete the data file before exiting.
Expected User Defined Field Mappings
The SWIP Perl scripts expect to make use of both standard and User Defined Fields. The
following table shows a mapping of the fields used by the scripts and their relation to the
standard and User Defined Fields.
NC Tags
SWIP Field
UDF
startaddrstring / blocksize
IP Address and Prefix
N
swipname
Network-Name
N
org_name
Customer Name
Y
street_address
Customer Address
Y
city
Customer City
Y
state
Customer State
Y
postal_code
Customer Postal Code
Y
country_code
Customer Country Code
Y
public_comments
Public Comments
Y
RIPE File Generation Scripts
In order to support the automatic file generation of RIPE inetnum or inet6num templates
and emails, there are three scripts that can get called by the Callout Manager when a block
is added, modified, or deleted and they are addRipe.pl, modifyRipe.pl, and deleteRipe.pl.
(For information on configuring the Callout Manager to perform these tasks please see the
section above called Configuration – RIPE File Generation.)
All of the scripts are written in PERL and require that PERL 5 be installed and configured
All of the scripts are written in PERL and require that PERL 5 be installed and configured
on the Cisco Prime Network Registrar IPAM Executive system by the system
administrator. PERL 5 is NOT supplied with Cisco Prime Network Registrar IPAM.
Although fully functional, the scripts are provided as examples.