weizhouapache commented on PR #297:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/297#issuecomment-5324788166

   > > thanks @artem-sidorenko I checked the cloudstack source code, there is 
indeed a line below
   > > ```
   > > Collections.replaceAll(sourceCidrs, "0.0.0.0/0", network.getCidr());
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > If the source cidr list is empty, or contain "0.0.0.0/0", it will be 
replaced with network cidr.
   > > I am not a terraform user, so leave to you guys to determine whether it 
is good to disallow 0.0.0.0/0, and maybe empty source cidr too.
   > 
   > @weizhouapache is this documented anywhere in cloudstack docs? in that 
case, we should have this behavior consistent with the terraform as well.
   
   @sureshanaparti 
   in the doc, it  mentions
   <img width="1526" height="1098" alt="image" 
src="https://github.com/user-attachments/assets/6f66b88d-730b-46ff-bddc-5c29ea1b4ef0";
 />
   
https://docs.cloudstack.apache.org/en/latest/adminguide/networking_and_traffic.html#egress-fw-rules
   
   
   


-- 
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