LACP can be enabled in the OpenDaylight Karaf console of the OpenDaylight Karaf distribution by issuing the following command:
feature:install OpenDaylight-lacp-ui
To test this feature, let's run the following command in Mininet; we do this to run a single switch:
sudo mn --controller=remote,ip=192.168.20.51 --topo=linear,1 --switch ovsk,protocols=OpenFlow13
Note that we are specifying the OpenFlow version 1.3 protocol. After enabling the LACP module on OpenDaylight, it will inject a flow into the OpenFlow-enabled switches in the SDN domain to forward Ethernet frames destined to 01:80:c2:00:00:02 and ether_type =0x8809 to be forwarded to the OpenDaylight controller:
mininet@mininet-vm:~$ sudo ovs-ofctl -O OpenFlow13 ...