kiranchavala commented on issue #8442: URL: https://github.com/apache/cloudstack/issues/8442#issuecomment-1935659409
@alexandremattioli @DaanHoogland @weizhouapache From the Ui point of view As an admin user from the UI if I can disable "Display network" for a particular network. The admin user must also have the option to enable the "Display network" back. ---- The bug related to the issue is Steps to reproduce the bug. 1. Create a isolated network cmk > create network name=test networkofferingid=1f106372-654f-40ab-abe4-c0258e1b51f1 zoneid=412fd1ab-8341-4fef-9d94-c178fd816613 2. Execute list networks cmk> list networks name=test The output is displayed correctly 3. Update the network to disable the "Display network" cmk >update network displaynetwork=false id=9ba79732-9e85-4f21-8af0-c930cece8010 4. Execute the list network api call again cmk > list networks name=test cmk > list networks listall=true No response 5. Create a new network say test2 cmk > create network name=test2 networkofferingid=1f106372-654f-40ab-abe4-c0258e1b51f1 zoneid=412fd1ab-8341-4fef-9d94-c178fd816613 6. Execute the list network api call again name as test cmk > list networks name=test The api response displays that of test2 network which is incorrect ``` { "count": 1, "network": [ { "account": "admin", "acltype": "Account", "broadcastdomaintype": "Vlan", "canusefordeploy": true, "cidr": "10.1.1.0/24", "created": "2024-02-09T10:08:33+0000", "details": {}, "displaynetwork": true, "displaytext": "kiranisoaltednet2", "dns1": "10.0.32.1", "dns2": "8.8.8.8", "domain": "ROOT", "domainid": "6bd03bc7-c649-11ee-a7b4-1e006b0003e2", "egressdefaultpolicy": false, "gateway": "10.1.1.1", "hasannotations": false, "id": "abd4fd9c-7e9b-4662-b413-df55d0c76921", "ispersistent": false, "issystem": false, "name": "test2", ``` -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org