-
-
25 Jun 2004 21:16:05 UTC
- Distribution: IPDevice
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (404 / 0 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (23.47KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- SYNOPSIS
- DESCRIPTION
- CONSTRUCTOR AND METHODS
- new([%args])
- set_name($name)
- get_name()
- set_groupname($name)
- get_groupname()
- set_description($description)
- get_description()
- set_ip($ip)
- get_ip()
- set_as($as)
- get_as()
- set_multihop($distance)
- get_multihop()
- set_nhs($yesno)
- get_nhs()
- set_updatesource($updatesource)
- get_updatesource()
- set_softreconf_in($onoff)
- get_softreconf_in()
- set_softreconf_out($onoff)
- get_softreconf_out()
- set_active($yesno)
- get_active()
- print_data()
- COPYRIGHT
- AUTHOR
NAME
IPDevice::RouterBase::BGPNeighbor
SYNOPSIS
use IPDevice::RouterBase::BGPNeighbor; my $neigh = new IPDevice::RouterBase::BGPNeighbor; $neigh->set_name('Neighbor Name'); $neigh->set_ip('192.168.0.2');
DESCRIPTION
This module provides routines for storing informations regarding a BGP neighbor.
CONSTRUCTOR AND METHODS
new([%args])
Object constructor. Valid arguments:
name: The neighbor name. ip: The neighbor ip.
set_name($name)
Set the BGP neighbor name.
get_name()
Returns the BGP neighbor name.
set_groupname($name)
Set the BGP group name.
get_groupname()
Returns the BGP group name.
set_description($description)
Set the BGP neighbor description.
get_description()
Returns the BGP neighbor description.
set_ip($ip)
Checks & sets the neighbor IP address. Returns FALSE if the ip is invalid, otherwise TRUE.
get_ip()
Returns the neighbor IP address.
set_as($as)
Set the BGP neighbor AS number. (INTEGER)
get_as()
Returns the BGP neighbor AS number. (INTEGER)
set_multihop($distance)
Set the BGP neighbor eBGP multihop distance. (INTEGER)
get_multihop()
Returns the BGP neighbor eBGP multihop distance. (INTEGER)
set_nhs($yesno)
Define, whether or not to use BGP next-hop-self. (BOOLEAN)
get_nhs()
Returns whether or not to use BGP next-hop-self. (BOOLEAN)
set_updatesource($updatesource)
Defines the BGP session update source.
get_updatesource()
Returns the BGP session update source.
set_softreconf_in($onoff)
Set whether inbound soft-reconfiguration is enabled. (BOOLEAN)
get_softreconf_in()
Returns whether inbound soft-reconfiguration is enabled. (BOOLEAN)
set_softreconf_out($onoff)
Set whether outbound soft-reconfiguration is enabled. (BOOLEAN)
get_softreconf_out()
Returns whether outbound soft-reconfiguration is enabled. (BOOLEAN)
set_active($yesno)
Define, whether or not the neigbor is enabled. (BOOLEAN)
get_active()
Returns whether or not the neigbor is enabled. (BOOLEAN)
print_data()
Prints the BGP neighbor's data out.
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>
Module Install Instructions
To install IPDevice::IPv4, copy and paste the appropriate command in to your terminal.
cpanm IPDevice::IPv4
perl -MCPAN -e shell install IPDevice::IPv4
For more information on module installation, please visit the detailed CPAN module installation guide.