David Erickson
bc94ac2e58
Improve flow duration precision
...
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.
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
Justin Pettit
951f4ca9f5
Add new OpenFlow error messages for 1.0 release.
2009-12-07 23:45:02 -08:00
Rob Sherwood
4e9d3f07f2
Updated contact information in README, etc.
...
Updated most references to contact
openflow-discuss@openflowswitch.org
instead of
info@openflowswitch.
Also added references to our bug tracking system:
http://www.openflowswitch.org/bugs/openflow
2009-11-25 15:46:33 -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
Mikio Hara
7d1591aec9
Add debian new kernel module build style support
...
Please run configure as
./configure --with-l26=/lib/modules/`uname -r`
instead of
./configure --with-l26=/lib/modules/`uname -r`/build
2009-10-21 11:35:38 -07:00
Mikio Hara
31a507fedc
Adapt kernel datapath to new netdevice ops scheme
...
Note: 2.6.29 to 2.6.30 kernel provides CONFIG_COMPAT_NET_DEV_OPS,
so we recommend that use this option except 2.6.31 and higher kernel.
2009-10-21 11:35:30 -07: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
Mikio Hara
e58a082837
Change package version to 0.9.0-rev1
2009-09-04 18:03:12 -07:00
tyabe
db2c99e8e0
Update README on hwtable_nf2
2009-09-04 10:42:17 -07:00
Mikio Hara
7b0c7e50c7
Cosmetic changes
2009-09-04 09:58:01 -07:00
Mikio Hara
83fa636860
Start port enumeration: Change OpenFlow enabled NetFPGA start port
...
enumeration at 1 (by tyabe@stanford.edu )
2009-09-01 15:54:01 -07:00
Mikio Hara
d3acb95186
Flow mod behavior: Support CHECK_OVERLAP feature on NetFPGA
...
implementaion (by tyabe@stanford.edu )
2009-09-01 15:49:47 -07:00
Mikio Hara
3eba67e011
Test harness: Tear a broadcast packet testing off a forward exact port
...
for modular test framework
2009-09-01 15:09:08 -07:00
Mikio Hara
d1857c29ba
Test harness: Add broadcast packet testing to forward exact port script
...
Thank you for your contribution, HP Labs.
2009-09-01 10:18:15 -07:00
Mikio Hara
32637a8693
Bug fix: Fix an insufficienty wildcards look up of VLAN PCP
2009-08-26 14:23:50 -07:00
Mikio Hara
cd3bc540bd
Bug fix: Fix VLAN PCP support for simple controller
2009-08-26 14:22:03 -07:00
Mikio Hara
ce40743f5e
Bug fix: Fix memory leak in mod_flow handler
2009-08-26 13:01:33 -07:00
Mikio Hara
e1e8bccbaa
Change package version to 0.9.0
2009-07-20 16:15:31 -07:00
Mikio Hara
15286eab9b
Change package version to 0.9.0-rc2
2009-07-16 14:25:28 -07:00
Mikio Hara
1a9e53a083
Remove boost dependency
2009-07-16 14:08:37 -07:00
Mikio Hara
247b607d6c
Readjust wireshark dissector for 64-bit protocol sturct alignment
2009-07-16 13:52:07 -07:00
Mikio Hara
59c9a188d6
Cosmetic change: Made use of definition instead of raw value
2009-07-16 12:53:19 -07:00
Brandon Heller
45e7855e46
Spec: Fix build (unescaped underscore)
2009-07-16 09:55:17 -07:00
Mikio Hara
3f3dc5f1fc
Remove experimental XEN adaptation
2009-07-16 09:26:26 -07:00
Mikio Hara
623e899a93
Bug fix: Restore 64-bit struct alignment
...
Commit 238c5065 (Vlan pcp match: Reorder VLAN priority field...)
changed ofp_match from 36B to 40B, breaking the 8B alignment of a
number of structs. This commit modifies those structs to at least
pass the assertion tests and regression tests.
2009-07-16 09:23:19 -07:00
Brandon Heller
fcb27f377b
Spec: Zero-size action outputs
...
Note interpretation of a zero-size max_len field in an action_output.
2009-07-15 12:56:14 -07:00
Mikio Hara
ad94e12a04
Change meaning miss_send_len of set config and max_len field of output
...
action
If "max_send_len" (or the "max_len" field for the controller output
action) is zero, then send a packet-in with zero bytes of the packet
data.
2009-07-15 09:47:15 -07:00
Brandon Heller
6b3c54675b
Spec: Clarify emergency mode behavior to match implementation
...
Add requirement to break TCP connection when disconnecting.
Note that when entering normal mode, emergency entries remain.
Also define startup flow entries as outside of the OFP scope.
2009-07-15 09:43:18 -07:00
Brandon Heller
b23d253928
Spec: Don't send flow removed messages for emergency deletions
...
Bring spec in line with reference implementation: don't send flow
removed messages when an emergency flow entry is deleted.
2009-07-15 09:43:03 -07:00
Brandon Heller
0bd33bf82e
Spec: Define meaning of a zero-size miss_send_len
...
Clarify that when the miss_send_len switch config value is set to 0, an
empty packet-in message should be sent, rather than no packet-in at all.
2009-07-15 09:42:53 -07:00
Brandon Heller
3087ecedcf
Spec: Make datapath ID 64 bits, up from 48
...
This commit allows multiple virtual switch instances to share a single
physical switch.
2009-07-15 09:42:37 -07:00
Brandon Heller
7e640ed0b4
Spec: Note that emergency flow mods must have zeroed timerouts
2009-07-15 09:42:17 -07:00
Mikio Hara
cafe218f52
Bug fix: Remove deprecated API proto_tree_add_item_hidden use in
...
OpenFlow wireshark dissector
2009-07-15 09:41:30 -07:00
Mikio Hara
11c56dc4c2
Bug fix: Modify test scripts to use correct ethernet ports
2009-07-15 09:40:50 -07:00