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