Unable to Extract Target IP from ARP in Sodium

sudhanshu naithani

Hi Everyone,  

I am working with ODL Sodium. In one of my experiments I want to extract a target IP address from an ARP packet. For that API is getArpTargetTransportAddress() [can be found at https://javadocs.opendaylight.org/openflowplugin/sodium/org/opendaylight/yang/gen/v1/urn/opendaylight/model/match/types/rev131026/ArpMatchFields.html ]

Problem is during compilation it is showing following:-

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project main-impl: Compilation failure: Compilation failure:
[ERROR] /home/sudhanshu/eclipse-workspace/odl-l2switch-maven/l2switch-main/src/main/java/org/opendaylight/l2switch/flow/ReactiveFlowWriter.java:[32,91] package org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.arp.match does not exist

Although I have imported this [import org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.arp.match.fields;].

Could anyone please let me know what am I missing and how can I make it work?

Thank you.

Warm Regards-
Sudhanshu Naithani