| 1 |
*** Settings *** |
| 2 |
Documentation Check Huawei equipments in SNMP. |
| 3 |
|
| 4 |
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource |
| 5 |
|
| 6 |
Test Timeout 120s |
| 7 |
Test Setup Ctn Generic Suite Setup |
| 8 |
|
| 9 |
*** Variables *** |
| 10 |
${CMD} ${CENTREON_PLUGINS} --plugin=network::huawei::wlc::snmp::plugin |
| 11 |
|
| 12 |
|
| 13 |
*** Test Cases *** |
| 14 |
list-radios ${tc} |
| 15 |
[Tags] network snmp |
| 16 |
${command} Catenate |
| 17 |
... ${CMD} |
| 18 |
... --mode=list-radios |
| 19 |
... --hostname=${HOSTNAME} |
| 20 |
... --snmp-version=${SNMPVERSION} |
| 21 |
... --snmp-port=${SNMPPORT} |
| 22 |
... --snmp-community=network/huawei/wlc/snmp/slim_huawei_wlc |
| 23 |
... --snmp-timeout=1 |
| 24 |
... ${extra_options} | wc -l |
| 25 |
|
| 26 |
Ctn Verify Command Output ${command} ${expected_result} |
| 27 |
|
| 28 |
Examples: tc extra_options expected_result -- |
| 29 |
... 1 --filter-name='Anonymized 0' 100 |
| 30 |
... 2 --filter-name='Anonymized 1' 100 |
| 31 |
... 3 --filter-name='Anonymized 2' 56 |
| 32 |
... 4 ${EMPTY} 254 |