Added more ignorable files to .gitignore
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / table / Open_vSwitch.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Brent Salisbury, Madhu Venugopal, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.lib.table;
11
12 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
13 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15
16 import com.fasterxml.jackson.annotation.JsonIgnore;
17
18 public class Open_vSwitch extends Table<Open_vSwitch> {
19
20     public static final Name<Open_vSwitch> NAME = new Name<Open_vSwitch>("Open_vSwitch"){};
21
22     private OvsDBSet<UUID> bridges;
23     private Integer curr_cfg;
24     private OvsDBSet<String> db_version;
25     private OvsDBSet<UUID> manager_options;
26     private OvsDBMap<String, String> status;
27     private Integer next_cfg;
28     private OvsDBSet<String> ovs_version;
29     private OvsDBSet<UUID> ssl;
30     private OvsDBSet<String> system_type;
31     private OvsDBSet<String> system_version;
32     private OvsDBMap<String, UUID> capabilities;
33     private OvsDBMap<String, String> other_config;
34     private OvsDBMap<String, String> external_ids;
35     private OvsDBMap<String, Integer> statistics;
36
37     public Open_vSwitch() {
38     }
39
40     @Override
41     @JsonIgnore
42     public Name<Open_vSwitch> getTableName() {
43         return NAME;
44     }
45
46     public OvsDBSet<UUID> getBridges() {
47         return bridges;
48     }
49
50     public void setBridges(OvsDBSet<UUID> bridges) {
51         this.bridges = bridges;
52     }
53
54     public Integer getCurr_cfg() {
55         return curr_cfg;
56     }
57
58     public void setCurr_cfg(Integer curr_cfg) {
59         this.curr_cfg = curr_cfg;
60     }
61
62     public OvsDBSet<String> getDb_version() {
63         return db_version;
64     }
65
66     public void setDb_version(OvsDBSet<String> db_version) {
67         this.db_version = db_version;
68     }
69
70     public OvsDBSet<UUID> getManager_options() {
71         return manager_options;
72     }
73
74     public void setManager_options(OvsDBSet<UUID> manager_options) {
75         this.manager_options = manager_options;
76     }
77
78     public OvsDBMap<String, String> getStatus() {
79         return status;
80     }
81
82     public void setStatus(OvsDBMap<String, String> status) {
83         this.status = status;
84     }
85
86     public Integer getNext_cfg() {
87         return next_cfg;
88     }
89
90     public void setNext_cfg(Integer next_cfg) {
91         this.next_cfg = next_cfg;
92     }
93
94     public OvsDBSet<String> getOvs_version() {
95         return ovs_version;
96     }
97
98     public void setOvs_version(OvsDBSet<String> ovs_version) {
99         this.ovs_version = ovs_version;
100     }
101
102     public OvsDBSet<UUID> getSsl() {
103         return ssl;
104     }
105
106     public void setSsl(OvsDBSet<UUID> ssl) {
107         this.ssl = ssl;
108     }
109
110     public OvsDBSet<String> getSystem_type() {
111         return system_type;
112     }
113
114     public void setSystem_type(OvsDBSet<String> system_type) {
115         this.system_type = system_type;
116     }
117
118     public OvsDBSet<String> getSystem_version() {
119         return system_version;
120     }
121
122     public void setSystem_version(OvsDBSet<String> system_version) {
123         this.system_version = system_version;
124     }
125
126     public OvsDBMap<String, UUID> getCapabilities() {
127         return capabilities;
128     }
129
130     public void setCapabilities(OvsDBMap<String, UUID> capabilities) {
131         this.capabilities = capabilities;
132     }
133
134     public OvsDBMap<String, String> getOther_config() {
135         return other_config;
136     }
137
138     public void setOther_config(OvsDBMap<String, String> other_config) {
139         this.other_config = other_config;
140     }
141
142     public OvsDBMap<String, String> getExternal_ids() {
143         return external_ids;
144     }
145
146     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
147         this.external_ids = external_ids;
148     }
149
150     public OvsDBMap<String, Integer> getStatistics() {
151         return statistics;
152     }
153
154     public void setStatistics(OvsDBMap<String, Integer> statistics) {
155         this.statistics = statistics;
156     }
157
158     @Override
159     public String toString() {
160         return "Open_vSwitch [bridges=" + bridges + ", curr_cfg=" + curr_cfg
161                 + ", db_version=" + db_version + ", manager_options="
162                 + manager_options + ", status=" + status + ", next_cfg="
163                 + next_cfg + ", ovs_version=" + ovs_version + ", ssl=" + ssl
164                 + ", system_type=" + system_type + ", system_version="
165                 + system_version + ", capabilities=" + capabilities
166                 + ", other_config=" + other_config + ", external_ids="
167                 + external_ids + ", statistics=" + statistics + "]";
168     }
169
170     public enum Column implements org.opendaylight.ovsdb.lib.table.Column<Open_vSwitch>{ controller, fail_mode, name, ports}
171 }