kiranchavala commented on PR #7406: URL: https://github.com/apache/cloudstack/pull/7406#issuecomment-1498712833
@shwstppr I think a Api call would be better What happens if a vm contains 2 isolated networks, will the vm search results work only with the default nic search ? Also what will happen if the user searches with a public ip which is having a static nat to a vm  The listVirtualMachine api call shows the both the ip's ``` nic": [ { "broadcasturi": "vlan://1097", "deviceid": "0", "extradhcpoption": [], "gateway": "192.168.1.1", "id": "8113135c-85c8-4134-9321-445edfc70819", "ipaddress": "192.168.1.154", "isdefault": true, "isolationuri": "vlan://1097", "macaddress": "02:00:39:4d:00:01", "netmask": "255.255.255.0", "networkid": "ba7debf3-490f-4be5-b972-b675bc46a783", "networkname": "test2", "secondaryip": [], "traffictype": "Guest", "type": "Isolated" }, { "broadcasturi": "vlan://1084", "deviceid": "1", "extradhcpoption": [], "gateway": "10.1.1.1", "id": "b900a26f-6b64-40d5-bb0c-fd1a7b0456a7", "ipaddress": "10.1.1.88", "isdefault": false, "isolationuri": "vlan://1084", "macaddress": "02:00:29:08:00:01", "netmask": "255.255.255.0", "networkid": "ddee6374-3a15-4c61-a250-b5bafbfb51c1", "networkname": "test1", "secondaryip": [], "traffictype": "Guest", "type": "Isolated" } ], ``` -- 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]
