mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9612: Fixed issue in restarting redundant network with cleanup
Rvr Network with cleanup which is updated from the isolated network is failed.
Corrected the column name string issue.
This closes #1781
(cherry picked from commit 0f742e1723)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
60c4fce690
commit
7d678dfcae
|
|
@ -104,7 +104,7 @@ public class NetworkVO implements Network {
|
|||
State state;
|
||||
|
||||
@Column(name = "redundant")
|
||||
boolean isRedundant;
|
||||
boolean redundant;
|
||||
|
||||
@Column(name = "dns1")
|
||||
String dns1;
|
||||
|
|
@ -205,7 +205,7 @@ public class NetworkVO implements Network {
|
|||
this.networkOfferingId = networkOfferingId;
|
||||
this.dataCenterId = dataCenterId;
|
||||
this.physicalNetworkId = physicalNetworkId;
|
||||
this.isRedundant = isRedundant;
|
||||
this.redundant = isRedundant;
|
||||
if (state == null) {
|
||||
this.state = State.Allocated;
|
||||
} else {
|
||||
|
|
@ -301,7 +301,7 @@ public class NetworkVO implements Network {
|
|||
|
||||
@Override
|
||||
public boolean isRedundant() {
|
||||
return this.isRedundant;
|
||||
return this.redundant;
|
||||
}
|
||||
|
||||
// don't use this directly when possible, use Network state machine instead
|
||||
|
|
@ -632,7 +632,7 @@ public class NetworkVO implements Network {
|
|||
}
|
||||
|
||||
public void setIsReduntant(boolean reduntant) {
|
||||
this.isRedundant = reduntant;
|
||||
this.redundant = reduntant;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue