12
Build.PL
12
Build.PL
@@ -6,13 +6,13 @@ Module::Build->new(
|
|||||||
module_name => 'SNMP::Info',
|
module_name => 'SNMP::Info',
|
||||||
license => 'bsd',
|
license => 'bsd',
|
||||||
dist_author => 'Eric A. Miller <emiller@cpan.org>',
|
dist_author => 'Eric A. Miller <emiller@cpan.org>',
|
||||||
# dynamic_config => 1,
|
# dynamic_config => 1,
|
||||||
create_readme => 1,
|
create_readme => 1,
|
||||||
configure_requires => {
|
configure_requires => {
|
||||||
'Module::Build' => '0.42',
|
'Module::Build' => '0.42',
|
||||||
},
|
},
|
||||||
# build_requires => {
|
# build_requires => {
|
||||||
# },
|
# },
|
||||||
requires => {
|
requires => {
|
||||||
'SNMP' => '0',
|
'SNMP' => '0',
|
||||||
'Math::BigInt' => '0',
|
'Math::BigInt' => '0',
|
||||||
@@ -39,9 +39,9 @@ Module::Build->new(
|
|||||||
'Module::Find' => '0',
|
'Module::Find' => '0',
|
||||||
'Hook::LexWrap' => '0',
|
'Hook::LexWrap' => '0',
|
||||||
},
|
},
|
||||||
# script_files => [
|
# script_files => [
|
||||||
# ],
|
# ],
|
||||||
# share_dir => 'share',
|
# share_dir => 'share',
|
||||||
meta_merge => {
|
meta_merge => {
|
||||||
resources => {
|
resources => {
|
||||||
homepage => 'http://netdisco.org/',
|
homepage => 'http://netdisco.org/',
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ $VERSION = '3.71';
|
|||||||
'stp_p_bridge' => 'dot1dStpPortDesignatedBridge',
|
'stp_p_bridge' => 'dot1dStpPortDesignatedBridge',
|
||||||
'stp_p_port' => 'dot1dStpPortDesignatedPort',
|
'stp_p_port' => 'dot1dStpPortDesignatedPort',
|
||||||
|
|
||||||
# Rapid Spanning Tree Protocol Table : dot1dStpExtPortEntry
|
# Rapid Spanning Tree Protocol Table : dot1dStpExtPortEntry
|
||||||
'is_edgeport_admin' => 'dot1dStpPortAdminEdgePort',
|
'is_edgeport_admin' => 'dot1dStpPortAdminEdgePort',
|
||||||
'is_edgeport_oper' => 'dot1dStpPortOperEdgePort',
|
'is_edgeport_oper' => 'dot1dStpPortOperEdgePort',
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ use Test::More 1.302083;
|
|||||||
use SNMP::Info;
|
use SNMP::Info;
|
||||||
use Path::Class 'dir';
|
use Path::Class 'dir';
|
||||||
|
|
||||||
# needed when running with Alien::SNMP::MAXTC
|
# needed when running with Alien::SNMP::MAXTC
|
||||||
%SNMP::Info::MIBS = ('RFC1213-MIB' => 'sysName');
|
%SNMP::Info::MIBS = ('RFC1213-MIB' => 'sysName');
|
||||||
|
|
||||||
my $info = SNMP::Info->new(
|
my $info = SNMP::Info->new(
|
||||||
|
|||||||
Reference in New Issue
Block a user