commit | 6f6d960606ff1dd06919b1b8a0af0a2e96811bc7 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea.campanella@intel.com> | Thu Jun 30 13:47:08 2022 +0200 |
committer | Andrea Campanella <andrea.campanella@intel.com> | Thu Jun 30 12:13:19 2022 +0000 |
tree | 9955f6017ea8c794cea24b6a41472d7167740e1b | |
parent | ab298905535039fcf7a7569840d37a24e058cc45 [diff] |
Basing on sadis 5.6.0 Change-Id: Ic09ecf06aaaafb25155516c21ef77e5381180ce9
MAC Learner is an ONOS application that examines DISCOVER or REQUEST type DHCP packets and keeps the MAC address temporarily according to the device, port and vlanId information obtained from these packets. If the package has a single tag, VlanVID is used; if it is a double tag, QinqVID is used as vlanId.
MAC Learner has REST API and CLI integration. You can access and modify MAC Address map via these.
By defining ports to the Ignored Port Map, it can be ensured that DHCP packets from these ports are not taken into account.
cacheDurationSec - MAC Mappings are held with a timestamp and scheduled executor running in the background that clears expired mappings(exist more than cacheDuration). The operating frequency of this executor can be set with this parameter. By default, it is 86400(1 day).
autoClearMacMapping - By enabling this parameter, the relevant mappings can be cleared automatically with DEVICE_REMOVED and PORT_REMOVED device events. By default, it is disabled.