centreon-plugins/tests/network/mikrotik/snmp/listlteinterfaces.robot
sfarouq-ext 798659439d
Enh(mikrotik): New mode lte-interfaces and list-lte-interfaces (#5553)
Co-authored-by: garnier-quentin <garnier.quentin@gmail.com>
2025-05-05 19:40:17 +02:00

29 lines
1.1 KiB
Plaintext

*** Settings ***
Resource ${CURDIR}${/}..${/}..${/}..${/}resources/import.resource
Test Timeout 120s
Test Setup Ctn Generic Suite Setup
*** 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 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