cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sw...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 726ee47
Date Wed, 11 May 2016 03:55:47 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master d2a95b4c6 -> 726ee47e9


agent: Enable IPv6 connectivity for KVM Agent to Management Server

IPv4 is still preferred, so if the hostname of the Management Server
returns a A and AAAA-record the Agent will still connect to the
server over IPv4.

This situation will however allow to use a hostname which only has
a AAAA-record. In that case the Agent will connect to the Management
Server over IPv6.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/16651fec
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/16651fec
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/16651fec

Branch: refs/heads/master
Commit: 16651feca02798f00a55f123c3e119a981576f53
Parents: d1def0a
Author: Wido den Hollander <wido@widodh.nl>
Authored: Tue Apr 12 11:15:09 2016 +0200
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Tue Apr 12 11:15:09 2016 +0200

----------------------------------------------------------------------
 agent/src/com/cloud/agent/AgentShell.java | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/16651fec/agent/src/com/cloud/agent/AgentShell.java
----------------------------------------------------------------------
diff --git a/agent/src/com/cloud/agent/AgentShell.java b/agent/src/com/cloud/agent/AgentShell.java
index 961c106..5e0da68 100644
--- a/agent/src/com/cloud/agent/AgentShell.java
+++ b/agent/src/com/cloud/agent/AgentShell.java
@@ -409,12 +409,7 @@ public class AgentShell implements IAgentShell, Daemon {
             /* By default we only search for log4j.xml */
             LogUtils.initLog4j("log4j-cloud.xml");
 
-            /*
-                By default we disable IPv6 for now to maintain backwards
-                compatibility. At a later point in time we can change this
-                behavior to prefer IPv6 over IPv4.
-            */
-            boolean ipv6disabled = true;
+            boolean ipv6disabled = false;
             String ipv6 = getProperty(null, "ipv6disabled");
             if (ipv6 != null) {
                 ipv6disabled = Boolean.parseBoolean(ipv6);


Mime
View raw message