blib/lib/RackTables/Schema/Result/IPv4VS.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/RackTables/Schema/Result/IPv4RSPool.pm ↑ Summary blib/lib/RackTables/Schema/Result/IPv6Address.pm »
1 package RackTables::Schema::Result::IPv4VS;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use MooseX::NonMoose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'DBIx::Class::Core';
13  
14  
15 =head1 NAME
16  
17 RackTables::Schema::Result::IPv4VS
18  
19 =cut
20  
21 1 __PACKAGE__->table("IPv4VS");
22  
23 =head1 ACCESSORS
24  
25 =head2 id
26  
27 data_type: 'integer'
28 extra: {unsigned => 1}
29 is_auto_increment: 1
30 is_nullable: 0
31  
32 =head2 vip
33  
34 data_type: 'integer'
35 extra: {unsigned => 1}
36 is_nullable: 1
37  
38 =head2 vport
39  
40 data_type: 'smallint'
41 extra: {unsigned => 1}
42 is_nullable: 1
43  
44 =head2 proto
45  
46 data_type: 'enum'
47 default_value: 'TCP'
48 extra: {list => ["TCP","UDP"]}
49 is_nullable: 0
50  
51 =head2 name
52  
53 data_type: 'char'
54 is_nullable: 1
55 size: 255
56  
57 =head2 vsconfig
58  
59 data_type: 'text'
60 is_nullable: 1
61  
62 =head2 rsconfig
63  
64 data_type: 'text'
65 is_nullable: 1
66  
67 =cut
68  
69 1 __PACKAGE__->add_columns(
70 "id",
71 {
72 data_type => "integer",
73 extra => { unsigned => 1 },
74 is_auto_increment => 1,
75 is_nullable => 0,
76 },
77 "vip",
78 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
79 "vport",
80 { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 1 },
81 "proto",
82 {
83 data_type => "enum",
84 default_value => "TCP",
85 extra => { list => ["TCP", "UDP"] },
86 is_nullable => 0,
87 },
88 "name",
89 { data_type => "char", is_nullable => 1, size => 255 },
90 "vsconfig",
91 { data_type => "text", is_nullable => 1 },
92 "rsconfig",
93 { data_type => "text", is_nullable => 1 },
94 );
95 1 __PACKAGE__->set_primary_key("id");
96  
97 =head1 RELATIONS
98  
99 =head2 ipv4_lbs
100  
101 Type: has_many
102  
103 Related object: L<RackTables::Schema::Result::IPv4LB>
104  
105 =cut
106  
107 1 __PACKAGE__->has_many(
108 "ipv4_lbs",
109 "RackTables::Schema::Result::IPv4LB",
110 { "foreign.vs_id" => "self.id" },
111 { cascade_copy => 0, cascade_delete => 0 },
112 );
113  
114  
115 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02
116 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:i0+Ajpi0rAEq5Acw/jOQiA
117  
118  
119 # You can replace this text with custom code or comments, and it will be preserved on regeneration
120 1 __PACKAGE__->meta->make_immutable;
121 1 1;
« blib/lib/RackTables/Schema/Result/IPv4RSPool.pm ↑ Summary blib/lib/RackTables/Schema/Result/IPv6Address.pm »