summaryrefslogtreecommitdiffstats
path: root/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java
diff options
context:
space:
mode:
authorRamesh Parthasarathy <ramesh.parthasarathy@att.com>2019-09-24 10:11:35 -0700
committerRamesh Parthasarathy <ramesh.parthasarathy@att.com>2019-09-24 10:13:40 -0700
commite0b745eb060db35bb3da1a24ee778b622da9295b (patch)
treeda2f7456a3ebbd0a83b50bb31f7b54db76253572 /quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java
parentcef365681191dd67ae790ba9553efd2776890a11 (diff)
Addressed the error in retrieving subnets
Addressed the error in retrieving subnets with SO Libs repository openstack SDK project Issue-ID: SO-2361 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com> Change-Id: If54a8097ca16a266b075d3e5bfcf09157947087d
Diffstat (limited to 'quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java')
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java59
1 files changed, 59 insertions, 0 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java
new file mode 100644
index 0000000..4a93253
--- /dev/null
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Routes.java
@@ -0,0 +1,59 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.quantum.model;
+
+import java.io.Serializable;
+
+public class Routes implements Serializable {
+
+ private String destination;
+ private String nexthop;
+
+ /**
+ * @return the destination
+ */
+ public String getDestination() {
+ return destination;
+ }
+
+ /**
+ * @param destination the destination to set
+ */
+ public void setDestination(String destination) {
+ this.destination = destination;
+ }
+
+ /**
+ * @return the nexthop
+ */
+ public String getNexthop() {
+ return nexthop;
+ }
+
+ /**
+ * @param nexthop the nexthop to set
+ */
+ public void setNexthop(String nexthop) {
+ this.nexthop = nexthop;
+ }
+
+ @Override
+ public String toString() {
+ return "host_routes [destination=" + destination + ", nexthop=" + nexthop + "]";
+ }
+
+}