Closed AliaksandrDziarkach closed 4 years ago
Code updated with latest changes
Can we add a example file too as you have already tested it? so that it will be helpful for one to use it. Rest looks good to me.
Accpetance test resource_infoblox_network_test.go already contains example.
But I can add it in separate file if needed.
Merging this PR as the example is available in the test.
Added optional parameter allocate_prefix_len When parameter set to value>0 ibclient.AllocateNetwork method used to get next available network from network container defined by cidr
Acceptance test result: === RUN TestAccresourceNetwork --- PASS: TestAccresourceNetwork (0.69s) === RUN TestAccresourceNetwork_Allocate --- PASS: TestAccresourceNetwork_Allocate (0.70s)