table of contents
Net::Whois::Object::RtrSet(3) | User Contributed Perl Documentation | Net::Whois::Object::RtrSet(3) |
NAME¶
Net::Whois::Object::RtrSet - an object representation of the RPSL RtrSet block
DESCRIPTION¶
A rtr-set object defines a set of routers. A set may be described by the "members:" attribute, which is a list of inet-rtr names, IPv4 addresses or other rtr-set names. A set may also be populated by means of the "mbrs-by-ref:" attribute, in which case it is represented by inet-rtr objects.
METHODS¶
new( %options )¶
Constructor for the Net::Whois::Object::RtrSet class
rtr_set( [$rtr_set] )¶
Accessor to the rtr_set attribute. Accepts an optional rtr_set, always return the current rtr_set.
descr( [$descr] )¶
Accessor to the descr attribute. Accepts an optional descr line to be added to the descr array, always return the current descr array.
members( [$member] )¶
Accessor to the members attribute. Accepts an optional member to be added to the members array, always return the current members array.
mbrs_by_ref( [$mbrs_by_ref] )¶
Accessor to the mbrs_by_ref attribute. Accepts an optional mbrs_by_ref value to be added to the mbrs_by_ref array, always return the current mbrs_by_ref 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.
org( [$org] )¶
Accessor to the org attribute. Accepts an optional org, always return the current org.
Points to an existing organisation object representing the entity that holds the resource.
The 'ORG-' string followed by 2 to 4 characters, followed by up to 5 digits followed by a source specification. The first digit must not be "0". Source specification starts with "-" followed by source name up to 9-character length.
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.
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.
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_members( [$mp_member] )¶
Accessor to the mp_members attribute. Accepts an optional mp_member to be added to the mp_members array, always return the current mp_members array.
This attribute performs the same function as the members attribute above. The difference is that mp-members allows both IPv4 and IPv6 address families to be specified.
Explicitly lists IPv4 or IPv6 'members' of the rtr-set can be:
* inet-rtr objects * other rtr-set objects * ipv4 address * ipv6 address
2021-04-12 | perl v5.40.0 |