Cisco Cisco Prime Collaboration Assurance 11.0 User Guide
© 2012-2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 73 of 2
1. Set up the environment variables:
• set server.ipaddress=1.2.3.4
• set cupm.user=pmadmin
• set cupm.password=yourpassword
• set notification.ipaddress=5.6.7.8
• set cupm.user=pmadmin
• set cupm.password=yourpassword
• set notification.ipaddress=5.6.7.8
2. Run the perl client: pm.pl ping. Sends the ping request. The Prime Collaboration Provisioning version and
the Prime Collaboration Provisioning NBI version are returned in the response and displayed.
3. Run pm.pl ping -Dserver.ipaddress=11.22.33.44 -Dcupm.password=diffpassword. Sends a ping request
to a different server, temporarily overriding the environment variable settings.
4. Run pm.pl listDomain. Sends the listDomain command. The NBI ID is returned in the response and
displayed.
5. Run pm.pl pull -Dobject.name=<NBI-ID-RETURNED-BY-ABOVE-LIST>. Returns the first element of the
list of Domains.
6. Run pm.pl pull -Dobject.name=<NBI-ID-RETURNED-BY-ABOVE-LIST> -Dpull.count=1000. Returns the
remaining objects on the list, up to 1000.
7. The listDomain and the listSubscriber requests provide the functionality to automatically pull all the items
in the list immediately after the list is generated. This is triggered by setting the pull.count environment
variable to a positive value.
For example: pm.pl listSubscriber -Dpull.count=5
This sends a request for a list of all the subscribers in the system. It waits for the notification consumer to
write the notification to disk. Then it pulls the list back in increments of five until the end of sequence
attribute is received.
Note: For this functionality to work, you must compile the NotificationConsumerService after
uncommenting the call to the method saveMessageResult.
uncommenting the call to the method saveMessageResult.