1SNMP::Info::Layer2::HPVUCs(e3r)Contributed Perl DocumentSaNtMiPo:n:Info::Layer2::HPVC(3)
2
3
4
6 SNMP::Info::Layer2::HPVC - SNMP Interface to HP Virtual Connect
7 Switches
8
10 Jeroen van Ingen
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $hp = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $hp->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Provides abstraction to the configuration information obtainable from a
28 HP Virtual Connect Switch via SNMP.
29
30 For speed or debugging purposes you can call the subclass directly, but
31 not after determining a more specific class using the method above.
32
33 my $hp = new SNMP::Info::Layer2::HPVC(...);
34
35 Inherited Classes
36 SNMP::Info::Layer2
37
38 Required MIBs
39 HPVC-MIB
40 CPQSINFO-MIB
41 HPVCMODULE-MIB
42
43 All required MIBs can be found in the netdisco-mibs package.
44
46 These are methods that return scalar value from SNMP
47
48 $hp->os()
49 Returns 'hpvc'
50
51 $hp->os_bin()
52 "cpqHoFwVerVersion.1"
53
54 $hp->os_ver()
55 "cpqHoSWRunningVersion.1"
56
57 $hp->serial()
58 "cpqSiSysSerialNum.0"
59
60 $hp->vendor()
61 hp
62
63 $hp->model()
64 "cpqSiProductName.0"
65
66 Globals imported from SNMP::Info::Layer2
67 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
68
70 These are methods that return tables of information in the form of a
71 reference to a hash.
72
73 Table Methods imported from SNMP::Info::Layer2
74 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
75
77 These are methods that provide SNMP set functionality for overridden
78 methods or provide a simpler interface to complex set operations. See
79 "SETTING DATA VIA SNMP" in SNMP::Info for general information on set
80 operations.
81
82
83
84perl v5.28.1 2019-04-04 SNMP::Info::Layer2::HPVC(3)