Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
Glen Gibb a3d56cc316 wireshark: Report queue stats capability 2009-12-17 16:44:44 -08:00
Glen Gibb b99e65d801 spec: indicate IP src/dst are extracted from ARP 2009-12-17 16:44:44 -08:00
Glen Gibb 67cfa2697f doc: Added README for kernel module
README file indicates that the kernel module is no longer included as
part of the reference implementation.
2009-12-17 16:44:44 -08:00
Glen Gibb fa5935a558 regress: automate dependency installation
Added support for Fedora
2009-12-17 16:44:43 -08:00
Glen Gibb 9d98a30148 regress: automate dependency installation
Added support for Debian
2009-12-17 13:17:09 -08:00
Glen Gibb b5f91a1a01 regress: automate dependency installation
Provide script to automatically install dependencies necessary for
running regression tests. Currently supported OSes:
 - Ubuntu
2009-12-17 13:17:09 -08:00
Glen Gibb 284a7bfb19 doc: document regression changes in 1.0 2009-12-17 13:17:08 -08:00
Glen Gibb ec0a4d19e8 build: remove kernel module from build
Commented out kernel module specific sections in configure.ac
Don't include datapath in SUBDIRS in Makefile.am
2009-12-15 21:23:33 -08:00
Glen Gibb b113ab3fe8 Clearify openflow.h comment
Updated comment for OFPET_PORT_MOD_FAILED that replaces "OFPT_PORT_MOD"
with a textual description of this message.
2009-12-15 11:17:04 -08:00
Glen Gibb 4d5a8686db version: bump version number to 1.0.0
Bump version to 1.0.0 in various files
2009-12-15 11:08:47 -08:00
Glen Gibb edb3be9e0f wireshark: dissect new errors
Dissect new errors introduced in commit by Justin Pettit: 951f4ca9
2009-12-14 17:56:38 -08:00
Glen Gibb f68c5b6f00 docs: remove kernel refs from INSTALL
Update the INSTALL document to remove reference to the kernel module
since the kernel module is no longer part of the reference design.
2009-12-14 17:20:53 -08:00
Glen Gibb 5de70b8a4f docs: updated README with dropped kernel info
Updated information in README to reflect decision to include only the
user-space switch in the reference implementation. The README notes that
the kenel and NetFPGA implementations will be distributed separately.
2009-12-14 17:12:04 -08:00
Glen Gibb ba8ca45217 spec: update version/title
Created a command to output the version number.
Changed the title on each page to "OpenFlow Switch Specification" and
"Version \ofversion"
2009-12-14 16:10:10 -08:00
Glen Gibb abe6db25f7 spec: Rename to reflect version 1.0.0 2009-12-14 13:27:54 -08:00
Glen Gibb b26a2e60c7 ChangeLog: document 1.0.0 changes 2009-12-14 13:22:24 -08:00
Glen Gibb f557a21416 Version: bump openflow wire version number 2009-12-11 18:16:21 -08:00
Glen Gibb 47a0ed66bc Merge branch 'devel/yiannisy/slicing'
Conflicts:
	include/openflow/openflow.h
	regress/lib/Perl5/OF/OFUtil.pm
	regress/projects/black_box/regress/tests.txt
	udatapath/datapath.c
	utilities/wireshark_dissectors/openflow/packet-openflow.c
2009-12-11 18:11:16 -08:00
Glen Gibb b2ea92008e Updated spec for selective port stats 2009-12-11 15:43:37 -08:00
Glen Gibb 22924bbfe9 Flow cookie regression tests
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.
2009-12-11 15:43:37 -08:00
Glen Gibb a1e70c1bd1 Enable setting of cookies in forward_simple
forward_simple is a test function to forward a packet after setting up a
flow table entry. Allow a cookie to be specified.
2009-12-11 15:43:37 -08:00
Glen Gibb 00864063dc Support matching of cookies in flow expired
Flow cookies can be matched in flow expired messages. If the cookie is
not specified then no matching takes place.
2009-12-11 15:43:37 -08:00
Glen Gibb 80c577684f Ability to specify cookie when creating flow mods 2009-12-11 15:43:36 -08:00
Glen Gibb c1ad5c0a9c Wireshark disector changes for flow cookies
Added flow cookie processing for:
 - flow mod
 - flow removed
 - flow stats
2009-12-11 15:43:36 -08:00
Glen Gibb f506a0305c Updated spec for IP ToS matching
Note: Not sure that I like the current IP ToS matching where the lower
two bits are zero'd.
2009-12-11 15:43:36 -08:00
Glen Gibb a3a79e21e8 ARP matching support in Wireshark plugin
Added the ability to disect matches for ARP packets in Wireshark.
(Previously only the Ethertype was matched, not the ARP opcode or the IP
src/dest.)
2009-12-11 15:43:36 -08:00
Glen Gibb a75f9d48be Regression tests for ARP matching 2009-12-11 15:43:35 -08:00
Glen Gibb 77f0c84381 ARP functions in test libraries
Added the ability to test on ARP packets in the test libraries.
2009-12-11 15:43:35 -08:00
Glen Gibb 3da6276b55 ARP header len calc bug in test lib
ARP header length was incorrect, resulting in packets being incorrect lengths.
2009-12-11 15:43:35 -08:00
Glen Gibb 63c3a0e289 Copy necessary fields into flow for ARP matches
Previously missed the code to handle ARP matches in flow mods.
2009-12-11 15:43:35 -08:00
Glen Gibb bc2026689b Safety checks for ARP packets
Verify that ARP packets are for IP and that the protocol length is 4
before extracting source/destination IP addresses.
2009-12-11 15:43:35 -08:00
Glen Gibb cb0c5d2101 Whatespace consistency fix in README
Replaced tabs with spaces. (Note: Adding a separate commit since the
original commmit was pushed to master.)
2009-12-11 15:43:35 -08:00
Glen Gibb 39baa4058f Ensure flow_stats test returns an ofp_flow_stats
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
2009-11-20 18:19:24 -08:00
Glen Gibb 13e6a2e26b Wireshark fix for flow_stats_request (out_port)
The wireshark dissector had not been updated to reflect the out_port
field in the flow_stats_request message. Added the out_port field.
2009-11-20 18:19:17 -08:00
Glen Gibb 9f15ba2113 Remove remote command execution support 2009-10-15 14:14:47 -07:00
Glen Gibb 0d2a787f01 Remove Nicira extension printing code 2009-10-15 14:14:47 -07:00
Glen Gibb f492a9d519 Remove tcp_flags/ip_tos tracking used by NetFlow 2009-10-15 14:14:47 -07:00
Glen Gibb 17af341ffe Don't perform 64-bit division in kernel
Replace 64-bit division (using '/') to call to do_div. This function is
designed for use in the kernel.
2009-10-15 14:14:47 -07:00
Glen Gibb ea288488c8 Replace ns_flow_end with ofp_flow_removed
datapath/udatapath now sends ofp_flow_removed messages instead of
nx_flow_end. This allows for the removal of secchan/flow-end.* as
flow-end message now no longer need to be translated.
2009-10-14 15:56:37 -07:00
Glen Gibb add3e639a9 Replace NXFER_* with OFPRR_* constants 2009-10-14 15:56:36 -07:00
Glen Gibb d1957f2054 s/nx_flow_end_reason/ofp_flow_removed_reason/g
Replaced references to custom Nicira flow end reason and replaced with
OpenFlow flow removed reason.
2009-10-14 15:56:36 -07:00
Glen Gibb d1f4c793fa Remove Nicira vendor action print code 2009-10-14 15:56:36 -07:00
Glen Gibb 2b1c086060 Remove Nicira action processing
No custom Nicira actions in reference code so remove handlers from codebase.
2009-10-14 15:56:36 -07:00
Glen Gibb 5f171ff224 Remove unused Nicira message processing code
No longer sending NXT_FLOW_END_CONFIG messages so remove code associated
with this message.
2009-10-14 15:56:36 -07:00
Glen Gibb ec0c97d6a1 Removed send_flow_end field from datapath struct
send_flow_end was a hold-over from 0.8.x releases. Version 0.9 removed the
datapath-wide send flow mod expire flag and replaced it by a per-flow flag.
This field was used by the NetFlow code to force notification of expires.
2009-10-14 15:56:36 -07:00
Glen Gibb 8c2e2dd667 Remove unused udp_open function
udp_open was used by NetLink code. Remove this function as the NetLink
code has been removed.
2009-10-14 15:56:36 -07:00
Glen Gibb cf13ab2dd9 Remove NetFlow from reference switch
Remove NetFlow code from reference switch, except in nicira-ext.h
2009-10-14 15:56:36 -07:00
Glen Gibb dcfbabe695 Unify big/little endian for PRIVATE vendor ext
Private vendor extension file had separate handling for big/little
endian. All places in the code where these values are put on/removed
from the wire are wrapped by hton* and ntoh* function calls, eliminating
the need for separate constants.
2009-10-14 15:56:36 -07:00
Glen Gibb 89941e139b Suport pretty-print for OFPRR_DELETE flow removed
If a flow is removed via a DELETE flow mod then print "delete" instead
of it's numerical value when an ofp_flow_removed is received.
2009-10-12 15:50:07 -07:00
Glen Gibb 875412fefd Flow expiry: Correct function proto for vendor_stats_init 2009-06-29 07:26:36 -07:00
Glen Gibb fcfd27a96d Flow expiry: Test that flow expires are sent on flow delete 2009-06-29 07:08:30 -07:00
Glen Gibb 463abf9568 Flow expiry: Added OFPER_DELETE to known expire reasons 2009-06-29 07:08:17 -07:00
Glen Gibb fddc939b07 Flow expiry: Send flow expires on delete
Set the reason to OFPER_DELETE
2009-06-29 07:08:01 -07:00
Glen Gibb 33905ad47a Flow expiry: Added test to verify OFPFF_SEND_FLOW_EXP flag 2009-06-29 07:07:19 -07:00
Glen Gibb 039dc27cd3 Flow expiry: Remove enable_flow_expirations from everything 2009-06-29 07:06:56 -07:00
Glen Gibb ef82985afe Flow expiry: Set flags when creating flow mods
Each flow mod now has a send_flow_expiry flag indicating whether an
expiry message should be generated. The global config setting no longer
applies.
2009-06-29 07:06:28 -07:00
Glen Gibb 77a367ecd4 Flow expiry: Dissector now uses per-flow expiry 2009-06-29 07:06:07 -07:00
Glen Gibb b2b952792e Flow expiry: Replace refernces to OFPC_SEND_FLOW_EXP refs
Replaced references to OFPC_SEND_FLOW_EXP in dpinst with flow->send_flow_exp
2009-06-29 07:05:27 -07:00
Glen Gibb b7e8127132 Flow expiry: Remove send_ofp_exp references 2009-06-29 07:05:11 -07:00
Glen Gibb 500fb599be Flow expiry: Send flow exp if the flow's send_exp flag is set 2009-06-29 07:04:48 -07:00
Glen Gibb 0b96028bea Flow expiry: Send flow exp only if flow's send expiry flag set 2009-06-29 07:04:34 -07:00
Glen Gibb b6309b3236 Flow expiry: Record the OFPFF_SEND_FLOW_EXP flag 2009-06-29 07:04:19 -07:00
Glen Gibb 44d43c2988 Flow expiry: Add send_flow_exp to nx_flow_end msg
Need to pass message that indicates whether to send flow expiry message
to the controller.
2009-06-29 07:04:02 -07:00
Glen Gibb 1f535b5443 Flow expiry: Add a send_flow_exp flag to the sw_flow struct
This flag is used to indicate whether a flow expiry should be sent to
the controller.
2009-06-29 07:03:31 -07:00
Glen Gibb c6f1379fff Flow expiry: Remove all references to OFPC_SEND_FLOW_EXP 2009-06-29 07:03:06 -07:00
Glen Gibb 34a0ecdf64 Flow expiry: Verify the idle_timeout in a flow expiry message 2009-06-29 07:00:54 -07:00
Glen Gibb f209f3a9be Flow expiry: Add ability to test idle_timout in flow expire
Can check the idle_timeout value in ofp_flow_expire messages by
specifying an idle_timeout when calling the various wait_for_flow
functions.
2009-06-29 07:00:28 -07:00
Glen Gibb 11dab620bd Flow expiry: Populate idle_timeout field of ofp_flow_expire
Copy value from the nx_flow_end struct passed into the function.
2009-06-29 07:00:11 -07:00
Glen Gibb 0947229ada Flow expiry: Pretty-print idle_timeout for nx_flow_end msg 2009-06-29 06:59:30 -07:00
Glen Gibb ad42ba0b93 Flow expiry: Added idle_timout to nx_flow_end struct
Extra field added to struct
Padding field split
Populate idle_timeout in dp_send_flow_end funcs
2009-06-29 06:59:05 -07:00
Glen e1e828de32 Flow expiry: Pretty-printing of idle timeout in flow expire msg 2009-06-29 06:58:48 -07:00
Glen d1a10670fd Flow expiry: Dissect idle timeout in ofp_flow_expire message 2009-06-29 06:58:28 -07:00
Glen feb1764b43 Flow expiry: Add idle timeout to ofp_flow_expire struct 2009-06-29 06:58:07 -07:00
Glen Gibb 15100770cc Clarify text string for OFPFC_DELETE_STRICT 2009-01-25 23:23:09 -08:00
Glen Gibb d9d0b6e44a Set datapath ID in feature reply to HEX 2009-01-02 11:36:50 -08:00
Glen Gibb e6ac93f4d6 Fix up dissection of get/set config
Get/Set config messages were not being dissected correctly -- flags
were displayed always as they should be.
2008-12-19 17:32:39 -08:00
Glen Gibb 08e29db090 Code cleanup to remove some warnings
Warnings were for unused variables
2008-12-17 19:41:39 -08:00
Glen Gibb 221a9c9502 Fix dissection of flow stats
- Incorrect pad amount specified (spec specifies 3 x 16
  bit words -- code had 3 bytes).
- Update offset at after dissecting actions
2008-12-17 19:39:28 -08:00
Glen Gibb e3a2f219dd Created dissect_port_mod and called
Added function to dissect port_mod messages. Call this when dissecting
a port_mod instead of dissect_phy_port.
2008-12-17 19:10:39 -08:00
Glen Gibb a75b9e968b Add port mod fields to field array
Added fields to the field array and initialized values
to zero where necessary.
2008-12-17 19:09:09 -08:00
Glen Gibb 54f98c6168 Correct consts for port_mod fields
The port_mod fileds used the wrong constants when
specifying their size.
2008-12-17 19:07:47 -08:00
Glen Gibb 6eaaebec12 Fix number of port config flags
Number of port config flags was incorrectly specified (4).
Adjusted to correct value (7).
2008-12-17 19:06:46 -08:00