commit | 2c307d4ca9b8bf3edeaa1c5b4e70095344fde01c | [log] [tgz] |
---|---|---|
author | Andrey Pozolotin <posandrey@gmail.com> | Mon Aug 24 15:01:38 2020 +0200 |
committer | Andrey Pozolotin <posandrey@gmail.com> | Tue Aug 25 13:19:29 2020 +0200 |
tree | 6c3a0e49ffd50192dc539a661672171310c3cee3 | |
parent | a2a64f7b8d8bc3e9041e7129cee167bdb88eb208 [diff] |
[VOL-3353] Enabled Find Security Bugs Change-Id: I63e9910daafae6de4f0f82debe8d1713f38567d2
MAC Learner is an ONOS application that examines the 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 Igonered Port Map, it can be ensured that DHCP packets from these ports are not taken into account.
###Parameters
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).
enableDeviceListener - By enabling this parameter, the relevant mappings can be cleared for DEVICE_REMOVED and PORT_REMOVED device events. By default it is disabled.