Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Packet Out to OVS

Hi,

I am using PacketProcessingService.transmitPacket() to send a packet out from my application to my OVS. But I do not see it received on the OVS side. I have configured the right datapath ID on the OVS side. The logic I am using is:

private PacketProcessingService serviceval;
public static final String Testing = "123123123123123123123123123";
BigInteger datapathId = new BigInteger("0123456789abcdef", 16);
InstanceIdentifier<node> nodeInstId = identifierFromDatapathId(datapathId);
TransmitPacketInput input = new TransmitPacketInputBuilder() //
.setNode(new NodeRef(nodeInstId)) //
.setPayload(Testing.getBytes()) //
.build();
serviceval.transmitPacket(input);

Any idea what might be wrong ?

Thanks.