Object/Route6.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Object/Route/AFRINIC.pm ↑ Summary Object/RouteSet.pm »
1 package Net::Whois::Object::Route6;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use base qw/Net::Whois::Object/;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 __PACKAGE__->attributes( 'primary', [ 'route6' ] );
42 1 __PACKAGE__->attributes( 'mandatory', [ 'route6', 'origin', 'mnt_by', 'source' ] );
43 1 __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 1 __PACKAGE__->attributes( 'single', [ 'route6', 'origin', 'aggr_mtd', 'aggr_bndry', 'export_comps', 'components', 'created', 'last_modified', 'source' ] );
45 1 __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<new( %options )>
65  
66 Constructor for the Net::Whois::Object::Route6 class
67  
68 =cut
69  
70 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
71 1 my ( $class, @options ) = @_;
72  
73 1 my $self = bless {}, $class;
74 1 $self->_init(@options);
75  
76 1 return $self;
77 }
78  
79 =head2 B<route6( [$route6] )>
80  
81 Accessor to the route6 attribute.
82 Accepts an optional route6, always return the current route.
83  
84 =head2 B<descr( [$descr] )>
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<origin( [$origin] )>
91  
92 Accessor to the origin attribute.
93 Accepts an optional origin, always return the current origin.
94  
95 =head2 B<pingable( [$pingable] )>
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<ping_hdl( [$ping_hdl] )>
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<holes( [$hole] )>
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<org( [$org] )>
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<member_of( [$member_of] )>
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<inject( [$inject] )>
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<aggr_mtd( [$aggr_mtd] )>
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<aggr_bndry( [$aggr_bndry] )>
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<export_comps( [$export_comp] )>
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<components( [$component] )>
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<remarks( [$remark] )>
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<notify( [$notify] )>
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<mnt_lower( [$mnt_lower] )>
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<mnt_routes( [$mnt_route] )>
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<mnt_by( [$mnt_by] )>
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<changed( [$changed] )>
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<source( [$source] )>
209  
210 Accessor to the source attribute.
211 Accepts an optional source, always return the current source.
212  
213 =head2 B<country( [$country] )>
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 1;
« Object/Route/AFRINIC.pm ↑ Summary Object/RouteSet.pm »