Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

perform() - Start administrative actions

Function:

BcAdminEisPartner.perform()

Starts the specified action for the EIS partner.

Parameters:

bc_object (BcObject of type BcObjectType.EIS_PARTNER)

EIS partner for which the action is to be started.

action (String)

Action that is to be started for the specified EIS partner. Possible values are (see BcDef.ACTION_xxx in the MC-CLI-JavaDoc)

check-avail

Checks the availability of the EIS partner.

gen-config

Generates a configuration file that must be integrated in the configuration of the EIS partner.

Return:

For action="gen-config":

  • True (boolean) if the configuration files have been created.

  • False (boolean) if the configuration files could not be created.

For action="check-avail":

  • (String)
    Check service output message if proxy and EIS partner have been started and the service could be called successfully.

  • (String)
    Message from MC-CLI or the proxy or the EIS partner if the service could not be called successfully.

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminEisPartner
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
eis_obj=BcAdminEisPartner.getObject("testEIS",proxy_obj)
isSucc=BcAdminEisPartner.perform(eis_obj,action="gen-config")
...