Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With this commit we fix a bug that prevented IP address and MAC from being collected properly. NetworkManager's refresh parser has been updated to be more robust and effective and some complex VCR unit tests were added where we ensure that things will work on a more advanced networking setup as well. Performance optimization was achieved like this: BEFORE: first all vdcs were fetched, then all vapps per vdc, then all vms per vapp. Then finally the network data was fetched from the VM, where only the most basic data was present (e.g. MAC was missing). NOW: we load VMs from VMDB (inventoried by cloud provider) and then invoke a single API call per VM to fetch networking data for it. Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
- Loading branch information