File Coverage

blib/lib/Net/Whois/Object/Route6.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Net::Whois::Object::Route6;
2              
3 1     1   73747 use strict;
  1         11  
  1         28  
4 1     1   5 use warnings;
  1         2  
  1         28  
5 1     1   5 use base qw/Net::Whois::Object/;
  1         2  
  1         545  
6              
7             #######################################################################################
8             # The following lines where auto-generated by 'perl whois_to_attribute.pl Route6'
9              
10             # % This is the RIPE Database query service.
11             # % The objects are in RPSL format.
12             # %
13             # % The RIPE Database is subject to Terms and Conditions.
14             # % See http://www.ripe.net/db/support/db-terms-conditions.pdf
15             #
16             # route6: [mandatory] [single] [primary/lookup key]
17             # descr: [mandatory] [multiple] [ ]
18             # origin: [mandatory] [single] [primary/inverse key]
19             # pingable: [optional] [multiple] [ ]
20             # ping-hdl: [optional] [multiple] [inverse key]
21             # holes: [optional] [multiple] [ ]
22             # org: [optional] [multiple] [inverse key]
23             # member-of: [optional] [multiple] [inverse key]
24             # inject: [optional] [multiple] [ ]
25             # aggr-mtd: [optional] [single] [ ]
26             # aggr-bndry: [optional] [single] [ ]
27             # export-comps: [optional] [single] [ ]
28             # components: [optional] [single] [ ]
29             # remarks: [optional] [multiple] [ ]
30             # notify: [optional] [multiple] [inverse key]
31             # mnt-lower: [optional] [multiple] [inverse key]
32             # mnt-routes: [optional] [multiple] [inverse key]
33             # mnt-by: [mandatory] [multiple] [inverse key]
34             # changed: [mandatory] [multiple] [ ]
35             # created: [generated] [single] [ ]
36             # last-modified: [generated] [single] [ ]
37             # source: [mandatory] [single] [ ]
38             #
39             # % This query was served by the RIPE Database Query Service version 1.79.2 (DB-2)
40             #
41             #
42             __PACKAGE__->attributes( 'primary', [ 'route6' ] );
43             __PACKAGE__->attributes( 'mandatory', [ 'route6', 'descr', 'origin', 'mnt_by', 'changed', 'source' ] );
44             __PACKAGE__->attributes( 'optional', [ 'pingable', 'ping_hdl', 'holes', 'org', 'member_of', 'inject', 'aggr_mtd', 'aggr_bndry', 'export_comps', 'components', 'remarks', 'notify', 'mnt_lower', 'mnt_routes', 'created', 'last_modified' ] );
45             __PACKAGE__->attributes( 'single', [ 'route6', 'origin', 'aggr_mtd', 'aggr_bndry', 'export_comps', 'components', 'created', 'last_modified', 'source' ] );
46             __PACKAGE__->attributes( 'multiple', [ 'descr', 'pingable', 'ping_hdl', 'holes', 'org', 'member_of', 'inject', 'remarks', 'notify', 'mnt_lower', 'mnt_routes', 'mnt_by', 'changed' ] );
47              
48             # End of auto-generated lines
49             #######################################################################################
50              
51              
52             =head1 NAME
53              
54             Net::Whois::Object::Route6 - an object representation of the RPSL Route6 block
55              
56             =head1 DESCRIPTION
57              
58             Route6 objects are used to help configure your network's routers. Route6 objects,
59             in combination with the aut-num and other related objects, can be used to
60             describe your IPv6 routing policy in a compact form. This can help your
61             network identify routing policy errors and omissions more easily than by
62             reading long configuration files.
63              
64             =head1 METHODS
65              
66             =head2 B
67              
68             Constructor for the Net::Whois::Object::Route6 class
69              
70             =cut
71              
72             sub new {
73 1     1 1 4 my ( $class, @options ) = @_;
74              
75 1         4 my $self = bless {}, $class;
76 1         8 $self->_init(@options);
77              
78 1         3 return $self;
79             }
80              
81             =head2 B
82              
83             Accessor to the route6 attribute.
84             Accepts an optional route6, always return the current route.
85              
86             =head2 B
87              
88             Accessor to the descr attribute.
89             Accepts an optional descr line to be added to the descr array,
90             always return the current descr array.
91              
92             =head2 B
93              
94             Accessor to the origin attribute.
95             Accepts an optional origin, always return the current origin.
96              
97             =head2 B
98              
99             Accessor to the pingable attribute.
100             Accepts an optional pingable line to be added to the pingable array,
101             always return the current pingable array.
102              
103             An IPv4 or an IPv6 address allowing a network operator to advertise an IP address of a node
104             that should be reachable from outside networks. This node can be
105             used as a destination address for diagnostic tests.
106             The IP address must be within the address range of the prefix
107             containing this attribute.
108              
109             =head2 B
110              
111             Accessor to the ping_hdl attribute.
112             Accepts an optional ping_hdl line to be added to the ping_hdl array,
113             always return the current ping_hdl array.
114              
115             References a person or role capable of responding to queries
116             concerning the IP address(es) specified in the 'pingable'
117             attribute.
118              
119             =head2 B
120              
121             Accessor to the holes attribute.
122             Accepts an optional hole to be added to the holes array,
123             always return the current holes array.
124              
125             =head2 B
126              
127             Accessor to the org attribute.
128             Accepts an optional org, always return the current org.
129              
130             Points to an existing organisation object representing the entity that
131             holds the resource.
132              
133             The 'ORG-' string followed by 2 to 4 characters, followed by up to 5 digits
134             followed by a source specification. The first digit must not be "0".
135             Source specification starts with "-" followed by source name up to
136             9-character length.
137              
138             =head2 B
139              
140             Accessor to the member_of attribute.
141             Accepts an optional member_of value to be added to the member_of array,
142             always return the current member_of array.
143              
144             =head2 B
145              
146             Accessor to the inject attribute.
147             Accepts an optional inject value to be added to the inject array,
148             always return the current inject array.
149              
150             =head2 B
151              
152             Accessor to the aggr_mtd attribute.
153             Accepts an optional aggr_mtd value to be added to the aggr_mtd array,
154             always return the current aggr_mtd.
155              
156             =head2 B
157              
158             Accessor to the aggr_bndry attribute.
159             Accepts an optional aggr_bndry value to be added to the aggr_bndry array,
160             always return the current aggr_bndry.
161              
162             =head2 B
163              
164             Accessor to the export_comps attribute.
165             Accepts an optional export_comp value to be added the export_comps array,
166             always return the current export_comps.
167              
168             =head2 B
169              
170             Accessor to the components attribute.
171             Accepts an optional component to be added to the components array,
172             always return the current components.
173              
174             =head2 B
175              
176             Accessor to the remarks attribute.
177             Accepts an optional remark to be added to the remarks array,
178             always return the current 'remarks' array.
179              
180             =head2 B
181              
182             Accessor to the notify attribute.
183             Accepts an optional notify value to be added to the notify array,
184             always return the current notify array.
185              
186             =head2 B
187              
188             Accessor to the mnt_lower attribute.
189             Accepts an optional mnt_lower value to be added to the mnt_lower array,
190             always return the current mnt_lower array.
191              
192             =head2 B
193              
194             Accessor to the mnt_routes attribute.
195             Accepts an optional mnt_route to be added to the mnt_routes array,
196             always return the current mnt_routes array.
197              
198             =head2 B
199              
200             Accessor to the mnt_by attribute.
201             Accepts an optional mnt_by value to be added to the mnt_by array,
202             always return the current mnt_by array.
203              
204             =head2 B
205              
206             Accessor to the changed attribute.
207             Accepts an optional changed value to be added to the changed array,
208             always return the current changed array.
209              
210             =head2 B
211              
212             Accessor to the source attribute.
213             Accepts an optional source, always return the current source.
214              
215             =head2 B
216              
217             Accessor to the country attribute.
218             Accepts an optional country, always return the current country.
219             Two letter ISO 3166 code of the country or economy where the admin-c is based.
220              
221             Please use UPPERCASE letters.
222              
223             =cut
224              
225             1;