tft_start_controller
Function
Starts the MindIO TFT Controller module service after this module is successfully initialized.
Format
mindio_ttp.framework_ttp.tft_start_controller(bind_ip: str, port: int, enable_tls=True, tls_info='')
Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
bind_ip |
Mandatory |
IP address or domain name used by Controller to provide services for external systems. |
An IPv4 address that complies with the IP address specifications is required. It must be in the IP address range of cluster nodes. An all-zero IP address is not allowed. Domain names are supported. |
port |
Mandatory |
Listening port number of Controller. |
[1024, 65535] |
enable_tls |
Optional |
Whether to enable TLS encrypted transmission. |
The default value is True. |
tls_info |
Optional |
TLS certificate configuration. |
By default, this parameter is left empty. When TLS authentication is enabled, you need to configure the certificate information. The related fields must be organized in key-value pairs. For details, see Importing a TLS Certificate. |
Return Value
No return value. If an error occurs, an error log is recorded and an exception is thrown.