Rate This Document
Findability
Accuracy
Completeness
Readability

Configuration Management

Function

Configures the remote server where the Kunpeng DevKit has been deployed and verifies the server certificate and root certificate paths.

Syntax

1
/opt/DevKit/tools/devkit setconfig -a <ip> -p <port> -k <true/false> -f <cert_file> -t <all/csv/html>

/opt/DevKit/tools/ is the directory for storing the tool. Replace it with the actual directory.

Parameter Description

Table 1 Parameter description

Argument

Parameter

Description

-a/--address

-

IP address of the remote server where the Kunpeng DevKit server has been deployed.

This parameter is mandatory.

NOTE:

The client that uses the Kunpeng DevKit terminal tool must be connected to the remote server.

-p/--port

-

HTTPS port of the remote server where the Kunpeng DevKit server has been deployed.

This parameter is mandatory.

Port range: 1024-65535.

-k/--ssl-verify

  • true
  • false

Indicates whether to check the certificate.

The default value is true.

-f/--ca-file

-

Root certificate file path.

This parameter is optional.

-t/--report-type

  • all
  • csv
  • html

Format of the report to be exported.

The default value is all.

Example

The following uses remote server configuration as an example. Go to the actual storage path of the DevKit terminal tool.

1
./devkit setconfig -a x.x.x.x -p 8086 -k false -t all

In the preceding command, x.x.x.x indicates the IP address of the remote server.