|
|
This Quick Start chapter describes the general usage of the VPN Provisioning and Inventory Manager (VPIM). Apply this basic process when using the VPIM elements in your client-source code.
Step 2 Compile the CiscoVPIM.idl, CiscoVPIMDL.idl, CiscoVpnServiceRequest.idl, CiscoVPIMExceptions.idl files with your IDL compiler to produce the respective versions of the CiscoVPIM, CiscoVPIMDL, CiscoVpnServiceRequest, CiscoVPIMExceptions modules that are compatible with the target language of your client-source code.
Step 3 Use include or import directives, as appropriate, to ensure the target-language contents generated from your IDL files are available to your executable client-code for its VPIM usage.
Step 4 Using the process described in the "Binding to Servers" section and, more specifically, the "CVPIMServer" section, add code to your client-application code that contacts the CORBA Naming Service to bind to the CORBA CVPIMServer object. This returns an object reference to the CiscoVPIM::VPIMManager interface, which is assigned to the vpimManagerPtr variable in the sample code. The CORBA context tree is described in "Context Tree" section.
Step 5 With the CiscoVPIM::VPIMManager object, execute the getConfigletDownloadManager() operation to get an instance of the CiscoVPIMDL::VPIMConfigletDownloadManager interface.
Step 6 The CiscoVPIMDL::VPIMConfigletDownloadManager object supplies you with two approach operations with which to generate and download configlets to VPN edge devices:
Step 7 Each of the operations described in Step 6 specifies an output parameter, srResults, in its parameter list. Through the srResults parameter, your client application receives a list of ServiceRequestResult status structures for each VsmSRVC to be downloaded.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Sep 22 20:13:45 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.