Hi Bertrand, You could manually add the flow to the OVS which has ODL set as manager. Then do a wireshark capture in the interface through which ODL is connected to OVS. You should be able to see the packet structure in flow stats in the dump.
Thanks Aswin On Sat, Sep 2, 2017 at 5:57 AM, Bertrand Low <[email protected]> wrote: > Hi OFP dev, > > > > I’m implementing the support for Conntrack CT_LABEL and CT_MARK match and > action. So far, I’ve managed to get the match portion of the support to > work, but I am having trouble finding the right headers and structure > format for the action portion. > > > > The action that I would like to support is set_field used in the conntrack > context. > > e.g. > > action=ct(commit, exec(set_field:1->ct_mark)) > > > > I’m adding my changes to ConntrackCodec.java. In the case of the NAT > action, it has an explicit subtype (NXAST_NAT_SUBTYPE = 36), but I don’t > see an equivalent for set_field of ct_label/ct_mark. > > > > Should I be using the SET_FIELD_CODE = 25 as the type? And if so, can you > point me to how the rest of the structure is defined? > > I would appreciate some guidance on what kind of structure (headers, > format) I need to send down to the OVS node. > > > > Also, does the “set_field” have to be wrapped by an “exec” in this case? > Again, I haven’t come across an “exec” header type in the ovs code. > > > > Thanks, > > Bertrand > > > > ::DISCLAIMER:: > ------------------------------------------------------------ > ------------------------------------------------------------ > ---------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > E-mail transmission is not guaranteed to be secure or error-free as > information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or may contain viruses in > transmission. The e mail and its contents > (with or without referred errors) shall therefore not attach any liability > on the originator or HCL or its affiliates. > Views or opinions, if any, presented in this email are solely those of the > author and may not necessarily reflect the > views or opinions of HCL or its affiliates. Any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and / or publication of this message without the prior > written consent of authorized representative of > HCL is strictly prohibited. If you have received this email in error > please delete it and notify the sender immediately. > Before opening any email and/or attachments, please check them for viruses > and other defects. > > ------------------------------------------------------------ > ------------------------------------------------------------ > ---------------------------- >
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
