我收到以下错误“Else If”是保留关键字。当用作带有“Run Keyword If”的标记时,它必须是大写的(ELSE IF)
代码片段如下...谁能帮我解决这个问题?谢谢
Run Keyword If '${intf_type}' == 'l3' Run Keywords
Execute Load Configuration @{target}[0] commit_comment=configure isis data=set interfaces xe-0/0/2:0 unit 0 family inet address 10.0.0.1/24 ${\n} set interfaces xe-0/0/2:0 unit 0 family iso ${\n} set protocols isis interface xe-0/0/2:0.0 ${\n} set protocols isis interface lo0.0 format=set
Sleep 30s
ELSE IF '${intf_type}' == 'irb' Run Keywords
Execute Load Configuration @{target}[0] commit_comment=configure isis data=set interfaces xe-0/0/2:0 unit 0 family ethernet-switching interface-mode trunk ${\n} set interfaces xe-0/0/2:0 unit 0 …Run Code Online (Sandbox Code Playgroud)