Commit Graph

1396 Commits

Author SHA1 Message Date
Glen Gibb 2d71bf3848 regress: no_emerg cmd line option
Added the ability to disable emergency flow table tests
2010-03-10 18:19:36 -08:00
Glen Gibb c0aa21014a regress: Test to measure flow mod latency
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:36:43 -08:00
Glen Gibb 27e6742eaa regress: flow expiry with multiple packets
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>
2010-03-10 17:36:42 -08:00
Glen Gibb 46f85a45ed regress: Document new cmd line args
Added documentation for:
 - testPath
 - listener
 - no_vlan
 - no_slicing
 - no_barrier
2010-03-10 17:36:42 -08:00
Glen Gibb 5654fd2ea4 doc: update change logs to reflect regress changes 2010-03-10 17:36:42 -08:00
Glen Gibb f0e9c6f92d regress: Provide support for testing Open vSwitch
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:36:34 -08:00
Glen Gibb 319065259b regress: Updates to HP-specific code
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:35:25 -08:00
Glen Gibb 25ceca2b66 regress: test setting of src/dst MAC + src/dst IP
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb bc3d3a58f2 regress: run fwd broadcast exact port on all ports
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb d915e2b6e1 regress: support vlan port names with a period (.)
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 12f93c9261 regress: formatting clean-ups
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 99743eb3d2 regress: ToS code clean-up
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 1fb5b36d3e regress: eliminate duplicate variable declarations
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:16 -08:00
Glen Gibb efb47d75c0 regress: --no_vlan to disable VLAN testing
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>
2010-03-10 16:43:16 -08:00
Glen Gibb af01ea5408 regress: --no_barrier to disable barrier tests
Barrier tests can be disabled via the --no_barrier command line arg

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:10 -08:00
Glen Gibb 84bd3acc54 regress: --no_slicing cmd line arg
Add the ability to disable all slicing tests via --no_slicing flag

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb b585b4c1aa regress: add delays after switch config
Some OpenFlow switches need time to process switch config messages.
Sleep with user-specifiable delay.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb 9bcf899001 regress: improve handling of --controller cmd line arg
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb ad4e98a1bd regress: --listener cmd line arg to specify dp connect str
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>
2010-03-10 16:27:41 -08:00
Glen Gibb 7e6ecbd095 regress: in_port/out_port cleanups
Don't do +1 when using in_port/out_port for generating MAC/IP addresses

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb 9f48a6f784 regress: new flow mod creation func
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>
2010-03-10 16:27:40 -08:00
Glen Gibb 72de8f4ae2 regress: formatting fix
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:40 -08:00
Glen Gibb a22ea1d7e5 regress: Ensure VLAN VID is 12-bits in combine_args
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:40 -08:00
Glen Gibb 11001360a3 regress: del/show flow support
Rename del_flows to dpctl_del_flows
Add dpctl_show_flows command

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:40 -08:00
Glen Gibb da83b3ec93 regress: improve field description in compare calls
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>
2010-03-10 16:27:40 -08:00
Glen Gibb 55290d4f17 regress: cmd line flag to execute single test
All tests are run by default. Provide a command line flag to run a
single test.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:26:42 -08:00
Glen Gibb 3e501a2d30 regress: use sprintf to create strings of digits
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-03 17:04:22 -08:00
Glen Gibb feee67705a dpkg: changelog updated to 1.0.0 2010-02-26 15:33:44 -08:00
Glen Gibb 39ce0a9399 dpkg: changelog updated to 0.9.0-rev1 2010-02-26 15:28:49 -08:00
Glen Gibb 566419f54e dpkg: changelog updated to 0.8.0-rev4 2010-02-26 15:28:48 -08:00
Glen Gibb 81e9088ee0 dpkg: update ofprotocl executable name
secchan renamed to ofprotocol
2010-02-26 15:28:48 -08:00
Glen Gibb 20bf8b3074 dpkg: relax automake dependency
Allow automake 1.10 or 1.11 or greater
2010-02-26 15:28:48 -08:00
Glen Gibb 0c0ccb7c74 dpkg: restore dpkg support
Reverse changes in commit 7d1591a that broke support for
dpkg (specifically dpkg-buildpackage couldn't run as debian/control was
not automatically generated).
2010-02-26 15:28:48 -08:00
Glen Gibb 49581ff4eb secchan: Fix port status detection
secchan was reporting the *opposite* port status for port down/link
down.

Bug reported by: Takayuki Hama <t-hama@cb.jp.nec.com>
2010-02-24 16:13:17 -08:00
Rob Sherwood f173926a03 bugfix: wireshark improperly parsing features_repl
It thought there were 13 OF actions, but there
are really 12 b/c vendor type doesn't count.

Sanity checked by grg
2010-02-01 16:23:09 -08:00
Glen Gibb 5ccca75a69 docs: Update ChangeLog to include 1.0.0 information 2009-12-31 16:00:53 -08:00
Glen Gibb 29ae784340 spec: update version to 1.0.0 from 1.0.0-RC 2009-12-31 16:00:33 -08:00
Glen Gibb bd9dd43554 spec: clarify actions field in ofp_switch_features
Clarify that the actions field is used only for reporting back the
standard actions defined in the Actions section of the document, not for
vendor-specific actions.
2009-12-31 15:51:34 -08:00
Rob Sherwood 1134c0408f made wireshark plugin complile w/o warnings
- removed 4 "ununsed variables"
- removed OFPAT_VENDOR flag from switch features bits
2009-12-31 15:21:47 -08:00
Glen Gibb d90824f0e8 spec: change version to indicate release candidate 2009-12-19 11:34:21 -08:00
Glen Gibb b2ad142a5d regress: automate dependency installation
Added support for 64-bit Ubuntu/Debian systems
2009-12-19 11:27:31 -08:00
Brandon Heller dd8a8761ff Spec: add credits and move to end 2009-12-19 10:54:08 -08:00
Glen Gibb 3897db46e5 openflow.h: consistency fixes
Fixes:
 - use char instead of uint_8 for string (ofp_phy_port)
 - use [0] when declaring variable-length array
   (ofp_queue_get_config_reply)

Thanks to KK Yap (yapkke@stanford.edu) for reporting these issues.
2009-12-19 10:52:50 -08:00
Glen Gibb 17afd1c32b doc: note about slicing performance 2009-12-19 10:52:49 -08:00
Glen Gibb eb81428386 version: set version number to 0x01
First non-experimental version number
2009-12-19 10:52:43 -08:00
Glen Gibb 1da1d11cd3 spec: don't highlight slicing changes in blue 2009-12-18 15:12:08 -08:00
Glen Gibb 988e266a2a spec: add PDF version of packet flow chart 2009-12-18 15:12:08 -08:00
Yiannis Yiakoumis cb38fcc3fb spec : Clarify valid ports for enqueue action.
- Only ports < OFPP_MAX and OFPP_IN_PORT are valid ports
  for enqueuing.
- Also fixed spec typo (thanks to Reid Price for reporting).
2009-12-16 01:57:16 -08:00
Yiannis Yiakoumis ae39860411 Bugfix: Remove class tc configuration after queue delete.
When removing queues from datapath, tc state was being left
at the qdisc configuration.
Add netdev_delete_class function which clears this state.
2009-12-16 01:20:30 -08:00
Glen Gibb 9521a635c0 ip-in-arp: add capability bit for feature
Added capability bit to indicate if the switch supports matching IP
fields in ARP packets.
2009-12-17 16:44:44 -08:00