centreon-plugins/tests/network/mikrotik/snmp/listlteinterfaces.robot
sfarouq-ext 4730dc1891
enh(tests): enable testing with collect's perl connector (#5641)
Co-authored-by: omercier <omercier@centreon.com>
refs: CTOR-1244
2025-08-28 10:53:59 +02:00

31 lines
1.2 KiB
Plaintext

*** Settings ***
Resource ${CURDIR}${/}..${/}..${/}..${/}resources/import.resource
Test Timeout 120s
Suite Setup Ctn Generic Suite Setup
Suite Teardown Ctn Generic Suite Teardown
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=network::mikrotik::snmp::plugin
*** Test Cases ***
listlteinterfaces ${tc}
[Tags] network snmp
${command} Catenate
... ${CMD}
... --mode=list-lte-interfaces
... --hostname=${HOSTNAME}
... --snmp-version=${SNMPVERSION}
... --snmp-port=${SNMPPORT}
... --snmp-community=network/mikrotik/snmp/mikrotik-chateau-lte6
... --snmp-timeout=1
... ${extra_options}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} List interfaces: 'lte1' [speed = ][status = up][id = 9]
... 2 --filter-status='down' List interfaces: skipping interface 'lte1': no matching filter status