commit | 726185ccd54ba6c8b825040d1bc0efbc38f4bd44 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Tue Jun 13 14:58:04 2023 -0400 |
committer | Joey Armstrong <joey@opennetworking.org> | Thu Jun 22 18:05:32 2023 -0400 |
tree | fc46400a2c3214b29d6b6b08563bb24ed070068f | |
parent | 08bd13f450f5ed8a698147da416ce799a00efebd [diff] |
[VOL-5039] - Build and deploy mac-learning for v2.12 api/pom.xml app/pom.xml pom.xml ----------- o Update dependency sadis to v5.11.1 o update maclearner to v1.2.2-SNAPSHOT o update maven plugin onlab-junit from v2.2.2 to v2.7.0 o update maven plugin spotbugs-maven-plugin to v4.7.3.4 o Update findsecbugs-plugin to v1.12.0 Change-Id: I1416932e651fd620dcd9d72049719181940e3e54
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.