Debian Codegraph @

tests/storage/emc/datadomain/snmp/list-filesystems.robot

raw
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-filesystems ${tc}
16 [Tags] snmp storage
17 ${command} Catenate
18 ... ${CMD}
19 ... --mode=list-filesystems
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 filesystems: [name = /ddvar][total = 50036368998][used = 11274289152] [name = /ddvar/core][total = 584867171532][used = 107374182] [name = Anonymized 056][total = 90263462189465][used = 53328461430784] [name = Anonymized 157][total = 755377373183][used = 533971809075] [name = Anonymized 246][total = 988878746314342][used = 988878746314342]