-
Notifications
You must be signed in to change notification settings - Fork 52
WRP CRUD Model Details
Weston Schmidt edited this page Oct 11, 2016
·
11 revisions
The WRP CRUD model is configured as a set of read and write values that configure behavior and upstream filtering options. Below is the plan for where the options are retrieved from and stored (if required).
Name | Type | Origin |
---|---|---|
/hw-model |
string | command-line --hw-model
|
/hw-serial-number |
string | command-line --hw-serial-number
|
/hw-manufacturer |
string | command-line --hw-manufacturer
|
/hw-mac |
string | command-line --hw-mac
|
/hw-last-reboot-reason |
string | command-line --hw-mac
|
/fw-name |
string | command-line --fw-name
|
/boot-time |
number | command-line --boot-time
|
/webpa-last-reconnect-reason |
string | Determined internally. Initially starts as webpa_process_starts and changes based on system conditions. Not stored. |
/webpa-protocol |
string | Provided by the program internally. |
/webpa-url |
string | From the configuration file if available, or command-line --webpa-url if not available otherwise. |
/webpa-uuid |
string | From the configuration file if available or empty string otherwise. |
/webpa-ping-timeout |
number | command-line --webpa-ping-timeout
|
/webpa-backoff-max |
number | command-line --webpa-backoff-max
|
/webpa-inteface-used |
string | command-line --webpa-interface-list=eth0,erouter0,brlan0 which is a list of interfaces to try, in order. |
/tags/${name} |
string | Starts off initially as empty, populated via CRUD interface. Stored in the configuration file each time values change or expire. |
/tags/${name}/expires |
number | Same as /tags/${name}
|
The webpa-backoff
count shall start at 2 so we have some gap between the trys.