commit | 704daaf8d6bf5f6f2697f71b8d5deef33bc93296 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Jul 09 13:29:28 2021 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Jul 09 13:29:28 2021 -0700 |
tree | cbee637ecc062d39d8449816c6c055381ff1e2dd | |
parent | 635888362b89e3af1d267b43f1527c074247bc72 [diff] |
Upgrading dependencies on released onos-2.5.2 Change-Id: I6b75db4c92189725fa4928d4f0e38def741a0a88
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.