docs: def vnic_add_new_to_vm_task(vm, network, logger):
          """
          Compose new vNIC and attach it to VM & connect to Network
          :param nicspec: <vim.vm.VM>
          :param network: <vim network obj>
          :return: <Task>
          """
  
          nicspes = VNicService.vnic_new_attached_to_network(network)
          task = VNicService.vnic_add_to_vm_task(nicspes, vm, logger)
          return task