line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::NetworkInterfaceSet; |
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
3
|
1
|
|
|
1
|
|
7
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Net::Amazon::EC2::NetworkInterfaceSet |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 DESCRIPTION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
A class representing a network interface |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=over |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=item network_interface_id (required) |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Network interface ID. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=item subnet_id (optional) |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Subnet ID specific interface belongs to. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=item vpc_id (optional) |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
VPC ID specific interface belongs to. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item description (optional) |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Interface description |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item status (optional) |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Current interface status. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item mac_address (optional) |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Interfaces mac address. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=item private_ip_address (optional) |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Private IP address attached to the interface. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item group_sets (optional) |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
An array of Net::Amazon::EC2::GroupSet objects which representing security groups attached to the interface. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=back |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
has 'network_interface_id' => ( |
54
|
|
|
|
|
|
|
is => 'ro', |
55
|
|
|
|
|
|
|
isa => 'Str', |
56
|
|
|
|
|
|
|
required => 1, |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
has 'subnet_id' => ( |
60
|
|
|
|
|
|
|
is => 'ro', |
61
|
|
|
|
|
|
|
isa => 'Str', |
62
|
|
|
|
|
|
|
required => 0, |
63
|
|
|
|
|
|
|
); |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
has 'vpc_id' => ( |
66
|
|
|
|
|
|
|
is => 'ro', |
67
|
|
|
|
|
|
|
isa => 'Str', |
68
|
|
|
|
|
|
|
required => 0, |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
has 'description' => ( |
72
|
|
|
|
|
|
|
is => 'ro', |
73
|
|
|
|
|
|
|
isa => 'Maybe[Str]', |
74
|
|
|
|
|
|
|
required => 0, |
75
|
|
|
|
|
|
|
); |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
has 'status' => ( |
78
|
|
|
|
|
|
|
is => 'ro', |
79
|
|
|
|
|
|
|
isa => 'Str', |
80
|
|
|
|
|
|
|
required => 0, |
81
|
|
|
|
|
|
|
); |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
has 'mac_address' => ( |
84
|
|
|
|
|
|
|
is => 'ro', |
85
|
|
|
|
|
|
|
isa => 'Str', |
86
|
|
|
|
|
|
|
required => 0, |
87
|
|
|
|
|
|
|
); |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has 'private_ip_address' => ( |
90
|
|
|
|
|
|
|
is => 'ro', |
91
|
|
|
|
|
|
|
isa => 'Str', |
92
|
|
|
|
|
|
|
required => 0, |
93
|
|
|
|
|
|
|
); |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
has 'group_sets' => ( |
96
|
|
|
|
|
|
|
is => 'ro', |
97
|
|
|
|
|
|
|
isa => 'Maybe[ArrayRef[Net::Amazon::EC2::GroupSet]]', |
98
|
|
|
|
|
|
|
required => 0, |
99
|
|
|
|
|
|
|
); |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 AUTHOR |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Igor Tsigankov <tsiganenok@gmail.com> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 COPYRIGHT |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
110
|
|
|
|
|
|
|
under the same terms as Perl itself. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
1
|
|
|
1
|
|
3536
|
no Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
115
|
|
|
|
|
|
|
1; |