Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some of the persistent data might be required during an early startup of the node. For this reason, a command line switch is implemented. The switch only restores the persistent data and exits. This can be used by the Diagnostics Manager (DM) to trigger an early restore before initializing the manager startup sequence.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#EAE6FF

Currently, the OSPS API does not support key enumeration.

...

With the introduction of persistent rows, WAN settings were moved from persistent storage to OVSDB. The new WAN settings are set in the WAN_Config table:

Name

Type

Description

enable

boolean

True whether configuration in this row is active

type

enum of ["pppoe", "vlan", "static_ipv4"]

WAN configuration type

priority

integer

WANO always uses the row with the highest priority (according to its type). If multiple entries exist, lower priority entries will be ignored. This can be a timestamp.

other_config

map of strings

WAN type specific configuration, see below.

os_persist

boolean

True if this row is persistent, false otherwise.

status

enum of "sucess", "error"

Unset if WAN provisioning with the current settings is still going on or is not being used. "success" if WANO was able to use the settings in this row to establish a WAN connection, "error" if provisioning was unsuccessful.

...

The other_config field is dependent on the type parameter. This is a list of supported parameters:

Type

Setting

Description

pppoe

username

PPPoE username

pppoe

password

PPPoE password

vlan

vlan_id

VLAN ID

static_ipv4

gateway

Default IPv4 gateway

static_ipv4

ip

Static IP address of the device

static_ipv4

subnet

Static IP subnet of the device

static_ipv4

primary_dns

Primary DNS IP address

static_ipv4

secondary_dns (optional)

Secondary DNS IP address

...