Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Neutron LBaaS v2.0 API support
[controller.git]
/
opendaylight
/
networkconfiguration
/
neutron
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
networkconfig
/
neutron
/
NeutronSubnet.java
diff --git
a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
index d032d2e8acf7f1694da85b7fec18a0623176962d..1f10b395137c498b3e542e974545132332e84be4 100644
(file)
--- a/
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
+++ b/
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
@@
-299,7
+299,7
@@
public class NeutronSubnet extends ConfigurationObject implements Serializable,
try {
SubnetUtils util = new SubnetUtils(cidr);
SubnetInfo info = util.getInfo();
- if (gatewayIP == null) {
+ if (gatewayIP == null
|| ("").equals(gatewayIP)
) {
gatewayIP = info.getLowAddress();
}
if (allocationPools.size() < 1) {