Hello again, Thanks for the reply. That was my first approach, that is, to find an existent experimenter pattern and follow it to build mine. However, I have not found something similar, so could you be more specific and give me an example of such a message/pattern that is already implemented ? In terms of the 'ONFST' type, I have already tried it but the problem remains the same as I described in my first email.
Thanks for your time, Apostolis Στις Δευ, 12 Ιουλ 2021 στις 10:00 μ.μ., ο/η Ben Pfaff <[email protected]> έγραψε: > On Mon, Jul 12, 2021 at 08:39:21PM +0300, Apostolis Prassas wrote: > > Hello everyone, > > > > First of all, I am new it this mailing list, and I would like to > apologize > > if there is already a relative thread. I have searched for it, but I did > > not find anything similar. > > > > So, to start with which is my goal. While I'm using an SDN controller > > (Ryu), I'm sending an Experimenter message ( specifically an > > ExperimenterStatsRequest message) to the open vswitch, and I would like > the > > switch to decode it and reply with a respective (ExperimenterStatsReply) > > one. > > > > Following the Documentation, I have already added these two new messages > > into *enum ofpraw* structure (ofp-msgs.h) like: > > /* OFPST 1.3+ (65535): struct ofp_prop_experimenter. */ > > OFPRAW_OFPST13_EXPERIMENTER_REQUEST > > > > /* OFPST 1.3+ (65535): struct ofp_prop_experimenter. */ > > OFPRAW_OFPST13_EXPERIMENTER_REPLY, > > This is the right place but wrong approach there. OVS has builtin > support for experimenter messages and you can't just override that by > trying to claim all of them. I would look at the pattern for the > existing experiment messages. Since you're working on a stats message, > I would follow the pattern for the Open Networking Foundation multipart > messages (ONFST). >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
