From f25334c2ea93dc44e097c0cab1ae505e6592352a Mon Sep 17 00:00:00 2001 From: Brahyan Rosano Date: Wed, 25 Nov 2020 16:11:09 -0300 Subject: [PATCH] Added NIC adapter-type on utils.py --- pyvcloud/vcd/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyvcloud/vcd/utils.py b/pyvcloud/vcd/utils.py index f74dd447a..03e672fc1 100644 --- a/pyvcloud/vcd/utils.py +++ b/pyvcloud/vcd/utils.py @@ -480,6 +480,7 @@ def vm_to_dict(vm): nic_props['network'] = nc.get('network') nic_props['mode'] = nc.IpAddressAllocationMode.text nic_props['connected'] = nc.IsConnected.text + nic_props['adapter_type'] = nc.NetworkAdapterType.text if hasattr(nc, 'MACAddress'): nic_props['mac'] = nc.MACAddress.text if hasattr(nc, 'IpAddress'):