blob: 8fc9256fe579474ad05ce1bab53f358949ba3c23 [file] [log] [blame]
Srikanth Vavilapallie7dabdd2014-10-20 21:54:39 -07001package net.onrc.onos.apps.segmentrouting.web;
2
3
4public class SegmentRouterPolicyRESTParams {
5 private String policy_id;
Srikanth Vavilapalli9cde3812014-10-21 21:49:10 -07006 private String policy_type;
Srikanth Vavilapallie7dabdd2014-10-20 21:54:39 -07007 private int priority;
8 private String tunnel_id;
9 private String proto_type;
10 private String src_ip;
11 private String src_tp_port_op;
12 private short src_tp_port;
13 private String dst_ip;
14 private String dst_tp_port_op;
15 private short dst_tp_port;
16
17 public SegmentRouterPolicyRESTParams() {
18 this.policy_id = null;
Srikanth Vavilapalli9cde3812014-10-21 21:49:10 -070019 this.policy_type = null;
Srikanth Vavilapallie7dabdd2014-10-20 21:54:39 -070020 this.priority = 0;
21 this.tunnel_id = null;
22 this.proto_type = null;
23 this.src_ip = null;
24 this.src_tp_port_op = null;
25 this.src_tp_port = 0;
26 this.dst_ip = null;
27 this.dst_tp_port_op = null;
28 this.dst_tp_port = 0;
29 }
30
31 public void setPolicy_id(String policy_id) {
32 this.policy_id = policy_id;
33 }
34
35 public String getPolicy_id() {
36 return this.policy_id;
37 }
38
Srikanth Vavilapalli9cde3812014-10-21 21:49:10 -070039 public void setPolicy_type(String policy_type) {
40 this.policy_type = policy_type;
41 }
42
43 public String getPolicy_type() {
44 return this.policy_type;
45 }
46
Srikanth Vavilapallie7dabdd2014-10-20 21:54:39 -070047 public void setPriority(int priority) {
48 this.priority = priority;
49 }
50
51 public int getPriority() {
52 return this.priority;
53 }
54
55 public void setTunnel_id(String tunnel_id) {
56 this.tunnel_id = tunnel_id;
57 }
58
59 public String getTunnel_id() {
60 return this.tunnel_id;
61 }
62
63 public void setProto_type(String proto_type) {
64 this.proto_type = proto_type;
65 }
66
67 public String getProto_type() {
68 return this.proto_type;
69 }
70
71 public void setSrc_ip(String src_ip) {
72 this.src_ip = src_ip;
73 }
74
75 public String getSrc_ip() {
76 return this.src_ip;
77 }
78
79 public void setSrc_tp_port_op(String src_tp_port_op) {
80 this.src_tp_port_op = src_tp_port_op;
81 }
82
83 public String getSrc_tp_port_op() {
84 return this.src_tp_port_op;
85 }
86
87 public void setSrc_tp_port(short src_tp_port) {
88 this.src_tp_port = src_tp_port;
89 }
90
91 public short getSrc_tp_port() {
92 return this.src_tp_port;
93 }
94
95 public void setDst_ip(String dst_ip) {
96 this.dst_ip = dst_ip;
97 }
98
99 public String getDst_ip() {
100 return this.dst_ip;
101 }
102
103 public void setDst_tp_port_op(String dst_tp_port_op) {
104 this.dst_tp_port_op = dst_tp_port_op;
105 }
106
107 public String getDst_tp_port_op() {
108 return this.dst_tp_port_op;
109 }
110
111 public void setDst_tp_port(short dst_tp_port) {
112 this.dst_tp_port = dst_tp_port;
113 }
114
115 public short getDst_tp_port() {
116 return this.dst_tp_port;
117 }
118}