commit | 9d2de3050fa776b9ef8302739f37b66e199b652b | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Wed Feb 08 16:32:13 2023 -0500 |
committer | Joey Armstrong <joey@opennetworking.org> | Wed Feb 08 16:32:19 2023 -0500 |
tree | c7a79c46c108b1e5c992591fcbad0fb250b08c43 | |
parent | 53fcac2fb681bb47d39f2acb2a55355d821fa321 [diff] |
Update gitreview for v2.11, merge with branch=voltha-2.11 by default Change-Id: I325cb37631359ac284729adb70970010d6ab2e6b
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.