Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

create() - Add EIS partner to the configuration

Function:

BcAdminEisPartner.create()

An EIS partner, whose properties you must pass to the MC-CLI in a dictionary, is added to the configuration.

Parameters:

object_name (String)

Name of the BeanConnect EIS partner

proxy_object
(BcObject of type BcObjectType.PROXY / BcObjectType.PROXY_CLUSTER)

Proxy or proxy cluster to which the EIS partner is to be assigned.
The specification of a proxy_object of type BcObjectType.PROXY is not permitted if the proxy belongs to a proxy cluster. In this case, the proxy cluster object must be specified as a parameter here.

props (kw)

Dictionary with the key-value pairs for the properties that are to be assigned to the EIS partner. You can find the possible values for key in Properties of an EIS partner .
The properties name, type, utm.hosts, utm.listener-port and utm.partner-lpap must be specified. All the other properties are either optional or set to the default values.

Return:

(BcObject of type BcObjectType.EIS_PARTNER)

The EIS partner newly added to the configuration

Exceptions:

BcParameterException, BcObjectException, BcToolException

Example:

...
import BcAdminEisPartner
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
creProps= {"type":BcDef.PTYPE_UTM,"desc": "myEIS",\
     "utm.hosts":"xyz","utm.partner-lpap":"LPAP",\
     "utm.listener-port": "1234"}
newEis=BcAdminEisPartner.create("TestEIS",proxy_obj,creProps)
...