The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Whois::Object::InetRtr - an object representation of a RPSL InetRtr block

DESCRIPTION

Routers are specified using the inet-rtr class. The attributes of the inet-rtr class are shown in Figure 1.2.8. The "inet-rtr:" attribute is a valid DNS name of the router described. Each "alias:" attribute, if present, is a canonical DNS name for the router. The "local-as:" attribute specifies the AS number of the AS that owns/operates this router.

METHODS

new ( %options )

Constructor for the Net::Whois::Object::InetRtr class

inet_rtr( [$inet_rtr] )

Accessor to the inet_rtr attribute. Accepts an optional inet_rtr, always return the current inet_rtr value.

descr( [$descr] )

Accessor to the descr attribute. Accepts an optional descr value to be added to the descr array, always return the current descr array.

alias( [$alias] )

Accessor to the alias attribute. Accepts an optional alias to be added to the alias array, always return the current alias array.

local_as( [$local_as] )

Accessor to the local_as attribute. Accepts an optional local_as, always return the current local_as.

ifaddr( [$ifaddr] )

Accessor to the ifaddr attribute. Accepts an optional ifaddr value to be added to the ifaddr array, always return the current ifaddr array.

peer( [$peer] )

Accessor to the peer attribute. Accepts an optional peer to be added to the peer array, always return the current peer array.

member_of( [$member_of] )

Accessor to the member_of attribute. Accepts an optional member_of value to be be added to the member_of array, always return the current member_of array.

remarks( [$remark] )

Accessor to the remarks attribute. Accepts an optional remark to be added to the remarks array, always return the current remarks array.

admin_c( [$contact] )

Accessor to the admin_c attribute. Accepts an optional contact to be added to the admin_c array, always return the current admin_c array.

tech_c( [$contact] )

Accessor to the tech_c attribute. Accepts an optional contact to be added to the tech_c array, always return the current tech_c array.

notify( [$notify] )

Accessor to the notify attribute. Accepts an optional notify value to be added to the notify array, always return the current notify array.

mnt_by( [$mnt_by] )

Accessor to the mnt_by attribute. Accepts an optional mnt_by value to be added to the mnt_by array, always return the current mnt_by array.

changed( [$changed] )

Accessor to the changed attribute. Accepts an optional changed value to be added to the changed array, always return the current changed array.

source( [$source] )

Accessor to the source attribute. Accepts an optional source, always return the current source.

mp_peer( [$peer] )

Accessor to the mp_peer attribute. Accepts an optional peer to be added to the mp_peer array, always return the current mp_peer array.

This attribute performs the same function as the 'peer' attribute above. The difference is that mp-peer allows both IPv4 and IPv6 address families to be specified.

interface( [$interface] )

Accessor to the interface attribute. Accepts an optional interface to be added to the interface array, always return the current interface array.

This attribute performs the same function as the 'ifaddr' attribute above. The difference is that interface allows both IPv4 and IPv6 address families to be specified.

Describes all the inter-router serial port interfaces for all the line cards.