From 4284cb8ea08a31a5805f03872a07eff0f158beeb Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Mon, 14 Jul 2008 02:54:39 +0000 Subject: [PATCH] Document model() --- Info/Layer1.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Info/Layer1.pm b/Info/Layer1.pm index 9d9b3ca2..ce2e9777 100644 --- a/Info/Layer1.pm +++ b/Info/Layer1.pm @@ -253,6 +253,14 @@ Gets the number of ports under the interface mib =over +=item $l1->model() + +Cross references $l1->id() with product IDs. + +For HP devices, removes C<'hpswitch'> from the name + +For Cisco devices, removes C<'sysid'> from the name + =item $l1->vendor() Tries to discover the vendor from $l1->model() and $l1->vendor()