commit | 08bd13f450f5ed8a698147da416ce799a00efebd | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Tue Jun 20 15:07:47 2023 -0400 |
committer | Joey Armstrong <joey@opennetworking.org> | Tue Jun 20 15:07:47 2023 -0400 |
tree | bdcee6c371939d91640740409119d98e9fe4b4e9 | |
parent | 53fcac2fb681bb47d39f2acb2a55355d821fa321 [diff] |
[VOL-5049] - Build and deploy mac-learner pom.xml app/pom.xml api/pom.xml ----------- o Upgrade maven plugins to latest version. o Upgrade components to the latest published version. o Restore *-SNAPSHOT version so v1.2.2 can be published by jenkins. Change-Id: I6e9ea0b878dea5d9dbf511bc16310920c51b77b8
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.