Topology c_* methods should no longer be defined / overridden in device classes
This commit is contained in:
@@ -183,49 +183,6 @@ sub i_vlan_membership {
|
||||
return $i_vlan_membership;
|
||||
}
|
||||
|
||||
# Use LLDP
|
||||
|
||||
sub hasCDP {
|
||||
my $force10 = shift;
|
||||
|
||||
return $force10->hasLLDP();
|
||||
}
|
||||
|
||||
sub c_ip {
|
||||
my $force10 = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $force10->lldp_ip($partial);
|
||||
}
|
||||
|
||||
sub c_if {
|
||||
my $force10 = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $force10->lldp_if($partial);
|
||||
}
|
||||
|
||||
sub c_port {
|
||||
my $force10 = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $force10->lldp_port($partial);
|
||||
}
|
||||
|
||||
sub c_id {
|
||||
my $force10 = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $force10->lldp_id($partial);
|
||||
}
|
||||
|
||||
sub c_platform {
|
||||
my $force10 = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $force10->lldp_rem_sysdesc($partial);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
@@ -296,10 +253,6 @@ These are methods that return scalar values from SNMP:
|
||||
|
||||
Returns C<'force10'>
|
||||
|
||||
=item $force10->hasCDP()
|
||||
|
||||
Returns whether LLDP is enabled.
|
||||
|
||||
=item $force10->model()
|
||||
|
||||
Tries to reference $force10->id() to the Force10 product MIB listed above.
|
||||
@@ -355,26 +308,6 @@ Use the F<Q-BRIDGE-MIB> instead of F<BRIDGE-MIB>
|
||||
|
||||
Use the F<Q-BRIDGE-MIB> instead of F<BRIDGE-MIB>
|
||||
|
||||
=item $force10->c_id()
|
||||
|
||||
Returns LLDP information.
|
||||
|
||||
=item $force10->c_if()
|
||||
|
||||
Returns LLDP information.
|
||||
|
||||
=item $force10->c_ip()
|
||||
|
||||
Returns LLDP information.
|
||||
|
||||
=item $force10->c_platform()
|
||||
|
||||
Returns LLDP information.
|
||||
|
||||
=item $force10->c_port()
|
||||
|
||||
Returns LLDP information.
|
||||
|
||||
=item $force10->i_duplex_admin()
|
||||
|
||||
Returns info from F<MAU-MIB>
|
||||
|
||||
Reference in New Issue
Block a user