GetNetworkDetails (VMware Network Details)
This method is used to return the list of vcenter network details in HCL BigFix CLM.
Method Signature:
GetNetworkDetails (currentNetwork, controlId, async, callback, NetworkType)
Sample Response:
“[{"NetworkName":" -vlan-210","text":"NTW-0AF7B16F-89AC-4700-BDC1-E9017E9E86ED","NetworkType":"NET_T1","IP":"xxx.xx.x.xx",
"SubnetMask":"255.255.255.0","DefaultGateway":"xxx.xx.x.xx","DNSIP":"","ActualIDonEnvironment":"2527","name":" -vlan-210","CustomField1":"","CustomField2":"","CustomField3":"",
"CustomField4":"","CustomField5":"","CustomField6":"","CustomField7":"","CustomField8":"","CustomField9":"","CustomField10":"",
"EntityID":"NTW-0AF7B16F-89AC-4700-BDC1- E9017E9E86ED","NetworkType1":"DVPORTGROUP"}]"
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
| currentNetwork | String | Y | Details of passed network are returned. |
| controlId | String | N |
Id of ‘Select’ control to be populated. If Id Control of dynamic UI is passed, then control will be populated with values return from this function else “Result set” will be returned in JSON format. |
| async | Boolean | N |
In case it is False: Function will be called in synchronous mode. i.e. Current execution will wait for method execution to complete In case it is True: Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement. |
| callback | Function | N | User can pass function name that can be executed on completion of Parent function call. |
| NetworkType | String | N | If NetworkType is passed, then details of passed Network type are returned. |
| NetworkType | String | N | If NetworkType is passed, then the details of passed Network type are returned. |