[VOL-4521] - Make disble/enable ONU and PON port tests non-critical
Change-Id: I832d98151ac675a490dd823f48f19aef19982376
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 3829fe0..cfd4235 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -1577,3 +1577,12 @@
... Validate Device ENABLED ACTIVE
... REACHABLE ${onu_sn} onu=True onu_reason=${reason}
END
+
+Set Non-Critical Tag for XGSPON Tech
+ [Documentation] Dynamically sets the test tag for xgs-pon based to non-critical
+ FOR ${I} IN RANGE 0 ${num_olts}
+ ${board_tech} Evaluate ${olts}[${I}].get("board_technology")
+ Run Keyword If "${board_tech}"=="XGS-PON" Run Keywords
+ ... Set Tags non-critical
+ ... AND Exit For Loop
+ END