Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1F301101F for ; Mon, 7 Jul 2014 21:50:02 +0000 (UTC) Received: (qmail 21401 invoked by uid 500); 7 Jul 2014 21:50:02 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 21378 invoked by uid 500); 7 Jul 2014 21:50:02 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 21369 invoked by uid 99); 7 Jul 2014 21:50:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 21:50:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 41A02945146; Mon, 7 Jul 2014 21:50:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: frankzhang@apache.org To: commits@cloudstack.apache.org Date: Mon, 07 Jul 2014 21:50:03 -0000 Message-Id: <4fae48c54a7541a4836f1f5010d14600@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/6] git commit: updated refs/heads/master to 65497b6 CLOUDSTACK-6278 Baremetal Advanced Networking support Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3ddc9e76 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3ddc9e76 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3ddc9e76 Branch: refs/heads/master Commit: 3ddc9e7674c4a12b0e12ca51bb8795dcff5de974 Parents: 7b44418 Author: Frank.Zhang Authored: Mon Jul 7 11:40:21 2014 -0700 Committer: Frank.Zhang Committed: Mon Jul 7 11:40:21 2014 -0700 ---------------------------------------------------------------------- server/src/com/cloud/configuration/Config.java | 8 ++++++++ .../VirtualNetworkApplianceManagerImpl.java | 20 +++++++++++++++++++- utils/src/com/cloud/utils/fsm/StateObject.java | 4 ++-- 3 files changed, 29 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3ddc9e76/server/src/com/cloud/configuration/Config.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/configuration/Config.java b/server/src/com/cloud/configuration/Config.java index 196db93..7863001 100755 --- a/server/src/com/cloud/configuration/Config.java +++ b/server/src/com/cloud/configuration/Config.java @@ -1761,6 +1761,14 @@ public enum Config { "The maximum number of retrying times to search for an available IPv6 address in the table", null), + BaremetalPeerHypervisorType( + "Advanced", + ManagementServer.class, + String.class, + "baremetal.peer.hypervisor.type", + "XenServer", + "Hypervisor[Xenserver/KVM/VMWare] used to spring up virtual router for baremetal instances. The cluster having this hypervisor type must be in the same zone with baremetal cluster", + null), ExternalBaremetalSystemUrl( "Advanced", ManagementServer.class, http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3ddc9e76/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java index 1068a2f..d8e3761 100755 --- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java +++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java @@ -1738,7 +1738,7 @@ VirtualMachineGuru, Listener, Configurable, StateListener iter = hypervisors.iterator(); iter.hasNext();) { - final HypervisorType hType = iter.next(); + HypervisorType hType = iter.next(); try { final long id = _routerDao.getNextInSequence(Long.class, "id"); if (s_logger.isDebugEnabled()) { @@ -1762,6 +1762,24 @@ VirtualMachineGuru, Listener, Configurable, StateListener { /** - * @return finite state. - */ + * @return finite state. + */ S getState(); }