docs: def connect_to_networks(self, si, logger, vm_uuid, vm_network_mappings, default_network_name,
                              reserved_networks, dv_switch_name, promiscuous_mode):
          """
          Connect VM to Network
          :param si: VmWare Service Instance - defined connection to vCenter
          :param logger:
          :param vm_uuid: <str> UUID for VM
          :param vm_network_mappings: <collection of 'VmNetworkMapping'>
          :param default_network_name: <str> Full Network name - likes 'DataCenterName/NetworkName'
          :param reserved_networks:
          :param dv_switch_name: <str> Default dvSwitch name
          :param promiscuous_mode <str> 'True' or 'False' turn on/off promiscuous mode for the port group
          :return: None
          """
          vm = self.pv_service.find_by_uuid(si, vm_uuid)
  
          if not vm:
              raise ValueError('VM having UUID {0} not found'.format(vm_uuid))
  
          default_network_instance = self.pv_service.get_network_by_full_name(si, default_network_name)
  
          if not default_network_instance:
              raise ValueError('Default Network {0} not found'.format(default_network_name))
  
          if vm_has_no_vnics(vm):
              raise ValueError('Trying to connect VM (uuid: {0}) but it has no vNics'.format(vm_uuid))
  
          mappings = self._prepare_mappings(dv_switch_name=dv_switch_name, vm_network_mappings=vm_network_mappings)
  
          updated_mappings = self.virtual_switch_to_machine_connector.connect_by_mapping(
              si, vm, mappings, default_network_instance, reserved_networks, logger, promiscuous_mode)
  
          connection_results = []
          for updated_mapping in updated_mappings:
  
              connection_result = ConnectionResult(mac_address=updated_mapping.vnic.macAddress,
                                                   vnic_name=updated_mapping.vnic.deviceInfo.label,
                                                   requested_vnic=updated_mapping.requested_vnic,
                                                   vm_uuid=vm_uuid,
                                                   network_name=updated_mapping.network.name,
                                                   network_key=updated_mapping.network.key)
              connection_results.append(connection_result)
  
          return connection_results