<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.4.2 (Python 3.11.10 on linux)" generated="2026-04-26T00:21:27.910812" rpa="false" schemaversion="5">
<suite id="s1" name="bgpcep-bgpclustering-longevity.txt">
<suite id="s1-s1" name="Restart Odl With Tell Based True" source="/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/suites/controller/dom_data_broker/restart_odl_with_tell_based_true.robot">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils" type="SETUP">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.621379" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:21:28.616860" elapsed="0.004585"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-26T00:21:28.616364" elapsed="0.005182"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.627230" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-26T00:21:28.623002" elapsed="0.004260"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-26T00:21:28.627510" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:21:28.627367" elapsed="0.000197"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.627339" elapsed="0.000249"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.628135" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:21:28.627755" elapsed="0.000428"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.628730" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-26T00:21:28.628368" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-26T00:21:28.629351" elapsed="0.000546"/>
</kw>
<msg time="2026-04-26T00:21:28.630008" level="INFO">${status} = PASS</msg>
<msg time="2026-04-26T00:21:28.630060" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-26T00:21:28.628943" elapsed="0.001143"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.630685" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.630263" elapsed="0.000449"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.632363" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.632079" elapsed="0.000313"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.632826" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.632564" elapsed="0.000289"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.633525" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:21:28.633045" elapsed="0.000509"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.636196" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.635993" elapsed="0.000277"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.633613" elapsed="0.002688"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.636884" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:21:28.636469" elapsed="0.000460"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.637520" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:21:28.637111" elapsed="0.000453"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.638104" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:21:28.637730" elapsed="0.000417"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-26T00:21:28.631591" elapsed="0.006615"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-26T00:21:28.622623" elapsed="0.015643"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.638453" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:21:28.638336" elapsed="0.000182"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.638315" elapsed="0.000226"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.641771" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.641360" elapsed="0.000438"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.642327" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.642025" elapsed="0.000329"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.642401" elapsed="0.000040"/>
</return>
<msg time="2026-04-26T00:21:28.642591" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.641015" elapsed="0.001602"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.642965" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.642787" elapsed="0.000239"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.642671" elapsed="0.000382"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:21:28.638769" elapsed="0.004340"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-26T00:21:28.643262" elapsed="0.000225"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.643808" elapsed="0.000022"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.643667" elapsed="0.000206"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.643541" elapsed="0.000360"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-26T00:21:28.621963" elapsed="0.021996"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.646694" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:21:28.646581" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.646560" elapsed="0.000204"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.651747" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:21:28.651631" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.651612" elapsed="0.000208"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.652800" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.652383" elapsed="0.000445"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.653298" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.653005" elapsed="0.000320"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.653370" elapsed="0.000031"/>
</return>
<msg time="2026-04-26T00:21:28.653548" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.652045" elapsed="0.001529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.653937" elapsed="0.000021"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.654184" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:28.654037" elapsed="0.000199"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:28.654019" elapsed="0.000242"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.653793" elapsed="0.000491"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.653628" elapsed="0.000682"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-26T00:21:28.651327" elapsed="0.003040"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-26T00:21:28.644549" elapsed="0.009873"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-26T00:21:28.644113" elapsed="0.010351"/>
</kw>
<arg>http_timeout=125</arg>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-26T00:21:28.615917" elapsed="0.038615"/>
</kw>
<test id="s1-s1-t1" name="Stop_All_Members" line="30">
<kw name="Stop_Members_From_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.660462" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.660075" elapsed="0.000432"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.661019" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.660705" elapsed="0.000344"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.661095" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:21:28.661257" level="INFO">${stop_index_list} = []</msg>
<var>${stop_index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.659693" elapsed="0.001590"/>
</kw>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.662268" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.661889" elapsed="0.000406"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.662757" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.662453" elapsed="0.000329"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.662829" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:21:28.662986" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${original_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.661510" elapsed="0.001500"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.664455" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.664084" elapsed="0.000414"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.664972" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.664659" elapsed="0.000341"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.665045" elapsed="0.000031"/>
</return>
<msg time="2026-04-26T00:21:28.665202" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.663717" elapsed="0.001509"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.665588" elapsed="0.000027"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.665398" elapsed="0.000255"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.665279" elapsed="0.000402"/>
</for>
<arg>command=${NODE_STOP_COMMAND}</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:21:28.663212" elapsed="0.002524"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.666179" level="INFO">${updated_index_list} = []</msg>
<var>${updated_index_list}</var>
<arg>@{index_list}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.665889" elapsed="0.000315"/>
</kw>
<kw name="Remove Values From List" owner="Collections">
<arg>${updated_index_list}</arg>
<arg>@{stop_index_list}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:21:28.666448" elapsed="0.000254"/>
</kw>
<if>
<branch type="IF" condition="not ${confirm}">
<return>
<value>${updated_index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.666883" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:21:28.666776" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.666757" elapsed="0.000192"/>
</if>
<for flavor="IN">
<iter>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<arg>${timeout}</arg>
<arg>2s</arg>
<arg>Verify_Karaf_Is_Not_Running_On_Member</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.667246" elapsed="0.000021"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.667105" elapsed="0.000202"/>
</iter>
<var>${index}</var>
<value>@{stop_index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.666989" elapsed="0.000344"/>
</for>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.670762" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.670363" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.671235" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.670947" elapsed="0.000313"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.671304" elapsed="0.000030"/>
</return>
<msg time="2026-04-26T00:21:28.671457" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.669988" elapsed="0.001511"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.671872" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.671701" elapsed="0.000231"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.671585" elapsed="0.000374"/>
</for>
<arg>command=netstat -pnatu | grep 2550</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:21:28.667547" elapsed="0.004466"/>
</kw>
<return>
<value>${updated_index_list}</value>
<status status="PASS" start="2026-04-26T00:21:28.672053" elapsed="0.000028"/>
</return>
<doc>If the list is empty, stops all ODL instances. Otherwise stop members based on ${stop_index_list}
If ${confirm} is True, verify stopped instances are not there anymore.
The KW will return a list of available members: ${updated index_list}=${original_index_list}-${member_index_list}</doc>
<status status="PASS" start="2026-04-26T00:21:28.655199" elapsed="0.016979"/>
</kw>
<doc>Stop every odl node.</doc>
<tag>critical</tag>
<status status="PASS" start="2026-04-26T00:21:28.654601" elapsed="0.017687"/>
</test>
<test id="s1-s1-t2" name="Set_Tell_Based_Protocol_Usage" line="34">
<kw name="Change_Use_Tell_Based_Protocol" owner="DdbCommons">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.676662" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.676254" elapsed="0.000435"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.677154" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.676850" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.677225" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:21:28.677384" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.675880" elapsed="0.001529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.677765" elapsed="0.000023"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.677611" elapsed="0.000225"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.677466" elapsed="0.000397"/>
</for>
<arg>sed -ie "s/^#use-tell-based-protocol=true/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.673515" elapsed="0.004401"/>
</kw>
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.681364" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.680932" elapsed="0.000458"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.681853" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.681568" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.681923" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.682075" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.680559" elapsed="0.001541"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.682405" elapsed="0.000023"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.682257" elapsed="0.000233"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.682150" elapsed="0.000373"/>
</for>
<arg>sed -ie "s/^#use-tell-based-protocol=false/use-tell-based-protocol=false/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.678131" elapsed="0.004445"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.686616" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.686221" elapsed="0.000422"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.687087" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.686803" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.687156" elapsed="0.000030"/>
</return>
<msg time="2026-04-26T00:21:28.687309" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.685839" elapsed="0.001494"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.687701" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.687551" elapsed="0.000221"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.687422" elapsed="0.000375"/>
</for>
<arg>sed -ie "s/^use-tell-based-protocol=false/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.683226" elapsed="0.004624"/>
</kw>
<msg time="2026-04-26T00:21:28.687890" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"${status}" == "True"</arg>
<arg>ClusterManagement.Check_Bash_Command_On_List_Or_All</arg>
<arg>sed -ie "s/^use-tell-based-protocol=false/use-tell-based-protocol=true/g" ${DATASTORE_CFG}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:28.682732" elapsed="0.005213"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"${status}" == "False"</arg>
<arg>ClusterManagement.Check_Bash_Command_On_List_Or_All</arg>
<arg>sed -ie "s/^use-tell-based-protocol=true/use-tell-based-protocol=false/g" ${DATASTORE_CFG}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.688107" elapsed="0.000027"/>
</kw>
<kw name="Fail" owner="BuiltIn">
<arg>Failure in status. Status can be True or False.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.688285" elapsed="0.000020"/>
</kw>
<arg>True</arg>
<arg>${DATASTORE_CFG}</arg>
<doc>Change status use-tell-based-protocol to True or False</doc>
<status status="PASS" start="2026-04-26T00:21:28.673079" elapsed="0.015289"/>
</kw>
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.691724" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.691331" elapsed="0.000420"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.692202" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.691912" elapsed="0.000316"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.692272" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.692423" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.690960" elapsed="0.001487"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.692773" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.692623" elapsed="0.000220"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.692515" elapsed="0.000353"/>
</for>
<arg>cat ${DATASTORE_CFG}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.688603" elapsed="0.004318"/>
</kw>
<kw name="Clean_Directories_On_List_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.703272" level="INFO">${path_list} = ['tmp/', 'data/', 'cache/', 'snapshots/', 'journal/', 'segmented-journal/', 'etc/opendaylight/current/', 'etc/host.key']</msg>
<var>${path_list}</var>
<arg>"${directory_list}" == "${EMPTY}"</arg>
<arg>${ODL_DEFAULT_DATA_PATHS}</arg>
<arg>${directory_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.701012" elapsed="0.002289"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${tmp_dir}&quot;&quot;&quot; != &quot;&quot;">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.705057" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.704651" elapsed="0.000434"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.705556" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.705250" elapsed="0.000332"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.705627" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.705780" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.704261" elapsed="0.001543"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.706111" elapsed="0.000024"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.705964" elapsed="0.000217"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.705854" elapsed="0.000352"/>
</for>
<arg>mkdir -p '${tmp_dir}' &amp;&amp; rm -vrf '${tmp_dir}/log' &amp;&amp; mv -vf '${karaf_home}/data/log' '${tmp_dir}/'</arg>
<arg>${member_index_list}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.703670" elapsed="0.002623"/>
</kw>
<status status="PASS" start="2026-04-26T00:21:28.703381" elapsed="0.002949"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.703360" elapsed="0.002996"/>
</if>
<kw name="Safe_With_Ssh_To_List_Or_All_Run_Keyword" owner="ClusterManagement">
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-26T00:21:28.707801" level="INFO">index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-26T00:21:28.707912" level="INFO">${current_connection} = index=None
host=None
alias=None
port=22
timeout=3 seconds
newline=

prompt=None
term_type=vt100
width=80
height=24
path_separator=/
encoding=utf8
escape_ansi=False
encoding_errors=strict</msg>
<var>${current_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-26T00:21:28.707605" elapsed="0.000333"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="With_Ssh_To_List_Or_All_Run_Keyword" owner="ClusterManagement">
<kw name="Comment" owner="BuiltIn">
<arg>This keyword is experimental and there is high risk of being replaced by another approach.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-26T00:21:28.709062" elapsed="0.000208"/>
</kw>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.710263" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.709885" elapsed="0.000405"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.710751" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.710449" elapsed="0.000328"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.710821" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.710972" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.709494" elapsed="0.001502"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<var>${member_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.711463" elapsed="0.000041"/>
</kw>
<kw name="Run_Unsafely_Keyword_Over_Temporary_Odl_Session" owner="SSHKeywords">
<arg>${member_ip}</arg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Open connection to given IP address, run keyword, close connection, return result.
This is unsafe in the sense that previously active session will be switched out off, but safe in the sense only the temporary connection is closed.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.711760" elapsed="0.000024"/>
</kw>
<var name="${member_index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.711299" elapsed="0.000528"/>
</iter>
<var>${member_index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.711046" elapsed="0.000807"/>
</for>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>For each index in given list (or all): activate SSH connection, run given Keyword, close active connection. Return None.
Beware that in order to avoid "got positional argument after named arguments", first two arguments in the call should not be named.</doc>
<status status="PASS" start="2026-04-26T00:21:28.708619" elapsed="0.003287"/>
</kw>
<msg time="2026-04-26T00:21:28.711949" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:28.708100" elapsed="0.003901"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords" type="TEARDOWN">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${connection_index} is not None</arg>
<arg>SSHLibrary.Switch Connection</arg>
<arg>${connection_index}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:28.715033" elapsed="0.000308"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>127.0.0.1</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-26T00:21:28.715525" elapsed="0.000161"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-26T00:21:28.715838" elapsed="0.000102"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-26T00:21:28.712291" elapsed="0.003700"/>
</kw>
<arg>With_Ssh_To_List_Or_All_Run_Keyword</arg>
<arg>${member_index_list}</arg>
<arg>${keyword_name}</arg>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Store current connection index, run keyword returning its result, restore connection in teardown.
Note that in order to avoid "got positional argument after named arguments", it is safer to use positional (not named) arguments on call.</doc>
<status status="PASS" start="2026-04-26T00:21:28.707038" elapsed="0.009010"/>
</kw>
<arg>${member_index_list}</arg>
<arg>ClusterManagement__Clean_Directories</arg>
<arg>${path_list}</arg>
<arg>${karaf_home}</arg>
<doc>Remember active ssh connection index, call With_Ssh_To_List_Or_All_Run_Keyword, return None. Restore the conection index on teardown.</doc>
<status status="PASS" start="2026-04-26T00:21:28.706537" elapsed="0.009573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${tmp_dir}&quot;&quot;&quot; != &quot;&quot;">
<kw name="Check_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.717862" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.717467" elapsed="0.000422"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.718337" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.718048" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.718408" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.718585" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.717090" elapsed="0.001556"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Check_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<arg>return_success_only=${return_success_only}</arg>
<arg>log_on_success=${log_on_success}</arg>
<arg>log_on_failure=${log_on_failure}</arg>
<arg>stderr_must_be_empty=${stderr_must_be_empty}</arg>
<doc>Open SSH session, call SSHKeywords.Execute_Command_Passes, close session, restore previously active session and return output.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.718956" elapsed="0.000023"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.718810" elapsed="0.000216"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.718700" elapsed="0.000351"/>
</for>
<arg>mkdir -p '${karaf_home}/data' &amp;&amp; rm -vrf '${karaf_home}/log' &amp;&amp; mv -vf '${tmp_dir}/log' '${karaf_home}/data/'</arg>
<arg>${member_index_list}</arg>
<doc>Cycle through indices (or all), run bash command on each, using temporary SSH session and restoring the previously active one.</doc>
<status status="PASS" start="2026-04-26T00:21:28.716458" elapsed="0.002645"/>
</kw>
<status status="PASS" start="2026-04-26T00:21:28.716188" elapsed="0.002950"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.716165" elapsed="0.002999"/>
</if>
<arg>tmp_dir=/tmp</arg>
<doc>Clear @{directory_list} or ['tmp/', 'data/', 'cache/', 'snapshots/', 'journal/', 'segmented-journal/', 'etc/opendaylight/current/', 'etc/host.key'] for members in given list or all. Return None.
If ${tmp_dir} is nonempty, use that location to preserve data/log/.
This is intended to return Karaf (offline) to the state it was upon the first boot.</doc>
<status status="PASS" start="2026-04-26T00:21:28.696799" elapsed="0.022409"/>
</kw>
<doc>Un-comment the flag usage in config file. Also clean most data except data/log/.</doc>
<tag>critical</tag>
<status status="PASS" start="2026-04-26T00:21:28.672506" elapsed="0.046848"/>
</test>
<test id="s1-s1-t3" name="Start_All_And_Sync" line="40">
<kw name="Start_Members_From_List_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.732645" level="INFO">${base_command} = /tmp/karaf-0.23.2-SNAPSHOT/bin/start</msg>
<var>${base_command}</var>
<arg>"""${karaf_home}""" != ""</arg>
<arg>${karaf_home}/bin/start</arg>
<arg>${NODE_START_COMMAND}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.732256" elapsed="0.000416"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.733218" level="INFO">${command} = /tmp/karaf-0.23.2-SNAPSHOT/bin/start</msg>
<var>${command}</var>
<arg>"""${export_java_home}""" != ""</arg>
<arg>export JAVA_HOME="${export_java_home}"; ${base_command}</arg>
<arg>${base_command}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.732844" elapsed="0.000401"/>
</kw>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-26T00:21:28.733726" level="INFO">${epoch} = 1777162888.73365</msg>
<var>${epoch}</var>
<arg>time_zone=UTC</arg>
<arg>result_format=epoch</arg>
<arg>exclude_millis=False</arg>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-26T00:21:28.733435" elapsed="0.000317"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.734327" level="INFO">${gc_filepath} = /tmp/karaf-0.23.2-SNAPSHOT/data/log/gc_1777162888.73365.log</msg>
<var>${gc_filepath}</var>
<arg>"""${karaf_home}""" != ""</arg>
<arg>${karaf_home}/data/log/gc_${epoch}.log</arg>
<arg>${GC_LOG_PATH}/gc_${epoch}.log</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.733928" elapsed="0.000425"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.734912" level="INFO">${gc_options} = -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/tmp/karaf-0.23.2-SNAPSHOT/data/log/gc_1777162888.73365.log</msg>
<var>${gc_options}</var>
<arg>"docker" not in """${node_start_command}"""</arg>
<arg>-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:${gc_filepath}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.734541" elapsed="0.000398"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.736432" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.736049" elapsed="0.000409"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.736942" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.736642" elapsed="0.000326"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.737012" elapsed="0.000030"/>
</return>
<msg time="2026-04-26T00:21:28.737170" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.735673" elapsed="0.001521"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.737546" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.737353" elapsed="0.000254"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.737244" elapsed="0.000389"/>
</for>
<arg>command=${command} ${gc_options}</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:21:28.735144" elapsed="0.002542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Verify_Members_Are_Ready" owner="ClusterManagement">
<if>
<branch type="IF" condition="${verify_cluster_sync}">
<kw name="Check_Cluster_Is_In_Sync" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.749858" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.749463" elapsed="0.000421"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.750332" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.750046" elapsed="0.000311"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.750441" elapsed="0.000047"/>
</return>
<msg time="2026-04-26T00:21:28.750617" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.749092" elapsed="0.001550"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Sync_Status_Of_Member" owner="ClusterManagement">
<var>${status}</var>
<arg>member_index=${index}</arg>
<doc>Obtain IP, two GETs from jolokia URIs, return combined sync status as string.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.751074" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'True' == '${status}'">
<continue>
<status status="NOT RUN" start="2026-04-26T00:21:28.751203" elapsed="0.000018"/>
</continue>
<status status="NOT RUN" start="2026-04-26T00:21:28.751165" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:28.751148" elapsed="0.000120"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Index ${index} has incorrect status: ${status}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.751408" elapsed="0.000020"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.750852" elapsed="0.000608"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.750692" elapsed="0.000816"/>
</for>
<arg>${member_index_list}</arg>
<doc>Fail if no-sync is detected on a member from list (or any).</doc>
<status status="PASS" start="2026-04-26T00:21:28.748686" elapsed="0.002878"/>
</kw>
<status status="PASS" start="2026-04-26T00:21:28.748367" elapsed="0.003228"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.748348" elapsed="0.003269"/>
</if>
<if>
<branch type="IF" condition="${verify_restconf}">
<kw name="Verify_Restconf_Is_Available" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.753099" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.752688" elapsed="0.000440"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.753598" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.753289" elapsed="0.000335"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.753668" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.753820" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.752295" elapsed="0.001549"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<var>${session}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.754177" elapsed="0.000025"/>
</kw>
<kw name="Get_As_Json_Templated" owner="TemplatedRequests">
<arg>session=${session}</arg>
<arg>folder=${RESTCONF_MODULES_DIR}</arg>
<arg>verify=False</arg>
<doc>Add arguments sensible for JSON data, return Get_Templated response text.
Optionally, verification against JSON data (may be iterated) is called.
Only subset of JSON data is verified and returned if JMES path is specified in
file ${folder}/jmespath.expr.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.758403" elapsed="0.000026"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.754014" elapsed="0.004469"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.753895" elapsed="0.004616"/>
</for>
<arg>${member_index_list}</arg>
<status status="PASS" start="2026-04-26T00:21:28.751927" elapsed="0.006640"/>
</kw>
<status status="PASS" start="2026-04-26T00:21:28.751671" elapsed="0.006924"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.751655" elapsed="0.006965"/>
</if>
<if>
<branch type="IF" condition="${verify_system_status} and (&quot;${service_list}&quot; != &quot;[[]]&quot;)">
<kw name="Check Status Of Services Is OPERATIONAL" owner="ClusterManagement">
<arg>@{service_list}</arg>
<doc>This keyword will verify whether all the services are operational in all the ODL nodes</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.759004" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:28.758676" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-26T00:21:28.758659" elapsed="0.000426"/>
</if>
<arg>${member_index_list}</arg>
<arg>${wait_for_sync}</arg>
<arg>${verify_restconf}</arg>
<arg>${check_system_status}</arg>
<arg>${service_list}</arg>
<doc>Verifies the specified readiness conditions for the given listed members after startup.
If ${verify_cluster_sync}, verifies the datastores have synced with the rest of the cluster.
If True, verifies RESTCONF is available.
If ${verify_system_status}, verifies the system services are OPERATIONAL.</doc>
<status status="PASS" start="2026-04-26T00:21:28.747948" elapsed="0.011183"/>
</kw>
<arg>${timeout}</arg>
<arg>10s</arg>
<arg>Verify_Members_Are_Ready</arg>
<arg>${member_index_list}</arg>
<arg>${wait_for_sync}</arg>
<arg>${verify_restconf}</arg>
<arg>${check_system_status}</arg>
<arg>${service_list}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-26T00:21:28.737845" elapsed="0.021346"/>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement" type="TEARDOWN">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.762605" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.762208" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.763079" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.762792" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.763149" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.763301" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.761802" elapsed="0.001523"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.763712" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.763541" elapsed="0.000232"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.763411" elapsed="0.000387"/>
</for>
<arg>command=netstat -pnatu | grep 2550</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:21:28.759454" elapsed="0.004398"/>
</kw>
<doc>If the list is empty, start all cluster members. Otherwise, start members based on present indices.
If ${wait_for_sync}, wait for cluster sync on listed members.
Optionally karaf_home can be overriden. Optionally specific JAVA_HOME is used for starting.
Garbage collection is unconditionally logged to files. TODO: Make that reasonable conditional?</doc>
<status status="PASS" start="2026-04-26T00:21:28.724261" elapsed="0.039638"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.775782" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:21:28.775465" elapsed="0.000344"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:21:28.795805" elapsed="0.000213"/>
</kw>
<msg time="2026-04-26T00:21:28.796066" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:28.795142" elapsed="0.000976"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational', 'entity-ownership:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:28.794676" elapsed="0.001517"/>
</kw>
<msg time="2026-04-26T00:21:28.796239" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:28.785644" elapsed="0.010638"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:28.785233" elapsed="0.011122"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:21:28.797045" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:21:28.797091" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:21:28.796787" elapsed="0.000326"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.799904" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.799521" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.800380" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.800092" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:28.800452" elapsed="0.000047"/>
</return>
<msg time="2026-04-26T00:21:28.800626" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:28.798965" elapsed="0.001685"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:21:28.800804" elapsed="0.000193"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.801577" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:28.801199" elapsed="0.000404"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.802004" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.801765" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.802420" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:28.802180" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.802874" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.803131" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:28.802979" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.803353" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:28.803211" elapsed="0.000236"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.803637" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:28.803486" elapsed="0.000203"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:28.802961" elapsed="0.000751"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:28.802703" elapsed="0.001033"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.802512" elapsed="0.001249"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:21:28.803800" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:28.804007" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:21:28.804053" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:21:28.798236" elapsed="0.005840"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.804647" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:21:28.804731" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:21:28.804248" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:21:28.805361" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:21:28.805067" elapsed="0.000383">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:21:28.804825" elapsed="0.000715">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:21:28.804806" elapsed="0.000768">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.805731" elapsed="0.000027"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.805913" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.805979" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:21:28.797391" elapsed="0.008706">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.806272" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.806437" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:28.806622" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:21:28.796581" elapsed="0.010114">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:21:28.796408" elapsed="0.010344">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:21:28.806803" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:21:28.771284" elapsed="0.035613">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.827033" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:21:38.826665" elapsed="0.000400"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:21:38.846994" elapsed="0.000232"/>
</kw>
<msg time="2026-04-26T00:21:38.847283" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:38.846327" elapsed="0.001015"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:38.845820" elapsed="0.001601"/>
</kw>
<msg time="2026-04-26T00:21:38.847484" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:38.836845" elapsed="0.010685"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:38.836440" elapsed="0.011163"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:21:38.848284" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:21:38.848329" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:21:38.848039" elapsed="0.000312"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.850991" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:38.850608" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.851461" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:38.851177" elapsed="0.000326"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:38.851552" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:21:38.851712" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:38.850222" elapsed="0.001514"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:21:38.851889" elapsed="0.000155"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.852556" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:38.852203" elapsed="0.000379"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.852975" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:38.852740" elapsed="0.000260"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.853380" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:38.853148" elapsed="0.000285"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.853848" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.854105" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:38.853957" elapsed="0.000201"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.854324" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:38.854183" elapsed="0.000194"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.854557" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:38.854399" elapsed="0.000210"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:38.853937" elapsed="0.000694"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:38.853683" elapsed="0.000972"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:38.853499" elapsed="0.001182"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:21:38.854721" elapsed="0.000026"/>
</return>
<msg time="2026-04-26T00:21:38.854918" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:21:38.854963" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:21:38.849513" elapsed="0.005473"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.855426" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:21:38.855519" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:21:38.855156" elapsed="0.000388"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:21:38.856287" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:21:38.855828" elapsed="0.000544">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:21:38.855612" elapsed="0.000829">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:21:38.855594" elapsed="0.000896">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.856648" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.856820" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:38.856884" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:21:38.848655" elapsed="0.008369">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.857199" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.857361" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:38.857555" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:21:38.847899" elapsed="0.009730">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:21:38.847730" elapsed="0.009954">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:21:38.857734" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:21:38.822268" elapsed="0.035559">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.877540" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:21:48.877103" elapsed="0.000481"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:21:48.898449" elapsed="0.000281"/>
</kw>
<msg time="2026-04-26T00:21:48.898788" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:48.897732" elapsed="0.001123"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:48.897205" elapsed="0.001733"/>
</kw>
<msg time="2026-04-26T00:21:48.898987" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:48.887864" elapsed="0.011167"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:48.887415" elapsed="0.011694"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:21:48.899779" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:21:48.899832" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:21:48.899514" elapsed="0.000345"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.902642" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:48.902238" elapsed="0.000431"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.903111" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:48.902828" elapsed="0.000308"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:48.903184" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:21:48.903342" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:48.901821" elapsed="0.001546"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:21:48.903536" elapsed="0.000156"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.904178" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:48.903851" elapsed="0.000352"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.904613" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:48.904360" elapsed="0.000278"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.905017" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:48.904785" elapsed="0.000257"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.905645" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.906008" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:48.905834" elapsed="0.000232"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.906236" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:48.906092" elapsed="0.000198"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.906458" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:48.906314" elapsed="0.000214"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:48.905813" elapsed="0.000739"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:48.905459" elapsed="0.001119"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:48.905087" elapsed="0.001518"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:21:48.906647" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:21:48.906854" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:21:48.906901" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:21:48.901064" elapsed="0.005860"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.907379" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:21:48.907457" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:21:48.907100" elapsed="0.000398"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:21:48.908128" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:21:48.907832" elapsed="0.000382">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:21:48.907599" elapsed="0.000680">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:21:48.907573" elapsed="0.000737">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.908467" elapsed="0.000042"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.908667" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:48.908734" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:21:48.900185" elapsed="0.008687">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.909059" elapsed="0.000023"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.909228" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:48.909399" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:21:48.899351" elapsed="0.010137">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:21:48.899178" elapsed="0.010370">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:21:48.909600" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:21:48.872532" elapsed="0.037167">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.929272" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:21:58.928878" elapsed="0.000433"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:21:58.949594" elapsed="0.000263"/>
</kw>
<msg time="2026-04-26T00:21:58.949913" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:58.948907" elapsed="0.001074"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:58.948408" elapsed="0.001654"/>
</kw>
<msg time="2026-04-26T00:21:58.950205" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:21:58.939229" elapsed="0.011023"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:21:58.938826" elapsed="0.011504"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:21:58.951037" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:21:58.951084" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:21:58.950776" elapsed="0.000332"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.954050" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:58.953408" elapsed="0.000670"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.954579" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:58.954245" elapsed="0.000361"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:21:58.954655" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:21:58.954826" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:21:58.953031" elapsed="0.001821"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:21:58.955008" elapsed="0.000162"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.955694" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:21:58.955332" elapsed="0.000390"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.956143" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:58.955893" elapsed="0.000276"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.956579" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:21:58.956319" elapsed="0.000286"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.957018" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.957281" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:58.957130" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.957522" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:58.957361" elapsed="0.000216"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.957745" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:21:58.957601" elapsed="0.000200"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:21:58.957110" elapsed="0.000718"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:21:58.956845" elapsed="0.001008"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:58.956652" elapsed="0.001228"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:21:58.957921" elapsed="0.000027"/>
</return>
<msg time="2026-04-26T00:21:58.958124" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:21:58.958172" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:21:58.952275" elapsed="0.005921"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.958711" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:21:58.958789" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:21:58.958396" elapsed="0.000420"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:21:58.959410" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:21:58.959115" elapsed="0.000404">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:21:58.958893" elapsed="0.000695">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:21:58.958874" elapsed="0.000745">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.959775" elapsed="0.000057"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.960000" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:21:58.960068" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:21:58.951404" elapsed="0.008772">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.960352" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.960538" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:21:58.960709" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:21:58.950619" elapsed="0.010167">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:21:58.950424" elapsed="0.010420">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:21:58.960907" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:21:58.924490" elapsed="0.036519">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:08.979810" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:08.979417" elapsed="0.000427"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:09.000333" elapsed="0.000261"/>
</kw>
<msg time="2026-04-26T00:22:09.000650" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:08.999388" elapsed="0.001327"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:08.998917" elapsed="0.001878"/>
</kw>
<msg time="2026-04-26T00:22:09.000844" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:08.989650" elapsed="0.011238"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:08.989235" elapsed="0.011726"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:09.001595" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:09.001641" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:09.001335" elapsed="0.000328"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.004346" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:09.003948" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.004838" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:09.004549" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:09.004911" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:22:09.005075" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:09.003580" elapsed="0.001520"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:09.005251" elapsed="0.000154"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.005908" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:09.005578" elapsed="0.000356"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.006326" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:09.006089" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.006855" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:09.006599" elapsed="0.000288"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.007293" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.007572" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:09.007405" elapsed="0.000223"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.007795" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:09.007654" elapsed="0.000193"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.008012" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:09.007871" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:09.007384" elapsed="0.000702"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:09.007127" elapsed="0.000982"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:09.006939" elapsed="0.001197"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:09.008181" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:22:09.008380" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:09.008425" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:09.002821" elapsed="0.005628"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.008923" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:09.009000" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:09.008646" elapsed="0.000378"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:09.009616" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:09.009310" elapsed="0.000392">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:09.009093" elapsed="0.000676">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:09.009074" elapsed="0.000727">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.009955" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.010126" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:09.010191" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:09.001975" elapsed="0.008321">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.010468" elapsed="0.000036"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.010655" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:09.010820" elapsed="0.000032"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:09.001193" elapsed="0.009711">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:09.001022" elapsed="0.009938">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:09.011010" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:08.973426" elapsed="0.037678">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.028576" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:19.028184" elapsed="0.000428"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:19.048701" elapsed="0.000245"/>
</kw>
<msg time="2026-04-26T00:22:19.049005" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:19.048018" elapsed="0.001117"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:19.047544" elapsed="0.001677"/>
</kw>
<msg time="2026-04-26T00:22:19.049270" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:19.038421" elapsed="0.010893"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:19.038030" elapsed="0.011358"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:19.050050" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:19.050098" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:19.049790" elapsed="0.000331"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.052848" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:19.052434" elapsed="0.000441"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.053342" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:19.053035" elapsed="0.000333"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:19.053418" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:22:19.053600" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:19.052053" elapsed="0.001572"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:19.053779" elapsed="0.000156"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.054439" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:19.054097" elapsed="0.000368"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.054882" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:19.054643" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.055328" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:19.055055" elapsed="0.000301"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.055778" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.056038" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:19.055889" elapsed="0.000203"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.056268" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:19.056117" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.056506" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:19.056346" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:19.055869" elapsed="0.000712"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:19.055609" elapsed="0.000996"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:19.055406" elapsed="0.001225"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:19.056671" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:22:19.056870" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:19.056917" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:19.051313" elapsed="0.005628"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.057587" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:19.057668" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:19.057110" elapsed="0.000582"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:19.058362" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:19.058030" elapsed="0.000418">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:19.057806" elapsed="0.000729">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:19.057787" elapsed="0.000782">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.058725" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.058901" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:19.058967" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:19.050415" elapsed="0.008657">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.059299" elapsed="0.000033"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.059500" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:19.059667" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:19.049646" elapsed="0.010094">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:19.049452" elapsed="0.010344">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:19.059848" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:19.023887" elapsed="0.036055">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.078951" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:29.078575" elapsed="0.000410"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:29.098954" elapsed="0.000242"/>
</kw>
<msg time="2026-04-26T00:22:29.099251" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:29.098281" elapsed="0.001037"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:29.097822" elapsed="0.001578"/>
</kw>
<msg time="2026-04-26T00:22:29.099446" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:29.088808" elapsed="0.010699"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:29.088405" elapsed="0.011178"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:29.100234" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:29.100279" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:29.099989" elapsed="0.000313"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.103002" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:29.102607" elapsed="0.000422"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.103493" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:29.103190" elapsed="0.000330"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:29.103568" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:22:29.103739" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:29.102177" elapsed="0.001587"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:29.103924" elapsed="0.000236"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.104870" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:29.104323" elapsed="0.000574"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.105298" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:29.105058" elapsed="0.000266"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.105730" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:29.105489" elapsed="0.000267"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.106152" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.106410" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:29.106262" elapsed="0.000203"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.106649" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:29.106507" elapsed="0.000196"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.106871" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:29.106726" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:29.106243" elapsed="0.000703"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:29.105984" elapsed="0.000986"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:29.105803" elapsed="0.001194"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:29.107038" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:22:29.107238" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:29.107283" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:29.101446" elapsed="0.005860"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.107787" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:29.107863" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:29.107490" elapsed="0.000396"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:29.108448" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:29.108170" elapsed="0.000379">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:29.107955" elapsed="0.000661">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:29.107937" elapsed="0.000709">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.108797" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.108969" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:29.109034" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:29.100618" elapsed="0.008519">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.109308" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.109484" elapsed="0.000023"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:29.109653" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:29.099844" elapsed="0.009879">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:29.099653" elapsed="0.010125">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:29.109828" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:29.074230" elapsed="0.035689">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.129813" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:39.129418" elapsed="0.000522"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:39.153620" elapsed="0.000253"/>
</kw>
<msg time="2026-04-26T00:22:39.153929" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:39.152933" elapsed="0.001070"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:39.152428" elapsed="0.001657"/>
</kw>
<msg time="2026-04-26T00:22:39.154135" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:39.143023" elapsed="0.011156"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:39.142539" elapsed="0.011717"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:39.154906" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:39.154956" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:39.154648" elapsed="0.000334"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.157942" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:39.157535" elapsed="0.000435"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.158424" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:39.158134" elapsed="0.000316"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:39.158520" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:22:39.158682" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:39.157123" elapsed="0.001585"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:39.158874" elapsed="0.000161"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.159556" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:39.159198" elapsed="0.000386"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.159999" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:39.159742" elapsed="0.000284"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.160438" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:39.160190" elapsed="0.000280"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.160903" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.161170" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:39.161020" elapsed="0.000205"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.161389" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:39.161249" elapsed="0.000194"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.161631" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:39.161466" elapsed="0.000231"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:39.161000" elapsed="0.000721"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:39.160722" elapsed="0.001025"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:39.160538" elapsed="0.001242"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:39.161829" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:22:39.162072" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:39.162129" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:39.156144" elapsed="0.006014"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.162788" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:39.162884" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:39.162425" elapsed="0.000488"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:39.163540" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:39.163222" elapsed="0.000413">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:39.162983" elapsed="0.000720">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:39.162965" elapsed="0.000770">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.163902" elapsed="0.000024"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.164087" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:39.164154" elapsed="0.000042"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:39.155285" elapsed="0.009013">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.164500" elapsed="0.000024"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.164671" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:39.164848" elapsed="0.000022"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:39.154503" elapsed="0.010419">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:39.154317" elapsed="0.010665">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:39.165033" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:39.123198" elapsed="0.041929">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.184755" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:49.184207" elapsed="0.000594"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:49.209196" elapsed="0.000449"/>
</kw>
<msg time="2026-04-26T00:22:49.209706" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:49.208282" elapsed="0.001497"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:49.207751" elapsed="0.002120"/>
</kw>
<msg time="2026-04-26T00:22:49.209923" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:49.194938" elapsed="0.015034"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:49.194543" elapsed="0.015512"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:49.210800" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:49.210851" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:49.210517" elapsed="0.000360"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.214010" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:49.213576" elapsed="0.000464"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.214572" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:49.214224" elapsed="0.000377"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:49.214655" elapsed="0.000037"/>
</return>
<msg time="2026-04-26T00:22:49.214840" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:49.213106" elapsed="0.001761"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:49.215143" elapsed="0.000177"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.215924" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:49.215531" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.216424" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:49.216145" elapsed="0.000308"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.216926" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:49.216658" elapsed="0.000296"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.217437" elapsed="0.000055"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.217787" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:49.217608" elapsed="0.000246"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.218051" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:49.217884" elapsed="0.000232"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.218320" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:49.218142" elapsed="0.000237"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:49.217586" elapsed="0.000818"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:49.217242" elapsed="0.001190"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:49.217007" elapsed="0.001457"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:49.218547" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:22:49.218796" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:49.218847" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:49.212227" elapsed="0.006649"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.219413" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:49.219527" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:49.219084" elapsed="0.000471"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:49.220222" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:49.219892" elapsed="0.000419">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:49.219642" elapsed="0.001018">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:49.219618" elapsed="0.001097">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.220907" elapsed="0.000029"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.221110" elapsed="0.000023"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:49.221187" elapsed="0.000017"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:49.211216" elapsed="0.010097">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.221561" elapsed="0.000025"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.221751" elapsed="0.000024"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:49.221940" elapsed="0.000022"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:49.210319" elapsed="0.011705">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:49.210125" elapsed="0.011960">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:49.222141" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:49.178237" elapsed="0.044012">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.241035" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:22:59.240665" elapsed="0.000404"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:22:59.269285" elapsed="0.000248"/>
</kw>
<msg time="2026-04-26T00:22:59.269587" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:59.268612" elapsed="0.001034"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:59.268127" elapsed="0.001599"/>
</kw>
<msg time="2026-04-26T00:22:59.269773" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:22:59.250949" elapsed="0.018868"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:22:59.250559" elapsed="0.019333"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:22:59.270511" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:22:59.270558" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:22:59.270257" elapsed="0.000325"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.273230" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:59.272838" elapsed="0.000449"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.273771" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:59.273462" elapsed="0.000335"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:22:59.273845" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:22:59.274003" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:22:59.272440" elapsed="0.001587"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:22:59.274183" elapsed="0.000153"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.274844" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:22:59.274512" elapsed="0.000358"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.275261" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:59.275027" elapsed="0.000260"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.275685" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:22:59.275432" elapsed="0.000279"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.276282" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.276554" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:59.276390" elapsed="0.000221"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.276777" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:59.276636" elapsed="0.000194"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.276993" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:22:59.276853" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:22:59.276371" elapsed="0.000695"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:22:59.276113" elapsed="0.000977"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:59.275756" elapsed="0.001359"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:22:59.277154" elapsed="0.000027"/>
</return>
<msg time="2026-04-26T00:22:59.277364" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:22:59.277411" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:22:59.271726" elapsed="0.005707"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.277935" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:22:59.278011" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:22:59.277661" elapsed="0.000374"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:22:59.278610" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:22:59.278318" elapsed="0.000363">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:22:59.278103" elapsed="0.000643">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:22:59.278086" elapsed="0.000691">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.278930" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.279102" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:22:59.279167" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:22:59.270876" elapsed="0.008395">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.279441" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.279621" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:22:59.279786" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:22:59.270117" elapsed="0.009739">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:22:59.269952" elapsed="0.009957">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:22:59.279959" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:22:59.236277" elapsed="0.043775">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.298414" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:09.298046" elapsed="0.000404"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:09.318390" elapsed="0.000252"/>
</kw>
<msg time="2026-04-26T00:23:09.318697" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:09.317742" elapsed="0.001017"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:09.317266" elapsed="0.001572"/>
</kw>
<msg time="2026-04-26T00:23:09.318885" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:09.308259" elapsed="0.010669"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:09.307868" elapsed="0.011134"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:09.319670" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:09.319715" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:09.319410" elapsed="0.000327"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.324175" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:09.322014" elapsed="0.002189"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.324680" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:09.324365" elapsed="0.000341"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:09.324817" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:23:09.324979" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:09.321634" elapsed="0.003370"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:09.325157" elapsed="0.000154"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.325823" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:09.325486" elapsed="0.000363"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.326244" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:09.326007" elapsed="0.000263"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.326668" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:09.326415" elapsed="0.000279"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.327112" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.327368" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:09.327221" elapsed="0.000201"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.327613" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:09.327448" elapsed="0.000219"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.327831" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:09.327691" elapsed="0.000190"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:09.327201" elapsed="0.000703"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:09.326921" elapsed="0.001006"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:09.326739" elapsed="0.001214"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:09.327994" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:23:09.328192" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:09.328237" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:09.320886" elapsed="0.007374"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.328714" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:09.328790" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:09.328427" elapsed="0.000386"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:09.329371" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:09.329095" elapsed="0.000349">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:09.328881" elapsed="0.000648">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:09.328863" elapsed="0.000699">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.329719" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.329890" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:09.329955" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:09.320027" elapsed="0.010030">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.330226" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.330389" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:09.330570" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:09.319263" elapsed="0.011380">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:09.319089" elapsed="0.011647">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:09.330789" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:09.293030" elapsed="0.037852">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.349468" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:19.349104" elapsed="0.000419"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:19.369729" elapsed="0.000238"/>
</kw>
<msg time="2026-04-26T00:23:19.370020" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:19.369057" elapsed="0.001027"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:19.368584" elapsed="0.001579"/>
</kw>
<msg time="2026-04-26T00:23:19.370209" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:19.359327" elapsed="0.010925"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:19.358935" elapsed="0.011390"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:19.370955" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:19.371000" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:19.370716" elapsed="0.000307"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.373667" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:19.373264" elapsed="0.000430"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.374167" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:19.373864" elapsed="0.000330"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:19.374241" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:23:19.374400" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:19.372895" elapsed="0.001530"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:19.374599" elapsed="0.000156"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.375248" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:19.374914" elapsed="0.000361"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.375691" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:19.375432" elapsed="0.000285"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.376155" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:19.375877" elapsed="0.000304"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.376605" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.376870" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:19.376715" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.377089" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:19.376949" elapsed="0.000191"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.377303" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:19.377162" elapsed="0.000190"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:19.376695" elapsed="0.000679"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:19.376420" elapsed="0.001042"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:19.376228" elapsed="0.001279"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:19.377549" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:23:19.377750" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:19.377796" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:19.372144" elapsed="0.005676"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.378313" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:19.378390" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:19.377990" elapsed="0.000425"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:19.379000" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:19.378724" elapsed="0.000350">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:19.378504" elapsed="0.000635">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:19.378483" elapsed="0.000687">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.379324" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.379514" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:19.379580" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:19.371308" elapsed="0.008376">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.379856" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.380018" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:19.380181" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:19.370573" elapsed="0.009677">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:19.370386" elapsed="0.009919">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:19.380355" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:19.343179" elapsed="0.037282">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.399185" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:29.398810" elapsed="0.000411"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:29.419290" elapsed="0.000293"/>
</kw>
<msg time="2026-04-26T00:23:29.419639" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:29.418639" elapsed="0.001064"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:29.418156" elapsed="0.001627"/>
</kw>
<msg time="2026-04-26T00:23:29.419829" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:29.409110" elapsed="0.010762"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:29.408717" elapsed="0.011228"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:29.420605" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:29.420650" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:29.420318" elapsed="0.000354"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.423403" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:29.422984" elapsed="0.000452"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.423912" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:29.423618" elapsed="0.000320"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:29.424013" elapsed="0.000041"/>
</return>
<msg time="2026-04-26T00:23:29.424203" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:29.422612" elapsed="0.001617"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:29.424390" elapsed="0.000178"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.425073" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:29.424733" elapsed="0.000367"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.425523" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:29.425262" elapsed="0.000288"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.425944" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:29.425703" elapsed="0.000268"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.426371" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.426650" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:29.426496" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.426877" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:29.426734" elapsed="0.000197"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.427106" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:29.426955" elapsed="0.000203"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:29.426461" elapsed="0.000721"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:29.426202" elapsed="0.001005"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:29.426017" elapsed="0.001216"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:29.427274" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:23:29.427535" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:29.427583" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:29.421878" elapsed="0.005729"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.428063" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:29.428140" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:29.427784" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:29.428944" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:29.428655" elapsed="0.000363">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:29.428234" elapsed="0.000857">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:29.428216" elapsed="0.000909">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.429284" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.429462" elapsed="0.000038"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:29.429548" elapsed="0.000017"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:29.421038" elapsed="0.008617">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.429831" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.430038" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:29.430206" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:29.420177" elapsed="0.010101">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:29.420006" elapsed="0.010328">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:29.430385" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:29.394467" elapsed="0.036030">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.449952" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:39.449450" elapsed="0.000547"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:39.470162" elapsed="0.000235"/>
</kw>
<msg time="2026-04-26T00:23:39.470450" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:39.469461" elapsed="0.001070"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:39.468961" elapsed="0.001651"/>
</kw>
<msg time="2026-04-26T00:23:39.470658" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:39.459917" elapsed="0.010785"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:39.459525" elapsed="0.011251"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:39.471401" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:39.471449" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:39.471163" elapsed="0.000327"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.474221" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:39.473829" elapsed="0.000419"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.474727" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:39.474409" elapsed="0.000347"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:39.474805" elapsed="0.000039"/>
</return>
<msg time="2026-04-26T00:23:39.474972" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:39.473432" elapsed="0.001565"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:39.475151" elapsed="0.000154"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.475819" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:39.475464" elapsed="0.000382"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.476248" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:39.476006" elapsed="0.000268"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.476889" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:39.476426" elapsed="0.000490"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.477333" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.477620" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:39.477443" elapsed="0.000234"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.477916" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:39.477704" elapsed="0.000272"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.478147" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:39.478000" elapsed="0.000201"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:39.477423" elapsed="0.000801"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:39.477164" elapsed="0.001084"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:39.476963" elapsed="0.001311"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:39.478314" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:23:39.478538" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:39.478586" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:39.472672" elapsed="0.005938"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.479062" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:39.479143" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:39.478784" elapsed="0.000384"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:39.479810" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:39.479469" elapsed="0.000424">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:39.479237" elapsed="0.000724">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:39.479219" elapsed="0.000774">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.480148" elapsed="0.000024"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.480327" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:39.480394" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:39.471793" elapsed="0.008723">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.480692" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.480856" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:39.481023" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:39.471018" elapsed="0.010075">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:39.470836" elapsed="0.010341">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:39.481230" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:39.443449" elapsed="0.037875">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.500873" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:49.500499" elapsed="0.000409"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:49.520982" elapsed="0.000235"/>
</kw>
<msg time="2026-04-26T00:23:49.521269" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:49.520271" elapsed="0.001058"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:49.519811" elapsed="0.001597"/>
</kw>
<msg time="2026-04-26T00:23:49.521455" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:49.510803" elapsed="0.010712"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:49.510386" elapsed="0.011203"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:49.522324" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:49.522371" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:49.522046" elapsed="0.000348"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.525276" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:49.524880" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.525782" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:49.525486" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:49.525856" elapsed="0.000031"/>
</return>
<msg time="2026-04-26T00:23:49.526013" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:49.524276" elapsed="0.001762"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:49.526193" elapsed="0.000183"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.526898" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:49.526559" elapsed="0.000366"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.527327" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:49.527086" elapsed="0.000267"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.527762" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:49.527522" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.528183" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.528443" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:49.528292" elapsed="0.000237"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.528726" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:49.528560" elapsed="0.000220"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.528946" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:49.528803" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:49.528273" elapsed="0.000746"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:49.528017" elapsed="0.001025"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:49.527835" elapsed="0.001231"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:49.529106" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:23:49.529305" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:49.529351" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:49.523554" elapsed="0.005821"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.529835" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:49.529912" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:49.529563" elapsed="0.000374"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:49.530554" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:49.530252" elapsed="0.000376">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:49.530005" elapsed="0.000687">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:49.529988" elapsed="0.000735">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.530879" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.531052" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:49.531117" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:49.522704" elapsed="0.008554">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.531435" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.531620" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:49.531788" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:49.521905" elapsed="0.009954">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:49.521734" elapsed="0.010181">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:49.531967" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:49.496145" elapsed="0.035916">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.550982" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:23:59.550575" elapsed="0.000467"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:23:59.571861" elapsed="0.000273"/>
</kw>
<msg time="2026-04-26T00:23:59.572190" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:59.571154" elapsed="0.001103"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:59.570645" elapsed="0.001694"/>
</kw>
<msg time="2026-04-26T00:23:59.572387" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:23:59.561186" elapsed="0.011244"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:23:59.560769" elapsed="0.011754"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:23:59.573200" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:23:59.573248" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:23:59.572931" elapsed="0.000341"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.576072" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:59.575670" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.576567" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:59.576261" elapsed="0.000332"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:23:59.576641" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:23:59.576803" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:23:59.575282" elapsed="0.001545"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:23:59.576979" elapsed="0.000155"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.577642" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:23:59.577293" elapsed="0.000375"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.578061" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:59.577826" elapsed="0.000260"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.578465" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:23:59.578232" elapsed="0.000275"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.578921" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.579309" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:59.579156" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.579550" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:59.579390" elapsed="0.000216"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.579773" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:23:59.579629" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:23:59.579132" elapsed="0.000715"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:23:59.578748" elapsed="0.001124"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:59.578556" elapsed="0.001342"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:23:59.579939" elapsed="0.000039"/>
</return>
<msg time="2026-04-26T00:23:59.580177" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:23:59.580224" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:23:59.574557" elapsed="0.005689"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.580722" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:23:59.580798" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:23:59.580419" elapsed="0.000403"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:23:59.581426" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:23:59.581133" elapsed="0.000389">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:23:59.580891" elapsed="0.000701">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:23:59.580873" elapsed="0.000751">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.581778" elapsed="0.000023"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.581969" elapsed="0.000027"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:23:59.582044" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:23:59.573648" elapsed="0.008504">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.582328" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.582512" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:23:59.582680" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:23:59.572784" elapsed="0.009966">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:23:59.572587" elapsed="0.010220">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:23:59.582858" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:23:59.546190" elapsed="0.036763">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.603090" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:09.602589" elapsed="0.000535"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:09.623304" elapsed="0.000252"/>
</kw>
<msg time="2026-04-26T00:24:09.623613" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:09.622648" elapsed="0.001026"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:09.622091" elapsed="0.001661"/>
</kw>
<msg time="2026-04-26T00:24:09.623884" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:09.612998" elapsed="0.010931"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:09.612604" elapsed="0.011400"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:09.624636" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:09.624682" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:09.624378" elapsed="0.000327"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.627358" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:09.626970" elapsed="0.000414"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.627854" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:09.627561" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:09.627932" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:24:09.628091" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:09.626600" elapsed="0.001515"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:09.628266" elapsed="0.000152"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.628924" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:09.628593" elapsed="0.000357"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.629341" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:09.629106" elapsed="0.000260"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.629766" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:09.629530" elapsed="0.000262"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.630227" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.630508" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:09.630338" elapsed="0.000227"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.630736" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:09.630590" elapsed="0.000200"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.630953" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:09.630812" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:09.630318" elapsed="0.000707"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:09.630057" elapsed="0.000992"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:09.629837" elapsed="0.001238"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:09.631114" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:24:09.631313" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:09.631358" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:09.625845" elapsed="0.005536"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.632019" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:09.632097" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:09.631572" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:09.632701" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:09.632404" elapsed="0.000371">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:09.632189" elapsed="0.000652">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:09.632171" elapsed="0.000702">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.633027" elapsed="0.000053"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.633238" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:09.633304" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:09.625000" elapsed="0.008409">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.633598" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.633762" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:09.633925" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:09.624238" elapsed="0.009767">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:09.624067" elapsed="0.009994">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:09.634120" elapsed="0.000017"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:09.596550" elapsed="0.037673">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.655209" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:19.654657" elapsed="0.000599"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:19.675403" elapsed="0.000253"/>
</kw>
<msg time="2026-04-26T00:24:19.675710" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:19.674730" elapsed="0.001044"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:19.674252" elapsed="0.001600"/>
</kw>
<msg time="2026-04-26T00:24:19.675898" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:19.665261" elapsed="0.010680"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:19.664869" elapsed="0.011145"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:19.676652" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:19.676697" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:19.676395" elapsed="0.000324"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.679378" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:19.678941" elapsed="0.000464"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.679917" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:19.679620" elapsed="0.000324"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:19.679995" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:24:19.680155" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:19.678571" elapsed="0.001609"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:19.680334" elapsed="0.000173"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.681207" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:19.680668" elapsed="0.000567"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.681661" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:19.681395" elapsed="0.000293"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.682159" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:19.681913" elapsed="0.000272"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.682601" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.682865" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:19.682714" elapsed="0.000207"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.686295" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:19.682946" elapsed="0.003443"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.686584" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:19.686418" elapsed="0.000218"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:19.682692" elapsed="0.003967"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:19.682414" elapsed="0.004275"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:19.682233" elapsed="0.004483"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:19.686766" elapsed="0.000043"/>
</return>
<msg time="2026-04-26T00:24:19.687028" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:19.687076" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:19.677842" elapsed="0.009258"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.687579" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:19.687657" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:19.687272" elapsed="0.000409"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:19.688249" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:19.687970" elapsed="0.000351">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:19.687751" elapsed="0.000635">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:19.687733" elapsed="0.000684">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.688587" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.688761" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:19.688826" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:19.677007" elapsed="0.011923">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.689111" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.689274" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:19.689438" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:19.676256" elapsed="0.013268">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:19.676076" elapsed="0.013503">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:19.689629" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:19.648562" elapsed="0.041167">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.708887" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:29.708498" elapsed="0.000424"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:29.728861" elapsed="0.000243"/>
</kw>
<msg time="2026-04-26T00:24:29.729158" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:29.728162" elapsed="0.001163"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:29.727694" elapsed="0.001716"/>
</kw>
<msg time="2026-04-26T00:24:29.729456" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:29.718669" elapsed="0.010851"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:29.718264" elapsed="0.011331"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:29.730209" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:29.730254" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:29.729970" elapsed="0.000306"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.733158" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:29.732773" elapsed="0.000412"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.733657" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:29.733350" elapsed="0.000333"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:29.733730" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:24:29.733891" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:29.732381" elapsed="0.001535"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:29.734066" elapsed="0.000151"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.734726" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:29.734375" elapsed="0.000378"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.735169" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:29.734910" elapsed="0.000288"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.735603" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:29.735346" elapsed="0.000283"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.736029" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.736287" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:29.736138" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.736527" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:29.736370" elapsed="0.000212"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.736746" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:29.736605" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:29.736118" elapsed="0.000701"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:29.735861" elapsed="0.000982"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:29.735675" elapsed="0.001194"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:29.736909" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:24:29.737106" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:29.737152" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:29.731436" elapsed="0.005739"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.737642" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:29.737718" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:29.737345" elapsed="0.000397"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:29.738341" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:29.738064" elapsed="0.000352">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:29.737847" elapsed="0.000653">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:29.737828" elapsed="0.000705">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.738687" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.738861" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:29.738927" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:29.730586" elapsed="0.008445">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.739219" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.739383" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:29.739565" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:29.729829" elapsed="0.009808">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:29.729656" elapsed="0.010034">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:29.739740" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:29.702497" elapsed="0.037335">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.758037" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:39.757655" elapsed="0.000416"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:39.778255" elapsed="0.000259"/>
</kw>
<msg time="2026-04-26T00:24:39.778568" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:39.777612" elapsed="0.001019"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:39.777134" elapsed="0.001576"/>
</kw>
<msg time="2026-04-26T00:24:39.778755" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:39.768105" elapsed="0.010691"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:39.767681" elapsed="0.011189"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:39.779503" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:39.779550" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:39.779236" elapsed="0.000337"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.782329" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:39.781932" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.782831" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:39.782532" elapsed="0.000326"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:39.782907" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:24:39.783066" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:39.781455" elapsed="0.001635"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:39.783249" elapsed="0.000249"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.784085" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:39.783662" elapsed="0.000451"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.784536" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:39.784274" elapsed="0.000293"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.784950" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:39.784716" elapsed="0.000259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.785366" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.785640" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:39.785491" elapsed="0.000204"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.785869" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:39.785720" elapsed="0.000203"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.786086" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:39.785946" elapsed="0.000190"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:39.785454" elapsed="0.000704"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:39.785199" elapsed="0.000983"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:39.785021" elapsed="0.001187"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:39.786248" elapsed="0.000036"/>
</return>
<msg time="2026-04-26T00:24:39.786454" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:39.786518" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:39.780738" elapsed="0.005804"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.786982" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:39.787057" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:39.786711" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:39.787658" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:39.787363" elapsed="0.000401">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:39.787148" elapsed="0.002239">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:39.787130" elapsed="0.002294">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.789599" elapsed="0.000023"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.789776" elapsed="0.000027"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:39.789848" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:39.779895" elapsed="0.010057">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.790125" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.790289" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:39.790452" elapsed="0.000036"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:39.779097" elapsed="0.011443">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:39.778931" elapsed="0.011664">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:39.790646" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:39.751976" elapsed="0.038763">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.809487" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:49.809024" elapsed="0.000602"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:49.829913" elapsed="0.000247"/>
</kw>
<msg time="2026-04-26T00:24:49.830216" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:49.829228" elapsed="0.001054"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:49.828721" elapsed="0.001644"/>
</kw>
<msg time="2026-04-26T00:24:49.830412" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:49.819545" elapsed="0.010909"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:49.819136" elapsed="0.011412"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:49.831168" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:49.831213" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:49.830921" elapsed="0.000315"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.833974" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:49.833587" elapsed="0.000414"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.834449" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:49.834161" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:49.834543" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:24:49.834703" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:49.833118" elapsed="0.001609"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:49.834881" elapsed="0.000160"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.835549" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:49.835200" elapsed="0.000376"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.835978" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:49.835741" elapsed="0.000263"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.836423" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:49.836149" elapsed="0.000300"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.837039" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.837369" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:49.837180" elapsed="0.000256"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.837638" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:49.837466" elapsed="0.000227"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.837858" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:49.837716" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:49.837130" elapsed="0.000802"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:49.836690" elapsed="0.001268"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:49.836510" elapsed="0.001478"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:49.838028" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:24:49.838230" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:49.838276" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:49.832383" elapsed="0.005916"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.838799" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:49.838876" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:49.838524" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:49.839464" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:49.839185" elapsed="0.000371">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:49.838968" elapsed="0.000654">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:49.838950" elapsed="0.000703">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.839806" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.839980" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:49.840046" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:49.831550" elapsed="0.008598">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.840319" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.840499" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:49.840666" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:49.830782" elapsed="0.009955">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:49.830610" elapsed="0.010180">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:49.840839" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:49.804617" elapsed="0.036313">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.860175" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:24:59.859783" elapsed="0.000444"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:24:59.880202" elapsed="0.000236"/>
</kw>
<msg time="2026-04-26T00:24:59.880510" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:59.879550" elapsed="0.001033"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:59.879070" elapsed="0.001594"/>
</kw>
<msg time="2026-04-26T00:24:59.880712" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:24:59.870041" elapsed="0.010715"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:24:59.869650" elapsed="0.011179"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:24:59.881500" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:24:59.881547" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:24:59.881206" elapsed="0.000364"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.884230" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:59.883849" elapsed="0.000408"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.884727" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:59.884423" elapsed="0.000330"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:24:59.884802" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:24:59.884962" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:24:59.883456" elapsed="0.001530"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:24:59.885221" elapsed="0.000382"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.886101" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:24:59.885767" elapsed="0.000360"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.886553" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:59.886287" elapsed="0.000292"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.886978" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:24:59.886740" elapsed="0.000263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.887398" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.887676" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:59.887526" elapsed="0.000205"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.887897" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:59.887757" elapsed="0.000194"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.888115" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:24:59.887974" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:24:59.887504" elapsed="0.000684"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:24:59.887231" elapsed="0.000981"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:59.887050" elapsed="0.001189"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:24:59.888280" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:24:59.888501" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:24:59.888549" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:24:59.882729" elapsed="0.005843"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.889033" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:24:59.889110" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:24:59.888742" elapsed="0.000392"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:24:59.889722" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:24:59.889422" elapsed="0.000375">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:24:59.889204" elapsed="0.000658">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:24:59.889185" elapsed="0.000708">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.890047" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.890220" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:24:59.890284" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:24:59.881862" elapsed="0.008527">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.890578" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.890773" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:24:59.890941" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:24:59.881063" elapsed="0.009951">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:24:59.880890" elapsed="0.010178">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:24:59.891118" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:24:59.853835" elapsed="0.037375">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.911366" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:25:09.910989" elapsed="0.000414"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:25:09.933667" elapsed="0.000265"/>
</kw>
<msg time="2026-04-26T00:25:09.933993" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:09.932993" elapsed="0.001067"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:09.932524" elapsed="0.001619"/>
</kw>
<msg time="2026-04-26T00:25:09.934201" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:09.923487" elapsed="0.010807"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:09.923075" elapsed="0.011312"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:25:09.935039" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:25:09.935086" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:25:09.934792" elapsed="0.000317"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.938069" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:09.937671" elapsed="0.000426"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.938593" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:09.938281" elapsed="0.000340"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:25:09.938669" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:25:09.938829" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:25:09.937264" elapsed="0.001591"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:25:09.939008" elapsed="0.000156"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.939673" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:09.939323" elapsed="0.000377"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.940094" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:09.939857" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.940518" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:09.940265" elapsed="0.000279"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.940942" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.941202" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:09.941052" elapsed="0.000204"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.941422" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:09.941282" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.941665" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:09.941516" elapsed="0.000207"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:25:09.941031" elapsed="0.000714"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:25:09.940775" elapsed="0.000995"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:09.940591" elapsed="0.001204"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:25:09.941836" elapsed="0.000027"/>
</return>
<msg time="2026-04-26T00:25:09.942033" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:25:09.942078" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:25:09.936274" elapsed="0.005827"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.942652" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:25:09.942729" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:25:09.942350" elapsed="0.000404"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:25:09.943319" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:25:09.943040" elapsed="0.000355">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:25:09.942823" elapsed="0.000640">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:25:09.942805" elapsed="0.000709">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.943671" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.943846" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:09.943912" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:25:09.935408" elapsed="0.008607">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.944187" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.944349" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:09.944529" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:25:09.934649" elapsed="0.009951">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:25:09.934453" elapsed="0.010202">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:25:09.944711" elapsed="0.000014"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:25:09.904611" elapsed="0.040208">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.964852" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:25:19.964278" elapsed="0.000621"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:25:19.985339" elapsed="0.000256"/>
</kw>
<msg time="2026-04-26T00:25:19.985651" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:19.984682" elapsed="0.001032"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:19.984156" elapsed="0.001637"/>
</kw>
<msg time="2026-04-26T00:25:19.985841" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:19.974804" elapsed="0.011080"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:19.974395" elapsed="0.011563"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:25:19.986591" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:25:19.986636" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:25:19.986332" elapsed="0.000326"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.989305" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:19.988922" elapsed="0.000410"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.989794" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:19.989508" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:25:19.989947" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:25:19.990109" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:25:19.988521" elapsed="0.001613"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:25:19.990286" elapsed="0.000156"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.990953" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:19.990621" elapsed="0.000357"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.991374" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:19.991137" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.991803" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:19.991564" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.992225" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.992502" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:19.992336" elapsed="0.000223"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.992738" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:19.992585" elapsed="0.000207"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.992957" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:19.992815" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:25:19.992315" elapsed="0.000714"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:25:19.992058" elapsed="0.000996"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:19.991876" elapsed="0.001205"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:25:19.993121" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:25:19.993320" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:25:19.993366" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:25:19.987794" elapsed="0.005595"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.993865" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:25:19.993941" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:25:19.993578" elapsed="0.000387"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:25:19.994546" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:25:19.994249" elapsed="0.000372">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:25:19.994032" elapsed="0.000655">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:25:19.994014" elapsed="0.000704">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.994871" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.995046" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:19.995112" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:25:19.986948" elapsed="0.008268">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.995389" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.995568" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:19.995734" elapsed="0.000026"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:25:19.986192" elapsed="0.009619">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:25:19.986019" elapsed="0.009885">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:25:19.995957" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:25:19.958242" elapsed="0.037812">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.015680" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:25:30.015241" elapsed="0.000475"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:25:30.036539" elapsed="0.000256"/>
</kw>
<msg time="2026-04-26T00:25:30.036850" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:30.035804" elapsed="0.001114"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:30.035265" elapsed="0.001736"/>
</kw>
<msg time="2026-04-26T00:25:30.037049" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:30.025927" elapsed="0.011166"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:30.025518" elapsed="0.011649"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:25:30.037870" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:25:30.037916" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:25:30.037618" elapsed="0.000322"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.040836" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:30.040369" elapsed="0.000495"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.041322" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:30.041027" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:25:30.041399" elapsed="0.000035"/>
</return>
<msg time="2026-04-26T00:25:30.041628" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:25:30.039986" elapsed="0.001671"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:25:30.041814" elapsed="0.000159"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.042507" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:30.042131" elapsed="0.000455"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.043008" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:30.042759" elapsed="0.000276"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.043423" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:30.043184" elapsed="0.000264"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.043917" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.044193" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:30.044041" elapsed="0.000209"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.044416" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:30.044275" elapsed="0.000210"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.044700" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:30.044524" elapsed="0.000235"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:25:30.044012" elapsed="0.000770"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:25:30.043744" elapsed="0.001130"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:30.043531" elapsed="0.001374"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:25:30.044949" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:25:30.045155" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:25:30.045202" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:25:30.039177" elapsed="0.006049"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.045938" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:25:30.046020" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:25:30.045399" elapsed="0.000645"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:25:30.046701" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:25:30.046340" elapsed="0.000447">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:25:30.046117" elapsed="0.000741">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:25:30.046097" elapsed="0.000793">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.047047" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.047222" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:30.047288" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:25:30.038235" elapsed="0.009160">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.047601" elapsed="0.000027"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.047801" elapsed="0.000023"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:30.047969" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:25:30.037442" elapsed="0.010599">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:25:30.037230" elapsed="0.010868">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:25:30.048148" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:25:30.010716" elapsed="0.037525">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.068516" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:25:40.068117" elapsed="0.000434"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:25:40.091003" elapsed="0.000238"/>
</kw>
<msg time="2026-04-26T00:25:40.091296" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:40.090340" elapsed="0.001020"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:40.089868" elapsed="0.001571"/>
</kw>
<msg time="2026-04-26T00:25:40.091503" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:40.080797" elapsed="0.010750"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:40.080380" elapsed="0.011243"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:25:40.092239" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:25:40.092284" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:25:40.091999" elapsed="0.000307"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.095585" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:40.095172" elapsed="0.000441"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.096066" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:40.095779" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:25:40.096141" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:25:40.096302" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:25:40.094790" elapsed="0.001537"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:25:40.096497" elapsed="0.000159"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.097371" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:40.096815" elapsed="0.000586"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.097835" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:40.097584" elapsed="0.000278"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.098276" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:40.098011" elapsed="0.000291"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.098733" elapsed="0.000036"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.099009" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:40.098858" elapsed="0.000205"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.099227" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:40.099089" elapsed="0.000191"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.099452" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:40.099302" elapsed="0.000228"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:25:40.098836" elapsed="0.000717"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:25:40.098562" elapsed="0.001017"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:40.098356" elapsed="0.001251"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:25:40.099648" elapsed="0.000030"/>
</return>
<msg time="2026-04-26T00:25:40.099851" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:25:40.099896" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:25:40.093677" elapsed="0.006242"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.100374" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:25:40.100458" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:25:40.100096" elapsed="0.000403"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:25:40.101075" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:25:40.100795" elapsed="0.000356">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:25:40.100571" elapsed="0.000647">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:25:40.100552" elapsed="0.000697">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.101408" elapsed="0.000024"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.101604" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:40.101672" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:25:40.092704" elapsed="0.009074">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.101951" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.102190" elapsed="0.000022"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:40.102358" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:25:40.091858" elapsed="0.010581">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:25:40.091686" elapsed="0.010828">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:25:40.102568" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:25:40.063745" elapsed="0.038916">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.123710" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:25:50.123331" elapsed="0.000413"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:25:50.143687" elapsed="0.000243"/>
</kw>
<msg time="2026-04-26T00:25:50.143983" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:50.143022" elapsed="0.001021"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:50.142562" elapsed="0.001564"/>
</kw>
<msg time="2026-04-26T00:25:50.144171" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:25:50.133602" elapsed="0.010611"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:25:50.133187" elapsed="0.011098"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:25:50.144908" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:25:50.144953" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:25:50.144672" elapsed="0.000303"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.147823" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:50.147409" elapsed="0.000442"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.148301" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:50.148012" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:25:50.148375" elapsed="0.000033"/>
</return>
<msg time="2026-04-26T00:25:50.148553" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:25:50.147032" elapsed="0.001547"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:25:50.148734" elapsed="0.000154"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.149379" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:25:50.149047" elapsed="0.000358"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.149820" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:50.149581" elapsed="0.000265"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.150263" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:25:50.149994" elapsed="0.000294"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.150706" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.150965" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:50.150818" elapsed="0.000200"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.151251" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:50.151043" elapsed="0.000264"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.151488" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:25:50.151330" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:25:50.150796" elapsed="0.000768"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:25:50.150531" elapsed="0.001058"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:50.150334" elapsed="0.001281"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:25:50.151654" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:25:50.151853" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:25:50.151899" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:25:50.146104" elapsed="0.005817"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.152372" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:25:50.152449" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:25:50.152092" elapsed="0.000396"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:25:50.153050" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:25:50.152776" elapsed="0.000345">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:25:50.152558" elapsed="0.000628">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:25:50.152540" elapsed="0.000677">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.153368" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.153560" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:25:50.153627" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:25:50.145261" elapsed="0.008468">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.153903" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.154109" elapsed="0.000024"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:25:50.154291" elapsed="0.000022"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:25:50.144530" elapsed="0.009835">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:25:50.144345" elapsed="0.010080">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:25:50.154496" elapsed="0.000018"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:25:50.119017" elapsed="0.035581">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.183166" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:26:00.182753" elapsed="0.000451"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:26:00.203625" elapsed="0.000257"/>
</kw>
<msg time="2026-04-26T00:26:00.203937" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:00.202914" elapsed="0.001091"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:00.202431" elapsed="0.001657"/>
</kw>
<msg time="2026-04-26T00:26:00.204134" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:00.193360" elapsed="0.010818"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:00.192957" elapsed="0.011293"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:26:00.205000" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:26:00.205045" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:26:00.204751" elapsed="0.000317"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.207827" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:00.207414" elapsed="0.000440"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.208299" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:00.208015" elapsed="0.000310"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:00.208373" elapsed="0.000034"/>
</return>
<msg time="2026-04-26T00:26:00.208554" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:00.207016" elapsed="0.001562"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:26:00.208731" elapsed="0.000155"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.209374" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:00.209045" elapsed="0.000355"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.209811" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:00.209574" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.210216" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:00.209983" elapsed="0.000259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.210661" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.210927" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:00.210775" elapsed="0.000206"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.211146" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:00.211007" elapsed="0.000192"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.211404" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:00.211260" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:26:00.210753" elapsed="0.000741"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:00.210490" elapsed="0.001031"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:00.210287" elapsed="0.001261"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:26:00.211589" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:26:00.211798" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:26:00.211843" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:26:00.206281" elapsed="0.005585"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.212312" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:26:00.212387" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:26:00.212037" elapsed="0.000373"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:26:00.213000" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:26:00.212718" elapsed="0.000361">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:26:00.212494" elapsed="0.000654">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:26:00.212460" elapsed="0.000886">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.213521" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.213695" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:00.213760" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:26:00.205430" elapsed="0.008473">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.214076" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.214236" elapsed="0.000020"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:00.214398" elapsed="0.000019"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:26:00.204607" elapsed="0.009859">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:26:00.204408" elapsed="0.010131">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:26:00.214589" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:26:00.177434" elapsed="0.037246">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.236449" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:26:10.236052" elapsed="0.000458"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:26:10.256770" elapsed="0.000261"/>
</kw>
<msg time="2026-04-26T00:26:10.257088" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:10.256085" elapsed="0.001069"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:10.255620" elapsed="0.001615"/>
</kw>
<msg time="2026-04-26T00:26:10.257281" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:10.246529" elapsed="0.010822"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:10.246098" elapsed="0.011340"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:26:10.258083" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:26:10.258129" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:26:10.257840" elapsed="0.000311"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.260871" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:10.260452" elapsed="0.000447"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.261366" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:10.261060" elapsed="0.000336"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:10.261453" elapsed="0.000052"/>
</return>
<msg time="2026-04-26T00:26:10.261640" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:10.260068" elapsed="0.001596"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:26:10.261819" elapsed="0.000157"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.262491" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:10.262137" elapsed="0.000387"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.262926" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:10.262688" elapsed="0.000263"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.263332" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:10.263097" elapsed="0.000261"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.263968" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.264304" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:10.264151" elapsed="0.000208"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.264543" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:10.264384" elapsed="0.000214"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.264779" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:10.264620" elapsed="0.000212"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:26:10.264129" elapsed="0.000727"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:10.263795" elapsed="0.001086"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:10.263402" elapsed="0.001505"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:26:10.264949" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:26:10.265149" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:26:10.265195" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:26:10.259313" elapsed="0.005905"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.265703" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:26:10.265784" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:26:10.265405" elapsed="0.000404"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:26:10.266374" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:26:10.266096" elapsed="0.000353">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:26:10.265878" elapsed="0.000656">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:26:10.265859" elapsed="0.000708">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.266720" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.266903" elapsed="0.000022"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:10.266971" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:26:10.258445" elapsed="0.008628">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.267245" elapsed="0.000026"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.267418" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:10.267600" elapsed="0.000021"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:26:10.257694" elapsed="0.009977">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:26:10.257519" elapsed="0.010207">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:26:10.267776" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:26:10.230788" elapsed="0.037079">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.285096" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:26:20.284724" elapsed="0.000406"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:26:20.305386" elapsed="0.000271"/>
</kw>
<msg time="2026-04-26T00:26:20.305713" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:20.304735" elapsed="0.001043"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:20.304236" elapsed="0.001622"/>
</kw>
<msg time="2026-04-26T00:26:20.305987" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:20.295099" elapsed="0.010935"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:20.294701" elapsed="0.011410"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:26:20.306773" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:26:20.306819" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:26:20.306510" elapsed="0.000333"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.311526" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:20.309325" elapsed="0.002229"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.312005" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:20.311716" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:20.312109" elapsed="0.000035"/>
</return>
<msg time="2026-04-26T00:26:20.312274" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:20.308942" elapsed="0.003356"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:26:20.312450" elapsed="0.000172"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.313118" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:20.312783" elapsed="0.000362"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.313558" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:20.313301" elapsed="0.000283"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.313970" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:20.313732" elapsed="0.000266"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.314387" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.314659" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:20.314511" elapsed="0.000203"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.314878" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:20.314738" elapsed="0.000191"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.315095" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:20.314952" elapsed="0.000194"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:26:20.314490" elapsed="0.000679"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:20.314221" elapsed="0.000972"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:20.314043" elapsed="0.001176"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:26:20.315258" elapsed="0.000027"/>
</return>
<msg time="2026-04-26T00:26:20.315454" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:26:20.315517" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:26:20.308100" elapsed="0.007440"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.315981" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:26:20.316056" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:26:20.315709" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:26:20.316669" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:26:20.316374" elapsed="0.000368">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:26:20.316160" elapsed="0.000647">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:26:20.316142" elapsed="0.000696">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.316989" elapsed="0.000058"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.317203" elapsed="0.000020"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:20.317268" elapsed="0.000015"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:26:20.307134" elapsed="0.010237">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.317558" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.317721" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:20.317886" elapsed="0.000020"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:26:20.306343" elapsed="0.011613">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:26:20.306172" elapsed="0.011839">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:26:20.318059" elapsed="0.000015"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:26:20.280346" elapsed="0.037803">No leader found.</status>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.336975" level="INFO">&amp;{shards_details} = { }</msg>
<var>&amp;{shards_details}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:26:30.336604" elapsed="0.000406"/>
</kw>
<kw name="Run_Keyword_If_At_Least_Phosphorus" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Remove Values From List" owner="Collections">
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-26T00:26:30.381851" elapsed="0.000228"/>
</kw>
<msg time="2026-04-26T00:26:30.382144" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:30.381126" elapsed="0.001078"/>
</kw>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${lower_bound} to vanadium and in case vanadium is at least ${lower_bound},
run Collections.Remove_Values_From_List [['default:config', 'default:operational', 'topology:config', 'topology:operational', 'inventory:config', 'inventory:operational'], 'entity-ownership:operational'] {} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:30.380549" elapsed="0.001735"/>
</kw>
<msg time="2026-04-26T00:26:30.382336" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Least</arg>
<arg>phosphorus</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:30.346847" elapsed="0.035533"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${shard_list}</arg>
<arg>entity-ownership:operational</arg>
<doc>Compare phosphorus to vanadium and in case vanadium is at least phosphorus,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-26T00:26:30.346445" elapsed="0.036009"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Split String" owner="String">
<msg time="2026-04-26T00:26:30.383091" level="INFO">${shard_name} = default</msg>
<msg time="2026-04-26T00:26:30.383136" level="INFO">${shard_type} = config</msg>
<var>${shard_name}</var>
<var>${shard_type}</var>
<arg>${shard_details}</arg>
<arg>separator=:</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-26T00:26:30.382850" elapsed="0.000309"/>
</kw>
<kw name="Get_Leader_And_Followers_For_Shard" owner="ClusterManagement">
<kw name="Get_State_Info_For_Shard" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.385902" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.385504" elapsed="0.000425"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.386379" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.386091" elapsed="0.000314"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:30.386452" elapsed="0.000074"/>
</return>
<msg time="2026-04-26T00:26:30.386665" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:30.385093" elapsed="0.001596"/>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${index_list}</arg>
<doc>Sorts the given list in place.</doc>
<status status="PASS" start="2026-04-26T00:26:30.386843" elapsed="0.000154"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.387546" level="INFO">${ds_type} = config</msg>
<var>${ds_type}</var>
<arg>'${shard_type}' != 'config'</arg>
<arg>operational</arg>
<arg>config</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.387157" elapsed="0.000416"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.387969" level="INFO">${leader_list} = []</msg>
<var>${leader_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.387732" elapsed="0.000262"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.388453" level="INFO">${follower_list} = []</msg>
<var>${follower_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.388215" elapsed="0.000281"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get_Raft_State_Of_Shard_At_Member" owner="ClusterManagement">
<var>${raft_state}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${ds_type}</arg>
<arg>member_index=${index}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Send request to Jolokia on indexed member, return extracted Raft status.
Optionally, check restconf works.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.388889" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="'Follower' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${follower_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.389141" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:30.388995" elapsed="0.000201"/>
</branch>
<branch type="ELSE IF" condition="'Leader' == '${raft_state}'">
<kw name="Append To List" owner="Collections">
<arg>${leader_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.389401" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:30.389227" elapsed="0.000231"/>
</branch>
<branch type="ELSE IF" condition="${validate}">
<kw name="Fail" owner="BuiltIn">
<arg>Unrecognized Raft state: ${raft_state}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.389641" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:30.389497" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:26:30.388976" elapsed="0.000739"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.388724" elapsed="0.001014"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.388544" elapsed="0.001220"/>
</for>
<return>
<value>${leader_list}</value>
<value>${follower_list}</value>
<status status="PASS" start="2026-04-26T00:26:30.389803" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:26:30.390001" level="INFO">${leader_list} = []</msg>
<msg time="2026-04-26T00:26:30.390047" level="INFO">${follower_list} = []</msg>
<var>${leader_list}</var>
<var>${follower_list}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>validate=True</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Return lists of Leader and Follower member indices from a given member index list
(or from the full list if empty). If ${shard_type} is not 'config', 'operational' is assumed.
If ${validate}, Fail if raft state is not Leader or Follower (for example on Candidate).
The biggest difference from Get_Leader_And_Followers_For_Shard
is that no check on number of Leaders is performed.</doc>
<status status="PASS" start="2026-04-26T00:26:30.384327" elapsed="0.005744"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.390528" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:26:30.390604" level="INFO">${leader_count} = 0</msg>
<var>${leader_count}</var>
<arg>${leader_list}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:26:30.390242" elapsed="0.000386"/>
</kw>
<if>
<branch type="IF" condition="${leader_count} &lt; 1">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.391189" level="FAIL">No leader found.</msg>
<arg>No leader found.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.390913" elapsed="0.000348">No leader found.</status>
</kw>
<status status="FAIL" start="2026-04-26T00:26:30.390696" elapsed="0.000812">No leader found.</status>
</branch>
<status status="FAIL" start="2026-04-26T00:26:30.390678" elapsed="0.000866">No leader found.</status>
</if>
<kw name="Length Should Be" owner="BuiltIn">
<arg>${leader_list}</arg>
<arg>${1}</arg>
<arg>Too many Leaders.</arg>
<doc>Verifies that the length of the given item is correct.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.391701" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${leader}</var>
<arg>${leader_list}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.391874" elapsed="0.000021"/>
</kw>
<return>
<value>${leader}</value>
<value>${follower_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.391940" elapsed="0.000016"/>
</return>
<var>${leader}</var>
<var>${followers}</var>
<arg>shard_name=${shard_name}</arg>
<arg>shard_type=${shard_type}</arg>
<arg>member_index_list=${member_index_list}</arg>
<arg>verify_restconf=${verify_restconf}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Get role lists, validate there is one leader, return the leader and list of followers.
Optionally, issue GET to a simple restconf URL to make sure subsequent operations will not encounter 503.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.383503" elapsed="0.008542">No leader found.</status>
</kw>
<kw name="Sort List" owner="Collections">
<arg>${followers}</arg>
<doc>Sorts the given list in place.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.392216" elapsed="0.000021"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_leader=${leader}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.392377" elapsed="0.000019"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${shards_details}</arg>
<arg>${shard_name}_${shard_type}_followers=${followers}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.392556" elapsed="0.000022"/>
</kw>
<var name="${shard_details}">default:config</var>
<status status="FAIL" start="2026-04-26T00:26:30.382710" elapsed="0.009919">No leader found.</status>
</iter>
<var>${shard_details}</var>
<value>@{shard_list}</value>
<status status="FAIL" start="2026-04-26T00:26:30.382538" elapsed="0.010146">No leader found.</status>
</for>
<return>
<value>${shards_details}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.392733" elapsed="0.000016"/>
</return>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="FAIL" start="2026-04-26T00:26:30.330673" elapsed="0.062153">No leader found.</status>
</kw>
<msg time="2026-04-26T00:26:30.392915" level="FAIL">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</msg>
<arg>300s</arg>
<arg>10s</arg>
<arg>ShardStability.Shards_Stability_Get_Details</arg>
<arg>${DEFAULT_SHARD_LIST}</arg>
<arg>verify_restconf=True</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-26T00:21:28.764061" elapsed="301.628965">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</status>
</kw>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<arg>ps -ef | grep java</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.393277" elapsed="0.000025"/>
</kw>
<doc>Start each member and wait for sync.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-26T00:21:28.719556" elapsed="301.673896">Keyword 'ShardStability.Shards_Stability_Get_Details' failed after retrying for 5 minutes. The last error was: No leader found.</status>
</test>
<kw name="Close All Connections" owner="SSHLibrary" type="TEARDOWN">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-26T00:26:30.394147" elapsed="0.000111"/>
</kw>
<doc>Set tell-based protocol usage

Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

Suite stops all odl nodes, un-comment usage of tell-based protocol in
config file (means make it true) and starts all nodes again.</doc>
<status status="FAIL" start="2026-04-26T00:21:27.952170" elapsed="302.442124"/>
</suite>
<suite id="s1-s2" name="Singlepeer Pc Shm 300Kroutes Longevity" source="/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/suites/bgpcep/bgpclustering/singlepeer_pc_shm_300kroutes_longevity.robot">
<kw name="Setup_Everything" owner="PrefixcountKeywords" type="SETUP">
<kw name="Setup_Utils_For_Setup_And_Teardown" owner="SetupUtils">
<kw name="Do_Not_Fail_Fast_From_Now_On" owner="FailFast">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.569206" level="INFO">${SuiteFastFail} = False</msg>
<arg>${SuiteFastFail}</arg>
<arg>False</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.564621" elapsed="0.004643"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-26T00:26:30.564335" elapsed="0.005001"/>
</kw>
<kw name="Setup_Karaf_Keywords" owner="KarafKeywords">
<kw name="ClusterManagement_Setup" owner="ClusterManagement">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.574516" level="INFO">${already_done} = False</msg>
<var>${already_done}</var>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>False</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-26T00:26:30.570452" elapsed="0.004094"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-26T00:26:30.574762" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:26:30.574630" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-26T00:26:30.574607" elapsed="0.000225"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.575395" level="INFO">${ClusterManagement__has_setup_run} = True</msg>
<arg>\${ClusterManagement__has_setup_run}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.575003" elapsed="0.000436"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.575957" level="INFO">${cluster_size} = 0</msg>
<var>${cluster_size}</var>
<arg>\${NUM_ODL_SYSTEM}</arg>
<arg>1</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-26T00:26:30.575645" elapsed="0.000338"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Convert To Integer" owner="BuiltIn">
<arg>${cluster_size}</arg>
<doc>Converts the given item to an integer number.</doc>
<status status="PASS" start="2026-04-26T00:26:30.576544" elapsed="0.000291"/>
</kw>
<msg time="2026-04-26T00:26:30.576933" level="INFO">${status} = PASS</msg>
<msg time="2026-04-26T00:26:30.576980" level="INFO">${possibly_int_of_members} = 0</msg>
<var>${status}</var>
<var>${possibly_int_of_members}</var>
<arg>BuiltIn.Convert_To_Integer</arg>
<arg>${cluster_size}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-26T00:26:30.576167" elapsed="0.000835"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.577577" level="INFO">${int_of_members} = 0</msg>
<var>${int_of_members}</var>
<arg>'${status}' != 'PASS'</arg>
<arg>${1}</arg>
<arg>${possibly_int_of_members}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.577188" elapsed="0.000416"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.578840" level="INFO">@{member_index_list} = [ ]</msg>
<var>@{member_index_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.578574" elapsed="0.000293"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.579300" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.579032" elapsed="0.000295"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.579815" level="INFO">&amp;{index_to_ip_mapping} = { }</msg>
<var>&amp;{index_to_ip_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-26T00:26:30.579520" elapsed="0.000322"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<arg>${index}</arg>
<arg>${member_index_list}</arg>
<arg>${session_list}</arg>
<arg>${index_to_ip_mapping}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Add a corresponding item based on index into the last three arguments.
Create the Http session whose alias is added to list.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.582701" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.582490" elapsed="0.000285"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.579895" elapsed="0.002908"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.583408" level="INFO">${ClusterManagement__member_index_list} = []</msg>
<arg>\${ClusterManagement__member_index_list}</arg>
<arg>${member_index_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.582984" elapsed="0.000469"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.584056" level="INFO">${ClusterManagement__index_to_ip_mapping} = {}</msg>
<arg>\${ClusterManagement__index_to_ip_mapping}</arg>
<arg>${index_to_ip_mapping}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.583653" elapsed="0.000446"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.584687" level="INFO">${ClusterManagement__session_list} = []</msg>
<arg>\${ClusterManagement__session_list}</arg>
<arg>${session_list}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.584281" elapsed="0.000449"/>
</kw>
<arg>int_of_members=${int_of_members}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>http_retries=${http_retries}</arg>
<doc>Construct index list, session list and IP mapping, publish them as suite variables.</doc>
<status status="PASS" start="2026-04-26T00:26:30.578087" elapsed="0.006701"/>
</kw>
<arg>http_timeout=${http_timeout}</arg>
<doc>Detect repeated call, or detect number of members and initialize derived suite variables.
Http sessions are created with parameters to not waste time when ODL is no accepting connections properly.</doc>
<status status="PASS" start="2026-04-26T00:26:30.570094" elapsed="0.014750"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.585075" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:26:30.584960" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-26T00:26:30.584939" elapsed="0.000206"/>
</if>
<kw name="Run_Bash_Command_On_List_Or_All" owner="ClusterManagement">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.588441" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.588039" elapsed="0.000448"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.588964" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.588668" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:30.589035" elapsed="0.000036"/>
</return>
<msg time="2026-04-26T00:26:30.589197" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:30.587691" elapsed="0.001531"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<arg>command=${command}</arg>
<arg>member_index=${index}</arg>
<doc>Obtain IP, call Utils and return output. This keeps previous ssh session active.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.589599" elapsed="0.000025"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.589380" elapsed="0.000280"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.589272" elapsed="0.000413"/>
</for>
<arg>iptables -I INPUT -p tcp --dport ${KARAF_SHELL_PORT} -j ACCEPT; iptables-save</arg>
<doc>Cycle through indices (or all), run command on each.</doc>
<status status="PASS" start="2026-04-26T00:26:30.585381" elapsed="0.004357"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>First connections to Karaf console may fail, so WUKS is used. TODO: Track as a Bug.</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-26T00:26:30.589910" elapsed="0.000207"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>BuiltIn.Wait_Until_Keyword_Succeeds</arg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.590441" elapsed="0.000021"/>
</kw>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.590288" elapsed="0.000234"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.590166" elapsed="0.000382"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-26T00:26:30.569650" elapsed="0.020951"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Test_Suite_Start_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.593316" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:26:30.593209" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-26T00:26:30.593191" elapsed="0.000191"/>
</if>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.598492" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:26:30.598368" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-26T00:26:30.598350" elapsed="0.000212"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.599574" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.599142" elapsed="0.000459"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.600066" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.599779" elapsed="0.000312"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:30.600136" elapsed="0.000028"/>
</return>
<msg time="2026-04-26T00:26:30.600297" level="INFO">${index_list} = []</msg>
<var>${index_list}</var>
<arg>given_list=${member_index_list}</arg>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:30.598799" elapsed="0.001523"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<var>${status}</var>
<var>${output}</var>
<arg>Execute_Controller_Karaf_Command_With_Retry_On_Background</arg>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.600694" elapsed="0.000022"/>
</kw>
<if>
<branch type="IF" condition="not ${tolerate_failure} and &quot;${status}&quot; != &quot;PASS&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>${output}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.600951" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-26T00:26:30.600791" elapsed="0.000212"/>
</branch>
<status status="NOT RUN" start="2026-04-26T00:26:30.600775" elapsed="0.000251"/>
</if>
<var name="${index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.600536" elapsed="0.000513"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.600371" elapsed="0.000701"/>
</for>
<arg>Starting suite ${SUITE_SOURCE}</arg>
<arg>${member_index_list}</arg>
<doc>Make sure this resource is initialized. Send a message into the controller's karaf log file on every node listed (or all).
By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.</doc>
<status status="PASS" start="2026-04-26T00:26:30.598084" elapsed="0.003040"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-26T00:26:30.591196" elapsed="0.009982"/>
</kw>
<arg>KarafKeywords.Log_Test_Suite_Start_To_Controller_Karaf</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-26T00:26:30.590770" elapsed="0.010449"/>
</kw>
<arg>http_timeout=125</arg>
<doc>Prepare both FailFast and Karaf logging, log that the caller suite has started.
This keyword is to be used in suite setup, and without it the other keywords may not work properly.</doc>
<status status="PASS" start="2026-04-26T00:26:30.564004" elapsed="0.037307"/>
</kw>
<kw name="PC_Setup" owner="PrefixCounting">
<kw name="WU_Setup" owner="WaitUtils">
<kw name="SC_Setup" owner="ScalarClosures">
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-26T00:26:30.602533" elapsed="0.000029"/>
</return>
<msg time="2026-04-26T00:26:30.602744" level="INFO">${sc_fail} = ['BuiltIn.Fail', [], {}]</msg>
<var>${sc_fail}</var>
<arg>BuiltIn.Fail</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-26T00:26:30.602336" elapsed="0.000433"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.611356" level="INFO">${ScalarClosures__fail} = ['BuiltIn.Fail', [], {}]</msg>
<arg>${ScalarClosures__fail}</arg>
<arg>${sc_fail}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.602954" elapsed="0.008489"/>
</kw>
<kw name="Closure_From_Keyword_And_Arguments" owner="ScalarClosures">
<return>
<value>${keyword}</value>
<value>${args}</value>
<value>${kwargs}</value>
<status status="PASS" start="2026-04-26T00:26:30.611913" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:26:30.612128" level="INFO">${sc_identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<var>${sc_identity}</var>
<arg>BuiltIn.Set_Variable</arg>
<arg>placeholder</arg>
<doc>Turn keyword with given arguments into a scalar closure.</doc>
<status status="PASS" start="2026-04-26T00:26:30.611702" elapsed="0.000452"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.616879" level="INFO">${ScalarClosures__identity} = ['BuiltIn.Set_Variable', ['placeholder'], {}]</msg>
<arg>${ScalarClosures__identity}</arg>
<arg>${sc_identity}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.612343" elapsed="0.004583"/>
</kw>
<doc>Resource setup. Create closures and assign them to suite variables.</doc>
<status status="PASS" start="2026-04-26T00:26:30.602087" elapsed="0.014899"/>
</kw>
<doc>Call dependency setup. Perhaps needed.</doc>
<status status="PASS" start="2026-04-26T00:26:30.601811" elapsed="0.015221"/>
</kw>
<doc>Call dependency setups and construct suite variables.</doc>
<status status="PASS" start="2026-04-26T00:26:30.601544" elapsed="0.015532"/>
</kw>
<kw name="List_All_Indices" owner="ClusterManagement">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.620502" level="INFO">${return_list_reference} = []</msg>
<var>${return_list_reference}</var>
<arg>"""${given_list}""" != ""</arg>
<arg>${given_list}</arg>
<arg>${ClusterManagement__member_index_list}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-26T00:26:30.620093" elapsed="0.000437"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.620998" level="INFO">${return_list_copy} = []</msg>
<var>${return_list_copy}</var>
<arg>@{return_list_reference}</arg>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-26T00:26:30.620707" elapsed="0.000316"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-26T00:26:30.621068" elapsed="0.000030"/>
</return>
<doc>Utility to allow ${EMPTY} as default argument value, as the internal list is computed at runtime.
This keyword always returns a (shallow) copy of given or default list,
so operations with the returned list should not affect other lists.
Also note that this keyword does not consider empty list to be ${EMPTY}.</doc>
<status status="PASS" start="2026-04-26T00:26:30.617950" elapsed="0.003244"/>
</kw>
<msg time="2026-04-26T00:26:30.621232" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>List_Indices_Or_All</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:30.617535" elapsed="0.003766"/>
</kw>
<msg time="2026-04-26T00:26:30.621417" level="INFO">${indices} = []</msg>
<var>${indices}</var>
<doc>Create a new list of all indices.</doc>
<status status="PASS" start="2026-04-26T00:26:30.617284" elapsed="0.004159"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<var>${session}</var>
<arg>${member_index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.621850" elapsed="0.000025"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${operational_${member_index}}</arg>
<arg>${session}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.622061" elapsed="0.000022"/>
</kw>
<var name="${member_index}"/>
<status status="NOT RUN" start="2026-04-26T00:26:30.621637" elapsed="0.000481"/>
</iter>
<var>${member_index}</var>
<value>@{indices}</value>
<status status="NOT RUN" start="2026-04-26T00:26:30.621511" elapsed="0.000635"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.627017" level="INFO">${pc_all_indices} = []</msg>
<arg>${pc_all_indices}</arg>
<arg>${indices}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-26T00:26:30.622333" elapsed="0.004732"/>
</kw>
<kw name="Set Default Configuration" owner="SSHLibrary">
<arg>prompt=${TOOLS_SYSTEM_PROMPT}</arg>
<doc>Update the default `configuration`.</doc>
<status status="PASS" start="2026-04-26T00:26:30.627336" elapsed="0.000213"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${TOOLS_SYSTEM_IP}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-26T00:26:30.627721" elapsed="0.000227"/>
</kw>
<kw name="Flexible_Mininet_Login" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.629731" level="INFO">Length is 0.</msg>
<msg time="2026-04-26T00:26:30.629812" level="INFO">${pwd_length} = 0</msg>
<var>${pwd_length}</var>
<arg>${password}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-26T00:26:30.629413" elapsed="0.000424"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${pwd_length} &gt; 0</arg>
<arg>SSHLibrary.Login</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-26T00:26:30.630014" elapsed="0.000322"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-26T00:26:30.631336" level="INFO">Logging into ':22' as 'jenkins'.</msg>
<msg time="2026-04-26T00:26:30.631978" level="FAIL">OSError: [Errno 16] Device or resource busy</msg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Logs into the SSH server using key-based authentication.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.630969" elapsed="0.003677">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-26T00:26:30.634710" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>SSHLibrary.Login With Public Key</arg>
<arg>${user}</arg>
<arg>${USER_HOME}/.ssh/${SSH_KEY}</arg>
<arg>${KEYFILE_PASS}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.630576" elapsed="0.004191"/>
</kw>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.628956" elapsed="0.005969">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-04-26T00:26:30.634975" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Flexible SSH Login</arg>
<arg>user=${user}</arg>
<arg>password=${password}</arg>
<arg>delay=${delay}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.628544" elapsed="0.006480"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.628169" elapsed="0.006946">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Put File" owner="SSHLibrary">
<arg>/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/suites/bgpcep/bgpclustering/../../../../tools/fastbgp/play.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.635346" elapsed="0.000024"/>
</kw>
<kw name="Require_Python" owner="SSHKeywords">
<doc>Verify current SSH connection leads to machine with python working. Fatal fail otherwise.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.635757" elapsed="0.000038"/>
</kw>
<kw name="Assure_Library_Ipaddr" owner="SSHKeywords">
<arg>target_dir=.</arg>
<doc>Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.636083" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${timeout}</var>
<arg>${TEST_DURATION_MULTIPLIER} * (${COUNT} * 6.0 / 10000 + 35)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.636280" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_filling_timeout}</arg>
<arg>${timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.636503" elapsed="0.000023"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${bgp_emptying_timeout}</arg>
<arg>${bgp_filling_timeout*3.0/4}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.636699" elapsed="0.000025"/>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set ${KARAF_LOG_LEVEL}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.637362" elapsed="0.000026"/>
</kw>
<kw name="Shards_Stability_Get_Details" owner="ShardStability">
<var>${init_shard_details}</var>
<arg>${SHARD_MONITOR_LIST}</arg>
<doc>Return shard details stored in dictionary.
${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.644396" elapsed="0.000028"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${init_shard_details}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-26T00:26:30.644625" elapsed="0.000022"/>
</kw>
<doc>Setup imported resources, SSH-login to tools system,
create HTTP session, put Python tool to tools system.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.563682" elapsed="0.081055">OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-s2-t1" name="Configure_Prefixes_Longevity" line="47">
<doc>Configure bgp peer, repeat the test scenario for 24h and deconfigure it.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-26T00:26:30.644826" elapsed="0.000517">Parent suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</test>
<kw name="Teardown_Everything" owner="PrefixcountKeywords" type="TEARDOWN">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Search_And_Kill_Remote_Python" owner="KillPythonTool">
<kw name="Search_For_Remote_Python_Processes" owner="KillPythonTool">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-26T00:26:30.647328" level="INFO">Executing command 'ps -elf | egrep python | egrep 'play.py' | egrep -v grep'.</msg>
<msg time="2026-04-26T00:26:30.647465" level="INFO">${processes} = None</msg>
<msg time="2026-04-26T00:26:30.647525" level="FAIL">Connection not open</msg>
<var>${processes}</var>
<arg>ps -elf | egrep python | egrep ${filter} | egrep -v grep</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.647172" elapsed="0.000705">Connection not open</status>
</kw>
<return>
<value>${processes}</value>
<status status="PASS" start="2026-04-26T00:26:30.647941" elapsed="0.000032"/>
</return>
<msg time="2026-04-26T00:26:30.648147" level="INFO">${processes} = None</msg>
<var>${processes}</var>
<arg>${filter}</arg>
<doc>Only searches for the list of processes, in case something else than kill has to be done with them.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.646883" elapsed="0.001291">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.648648" level="INFO">None</msg>
<arg>${processes}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-26T00:26:30.648367" elapsed="0.000328"/>
</kw>
<kw name="Kill_Remote_Processes" owner="KillPythonTool">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.649639" level="INFO">${arg_length} = None</msg>
<msg time="2026-04-26T00:26:30.649681" level="FAIL">Could not get length of 'None'.</msg>
<var>${arg_length}</var>
<arg>${pself_lines}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.649264" elapsed="0.000547">Could not get length of 'None'.</status>
</kw>
<if>
<branch type="IF" condition="${arg_length} == 0">
<return>
<status status="NOT RUN" start="2026-04-26T00:26:30.650021" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-26T00:26:30.649901" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-26T00:26:30.649880" elapsed="0.000204"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-26T00:26:30.650431" level="INFO">Executing command 'echo 'None' | awk '{print "kill -9",$4}''.</msg>
<msg time="2026-04-26T00:26:30.650563" level="INFO">${commands} = None</msg>
<msg time="2026-04-26T00:26:30.650604" level="FAIL">Connection not open</msg>
<var>${commands}</var>
<arg>echo '${pself_lines}' | awk '{print "kill -${signal}",$4}'</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.650256" elapsed="0.000643">Connection not open</status>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-26T00:26:30.651356" level="INFO">None</msg>
<arg>${commands}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-26T00:26:30.651088" elapsed="0.000319"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-26T00:26:30.651774" level="INFO">Executing command 'echo 'set -exu; None' | sudo sh'.</msg>
<msg time="2026-04-26T00:26:30.651898" level="INFO">${stdout} = None</msg>
<msg time="2026-04-26T00:26:30.651943" level="INFO">${stderr} = None</msg>
<msg time="2026-04-26T00:26:30.651981" level="FAIL">Connection not open</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>echo 'set -exu; ${commands}' | sudo sh</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.651600" elapsed="0.000666">Connection not open</status>
</kw>
<arg>${processes}</arg>
<doc>Kill processes by PIDs from given list (no-op if the list is empty), using specified signal. Log the kill commands used.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.648949" elapsed="0.003503">Several failures occurred:

1) Could not get length of 'None'.

2) Connection not open

3) Connection not open</status>
</kw>
<arg>'play\.py'</arg>
<doc>The main keyword. Search for processes, Log the list of them, kill them.</doc>
<status status="FAIL" start="2026-04-26T00:26:30.646572" elapsed="0.006019">Several failures occurred:

1) Connection not open

2) Could not get length of 'None'.

3) Connection not open

4) Connection not open</status>
</kw>
<arg>KillPythonTool.Search_And_Kill_Remote_Python</arg>
<arg>'play\.py'</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-26T00:26:30.646112" elapsed="0.006535"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-26T00:26:30.652969" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-26T00:26:30.652891" elapsed="0.000128"/>
</kw>
<kw name="Close All Connections" owner="SSHLibrary">
<doc>Closes all open connections.</doc>
<status status="PASS" start="2026-04-26T00:26:30.653183" elapsed="0.000100"/>
</kw>
<doc>Make sure Python tool was killed and tear down imported Resources.</doc>
<status status="PASS" start="2026-04-26T00:26:30.645859" elapsed="0.007476"/>
</kw>
<doc>BGP performance of ingesting from 1 iBGP peer, data change counter is NOT used.

Copyright (c) 2015-2017 Cisco Systems, Inc. and others. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html

This suite uses play.py as single iBGP peer which talks to
single controller in three node cluster configuration.
Test suite checks changes of the the example-ipv4-topology on all nodes.
RIB is not examined.

singlepeer_pc_shm_300kroutes_longevity.robot:
pc - prefix counting
shm - shard monitoring (during the process of prefix advertizing)</doc>
<status status="FAIL" start="2026-04-26T00:26:30.395054" elapsed="0.258311">Suite setup failed:
OSError: [Errno 16] Device or resource busy</status>
</suite>
<status status="FAIL" start="2026-04-26T00:21:27.912303" elapsed="302.741770"/>
</suite>
<statistics>
<total>
<stat pass="2" fail="2" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="2" fail="2" skip="0">critical</stat>
</tag>
<suite>
<stat name="bgpcep-bgpclustering-longevity.txt" id="s1" pass="2" fail="2" skip="0">bgpcep-bgpclustering-longevity.txt</stat>
<stat name="Restart Odl With Tell Based True" id="s1-s1" pass="2" fail="1" skip="0">bgpcep-bgpclustering-longevity.txt.Restart Odl With Tell Based True</stat>
<stat name="Singlepeer Pc Shm 300Kroutes Longevity" id="s1-s2" pass="0" fail="1" skip="0">bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity</stat>
</suite>
</statistics>
<errors>
<msg time="2026-04-26T00:26:30.410567" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/BGPSpeaker.robot' on line 27: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-26T00:26:30.418617" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-26T00:26:30.419259" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-26T00:26:30.419857" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/Utils.robot' on line 4: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-26T00:26:30.453148" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-26T00:26:30.466005" level="WARN">Error in file '/w/workspace/bgpcep-csit-3node-bgpclustering-longevity-only-vanadium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'bgpcep-bgpclustering-longevity.txt.Singlepeer Pc Shm 300Kroutes Longevity' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
</errors>
</robot>
