Define scandium stream 53/112453/2
authorSangwook Ha <sangwook.ha@verizon.com>
Fri, 5 Jul 2024 16:05:20 +0000 (09:05 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Thu, 11 Jul 2024 23:27:46 +0000 (23:27 +0000)
The latest development stream is 'scandium'. Update the stream
dictionary with the new stream and add compare-stream keywords.
Also, add BGPCEP variable files for scandium.

Change-Id: I097f0914965b964299f9f4aadaba526c0f8dff6d
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
csit/libraries/CompareStream.robot
csit/variables/bgpclustering/scandium [new symlink]
csit/variables/pcepuser/scandium [new symlink]
csit/variables/tcpmd5user/scandium [new symlink]

index a248b20f2672e0af748d3016572a60f23cbbd5e6..db8c87a6c26c66414ed59ec291ea3e3471569d4b 100644 (file)
@@ -22,6 +22,7 @@ Library             String
 ...                 argon=${18}
 ...                 potassium=${19}
 ...                 calcium=${20}
+...                 scandium=${21}
 ...                 master=${999}
 
 
@@ -97,6 +98,11 @@ Set_Variable_If_At_Least_Calcium
     [Arguments]    ${value_if_true}    ${value_if_false}
     BuiltIn.Run_Keyword_And_Return    Set_Variable_If_At_Least    calcium    ${value_if_true}    ${value_if_false}
 
+Set_Variable_If_At_Least_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at least scandium, return ${value_if_false} otherwise.
+    [Arguments]    ${value_if_true}    ${value_if_false}
+    BuiltIn.Run_Keyword_And_Return    Set_Variable_If_At_Least    scandium    ${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.
@@ -163,6 +169,12 @@ Set_Variable_If_At_Most_Calcium
     [Arguments]    ${value_if_true}    ${value_if_false}
     BuiltIn.Run_Keyword_And_Return    Set_Variable_If_At_Most    calcium    ${value_if_true}    ${value_if_false}
 
+Set_Variable_If_At_Most_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and return ${value_if_true} if ${ODL_STREAM} is at most scandium,
+    ...    return ${value_if_false} otherwise.
+    [Arguments]    ${value_if_true}    ${value_if_false}
+    BuiltIn.Run_Keyword_And_Return    Set_Variable_If_At_Most    scandium    ${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
@@ -358,6 +370,12 @@ Run_Keyword_If_At_Least_Calcium
     [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
     BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_At_Least    calcium    ${kw_name}    @{varargs}    &{kwargs}
 
+Run_Keyword_If_At_Least_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and in case ${ODL_STREAM} is at least scandium,
+    ...    run ${kw_name} @{varargs} &{kwargs} and return its value.
+    [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
+    BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_At_Least    scandium    ${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.
@@ -424,6 +442,12 @@ Run_Keyword_If_At_Most_Calcium
     [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
     BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_At_Most    calcium    ${kw_name}    @{varargs}    &{kwargs}
 
+Run_Keyword_If_At_Most_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and in case ${ODL_STREAM} is at most scandium,
+    ...    run ${kw_name} @{varargs} &{kwargs} and return its value.
+    [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
+    BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_At_Most    scandium    ${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.
@@ -490,6 +514,12 @@ Run_Keyword_If_More_Than_Calcium
     [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
     BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_More_Than    calcium    ${kw_name}    @{varargs}    &{kwargs}
 
+Run_Keyword_If_More_Than_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and in case ${ODL_STREAM} is more than scandium,
+    ...    run ${kw_name} @{varargs} &{kwargs} and return its value.
+    [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
+    BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_More_Than    scandium    ${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.
@@ -549,3 +579,9 @@ Run_Keyword_If_Less_Than_Calcium
     ...    run ${kw_name} @{varargs} &{kwargs} and return its value.
     [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
     BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_Less_Than    calcium    ${kw_name}    @{varargs}    &{kwargs}
+
+Run_Keyword_If_Less_Than_Scandium
+    [Documentation]    Compare scandium to ${ODL_STREAM} and in case ${ODL_STREAM} is less than scandium,
+    ...    run ${kw_name} @{varargs} &{kwargs} and return its value.
+    [Arguments]    ${kw_name}    @{varargs}    &{kwargs}
+    BuiltIn.Run_Keyword_And_Return    Run_Keyword_If_Less_Than    scandium    ${kw_name}    @{varargs}    &{kwargs}
diff --git a/csit/variables/bgpclustering/scandium b/csit/variables/bgpclustering/scandium
new file mode 120000 (symlink)
index 0000000..121ca56
--- /dev/null
@@ -0,0 +1 @@
+aluminium
\ No newline at end of file
diff --git a/csit/variables/pcepuser/scandium b/csit/variables/pcepuser/scandium
new file mode 120000 (symlink)
index 0000000..437071b
--- /dev/null
@@ -0,0 +1 @@
+chlorine
\ No newline at end of file
diff --git a/csit/variables/tcpmd5user/scandium b/csit/variables/tcpmd5user/scandium
new file mode 120000 (symlink)
index 0000000..437071b
--- /dev/null
@@ -0,0 +1 @@
+chlorine
\ No newline at end of file