-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Please add the "is_pool" field to the phpipam_subnet resource #78
Comments
Hi @JonTheNiceGuy Can you provides HTTP POST and GET examples? |
Sure :) isPool is a flag on the subnet;
For some reason, I'm struggling to create an add-subnet example, but this is failing on sections and CIDRs, not on the "isPool" value. |
I've added a PR to implement this at the SDK layer. |
Hi @JonTheNiceGuy I've merged you PR and created the new SDk release https://github.com/pavel-z1/phpipam-sdk-go/releases/tag/v0.1.8 |
@lord-kyron is there much that needs to happen to get this new variable/value into the terraform provider? |
@JonTheNiceGuy I guess it will take some effort to add this support. |
Yep, I'll take a look. My go knowledge is pretty weak, so I'll have a poke around one evening and see what I can do :) |
@JonTheNiceGuy, Did you have some time to take a look at this? |
Apologies, my focus at work shifted considerably, so I didn't get time to dedicate to this. Sorry! |
Setting a subnet as a "pool" makes the "network" and "broadcast" IPs available to allocation in the address space.
This is used when defining supernets (such as 192.168.0.0/16) or when partitioning subnets into smaller portions (e.g. 192.0.2.64/29 as a DHCP pool or a static IP range).
Version 1.5.2 of the terraform module does not currently provide this.
The text was updated successfully, but these errors were encountered: