Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

getProxies() - Read the proxies assigned to the openUTM-LU62 Gateway

Function:

BcAdminLu62Gateway.getProxies()

Reads all the proxies to which the specified openUTM-LU62 Gateway is assigned and returns a dictionary with proxy names and proxy objects (bc_object (BcObject of type BcObjectType.PROXY)).

Parameters:

bc_object (BcObject of type BcObjectType.LU62GATEWAY)

openUTM-LU62 Gateway whose proxy assignments are to be read.

Return:

Dictionary with the name-object pairs of all the proxies to which the openUTM-LU62 Gateway is assigned.

Exceptions:

BcObjectException, BcToolException

Note:

The list of proxy names can also be read via the proxies property.

Example:

...
import BcAdminLu62Gateway
...
getProps={"host": "bchost01", "install-path": "/opt/lib/utmlu62"} 
gw_obj=BcAdminLu62Gateway.getObject(getProps) 
proxyDicn=BcAdminLu62Gateway.getProxies(gw_obj)
for proxy_name, proxy_obj in proxyDicn.iteritems():
  print "handle proxy " + proxy_name
...