feat(customfunc/cidr): Add cidrHostEnd custom function
Add cidrHostEnd custom function to get addresses starting from the end of the subnet and working backwards.
issue #37
This change adds a new custom function to the program which enables users to get addresses similar to the existing cidrHost, except it starts from the end of the addressible range and works backwards.
- Tags: cidrHostEnd cidr custom func subnet
@bartoszj
As discussed in #37 , we can use negative numbers in existing cidrHost function.
-1returns broadcast address-2returns last available IP address, and so on In my opinion, this new function is not needed. @aescaler-a0d could you provide a use case for that?
In that case, you are probably correct.
The negative numbers for cidrHost should be documented, as they are currently not.
On Wed, Jul 27, 2022, 1:09 AM Bartosz Janda @.***> wrote:
As discussed in #37 https://github.com/VirtusLab/render/issues/37 , we can use negative numbers in existing cidrHost function.
- -1 returns broadcast address
- -2 returns last available IP address, and so on In my opinion, this new function is not needed. @aescaler-a0d https://github.com/aescaler-a0d could you provide a use case for that?
— Reply to this email directly, view it on GitHub https://github.com/VirtusLab/render/pull/38#issuecomment-1196272004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNEDJHZJNRI5KJ2ULEKWPTVWDAAJANCNFSM54OST54Q . You are receiving this because you were mentioned.Message ID: @.***>
Marked as stale due to inactivity. Will be closed in 30 days.
Closed due to inactivity for 90 days.