*** Settings *** Documentation Juniper Mseries Netconf List LSP Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource Suite Setup Ctn Generic Suite Setup Test Timeout 120s *** Variables *** ${CMD} ${CENTREON_PLUGINS} --plugin=network::juniper::mseries::netconf::plugin ... --mode=list-lsp ... --hostname=${HOSTNAME} ... --sshcli-command=get_data ... --sshcli-path=${CURDIR} ... --sshcli-option="-f=${CURDIR}${/}data${/}lsp.netconf" *** Test Cases *** List Lsp ${tc} [Tags] network juniper mseries netconf ${command} Catenate ... ${CMD} ... ${extraoptions} Ctn Run Command And Check Result As Regexp ${command} ${expected_result} Examples: tc extraoptions expected_result -- ... 1 ${EMPTY} ^List LSP sessions: (\\\\n\\\\[.*\\\\]){3}\\\\Z ... 2 --disco-show ^\\\\<\\\\?xml version="1.0" encoding="utf-8"\\\\?\\\\>\\\\n\\\\(\\\\n\\\\s*\\\\