Adjust group and meter test for Li redesign plugin 55/27255/2
authorLuis Gomez <ecelgp@gmail.com>
Tue, 22 Sep 2015 03:11:37 +0000 (20:11 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 22 Sep 2015 16:12:25 +0000 (16:12 +0000)
Li redesign API is slightly different reporting group & meters stats
It does not use group-desc or meter-config-stats sections

Change-Id: I805f8653c793cf2b47331f41e6f9a6a24b316756
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/suites/openflowplugin/Groups_Meters_OF13/005__openflow_group.robot
csit/suites/openflowplugin/Groups_Meters_OF13/010__openflow_meter.robot

index 4798b89e9ebcdd1f6728e9605a8c330413e4a0ba..31fce03fe405fa4e68ca4d776dae5a29aa2722a2 100644 (file)
@@ -43,7 +43,7 @@ Verify after adding group config
 
 Verify after adding group operational
     [Documentation]    Get the group stat in operational
-    ${elements}=    Create List    group-statistics    group-desc
+    ${elements}=    Create List    group-statistics    ref-count    packet-count    byte-count    buckets    weight    group-select
     Wait Until Keyword Succeeds    6s    2s    Check For Elements At URI    ${REST_CONTEXT_OP}/group/1    ${elements}
 
 Add a flow that includes a group
index f7d00c75f3dfd2856df8b75d5f3448debf62e721..2a8ed3f8dc5bb738300e6c1b725356ec80031638 100644 (file)
@@ -43,7 +43,7 @@ Verify after adding meter config
 
 Verify after adding meter operational
     [Documentation]    Get the meter stat in operational
-    ${elements}=    Create List    meter-statistics    meter-config-stats
+    ${elements}=    Create List    meter-statistics    meter-kbps    flow-count    packet-in-count    byte-in-count    meter-band-stats    meter-band-headers
     Wait Until Keyword Succeeds    6s    2s    Check For Elements At URI    ${REST_CONTEXT_OP}/meter/1    ${elements}
 
 Add a flow that includes a meter