GitHub user TadiosAbebe added a comment to the discussion: Provide the option 
of disabling/Enabling Shared/Isolated/L2 networks,

@shwstppr @DaanHoogland @weizhouapache  I came across this issue today and I 
believe @kiranchavala raised a valid point. I disabled the `Display Network` 
parameter on a network as a ROOT admin and it disappeared from the list of 
networks in the UI even when logged in as the ROOT Admin.

I also verified this using cmk, it is the same thing, executing the above 
mentioned `list networks displaynetwork=false filter=name,displaynetwork` 
doesn't list the network either. 

The only way I was able to make the network visible without knowing the network 
id was to set the display_network network value back to  1 on Cloudstack 
database. 

If i had known the network id the `update network` cmk command would work 
without an issue `update network id=c2716c0b-95cb-4c86-bf65-61ed7870fdf4 
displaynetwork=true`

IMO, the display network parameter shouldn't affect the visibility for the Root 
admin (as its label suggest it should only affect the End user). However, even 
if the current behavior is intentional, the CMK command should still be able to 
list networks where display_network=0.

GitHub link: 
https://github.com/apache/cloudstack/discussions/9162#discussioncomment-16706675

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to