|
/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/IPDevice/blib/lib/IPDevice/JuniperRouter.pm |
IPDevice::JuniperRouter
use IPDevice::JuniperRouter;
my $router = new IPDevice::JuniperRouter;
$router->set_hostname('hostname');
my $card = $router->add_card('0');
$card->add_module('0/1');
This module provides routines for storing informations regarding a Juniper router.
This module provides, in addition to all methods from IPDevice::RouterBase, the following methods.
new([%args])Object constructor. Valid arguments:
hostname: The initial router hostname.
interfacename($interfacename)Returns the IPDevice::RouterBase::Interface with the given name. Valid names have the format 'so-1/2/3', 'lo0', 'lo0.0', 'fe-0/1/2.1', or just '1/2/3'. If the interface does not yet exist, it will be created.
Copyright (c) 2004 Samuel Abels. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Samuel Abels <spam debain org>
|
/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/IPDevice/blib/lib/IPDevice/JuniperRouter.pm |