sidshas03 opened a new pull request, #219:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/219

   - Add 'type' field to cloudstack_network resource schema
   - Make 'cidr' field conditionally required based on network type
   - L2 networks: cidr not required, IP parameters skipped
   - L3 networks: cidr required, maintains backward compatibility
   - Add CustomizeDiff validation for proper type/cidr combinations
   - Update parseCIDR function to handle L2 networks without cidr
   - Update resource creation logic to skip IP config for L2 networks
   - Update read function to detect and set network type
   - Add comprehensive test coverage for L2 networks
   - Update documentation with L2 and L3 usage examples
   
   Fixes #214


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to