${switch_idx} 1
${switch_name} s${switch_idx}
@{xml_files} f1.xml f2.xml f3.xml f5.xml f7.xml f8.xml f9.xml
-... f10.xml f11.xml f12.xml f13.xml f14.xml f17.xml f19.xml
-... f24.xml
+... f10.xml f11.xml f14.xml f17.xml f19.xml f24.xml
*** Test Cases ***
Test Add Flows
[Documentation] Add all flows and waits for SM to collect data
- : FOR ${flowfile} IN @{xml_files}
- \ Log ${flowfile}
- \ Init Flow Variables ${flowfile}
- \ Run Keyword And Continue On Failure Add Flow
+ FOR ${flowfile} IN @{xml_files}
+ Log ${flowfile}
+ Init Flow Variables ${flowfile}
+ Run Keyword And Continue On Failure Add Flow
+ END
Test Is Flow 1 Added
[Documentation] Checks if flow is configured and operational
Check Config Flow ${True}
Check Operational Table ${True}
-Test Is Flow 12 Added
- [Documentation] Checks if flow is configured and operational
- Init Flow Variables f12.xml
- Check Config Flow ${True}
- Check Operational Table ${True}
-
-Test Is Flow 13 Added
- [Documentation] Checks if flow is configured and operational
- Init Flow Variables f13.xml
- Check Config Flow ${True}
- Check Operational Table ${True}
-
Test Is Flow 14 Added
[Documentation] Checks if flow is configured and operational
Init Flow Variables f14.xml
Test Delete Flows
[Documentation] Delete all flows and waits for SM to collect data
- : FOR ${flowfile} IN @{xml_files}
- \ Log ${flowfile}
- \ Init Flow Variables ${flowfile}
- \ Run Keyword And Continue On Failure Delete Flow
+ FOR ${flowfile} IN @{xml_files}
+ Log ${flowfile}
+ Init Flow Variables ${flowfile}
+ Run Keyword And Continue On Failure Delete Flow
+ END
Test Is Flow 1 Deleted
[Documentation] Checks if flow is not configured and operational
Check Config Flow ${False}
Check Operational Table ${False}
-Test Is Flow 12 Deleted
- [Documentation] Checks if flow is not configured and operational
- Init Flow Variables f12.xml
- Check Config Flow ${False}
- Check Operational Table ${False}
-
-Test Is Flow 13 Deleted
- [Documentation] Checks if flow is not configured and operational
- Init Flow Variables f13.xml
- Check Config Flow ${False}
- Check Operational Table ${False}
-
Test Is Flow 14 Deleted
[Documentation] Checks if flow is not configured and operational
Init Flow Variables f14.xml
Delete All Flows
[Documentation] Deletes all flows
- : FOR ${flowfile} IN @{xml_files}
- \ Log ${flowfile}
- \ Init Flow Variables ${flowfile}
- \ Delete Flow
+ FOR ${flowfile} IN @{xml_files}
+ Log ${flowfile}
+ Init Flow Variables ${flowfile}
+ Delete Flow
+ END
Initialization Phase
[Documentation] Initiate tcp connection with controller