You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2014/06/05 01:50:38 UTC
[26/50] git commit: updated refs/heads/4.3 to f304df0
CLOUDSTACK-6231 allow for cidr list entry of more than 256 chars
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/454cac44
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/454cac44
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/454cac44
Branch: refs/heads/4.3
Commit: 454cac448d83b973d8cd337cf214b17e31828b93
Parents: a253ff2
Author: Daan Hoogland <dh...@schubergphilis.com>
Authored: Wed Mar 12 15:50:43 2014 +0100
Committer: Daan Hoogland <dh...@schubergphilis.com>
Committed: Wed Mar 12 17:01:38 2014 +0100
----------------------------------------------------------------------
.../src/com/cloud/network/vpc/NetworkACLItemVO.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/454cac44/engine/schema/src/com/cloud/network/vpc/NetworkACLItemVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/network/vpc/NetworkACLItemVO.java b/engine/schema/src/com/cloud/network/vpc/NetworkACLItemVO.java
index 46f84c9..f4b65b5 100644
--- a/engine/schema/src/com/cloud/network/vpc/NetworkACLItemVO.java
+++ b/engine/schema/src/com/cloud/network/vpc/NetworkACLItemVO.java
@@ -61,7 +61,7 @@ public class NetworkACLItemVO implements NetworkACLItem {
@Enumerated(value=EnumType.STRING)
TrafficType trafficType;
- @Column(name="cidr")
+ @Column(name = "cidr", length = 2048)
String sourceCidrs;
@Column(name="uuid")
@@ -75,7 +75,7 @@ public class NetworkACLItemVO implements NetworkACLItem {
Action action;
public NetworkACLItemVO() {
- this.uuid = UUID.randomUUID().toString();
+ uuid = UUID.randomUUID().toString();
}
public NetworkACLItemVO(Integer portStart, Integer portEnd, String protocol,
@@ -85,11 +85,11 @@ public class NetworkACLItemVO implements NetworkACLItem {
this.sourcePortEnd = portEnd;
this.protocol = protocol;
this.aclId = aclId;
- this.state = State.Staged;
+ state = State.Staged;
this.icmpCode = icmpCode;
this.icmpType = icmpType;
setSourceCidrList(sourceCidrs);
- this.uuid = UUID.randomUUID().toString();
+ uuid = UUID.randomUUID().toString();
this.trafficType = trafficType;
this.action = action;
this.number = number;
@@ -181,7 +181,7 @@ public class NetworkACLItemVO implements NetworkACLItem {
@Override
public String getUuid() {
- return this.uuid;
+ return uuid;
}
@Override