An optimization done by some switches is to push an exact-match entry into
the flow tables when a wildcard flow has a match.
Enhance the test_delete_send_flow_exp test to test a flow with multiple
packets to verify that the statistics for a wildcard flow include any
special hidden exact-match flows.
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
VLAN not tested if --no_vlan option is specified. Allows tests to run
against switches that don't support VLAN tags in OpenFlow.
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
Some OpenFlow switches need time to process switch config messages.
Sleep with user-specifiable delay.
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
Previouly set the string to connect to the datapath via platform (user
or user_veth). Option allows more complex connect strings to be specified.
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
Added: create_flow_mod_from_udp_actionbytes
- allows creation of a flow mod using an array of action bytes
Updated: combine_args
- Return an array of action bytes instead of modifying a flow mod
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
Add the message name to the field name in calls to compare. Also add
the packet type when applicable for packet ins.
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
Enable the port stats for a particular port to be requested by
specifying a port number. Can request all port stats by specifying
OFPP_NONE for the port number.
New regression tests based on existing tests:
- test_flow_stats -> test_cookie_flow_stats
- test_flow_expired -> test_cookie_flow_expired
New tests verify that the cookie value returned matches the cookie value
specified.
added a human readable string to ofp_stats_desc to describe
the datapath, e.g., "switch4 in closet 3b of Gates"
* updated openflow.h
* updated udatapath: defaults to "$HOSTNAME pid=$$"
* updated kernel datapath: defaults to "$HOSTNAME idx=$i"
* updated wireshark plugin
* added regression test for ofp_desc_stats
* addressed KK's review comments from:
https://mailman.stanford.edu/pipermail/openflow-dev/2009-December/000545.html
Improve precision of flow duration (time a flow has
been installed in a switch) from seconds to nanoseconds
to improve throughput measurement accuracy when using
flow stats messages. This implementation splits the
existing duration fields into duration_sec and
duration_nsec for both flow expiration and flow stats
messages. Passes included unit tests on Ubuntu 8.04.
Fix the test_flow_stats test:
- update the wildcard
- specify valid IP addresses for src/dst
- set the ethertype
- verify that 1 ofp_flow_stats body is returned