[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


External Non-Java Applications That Use NIC

If you write an application in a language other than Java, you can use the NIC access interface module, a simplified CORBA interface, to perform one or more resolutions. By using this interface you can access through CORBA NIC locators, NIC proxies that run within the NIC host. The configuration properties for NIC locators are similar to those for NIC proxies in applications such as aggregate services and the sample residential portal.

For information about the NIC access interface module, see the API documentation in the SRC software distribution in the folder SDK/doc/idl/nic or on the Juniper Networks Web site at

http://www.juniper.net/techpubs/software/management/sdx/api-index.html

Creating a NIC Locator to Include with a Non-Java Application

A NIC locator provides the same functionality as a NIC proxy, but is designed to work with non-Java applications.

You use the NIC access interface module to include NIC locators with your application by compiling the IDL file with your application files.

To use the NIC access interface module to create NIC locators:

  1. Connect to the directory.
  2. Obtain a CORBA reference to the NIC access interface from one of the following:

You can read this information from SDX Admin from a host under ou=dynamicConfiguration, ou=Configuration, o=Management, o=umc.

  1. From the NIC access interface module, obtain a NIC locator, as identified by NicFeature. For example:
  2. feature = access.getLocatorFeature(nicNameSpace); //nicNameSpace example 
    "/nicLocators/ip"
    
    
    

In the NIC configuration scenarios, the syntax for a NIC locator is /nicLocators/<NIC key type> where.

  1. Search for the key. For example:
  2. feature.lookupSingle(NicLocatorKey key) //NicLocatorKey is coming from the IDL
    
    
    

For information about the NIC access interface module, see the API documentation in the SRC software distribution in the folder SDK/doc/idl/nic or on the Juniper Networks Web site at

http://www.juniper.net/techpubs/software/management/sdx/api-index.html


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]