Please don't drop the mailing list. A number of extensions exist in "include/openflow/nicira-ext.h". If you run "git blame" on that file, you'll see a bunch of commit ids. You can then run "git show" on the commit id, and see how the extension was added. For example, "git show fb8f22c1" will show you a commit for exporting IPFIX statistics.
--Justin > On Aug 28, 2016, at 1:45 AM, Francesco Murador <frank.m...@gmail.com> wrote: > > Thank you for the answer where can i find existing extensions? If you can > explain because as i said i'm new to this > > > >> Il giorno 28/ago/2016, alle ore 01:31, Justin Pettit <jpet...@ovn.org> ha >> scritto: >> >> >>> On Aug 27, 2016, at 5:20 AM, Francesco Murador <frank.m...@gmail.com> wrote: >>> >>> >>> Hey i’m doing an experiment i need to create a new openflow message and >>> there’s no any extension message. The request is that the switch had to >>> send to the controller a messagge that says to it that it’s too busy so the >>> controller have to ignore it and say to the other switches that the path >>> they used to send packets had been “banned”. So my question is…i’m new to >>> modify ovs code so i need some help..however which part of the code i have >>> to modify to do this?? And what must i do to modify correctly and do this >>> new message? I saw a discussion in ovs-mailing list that i have to modify >>> correctly this two files(ofp-msgs.h in this enum ofptype and ofpraw and the >>> other file extract-ofp-msg) but i don’t know how to do it.. >>> I hope you can help me in the right way >> >> I'd recommend looking for an existing extension and run "git blame" to see >> the commit that introduced it. Then run "git show" on the commit number and >> see how it was done. >> >> --Justin >> >> _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss