icwmp/docs/api/uci.cwmp.md
2022-04-21 09:25:51 +01:00

31 KiB

cwmp
section
description
multi
options
acs
Configure the ACS parameters, used by icwmp
false
name
type
required
default
description
url
string
yes
URL of ACS server
userid
string
no
Username for ACS server connection
passwd
string
no
Password for ACS server connection
periodic_inform_enable
boolean
no
If set to 1, the CPE must periodically open session with ACS by sending Inform message to the ACS.
periodic_inform_interval
uinteger
no
The duration in seconds of the interval for which the CPE must attempt to connect with the ACS and call the Inform method.
periodic_inform_time
uinteger
no
An absolute time reference to determine when the CPE will initiate the periodic Inform method calls.
dhcp_discovery
string
no
if set to enable, the CPE will get the url of ACS from DHCP server Option 43.
compression
boolean
no
if set to 1, the CPE must use the HTTP Compression when communicating with the ACS.
retry_min_wait_interval
uinteger
no
The minimum wait interval for session retry (in seconds)
retry_interval_multiplier
uinteger
no
The retry interval multiplier for session retry session as described in the standard.
ipv6_enable
boolean
no
Enables IPv6 in cwmp
ssl_capath
string
no
The path of ssl certificates for TR-069 sessions.
insecure_enable
boolean
no
if set to 1, the CPE skips validation of the ACS certificates.
http_disable_100continue
boolean
no
if set to 1, disables the http 100 continue behaviour.
dhcp_url
string
no
the url of ACS server received from the DHCP server via Option 43. This parameter is automatically updated by daemon, When 'dhcp_discovery' option is enabled.
ip_version
string
no
ip_version of ConnectionRequestURL
cpe
CWMP client configuration
false
name
type
required
default
description
manufacturer
string
no
Overwrite DeviceId parameter
manufacturer_oui
string
no
Overwrite DeviceId parameter
product_class
string
no
Overwrite DeviceId parameter
serial_number
string
no
Overwrite DeviceId parameter
software_version
string
no
Overwrite DeviceId parameter
model_name
string
no
Overwrite DeviceId parameter
description
string
no
Overwrite DeviceId parameter
default_wan_interface
string
no
Configure the default wan interface of the device.
log_to_console
string
no
If set to 1, the log messages will be shown in the console/stdout.
log_to_file
string
no
If set to 1, the log messages will be saved in the log file.
log_severity
string
no
Specifies the log type to use, by default INFO. The possible types are
  • EMERG
  • ALERT
  • CRITIC
  • ERROR
  • WARNING
  • NOTICE
  • INFO
  • DEBUG
.
log_file_name
string
no
/var/log/icwmpd.log
Specifies the path of the log file, by default '/var/log/icwmpd.log'.
log_max_size
uinteger
no
102400
Size of the log file. The default value is 102400.
userid
string
no
The username of the device used in a connection request from ACS to CPE.
passwd
string
no
The password of the device when sending a connection request from ACS to CPE.
port
uinteger
no
The port used for connection request.
ubus_socket
string
no
NULL
Specifies the path of the ubus socket.
provisioning_code
string
no
Specifies the primary service provider and other provisioning information, which may be used by the ACS to determine service provider-specific customization and provisioning parameters.
amd_version
uinteger
no
5
Configure the amendment version to use.
instance_mode
string
no
InstanceNumber
Configure the instance mode to use. Supported instance modes are : InstanceNumber and InstanceNumber
session_timeout
uinteger
no
60
Represents the number of seconds that should be used by the ACS as the amount of time to wait before timing out a CWMP session due to the CPE not responding.
notification
boolean
no
If set to 1, it enables the notification feature.
exec_download
boolean
no
If set to 1, Specifies if Download method is executed.
log_to_syslog
boolean
no
If set to 1, the cwmp log will be appended to busybox syslog.
periodic_notify_enable
boolean
no
If set to 1, icwmp will be able to detect parameter value change at any time.
periodic_notify_interval
integer
no
10
Interval in sec to check for value change notifications
forced_inform_json
string
no
Define absolute path for the JSON containing additional parameters as forced inform parameter. See readme for examples.
boot_inform_json
string
no
Define absolute path for the JSON containing additional parameters as boot inform parameter. These parameters only gets added if the notify event is '0 Bootstrap' or '1 Boot'. To enable value change notification, please use custom_notify_json, See readme for examples.
custom_notify_json
string
no
Define absolute path of the JSON containing parameters on which notification get enabled as per the definition. See readme for examples.
incoming_rule
string
no
This configure firewall rules. Allowed values <IP_Only/Port_Only/IP_Port>. IP_Only means only acs ip as source ip used for firewall input rule, Port_Only means only destination port will be used and IP_Port or empty value meaning both ip and port will be used for firewall input rule.
lwn
Lightweight notification configuration
false
name
type
required
default
description
enable
boolean
no
if set to 1, the Lightweight Notifications will be enabled.
hostname
host
no
The hostname or address to be used when sending the UDP Lightweight Notifications.
port
port
no
The port number to be used when sending UDP Lightweight Notifications.