Add new stream keywords to support potassium, current development
stream. Also, add BGPCEP test variable files for potassium.
Change-Id: Ie1db896a120cb899724f47d63d125e06fe4f781a
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
... sulfur=${16}
... chlorine=${17}
... argon=${18}
... sulfur=${16}
... chlorine=${17}
... argon=${18}
[Arguments] ${value_if_true} ${value_if_false}
BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Least argon ${value_if_true} ${value_if_false}
[Arguments] ${value_if_true} ${value_if_false}
BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Least argon ${value_if_true} ${value_if_false}
+Set_Variable_If_At_Least_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at least potassium, return ${value_if_false} otherwise.
+ [Arguments] ${value_if_true} ${value_if_false}
+ BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Least potassium ${value_if_true} ${value_if_false}
+
Set_Variable_If_At_Most_Neon
[Documentation] Compare neon to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at most neon,
... return ${value_if_false} otherwise.
Set_Variable_If_At_Most_Neon
[Documentation] Compare neon to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at most neon,
... return ${value_if_false} otherwise.
[Arguments] ${value_if_true} ${value_if_false}
BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Most argon ${value_if_true} ${value_if_false}
[Arguments] ${value_if_true} ${value_if_false}
BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Most argon ${value_if_true} ${value_if_false}
+Set_Variable_If_At_Most_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at most potassium,
+ ... return ${value_if_false} otherwise.
+ [Arguments] ${value_if_true} ${value_if_false}
+ BuiltIn.Run_Keyword_And_Return Set_Variable_If_At_Most potassium ${value_if_true} ${value_if_false}
+
CompareStream__Convert_Input
[Documentation] Splits arguments into args and kwargs is used in Run_Keyword_If_At_Least_Else and Run_Keyword_If_At_Most_Else.
... The problem is, when the string contains =, but it is not a named argument (name=value). There can be many values containing =, but
CompareStream__Convert_Input
[Documentation] Splits arguments into args and kwargs is used in Run_Keyword_If_At_Least_Else and Run_Keyword_If_At_Most_Else.
... The problem is, when the string contains =, but it is not a named argument (name=value). There can be many values containing =, but
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Least argon ${kw_name} @{varargs} &{kwargs}
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Least argon ${kw_name} @{varargs} &{kwargs}
+Run_Keyword_If_At_Least_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and in case ${ODL_STREAM} is at least potassium,
+ ... run ${kw_name} @{varargs} &{kwargs} and return its value.
+ [Arguments] ${kw_name} @{varargs} &{kwargs}
+ BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Least potassium ${kw_name} @{varargs} &{kwargs}
+
Run_Keyword_If_At_Most_Neon
[Documentation] Compare neon to ${ODL_STREAM} and in case ${ODL_STREAM} is at most neon,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
Run_Keyword_If_At_Most_Neon
[Documentation] Compare neon to ${ODL_STREAM} and in case ${ODL_STREAM} is at most neon,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Most argon ${kw_name} @{varargs} &{kwargs}
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Most argon ${kw_name} @{varargs} &{kwargs}
+Run_Keyword_If_At_Most_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and in case ${ODL_STREAM} is at most potassium,
+ ... run ${kw_name} @{varargs} &{kwargs} and return its value.
+ [Arguments] ${kw_name} @{varargs} &{kwargs}
+ BuiltIn.Run_Keyword_And_Return Run_Keyword_If_At_Most potassium ${kw_name} @{varargs} &{kwargs}
+
Run_Keyword_If_More_Than_Neon
[Documentation] Compare neon to ${ODL_STREAM} and in case ${ODL_STREAM} is more than neon,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
Run_Keyword_If_More_Than_Neon
[Documentation] Compare neon to ${ODL_STREAM} and in case ${ODL_STREAM} is more than neon,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_More_Than argon ${kw_name} @{varargs} &{kwargs}
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_More_Than argon ${kw_name} @{varargs} &{kwargs}
+Run_Keyword_If_More_Than_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and in case ${ODL_STREAM} is more than potassium,
+ ... run ${kw_name} @{varargs} &{kwargs} and return its value.
+ [Arguments] ${kw_name} @{varargs} &{kwargs}
+ BuiltIn.Run_Keyword_And_Return Run_Keyword_If_More_Than potassium ${kw_name} @{varargs} &{kwargs}
+
Run_Keyword_If_Less_Than_Sodium
[Documentation] Compare sodium to ${ODL_STREAM} and in case ${ODL_STREAM} is less than sodium,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
Run_Keyword_If_Less_Than_Sodium
[Documentation] Compare sodium to ${ODL_STREAM} and in case ${ODL_STREAM} is less than sodium,
... run ${kw_name} @{varargs} &{kwargs} and return its value.
... run ${kw_name} @{varargs} &{kwargs} and return its value.
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_Less_Than argon ${kw_name} @{varargs} &{kwargs}
... run ${kw_name} @{varargs} &{kwargs} and return its value.
[Arguments] ${kw_name} @{varargs} &{kwargs}
BuiltIn.Run_Keyword_And_Return Run_Keyword_If_Less_Than argon ${kw_name} @{varargs} &{kwargs}
+
+Run_Keyword_If_Less_Than_Potassium
+ [Documentation] Compare potassium to ${ODL_STREAM} and in case ${ODL_STREAM} is less than potassium,
+ ... run ${kw_name} @{varargs} &{kwargs} and return its value.
+ [Arguments] ${kw_name} @{varargs} &{kwargs}
+ BuiltIn.Run_Keyword_And_Return Run_Keyword_If_Less_Than potassium ${kw_name} @{varargs} &{kwargs}
--- /dev/null
+aluminium
\ No newline at end of file
--- /dev/null
+chlorine
\ No newline at end of file
-aluminium
\ No newline at end of file
+chlorine
\ No newline at end of file
--- /dev/null
+chlorine
\ No newline at end of file