[VOL-3122] Rearrange OLT Disable/Enable TC in Functional suite
Change-Id: Id4887ddcc81134d8ffa1bcfe91c3525de467758d
diff --git a/libraries/voltctl.robot b/libraries/voltctl.robot
index 90688ff..b1ec875 100755
--- a/libraries/voltctl.robot
+++ b/libraries/voltctl.robot
@@ -239,13 +239,13 @@
${jsonCamelCaseFieldnames}= Run Keyword And Return Status
... Dictionary Should Contain Key ${value} adminState
${astate}= Run Keyword If ${jsonCamelCaseFieldNames}
- ... ${astate}= Get From Dictionary ${value} adminState
+ ... Get From Dictionary ${value} adminState
... ELSE
- ... ${astate}= Get From Dictionary ${value} adminstate
+ ... Get From Dictionary ${value} adminstate
${opstatus}= Run Keyword If ${jsonCamelCaseFieldNames}
... Get From Dictionary ${value} operStatus
... ELSE
- ... ${astate}= Get From Dictionary ${value} operstatus
+ ... Get From Dictionary ${value} operstatus
${type}= Get From Dictionary ${value} type
Should Be Equal '${astate}' 'ENABLED' Device ${device_id} port admin_state != ENABLED values=False
Run Keyword If ${all_active} Should Be Equal '${opstatus}' 'ACTIVE'
@@ -650,4 +650,4 @@
${afterFlows}= Evaluate ${beforeFlows} - (${uni_count} * 2)
${targetFlows}= Set Variable If $provisioned=='true' ${afterFlows} ${beforeFlows}
Log ${targetFlows}
- Wait Until Keyword Succeeds 10m 5s Count OpenOLT Device Flows ${targetFlows}
\ No newline at end of file
+ Wait Until Keyword Succeeds 10m 5s Count OpenOLT Device Flows ${targetFlows}