Description
Initializes TaskD Proxy. This API is called in user code.
Input Parameters
Table 1 Input parametersParameter
|
Type
|
Description
|
config
|
dict:{str : str}
|
TaskD Proxy information, including the TaskD Proxy and network configurations.
- ListenAddr: IP address listened by TaskD Proxy
- ListenPort: listening port of TaskD Proxy
- UpstreamAddr: upstream network IP address
- UpstreamPort: upstream network port
- ServerRank: rank ID of TaskD Proxy
|
Return Value
Table 2 Return value descriptionType
|
Description
|
Bool
|
Whether initialization is successful.
- True: succeeded
- False: failed
|