Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Added comments to the opendaylight-inventory.yang file to help describe the...
[controller.git]
/
opendaylight
/
networkconfiguration
/
neutron
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
networkconfig
/
neutron
/
NeutronRouter.java
diff --git
a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter.java
b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter.java
index ed65c5c91b9b8d16b86c1d96499ce135c1b91e52..2c10cca0c0e4d0819f91d2f7d5543897d216cd65 100644
(file)
--- a/
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter.java
+++ b/
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter.java
@@
-18,10
+18,12
@@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
+import org.opendaylight.controller.configuration.ConfigurationObject;
+
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
-public class NeutronRouter
implements Serializable
{
+public class NeutronRouter
extends ConfigurationObject implements Serializable, INeutronObject
{
private static final long serialVersionUID = 1L;
// See OpenStack Network API v2.0 Reference for description of
private static final long serialVersionUID = 1L;
// See OpenStack Network API v2.0 Reference for description of
@@
-55,6
+57,8
@@
public class NeutronRouter implements Serializable {
public String getID() { return routerUUID; }
public String getID() { return routerUUID; }
+ public void setID(String id) { this.routerUUID = id; }
+
public String getRouterUUID() {
return routerUUID;
}
public String getRouterUUID() {
return routerUUID;
}