Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67DB5E30A for ; Tue, 26 Feb 2013 14:14:24 +0000 (UTC) Received: (qmail 56600 invoked by uid 500); 26 Feb 2013 14:14:19 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 56513 invoked by uid 500); 26 Feb 2013 14:14:19 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 52204 invoked by uid 99); 26 Feb 2013 14:14:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 14:14:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 454636AA7; Tue, 26 Feb 2013 14:14:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: widodh@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [17/36] git commit: refs/heads/qemu-img - CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response Message-Id: <20130226141412.454636AA7@tyr.zones.apache.org> Date: Tue, 26 Feb 2013 14:14:12 +0000 (UTC) CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/cf90b6cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/cf90b6cd Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/cf90b6cd Branch: refs/heads/qemu-img Commit: cf90b6cd10050e58c2444b0c3e6ea437d01d71f4 Parents: 596e940 Author: Sheng Yang Authored: Mon Feb 25 16:55:47 2013 -0800 Committer: Sheng Yang Committed: Mon Feb 25 19:12:09 2013 -0800 ---------------------------------------------------------------------- .../api/response/DomainRouterResponse.java | 22 +++++++++++++++ .../cloudstack/api/response/ZoneResponse.java | 22 +++++++++++++++ .../cloud/api/query/dao/DataCenterJoinDaoImpl.java | 2 + .../api/query/dao/DomainRouterJoinDaoImpl.java | 3 ++ .../com/cloud/api/query/vo/DataCenterJoinVO.java | 22 +++++++++++++++ .../com/cloud/api/query/vo/DomainRouterJoinVO.java | 20 +++++++++++++ setup/db/db/schema-40to410.sql | 4 +++ 7 files changed, 95 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cf90b6cd/api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java b/api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java index c9aa197..274e7a5 100644 --- a/api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java +++ b/api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java @@ -47,6 +47,12 @@ public class DomainRouterResponse extends BaseResponse implements ControlledView @SerializedName(ApiConstants.DNS2) @Param(description="the second DNS for the router") private String dns2; + @SerializedName(ApiConstants.IP6_DNS1) @Param(description="the first IPv6 DNS for the router") + private String ip6Dns1; + + @SerializedName(ApiConstants.IP6_DNS2) @Param(description="the second IPv6 DNS for the router") + private String ip6Dns2; + @SerializedName("networkdomain") @Param(description="the network domain for the router") private String networkDomain; @@ -338,4 +344,20 @@ public class DomainRouterResponse extends BaseResponse implements ControlledView public void addNic(NicResponse nic) { this.nics.add(nic); } + + public String getIp6Dns1() { + return ip6Dns1; + } + + public void setIp6Dns1(String ip6Dns1) { + this.ip6Dns1 = ip6Dns1; + } + + public String getIp6Dns2() { + return ip6Dns2; + } + + public void setIp6Dns2(String ip6Dns2) { + this.ip6Dns2 = ip6Dns2; + } } http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cf90b6cd/api/src/org/apache/cloudstack/api/response/ZoneResponse.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/response/ZoneResponse.java b/api/src/org/apache/cloudstack/api/response/ZoneResponse.java index ab99e2d..2ebb15a 100644 --- a/api/src/org/apache/cloudstack/api/response/ZoneResponse.java +++ b/api/src/org/apache/cloudstack/api/response/ZoneResponse.java @@ -44,6 +44,12 @@ public class ZoneResponse extends BaseResponse { @SerializedName(ApiConstants.DNS2) @Param(description="the second DNS for the Zone") private String dns2; + @SerializedName(ApiConstants.IP6_DNS1) @Param(description="the first IPv6 DNS for the Zone") + private String ip6Dns1; + + @SerializedName(ApiConstants.IP6_DNS2) @Param(description="the second IPv6 DNS for the Zone") + private String ip6Dns2; + @SerializedName(ApiConstants.INTERNAL_DNS1) @Param(description="the first internal DNS for the Zone") private String internalDns1; @@ -176,4 +182,20 @@ public class ZoneResponse extends BaseResponse { public void setLocalStorageEnabled(boolean localStorageEnabled) { this.localStorageEnabled = localStorageEnabled; } + + public String getIp6Dns1() { + return ip6Dns1; + } + + public void setIp6Dns1(String ip6Dns1) { + this.ip6Dns1 = ip6Dns1; + } + + public String getIp6Dns2() { + return ip6Dns2; + } + + public void setIp6Dns2(String ip6Dns2) { + this.ip6Dns2 = ip6Dns2; + } } http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cf90b6cd/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java b/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java index 667d855..4c8b545 100644 --- a/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java +++ b/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java @@ -70,6 +70,8 @@ public class DataCenterJoinDaoImpl extends GenericDaoBase