The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IPDevice::JuniperRouter

SYNOPSIS

 use IPDevice::JuniperRouter;
 my $router = new IPDevice::JuniperRouter;
 $router->set_hostname('hostname');
 my $card = $router->add_card('0');
 $card->add_module('0/1');

DESCRIPTION

This module provides routines for storing informations regarding a Juniper router.

CONSTRUCTOR AND METHODS

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

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.

AUTHOR

Samuel Abels <spam debain org>