From 4bfebe1563a4060b01e14b3a0f2743ba3b7d895a Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Sun, 10 Feb 2013 13:00:51 -0500 Subject: [PATCH] Topology c_* methods should no longer be defined / overridden in device classes --- Info/Layer3/Force10.pm | 67 ------------------------------------------ 1 file changed, 67 deletions(-) diff --git a/Info/Layer3/Force10.pm b/Info/Layer3/Force10.pm index 52d51b3b..b3a1926e 100644 --- a/Info/Layer3/Force10.pm +++ b/Info/Layer3/Force10.pm @@ -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 instead of F Use the F instead of F -=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