| 1 |
*** Settings *** |
| 2 |
Documentation Check EMC DataDomain in SNMP |
| 3 |
|
| 4 |
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource |
| 5 |
|
| 6 |
Suite Setup Ctn Generic Suite Setup |
| 7 |
Test Timeout 120s |
| 8 |
|
| 9 |
|
| 10 |
*** Variables *** |
| 11 |
${CMD} ${CENTREON_PLUGINS} --plugin=storage::emc::datadomain::snmp::plugin |
| 12 |
|
| 13 |
|
| 14 |
*** Test Cases *** |
| 15 |
list-replications ${tc} |
| 16 |
[Tags] snmp storage |
| 17 |
${command} Catenate |
| 18 |
... ${CMD} |
| 19 |
... --mode=list-replications |
| 20 |
... --hostname=${HOSTNAME} |
| 21 |
... --snmp-version=${SNMPVERSION} |
| 22 |
... --snmp-port=${SNMPPORT} |
| 23 |
... --snmp-community=storage/emc/datadomain/snmp/slim-datadomain |
| 24 |
... --snmp-timeout=1 |
| 25 |
... ${extra_options} |
| 26 |
|
| 27 |
Ctn Run Command And Check Result As Strings ${command} ${expected_result} |
| 28 |
|
| 29 |
Examples: tc extra_options expected_result -- |
| 30 |
... 1 --verbose List replications: [index = 1][type = 1][source = Anonymized 127][destination = Anonymized 057][state = normal][status = idle][initiator = 0] [index = 2][type = 2][source = Anonymized 224][destination = Anonymized 079][state = normal][status = idle][initiator = 0] [index = 3][type = 3][source = Anonymized 016][destination = Anonymized 146][state = normal][status = idle][initiator = 0] |