commit | 92bbfd3fc307d5d0999fbb722166d9525a6d75cc | [log] [tgz] |
---|---|---|
author | Jenkins <do-not-reply@opennetworking.org> | Mon Dec 27 12:03:14 2021 +0000 |
committer | Jenkins <do-not-reply@opennetworking.org> | Mon Dec 27 12:03:14 2021 +0000 |
tree | 7e45e969823c601c4d45be4a9f47f692a1b54e18 | |
parent | 3c552364c6b65025d56dfec52ea85afcc2a548d3 [diff] |
Starting snapshot 1.2.1-SNAPSHOT with API version 1.2.1-SNAPSHOT Change-Id: Id4af45f3ab97128918220ab4d99597a69135c68e
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.