Skip to content

WRP CRUD Model Details

Weston Schmidt edited this page Mar 6, 2017 · 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).

WRP CRUD Model

Name Type Origin In Convey Header?
/hw-model string command-line --hw-model yes
/hw-serial-number string command-line --hw-serial-number yes
/hw-manufacturer string command-line --hw-manufacturer yes
/hw-mac string command-line --hw-mac no
/hw-last-reboot-reason string command-line --hw-mac yes
/fw-name string command-line --fw-name yes
/boot-time number command-line --boot-time yes
/local-url string command-line --parodus-local-url no
/webpa-last-reconnect-reason string Determined internally. Initially starts as webpa_process_starts and changes based on system conditions. Not stored. yes
/webpa-protocol string Provided by the program internally. yes
/webpa-url string From the configuration file if available, or command-line --webpa-url if not available otherwise. no
/webpa-uuid string From the configuration file if available or empty string otherwise. no
/webpa-ping-timeout number command-line --webpa-ping-timeout no
/webpa-backoff-max number command-line --webpa-backoff-max no
/webpa-inteface-used string command-line --webpa-interface-list=eth0,erouter0,brlan0 which is a list of interfaces to try, in order. yes
/tags/${name} string Starts off initially as empty, populated via CRUD interface. Stored in the configuration file each time values change or expire. no
/tags/${name}/expires number Same as /tags/${name} no

Notes

The webpa-backoff count shall start at 2 so we have some gap between the trys.

Clone this wiki locally