VOL-3854: Changes in openolt agent to support trapping PPPoED_ETH_TYPE (0x8863) packets

Signed-off-by: Marcos Aurelio Carrero (Furukawa) <mcarrero@furukawalatam.com>
Change-Id: Iedbcd7fa18db69562f5bae12f8f56ebe524aba92
diff --git a/agent/src/core_utils.cc b/agent/src/core_utils.cc
index 554e88d..0c092a6 100644
--- a/agent/src/core_utils.cc
+++ b/agent/src/core_utils.cc
@@ -1503,6 +1503,8 @@
         type = lldp;
     } else if (classifier.ip_proto() == IGMPv4_PROTOCOL) {
         type = igmpv4;
+    } else if (classifier.ip_proto() == PPPoED_ETH_TYPE) {
+        type = pppoed;
     }
 
     return type;
@@ -1547,6 +1549,9 @@
         if (ethType == EAP_ETH_TYPE) { // single tagged packet with EAPoL payload
             vlan_id = vlanLayer->getVlanID();
             pkt_type = eap;
+        } else if (ethType == PPPoED_ETH_TYPE) { // single tagged packet with PPPOeD payload
+            vlan_id = vlanLayer->getVlanID();
+            pkt_type = pppoed;
         } else if (ethType == IPV4_ETH_TYPE) { // single tagged packet with IPv4 payload
             vlan_id = vlanLayer->getVlanID();
             vlanLayer->parseNextLayer();