Debian Codegraph @

tests/network/hp/procurve/snmp/list-spanning-trees.robot

raw
1 *** Settings ***
2 Documentation List ports using Spanning Tree Protocol.
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::hp::procurve::snmp::plugin
11
12 *** Test Cases ***
13 list-spanning-trees ${tc}
14 [Tags] network hp
15 ${command} Catenate
16 ... ${CMD}
17 ... --mode=list-spanning-trees
18 ... --hostname=${HOSTNAME}
19 ... --snmp-version=${SNMPVERSION}
20 ... --snmp-port=${SNMPPORT}
21 ... --snmp-community=network/hp/procurve/snmp/slim_procurve-spanning-tree
22 ... --snmp-timeout=1
23 ... ${extra_options}
24
25 Ctn Run Command And Check Result As Strings ${command} ${expected_result}
26
27 Examples: tc extra_options expected_result --
28 ... 1 --filter-port='Anonymized 029' List ports with spanning tree protocol: [port = Anonymized 029] [state = forwarding] [op_status = up] [admin_status = up] [index = 2]