omercier 3953f8dbb5
feat(huawei-wlc): new snmp plugin (#5301, #5146)
Co-authored-by: Roman Morandell <46994680+rmorandell-pgum@users.noreply.github.com>
Co-authored-by: sfarouq-ext <116093375+sfarouq-ext@users.noreply.github.com>
2024-12-17 12:10:55 +01:00

32 lines
1.1 KiB
Plaintext

*** Settings ***
Documentation Check Huawei equipments in SNMP.
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource
Test Timeout 120s
Test Setup Ctn Generic Suite Setup
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=network::huawei::wlc::snmp::plugin
*** Test Cases ***
list-radios ${tc}
[Tags] network snmp
${command} Catenate
... ${CMD}
... --mode=list-radios
... --hostname=${HOSTNAME}
... --snmp-version=${SNMPVERSION}
... --snmp-port=${SNMPPORT}
... --snmp-community=network/huawei/wlc/snmp/slim_huawei_wlc
... --snmp-timeout=1
... ${extra_options} | wc -l
Ctn Verify Command Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --filter-name='Anonymized 0' 100
... 2 --filter-name='Anonymized 1' 100
... 3 --filter-name='Anonymized 2' 56
... 4 ${EMPTY} 254