cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
437
Views
0
Helpful
0
Replies
Highlighted
Beginner

Cisco Prime 3.4 - DB Variables - Management IP Address or Interface

I'm trying to write a template that will save the management interface as a variable and then use that variable in the various '... source-interface $interface' commands on each device.

 

I've tried using the DB built in variable 'IPAddress' to loop through interfaces to find the correct interface matching that IP, but since the device's hostname was used to add the device to Prime that returns the hostname of the device instead of the IP address of the device.

 

I've tried making variations of the DB Variables in the /opt/CSCOlumos/conf/ifm/templates/*.properties files, but those files are data models abstracted by some EJB engine or something and not just straight SQL.  Not all of the DB tables are exposed through those data models.

 

If anyone has links to the DB Variable documentation, the EJB data models, or other useful detailed documentation (not just the 'shut down all interfaces' example in the config guide) that would be appreciated as well.

 

Does anyone have any suggestions?

 

Thank you,

Everyone's tags (4)
CreatePlease to create content
Content for Community-Ad