Figure 59: Configuring outbound communication with an UTM application
To configure outbound configuration with an UTM application, you must call the following MC-CLI functions in the specified order in a Jython script. You will find an example of the configuration of outbound communication in the supplied Jython sample script sampleAdminOutbound.py
located in the directory cli-sample
.
init() - Start Management Console session for MC-CLI
Call the functionBcAdminMain.init(<MC_home>)
to start a Management Console session.The Management Console automatically recognizes an installed local proxy and opens the corresponding configuration file
console.properties.xml
or creates this if it does not already exist.getList() - Output list of all configured objects of an object type / getObject() - Read proxy object from the configuration
Read the list of all configured proxies usingBcAdminMain.getList("proxy")
or useBcAdminProxy.getObject(<proxy_name>)
to read a specific proxy object.You can use the values returned by the calls as the call parameter
<bcproxy>
in the calls listed in points 3 to 8.authenticate() - Authenticate for proxy
Authenticate yourself with the proxy by callingBcAdminProxy.authenticate(<bcproxy>, admin_pw)
.modifyProperties() - Modify properties of a proxy
Configure the proxy by calling the functionBcAdminProxy.modifyProperties(<bcproxy>, properties)
with the desired property values in your script.create() - Add EIS partner to the configuration
Define one (or more) EIS system(s) by calling the functionBcAdminEisPartner.create(<eisPartnerName>, <bcproxy>, properties)
(multiple times if necessary).create() - Add outbound service to the configuration
Define one (or more) outbound service(s) by calling the functionBcAdminOutboundService.create(<remoteTacName>, <bcproxy>, properties)
(multiple times if necessary).create() - Add outbound communication endpoint to the configuration
Define one (or more) outbound communication endpoint(s) by calling the function
BcAdminOutboundCommEndpoint.create(<communicationEndpointName>, <bcproxy>, properties)
(multiple times if necessary).perform() - Start administrative actions for a proxy
Save and update the proxy configuration using the functionsBcAdminProxy.perform(<bcproxy>, "save")
andBcAdminProxy.perform(<bcproxy>, "update-config")
.perform() - Start administrative actions
Call the functionBcAdminEisPartner.perform(<eisPartner>, "gen-config")
to save the configuration of the EIS partner(s).close() - Close Management Console session
Call the functionBcAdminMain.close()
to terminate the Management Console session.