Hi Ryan,
Gobinath is seeing that an Action Case set from genius, while it hits
openflowplugin is converted to a different Action Case. Basically, he is using
an openflowplugin RPC from Genius as below :
TransmitPacketInput transmitPacketInput = new TransmitPacketInputBuilder()
.setPayload(payload)
.setNode(
new NodeRef(InstanceIdentifier
.builder(Nodes.class)
.child(Node.class,
new NodeKey(new NodeId(
"openflow:" + dpnId)))
.toInstance()))
.setIngress(nodeConnectorRef).setEgress(ref)
.setAction(actions).build();
LOGGER.trace("PacketOut message framed for transmitting {}",
transmitPacketInput);
return packetProcessingService
The list of actions here has a nicira extension action “Load Register6” which
is set using “NxActionRegLoadNodesNodeTableFlowApplyActionsCase”..But certain
random times, by the time this RPC hits Openflowplugin, the action list shows a
different case “NxActionRegLoadRpcTransmitPacketCase”. Please note that we are
not hitting this issue always, most of the times the conversion happens
perfectly fine, during some corner cases alone, we observe this mismatch in
conversion.
We would like to know whether there is an in-between conversion happening when
an RPC is invoked, and how it works, and whether such conversion issues are
expected or not.
Thanks,
Faseela
From: [email protected]
[mailto:[email protected]] On Behalf Of Ryan Goulding
Sent: Friday, July 21, 2017 7:54 PM
To: Gobinath . <[email protected]>
Cc: [email protected]; openflowplugin-dev
<[email protected]>
Subject: Re: [genius-dev] [controller-dev] Erratic conversion of packet
+openflowplugin-dev +genius-dev
Regards,
Ryan Goulding
On Fri, Jul 21, 2017 at 3:12 AM, Gobinath .
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I’m facing an issue while sending a packetout formed from the “genius” to
“openflowplugin”.
The ArpUtil module in Genius builds a packet_out message with
NxActionRegLoadNodesNodeTableFlowApplyActionsCase as action(in genius) but it
is received at the openflowplugin(ModelDrivenSwitchImpl)
as NxActionRegLoadRpcTransmitPacketCase.
Could anyone throw some light on how this erratic conversion of action case
could happen.
Thanks and Regards,
Gobinath Suganthan
_______________________________________________
controller-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/controller-dev
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev