diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-05 10:55:30 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-05-09 13:28:38 -0700 |
commit | ac5b53f6b7531257ada83e9c61e4a3dd2fd9f2a4 (patch) | |
tree | b547aeded4ccc7affc2a5dc047a89b406aaf38b7 /tests | |
parent | 37718df6fe37d7cf5b456efbb6731b897117fc2e (diff) |
ofproto-dpif: Introduce "internal flows" for handling flow table misses.
The ofproto-dpif implementation of "facet"s requires a facet to be
associated with an OpenFlow rule. Until now, this meant that packets
that miss in the OpenFlow table (and thus didn't have OpenFlow rules)
couldn't be set up as facets and thus couldn't be installed in the
kernel. This commit changes that, by introducing "internal" OpenFlow
rules to associate with such packets.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ofproto.at | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ofproto.at b/tests/ofproto.at index 9009b915..84868d71 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -229,12 +229,14 @@ OVS_VSWITCHD_START 0: classifier: wild=0x3fffff, max=1000000, active=0 lookup=0, matched=0" x=1 - while test $x -lt 255; do + while test $x -lt 254; do printf " %d: %-8s: wild=0x3fffff, max=1000000, active=0 lookup=0, matched=0 " $x table$x x=`expr $x + 1` - done) > expout + done + echo " 254: table254: wild=0x3fffff, max=1000000, active=2 + lookup=0, matched=0") > expout AT_CHECK([ovs-ofctl dump-tables br0], [0], [expout]) # Change the configuration. AT_CHECK( |