Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Northbound cleanup for static routing
[controller.git]
/
opendaylight
/
northbound
/
staticrouting
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
forwarding
/
staticrouting
/
northbound
/
StaticRoutes.java
diff --git
a/opendaylight/northbound/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/northbound/StaticRoutes.java
b/opendaylight/northbound/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/northbound/StaticRoutes.java
index 683a9a2d906a285b37dab19bdb4b36b528aa8b57..27aa0ed3f91b2f5ad6d9c54921fd83d5f9a748b8 100644
(file)
--- a/
opendaylight/northbound/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/northbound/StaticRoutes.java
+++ b/
opendaylight/northbound/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/northbound/StaticRoutes.java
@@
-17,9
+17,11
@@
import javax.xml.bind.annotation.XmlRootElement;
import org.opendaylight.controller.forwardingrulesmanager.FlowConfig;
import org.opendaylight.controller.forwardingrulesmanager.FlowConfig;
-@XmlRootElement
+/**
+ * This class represents a list of static routes.
+ */
+@XmlRootElement(name = "list")
@XmlAccessorType(XmlAccessType.NONE)
@XmlAccessorType(XmlAccessType.NONE)
-
public class StaticRoutes {
@XmlElement
List<StaticRoute> staticRoute;
public class StaticRoutes {
@XmlElement
List<StaticRoute> staticRoute;