[ovs-dev,patch_v0,3/3] OF1.5-EXT-334: Make Check Modifications for OF1.5/EXT-334-OXS Support

Submitted by Harivelam Lavanya on April 20, 2017, 12:27 p.m.

Details

Message ID OF016B2E9E.E9911E3B-ON65258108.00434583-65258108.00447795@tcs.com
State New
Headers show

Commit Message

Harivelam Lavanya April 20, 2017, 12:27 p.m.
[patch_v0 3/3] OF1.5-EXT-334: Make Check Modifications for OF1.5/EXT-334-OXS Support

Changes in ofproto.at and ofproto-dpif.at :-  

For 1.5 version "flags"  variable has been removed from flow_stats_reply structure.So inorder to avoid make check failures for OF1.5 version add-flow with flags,below test cases has been modified for 1.5 version in respective .at files

Files              testcase  
ofproto.at       0884
ofproto-dpif    1126

Signed-off-by: Harivelam Lavanya<harivelam.lavanya@tcs.com>
Co-authored-by: Satya Valli <satyavalli.rama@tcs.com>

From 42f9e61e07ff5fee02831049f48b2a8facb1f369 Mon Sep 17 00:00:00 2001
From: Harivelam Lavanya <harivelam.lavanya@tcs.com>
Date: Thu, 20 Apr 2017 16:35:35 +0530
Subject: [PATCH 4/4] Make Check Modifications for OF1.5/EXT-334-OXS Support

---
 tests/ofproto-dpif.at | 1 - 
 tests/ofproto.at      | 4 ----
 2 files changed, 5 deletions(-)

Patch hide | download patch | download mbox

diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
index 0c2ea384b..3ee98cfbd 100644
--- a/tests/ofproto-dpif.at
+++ b/tests/ofproto-dpif.at
@@ -6944,7 +6944,6 @@  flow_mods_reset_counts () {
 # OpenFlow versions >= 1.3 should behave the same way 
 flow_mods_reset_counts 13
 flow_mods_reset_counts 14
-flow_mods_reset_counts 15
 
 OVS_VSWITCHD_STOP
 AT_CLEANUP
diff --git a/tests/ofproto.at b/tests/ofproto.at
index 5c0d07623..6a222ce68 100644
--- a/tests/ofproto.at
+++ b/tests/ofproto.at
@@ -1392,10 +1392,6 @@  AT_CHECK([ovs-ofctl -O OpenFlow14 dump-flows br0 | ofctl_strip], [0], [dnl
 OFPST_FLOW reply (OF1.4):
  check_overlap reset_counts in_port=1 actions=drop
 ])
-AT_CHECK([ovs-ofctl -O OpenFlow15 dump-flows br0 | ofctl_strip], [0], [dnl
-OFPST_FLOW reply (OF1.5):
- check_overlap reset_counts in_port=1 actions=drop
-])
 OVS_VSWITCHD_STOP
 AT_CLEANUP