The data model file corresponding to the FTP management file is huawei-system-load.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
load-file/loadfile/files/name |
Indicates the name of the file to be downloaded. |
The value is a string of 1 to 64 characters. |
N/A |
load-file/loadfile/files/file-parameters/type |
Indicates the type of the file to be downloaded. |
The value is of the enumerated type. During file download, the value can be:
|
N/A |
load-file/loadfile/files/file-parameters/size |
Indicates the size of the file to be downloaded. |
The value is an integer, in bytes. |
The value needs to be set only before file download. |
load-file/loadfile/files/direction |
Indicates the file to be downloaded. |
The value is of the enumerated type:
|
FTP can only be used to download files. |
load-file/loadfile/files/file-parameters/checksum/digest-algorithm |
Indicates the file authentication mode used by the controller. |
The value is an enumerated string:
|
This parameter is mandatory only when a file needs to be downloaded. |
load-file/loadfile/files/file-parameters/checksum/digest |
Indicates the verification value of the target file. |
The value is a string of 1 to 64 characters. |
This parameter is mandatory only when a file needs to be downloaded. |
load-file/loadfile/files/file-parameters/file-load-peers/file-location/fileserver-address |
Indicates the IP address of the file server. |
The value is a string of 1 to 64 characters. |
N/A |
load-file/loadfile/files/file-parameters/file-load-peers/file-location/file-directory |
Indicates the directory on the file server. |
The value is a string of 1 to 128 characters. |
N/A |
load-file/loadfile/files/ftp/username |
Indicates the user name used to log in to the file server. |
The value is a character string. |
The value must contain no less than 6 characters. |
load-file/loadfile/files/ftp/password |
Indicates the password used to log in to the file server. |
The value is a character string. |
The value must contain no less than 6 characters. |
load-file/loadfile/files/ftp/port |
Indicates the port number of the file server. |
The value is an integer that ranges from 0 to 65535. |
The port number of the FTP server is 21. |
load-file/loadfile/files/pre-load-actions/remove-old-cc |
Indicates the old system software package and patch to be deleted. When the space is insufficient, the log is deleted. |
Boolean type:
|
NA |
load-file/loadfile/files/pre-load-actions/remove-old-log |
Indicates the log to be deleted. |
Boolean type:
|
NA |
post-load-action/actions-to-file/name |
Indicates the name of an execution file. |
The value is a string of 5to 48 characters. |
NA |
post-load-action/actions-to-file/type |
Indicates the type of the file to be executed. |
The value is a character string.
|
NA |
post-load-action/actions-to-file/actions/enable |
Execute the file. |
Boolean type:
|
NA |
/huawei-system-load:download-guage |
Indicates the status of the device loading process. |
NA |
Including the download status, download progress, error flag, and so on. |
control-loading-action/actions-to-file/actions/status |
Indicates the operation of the device loading process. |
The value is a character string:
|
NA |