[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-11-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262405#comment-16262405
 ] 

ASF subversion and git services commented on CLOUDSTACK-9853:
-

Commit 632479d8f8e25d442c09e54f78dbda1c468ca3b6 in cloudstack's branch 
refs/heads/master from [~widodh]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=632479d ]

CLOUDSTACK-9853: Add support for Secondary IPv6 Addresses and Subnets (#2028)

This commit adds support for passing IPv6 Addresses and/or Subnets as
Secondary IPs.

This is groundwork for CLOUDSTACK-9853 where IPv6 Subnets have to be
allowed in the Security Groups of Instances to we can add DHCPv6
Prefix Delegation.

Use ; instead of : for separating addresses, otherwise it would cause
problems with IPv6 Addresses.

Signed-off-by: Wido den Hollander 

> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-11-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262404#comment-16262404
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


rhtyd closed pull request #2028: CLOUDSTACK-9853: Add support for Secondary 
IPv6 Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/api/src/com/cloud/vm/NicSecondaryIp.java 
b/api/src/com/cloud/vm/NicSecondaryIp.java
index fb90dd351f6..b7d3668c3e2 100644
--- a/api/src/com/cloud/vm/NicSecondaryIp.java
+++ b/api/src/com/cloud/vm/NicSecondaryIp.java
@@ -34,6 +34,8 @@
 
 String getIp4Address();
 
+String getIp6Address();
+
 long getNetworkId();
 
 long getVmId();
diff --git a/core/src/com/cloud/agent/api/SecurityGroupRulesCmd.java 
b/core/src/com/cloud/agent/api/SecurityGroupRulesCmd.java
index fe4ac1cdc2e..47da7f816bb 100644
--- a/core/src/com/cloud/agent/api/SecurityGroupRulesCmd.java
+++ b/core/src/com/cloud/agent/api/SecurityGroupRulesCmd.java
@@ -35,7 +35,7 @@
 public class SecurityGroupRulesCmd extends Command {
 private static final String CIDR_LENGTH_SEPARATOR = "/";
 private static final char RULE_TARGET_SEPARATOR = ',';
-private static final char RULE_COMMAND_SEPARATOR = ':';
+private static final char RULE_COMMAND_SEPARATOR = ';';
 protected static final String EGRESS_RULE = "E:";
 protected static final String INGRESS_RULE = "I:";
 private static final Logger LOGGER = 
Logger.getLogger(SecurityGroupRulesCmd.class);
diff --git a/core/test/com/cloud/agent/api/SecurityGroupRulesCmdTest.java 
b/core/test/com/cloud/agent/api/SecurityGroupRulesCmdTest.java
index aba24608241..50c82a76455 100644
--- a/core/test/com/cloud/agent/api/SecurityGroupRulesCmdTest.java
+++ b/core/test/com/cloud/agent/api/SecurityGroupRulesCmdTest.java
@@ -86,7 +86,7 @@ public void testStringifyCompressedRules() throws Exception {
  */
 @Test
 public void testCompressStringifiedRules() throws Exception {
-final String compressed = 
"eJzztEpMSrYytDKyMtQz0jPWM9E31THTM9ez0LPUN9Dxc40IUXAlrAQAPdoP3Q==";
+final String compressed = 
"eJzztEpMSrY2tDayNtQz0jPWM9E31THTM9ez0LPUN9Dxc40IUXAlrAQAPusP4w==";
 final String a = securityGroupRulesCmd.compressStringifiedRules();
 assertTrue(compressed.equals(a));
 }
diff --git a/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpDaoImpl.java 
b/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpDaoImpl.java
index 8cd61953a73..6ae9b1534cd 100644
--- a/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpDaoImpl.java
+++ b/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpDaoImpl.java
@@ -20,6 +20,7 @@
 import java.util.List;
 
 
+import com.cloud.utils.StringUtils;
 import org.springframework.stereotype.Component;
 
 import com.cloud.utils.db.GenericDaoBase;
@@ -106,7 +107,13 @@ protected NicSecondaryIpDaoImpl() {
 List results = search(sc, null);
 List ips = new ArrayList(results.size());
 for (NicSecondaryIpVO result : results) {
-ips.add(result.getIp4Address());
+if (StringUtils.isNotBlank(result.getIp4Address())) {
+ips.add(result.getIp4Address());
+}
+
+if (StringUtils.isNotBlank(result.getIp6Address())) {
+ips.add(result.getIp6Address());
+}
 }
 return ips;
 }
diff --git a/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpVO.java 
b/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpVO.java
index f8730aac5d2..23e45e8a235 100644
--- a/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpVO.java
+++ b/engine/schema/src/com/cloud/vm/dao/NicSecondaryIpVO.java
@@ -42,6 +42,16 @@ public NicSecondaryIpVO(long nicId, String ipaddr, long 
vmId, long accountId, lo
 this.networkId = networkId;
 }
 
+public NicSecondaryIpVO(long nicId, String ip4Address, String ip6Address, 
long vmId, long accountId, long domainId, long networkId) {
+this.nicId = nicId;
+this.vmId = vmId;
+this.ip4Address = ip4Address;
+this.ip6Address = ip6Address;
+this.accountId = accountId;
+this.domainId = domainId;
+this.networkId = networkId;
+}
+
 protected NicSecondaryIpVO() {
 }
 
diff --git 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtStartCommandWrapper.java
 
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtStartCommandWrapper.java
index 198b95dd237..5a75f078f9e 100644
--- 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtStartCommandWrapper.java
+++ 
b/plugins/hypervisor

[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-11-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262402#comment-16262402
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


rhtyd commented on issue #2028: CLOUDSTACK-9853: Add support for Secondary IPv6 
Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-346330345
 
 
   LGTM, the failing tests are known intermittent issues. I'll merge this, 
thanks @wido 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-11-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262406#comment-16262406
 ] 

ASF subversion and git services commented on CLOUDSTACK-9853:
-

Commit 632479d8f8e25d442c09e54f78dbda1c468ca3b6 in cloudstack's branch 
refs/heads/master from [~widodh]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=632479d ]

CLOUDSTACK-9853: Add support for Secondary IPv6 Addresses and Subnets (#2028)

This commit adds support for passing IPv6 Addresses and/or Subnets as
Secondary IPs.

This is groundwork for CLOUDSTACK-9853 where IPv6 Subnets have to be
allowed in the Security Groups of Instances to we can add DHCPv6
Prefix Delegation.

Use ; instead of : for separating addresses, otherwise it would cause
problems with IPv6 Addresses.

Signed-off-by: Wido den Hollander 

> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223108#comment-16223108
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


blueorangutan commented on issue #2028: CLOUDSTACK-9853: Add support for 
Secondary IPv6 Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-340128176
 
 
   Trillian test result (tid-1599)
   Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 52365 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2028-t1599-vmware-55u3.zip
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_vgpu_enabled_vm.py
   Intermitten failure detected: /marvin/tests/smoke/test_host_annotations.py
   Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
   Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
   Test completed. 58 look OK, 5 have error(s)
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_vpc_remote_access_vpn | `Failure` | 171.72 | test_vpc_vpn.py
   test_01_create_volume | `Failure` | 185.86 | test_volumes.py
   test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | `Failure` | 
519.88 | test_routers_network_ops.py
   test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | `Failure` | 
521.68 | test_routers_network_ops.py
   test_04_rvpc_privategw_static_routes | `Failure` | 751.81 | 
test_privategw_acl.py
   test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 374.39 | 
test_privategw_acl.py
   test_02_vpc_privategw_static_routes | `Failure` | 550.72 | 
test_privategw_acl.py
   test_01_vpc_privategw_acl | `Failure` | 177.42 | test_privategw_acl.py
   test_05_add_annotation_for_invalid_entityType | `Error` | 0.07 | 
test_host_annotations.py
   test_08_resize_volume | Skipped | 5.12 | test_volumes.py
   test_07_resize_fail | Skipped | 15.34 | test_volumes.py
   test_09_copy_delete_template | Skipped | 0.02 | test_templates.py
   test_06_copy_template | Skipped | 0.00 | test_templates.py
   test_static_role_account_acls | Skipped | 0.02 | test_staticroles.py
   test_11_ss_nfs_version_on_ssvm | Skipped | 0.02 | test_ssvm.py
   test_01_scale_vm | Skipped | 66.53 | test_scale_vm.py
   test_01_primary_storage_iscsi | Skipped | 0.09 | test_primary_storage.py
   test_vm_nic_adapter_vmxnet3 | Skipped | 0.00 | test_nic_adapter_type.py
   test_06_copy_iso | Skipped | 0.00 | test_iso.py
   test_list_ha_for_host_valid | Skipped | 0.03 | test_hostha_simulator.py
   test_list_ha_for_host_invalid | Skipped | 0.03 | test_hostha_simulator.py
   test_list_ha_for_host | Skipped | 0.03 | test_hostha_simulator.py
   test_hostha_enable_feature_without_setting_provider | Skipped | 0.02 | 
test_hostha_simulator.py
   test_hostha_enable_feature_valid | Skipped | 0.02 | test_hostha_simulator.py
   test_hostha_disable_feature_valid | Skipped | 0.02 | test_hostha_simulator.py
   test_hostha_configure_invalid_provider | Skipped | 0.03 | 
test_hostha_simulator.py
   test_hostha_configure_default_driver | Skipped | 0.02 | 
test_hostha_simulator.py
   test_ha_verify_fsm_recovering | Skipped | 0.02 | test_hostha_simulator.py
   test_ha_verify_fsm_fenced | Skipped | 0.03 | test_hostha_simulator.py
   test_ha_verify_fsm_degraded | Skipped | 0.03 | test_hostha_simulator.py
   test_ha_verify_fsm_available | Skipped | 0.03 | test_hostha_simulator.py
   test_ha_multiple_mgmt_server_ownership | Skipped | 0.03 | 
test_hostha_simulator.py
   test_ha_list_providers | Skipped | 0.05 | test_hostha_simulator.py
   test_ha_enable_feature_invalid | Skipped | 0.02 | test_hostha_simulator.py
   test_ha_disable_feature_invalid | Skipped | 0.02 | test_hostha_simulator.py
   test_ha_configure_enabledisable_across_clusterzones | Skipped | 0.03 | 
test_hostha_simulator.py
   test_configure_ha_provider_valid | Skipped | 0.03 | test_hostha_simulator.py
   test_configure_ha_provider_invalid | Skipped | 0.03 | 
test_hostha_simulator.py
   test_remove_ha_provider_not_possible | Skipped | 0.03 | test_hostha_kvm.py
   test_hostha_kvm_host_recovering | Skipped | 0.03 | test_hostha_kvm.py
   test_hostha_kvm_host_fencing | Skipped | 0.03 | test_hostha_kvm.py
   test_hostha_kvm_host_degraded | Skipped | 0.03 | test_hostha_kvm.py
   test_hostha_enable_ha_when_host_in_maintenance | Skipped | 0.03 | 
test_hostha_kvm.py
   test_hostha_enable_ha_when_host_disconected | Skipped | 0.04 | 
test_hostha_kvm.py
   test_hostha_enable_ha_when_host_disabled | Skipped | 0.03 | 
test_hostha_kvm.py
   test_hostha_configure_default_driver | Skipped | 0.04 | test_hostha_kvm.py
   test_disable_oobm_ha_state_ineligible | Skipped | 0.05 | test_hostha_kvm.py
   test_06_verify_guest_lsp

[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222124#comment-16222124
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


blueorangutan commented on issue #2028: CLOUDSTACK-9853: Add support for 
Secondary IPv6 Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339934010
 
 
   @rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been 
kicked to run smoke tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222121#comment-16222121
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


rhtyd commented on issue #2028: CLOUDSTACK-9853: Add support for Secondary IPv6 
Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339933839
 
 
   @blueorangutan test centos7 vmware-55u3


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222117#comment-16222117
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


blueorangutan commented on issue #2028: CLOUDSTACK-9853: Add support for 
Secondary IPv6 Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339932440
 
 
   Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1179


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222025#comment-16222025
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


blueorangutan commented on issue #2028: CLOUDSTACK-9853: Add support for 
Secondary IPv6 Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339926519
 
 
   @rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted 
as I make progress.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222022#comment-16222022
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


rhtyd commented on issue #2028: CLOUDSTACK-9853: Add support for Secondary IPv6 
Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339926270
 
 
   @wido let me kick another test round since results are old
   @blueorangutan package


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-10-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221990#comment-16221990
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


wido commented on issue #2028: CLOUDSTACK-9853: Add support for Secondary IPv6 
Addresses and Subnets
URL: https://github.com/apache/cloudstack/pull/2028#issuecomment-339918109
 
 
   It seems this PR is passing all the tests and has two LGTMs.
   
   Can we merge it?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CLOUDSTACK-9853) IPv6 Prefix Delegation support in Basic Networking

2017-04-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957483#comment-15957483
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9853:


GitHub user wido opened a pull request:

https://github.com/apache/cloudstack/pull/2028

CLOUDSTACK-9853: Add support for Secondary IPv6 Addresses and Subnets

This commit adds support for passing IPv6 Addresses and/or Subnets as
Secondary IPs.

This is groundwork for CLOUDSTACK-9853 where IPv6 Subnets have to be
allowed in the Security Groups of Instances to we can add DHCPv6
Prefix Delegation.

Use ; instead of : for separating addresses, otherwise it would cause
problems with IPv6 Addresses.

Signed-off-by: Wido den Hollander 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/wido/cloudstack ipv6-secips

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/2028.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2028


commit 05f8e5c9fd9086f1ad9fc643fa25b108acfc3f48
Author: Wido den Hollander 
Date:   2017-01-31T15:59:28Z

CLOUDSTACK-9853: Add support for Secondary IPv6 Addresses and Subnets

This commit adds support for passing IPv6 Addresses and/or Subnets as
Secondary IPs.

This is groundwork for CLOUDSTACK-9853 where IPv6 Subnets have to be
allowed in the Security Groups of Instances to we can add DHCPv6
Prefix Delegation.

Use ; instead of : for separating addresses, otherwise it would cause
problems with IPv6 Addresses.

Signed-off-by: Wido den Hollander 




> IPv6 Prefix Delegation support in Basic Networking
> --
>
> Key: CLOUDSTACK-9853
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9853
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM, Management Server
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: basic-networking, dhcp, dhcpv6, ipv6, virtual-router
>
> In addition to have a single IPv6 address (/128) Instances in Basic 
> Networking should be able to have a IPv6 subnet, like a /60 for example 
> routed to them.
> The mechanism for this is DHCPv6 Prefix Delegation. A DHCPv6 server can tell 
> the Instance which subnet is routed to it.
> On the physical router a (static) route needs to be configured to do this. So 
> in Basic Networking it will be up to the network admin to make sure the 
> routes are present.
> The Management Server will pick a subnet for a Instance when needed and 
> configure the VR with the proper DHCPv6 arguments so that the right answer is 
> provided to the Instance.
> For example when running containers it is very nice to have a subnet routed 
> to your Instance so you can give each container a unique IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)