You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "tampler (via GitHub)" <gi...@apache.org> on 2023/10/28 10:09:56 UTC

[I] Add IPv6 netmask parameter to subnets [cloudstack]

tampler opened a new issue, #8155:
URL: https://github.com/apache/cloudstack/issues/8155

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Improvement Request
    * Feature Idea
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Core, API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.19.0.0-SNAPSHOT-20231025-090535
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   IPv6 support was added to subnets. According to [docs](https://cloudstack.apache.org/api/apidocs-4.18/), there's no way to config IPv6 netmask. However, BOTH v4 and v6 masks need to be configured
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Both IPv4 and IPv6 masks are allowed to set. Both need to be named properly, like `netmask4` and `netmask6`
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   IPv4 mask only with `netmask` parameter
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "tampler (via GitHub)" <gi...@apache.org>.
tampler commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-1783813702

   I also suggest to standardize naming, e.g:
   ip4cidr vs ip6cidr
   gate4 vs gate6
   netmask4 vs netmask6
   ip4start, ip4ned vs ip6start, ip6end


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "tampler (via GitHub)" <gi...@apache.org>.
tampler closed issue #8155: Add IPv6 netmask parameter to subnets
URL: https://github.com/apache/cloudstack/issues/8155


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "tampler (via GitHub)" <gi...@apache.org>.
tampler commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-1783808981

   Of course I can. Same I could have had only IPv4 cidr. I noticed this discrepancy during API config for v6 networks.
   Why having different APIs for v4 and v6?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-1783797186

   You can use ip6cidr
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-2298313329

   @tampler 
   I am not sure if you still need the parameter.
   
   In my opinion, unlike Ipv4 netmask, almost every ipv6 user uses Ipv6 prefix/cidr (not ipv6 netmask which is too complicated).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-1784621584

   > I also suggest to standardize naming, e.g: `ip4cidr` vs `ip6cidr` `gate4` vs `gate6` `netmask4` vs `netmask6` `ip4start`, `ip4end` vs `ip6start`, `ip6end` `dns4` vs `dns6`
   
   for backwards compatibility I'd keep the designartors without number to be aliases of the -4 names.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add IPv6 netmask parameter to subnets [cloudstack]

Posted by "tampler (via GitHub)" <gi...@apache.org>.
tampler commented on issue #8155:
URL: https://github.com/apache/cloudstack/issues/8155#issuecomment-2306835479

   Hello @weizhouapache 
   
   This seems to be like a stole issue. We may close it for now as a low priority at least. I'll reopen this should I require this again and badly :point_up: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org