X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FFlowLib.robot;h=c41bee45a1bcfce51a2389296fc83f837999f7d4;hb=refs%2Fchanges%2F46%2F36346%2F2;hp=f982c650891ccbbbd502f23448acd2b1e080e045;hpb=4ce4117d71e27d843996a8fa5fb5570f93f5a322;p=integration%2Ftest.git diff --git a/csit/libraries/FlowLib.robot b/csit/libraries/FlowLib.robot index f982c65089..c41bee45a1 100644 --- a/csit/libraries/FlowLib.robot +++ b/csit/libraries/FlowLib.robot @@ -11,6 +11,14 @@ Variables ../variables/Variables.py *** Variables *** *** Keywords *** +Check Flow Stats Are Available + [Arguments] ${node_id} + [Documentation] A GET on the /node/${node_id} inventory API is made and flow stats string is checked for existence. + ${resp} RequestsLibrary.Get Request session ${OPERATIONAL_NODES_API}/node/${node_id} + Log ${resp.content} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} flow-statistics + Create Inventory Flow [Documentation] Calls FlowLib.Make_Inventory_Flow function and initializes and sanitizes ... the basic flow elements that can be given to flow:inventory