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