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 openUTM-LU62 Gateway to the configuration

Function:

BcAdminLu62Gateway.create()

An openUTM-LU62 Gateway, whose properties you must pass to the MC-CLI in a dictionary, is added to the configuration.

Parameters:

props (Dictionary)

Dictionary with the key-value pairs for the properties that are to be assigned to the openUTM-LU62 Gateway. You can find the possible values for key in Properties of an openUTM-LU62 Gateway .
The properties host, install-path and, in the case of a non-local openUTM-LU62 Gateway, admin-port and admin-pw must be specified. All the other properties are either optional or set to the default values.

Return:

(BcObject of type BcObjectType.LU62GATEWAY)

The openUTM-LU62 Gateway that has just been added to the configuration.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Example:

....
import BcAdminLu62Gateway
...
creProps={"host": "bchost01", "install-path": "/opt/lib/utmlu62",
  "trave-level": BcDef.LOGGING_MODE_2,
  "admin-port". "31002", "admin-pw": "admin"}
gw_obj=BcAdminLu62Gateway.create(creProps)
...