| local | Boolean | yes | false | When set to true, the MAP Controller running in the same 1905 device as the MAP Agent, will be treated as the main or primary Controller. It takes precedence over others discovered in the network. |
| id | Mac address | no | auto-detect | User can provide the 1905 ALID of the device that will have the MAP Controller service. When set to ‘auto’, the MAP Agent will discover the MAP Controller ID. OPTION NOT YET SUPPORTED. |
| id | Mac address | no | auto-detect | User can provide the 1905 ALID of the device that will have the MAP Controller service. When set to 'auto', the MAP Agent will discover the MAP Controller ID. OPTION NOT YET SUPPORTED. |
| probe_int | Integer | no | 20s |The time interval in seconds between controller discovery by the MAP Agent |
| retry_int | Integer | no | 15 |After these many failed attempts to discover a controller in the network, the agent will infer that the controller is not available and accordingly takes the next action. |
| autostart | Boolean | no | false |When this is set to ‘true’, the agent will try to start the controller after not finding one in the network. |
| autostart | Boolean | no | false |When this is set to 'true', the agent will try to start the controller after not finding one in the network. |
### Algorithm
...
...
@@ -610,7 +610,7 @@ notify the detected Controller to user (e.g.: over UBUS).
3. If a MAP controller is running in its own device, and local = false, then
stop the local Controller. Update the Controller-ID and the last-seen timestamp.
If after ‘retry_int’ number of times, the MAP Agent cannot discover a MAP
If after 'retry_int' number of times, the MAP Agent cannot discover a MAP
Controller in the network, then take one of the following actions:
1. When autostart = true, the MAP Agent will try to start the MAP Controller
...
...
@@ -642,7 +642,7 @@ node only.
```
config controller_select
option local ‘true’
option local 'true'
```
Repeater Device (Disc/EX600): Controller start/stop automatically if another is
...
...
@@ -650,10 +650,32 @@ not detected in the network.
```
config controller_select
option local ‘false’
option autostart ‘true’
option local 'false'
option autostart 'true'
```
## Misc
### Netdev Format
Some platforms require the base interface set to i.e. wl0_0, old format would
always assume wl0 as base interface. New format allows adding a '%' identifier
to the format which will explicitly be replaced with numerical values. This also
allows a separator to be set from configuration and not be assumed
(i.e. ".", "-", "_" etc.):
* wl%_% - wl1_0 and wl0_0 as base interfaces
* wl0_ - wl0 and wl1 as base interface, followed by wl0_1 and wl1_1
* wl0 - wl0 and wl1 as base interface, followed by wl0.1 and wl1.1