commit | 0b728d91424cac056189aa3d86a9d9e9546f6bc9 | [log] [tgz] |
---|---|---|
author | Jenkins <do-not-reply@opennetworking.org> | Tue Mar 30 08:40:09 2021 +0000 |
committer | Jenkins <do-not-reply@opennetworking.org> | Tue Mar 30 08:40:09 2021 +0000 |
tree | ac8df5da4024bf4574b7fa243bf712c66988e199 | |
parent | f1a905068d5475a4e146bdd01be21c07004f9951 [diff] |
Starting snapshot 1.0.2-SNAPSHOT with API version 1.0.2-SNAPSHOT Change-Id: I98c14fc8e5dbe478ca73c491465af62b633b7861
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.