01b39c96777efce8c8908df445a5a3057e6e2a47
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / table / IPFIX.java
1 package org.opendaylight.ovsdb.lib.table;
2
3 import com.fasterxml.jackson.annotation.JsonIgnore;
4 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
5 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
6 import org.opendaylight.ovsdb.lib.table.internal.Table;
7
8 /**
9  * Per ovs-vswitchd.conf.db 2.0.90
10  *
11  * Summary of the IPFIX fields:
12  * targets               set of 1 or more strings
13  * sampling              integer, in range 1 to 4,294,967,295 (optional)
14  * obs_domain_id         integer, in range 0 to 4,294,967,295 (optional)
15  * obs_point_id          integer, in range 0 to 4,294,967,295 (optional)
16  * cache_active_timeout  integer, in range 0 to 4,200 (optional)
17  * cache_max_flows        integer, in range 0 to 4,294,967,295 (optional)
18  */
19
20 public class IPFIX extends Table<IPFIX> {
21
22     public static final Name<IPFIX> NAME = new Name<IPFIX>("IPFIX") {};
23
24     private OvsDBSet<String> targets;
25     private OvsDBSet<Integer> sampling;
26     private Integer obs_domain_id;
27     private Integer obs_point_id;
28     private OvsDBSet<Integer> cache_active_timeout;
29     private OvsDBSet<Integer> cache_max_flows;
30     private OvsDBMap<String, String> external_ids;
31
32     public IPFIX() {
33     }
34
35     public OvsDBSet<String> getTargets() {
36         return targets;
37     }
38
39     public void setTargets(OvsDBSet<String> targets) {
40         this.targets = targets;
41     }
42
43     public OvsDBSet<Integer> getSampling() {
44         return sampling;
45     }
46
47     public void setSampling(OvsDBSet<Integer> sampling) {
48         this.sampling = sampling;
49     }
50
51     public Integer getObs_domain_id() {
52         return obs_domain_id;
53     }
54
55     public void setObs_domain_id(Integer obs_domain_id) {
56         this.obs_domain_id = obs_domain_id;
57     }
58
59     public Integer getObs_point_id() {
60         return obs_point_id;
61     }
62
63     public void setObs_point_id(Integer obs_point_id) {
64         this.obs_point_id = obs_point_id;
65     }
66
67     public OvsDBSet<Integer> getCache_active_timeout() {
68         return cache_active_timeout;
69     }
70
71     public void setCache_active_timeout(OvsDBSet<Integer> cache_active_timeout) {
72         this.cache_active_timeout = cache_active_timeout;
73     }
74
75     public OvsDBSet<Integer> getCache_max_flows() {
76         return cache_max_flows;
77     }
78
79     public void setCache_max_flows(OvsDBSet<Integer> cache_max_flows) {
80         this.cache_max_flows = cache_max_flows;
81     }
82
83     public OvsDBMap<String, String> getExternal_ids() {
84         return external_ids;
85     }
86
87     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
88         this.external_ids = external_ids;
89     }
90
91     @Override
92     @JsonIgnore
93     public Name<IPFIX> getTableName() {
94         return NAME;
95     }
96
97     @Override
98     public String toString() {
99         return "IPFIX [" +
100                 "targets=" + targets +
101                 ", sampling=" + sampling +
102                 ", obs_domain_id=" + obs_domain_id +
103                 ", obs_point_id=" + obs_point_id +
104                 ", cache_active_timeout=" + cache_active_timeout +
105                 ", cache_max_flows=" + cache_max_flows +
106                 ", external_ids=" + external_ids +
107                 "]";
108     }
109 }