centreon-plugins/tests/network/f5/bigip/snmp/list-virtualservers.robot
qgarnier edd04d213c
enh(f5-bigip-snmp): switch to metric v2 + add tests (#4656)
Co-authored-by: sfarouq-ext <116093375+sfarouq-ext@users.noreply.github.com>

Refs: MON-20991
Refs: CTOR-427
2025-04-01 18:06:41 +02:00

28 lines
1.2 KiB
Plaintext

*** Settings ***
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource
Suite Setup Ctn Generic Suite Setup
Test Timeout 120s
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=network::f5::bigip::snmp::plugin
*** Test Cases ***
list-virtualservers ${tc}
[Tags] network
${command} Catenate
... ${CMD}
... --mode=list-virtualservers
... --hostname=${HOSTNAME}
... --snmp-version=${SNMPVERSION}
... --snmp-port=${SNMPPORT}
... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip
... ${extra_options}
Ctn Verify Command Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} List virtual servers: [name: /Common/ActiveSync.app/ActiveSync_combined_http] [status: blue] [state: enabled] [name: /Common/ActiveSync.app/ActiveSync_combined_https] [status: green] [state: enabled]
... 2 --filter-name='toto' List virtual servers: