[ovs-discuss] ovs-ofctl vs openflow 1.x vs ?

2017-10-08 Thread Raymond Burkholder
I've written some openflow controller code to submit openflow 
line-protocol based commands.


In looking at the ovs-fields document, there appears to be OVS functions 
available which are not available via openflow protocol commands.


Those extensions seem to be available in ovs-ofctl though.

Is there an API way of doing things instead of going through ovs-ofctl?  
Or are the NXM extensions available in one of the OpenFlow versions?  
For example, I've been programming via OF1.4.1 at this point (found at 
https://benpfaff.org/ofh/openflow-spec1.4.1.h).


From the ovs-fields document, there is NXM_NX_CONJ_ID (for conjunctive 
match fields), which shows as not being an openflow protocol based function.


IE, could flow tables be updated via JSON documents, like what is used 
to update the ovsdb?


Or am I missing something obvious?

--
Raymond Burkholder
r...@oneunified.net
https://blog.raymond.burkholder.net


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Apply some packet manipulation actions on outgoing port traffic

2017-10-08 Thread Juraj Markotic
Hello,
we would need some functionality on manipulating packets when packet is
exiting outgoing OVS port.
I.e. some actions could be: change/anonymize mac/IPs for src/dst, or remove
some tunnel header (vxlan, gtp, gre), truncate the payload etc.
So, one option can be to write some code than can be attached to OVS to
packet exiting out port (i.e. some lua scripts for manipulation).
The other option can be to direct this packet to some other sw that could
receive/manipulate/send traffic to the network ? Not sure how to do that
really.
Any idea ?

br,
juraj
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss