config system external-resource
Configure external resource.
config system external-resource
Description: Configure external resource.
edit <name>
set uuid {uuid}
set status [enable|disable]
set type [category|domain|...]
set update-method [feed|push]
set category {integer}
set username {string}
set password {varlen_password}
set comments {var-string}
set resource {string}
set user-agent {var-string}
set proxy {string}
set proxy-port {integer}
set proxy-username {string}
set proxy-password {password}
set server-identity-check [none|basic|...]
set refresh-rate {integer}
set source-ip {ipv4-address}
set interface-select-method [auto|specify]
set interface {string}
next
end
config system external-resource
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
name |
External resource name. |
string |
Maximum length: 35 |
|
||||||||||||||
|
uuid |
Universally Unique Identifier (UUID; automatically assigned but can be manually reset). |
uuid |
Not Specified |
00000000-0000-0000-0000-000000000000 |
||||||||||||||
|
status |
Enable/disable user resource. |
option |
- |
enable |
||||||||||||||
|
|
|
|||||||||||||||||
|
type |
User resource type. |
option |
- |
category |
||||||||||||||
|
|
|
|||||||||||||||||
|
update-method |
External resource update method. |
option |
- |
feed |
||||||||||||||
|
|
|
|||||||||||||||||
|
category |
User resource category. |
integer |
Minimum value: 192 Maximum value: 221 |
0 |
||||||||||||||
|
username |
HTTP basic authentication user name. |
string |
Maximum length: 64 |
|
||||||||||||||
|
password |
HTTP basic authentication password. |
varlen_password |
Not Specified |
|
||||||||||||||
|
comments |
Comment. |
var-string |
Maximum length: 255 |
|
||||||||||||||
|
resource |
URL of external resource. |
string |
Maximum length: 511 |
|
||||||||||||||
|
user-agent |
HTTP User-Agent header (default = 'curl/7.58.0'). |
var-string |
Maximum length: 255 |
|
||||||||||||||
|
proxy |
Proxy server host(ip or domain name). |
string |
Maximum length: 255 |
|
||||||||||||||
|
proxy-port |
Port number that the proxy server expects to receive HTTP sessions on (1 - 65535, default = 8080). |
integer |
Minimum value: 1 Maximum value: 65535 |
8080 |
||||||||||||||
|
proxy-username |
HTTP proxy basic authentication user name. |
string |
Maximum length: 64 |
|
||||||||||||||
|
proxy-password |
HTTP proxy basic authentication password. |
password |
Not Specified |
|
||||||||||||||
|
server-identity-check |
Certificate verification option. |
option |
- |
none |
||||||||||||||
|
|
|
|||||||||||||||||
|
refresh-rate |
Time interval to refresh external resource (1 - 43200 min, default = 5 min). |
integer |
Minimum value: 1 Maximum value: 43200 |
5 |
||||||||||||||
|
source-ip |
Source IPv4 address used to communicate with server. |
ipv4-address |
Not Specified |
0.0.0.0 |
||||||||||||||
|
interface-select-method |
Specify how to select outgoing interface to reach server. |
option |
- |
auto |
||||||||||||||
|
|
|
|||||||||||||||||
|
interface |
Specify outgoing interface to reach server. |
string |
Maximum length: 15 |
|
||||||||||||||