code: def prepare_migration_target(self, uuid, nics=None, port=None, tags=None):
          
  
          if nics is None:
              nics = []
  
          args = {
              'nics': nics,
              'port': port,
              'uuid': uuid
          }
          self._migrate_network_chk.check(args)
  
          self._client.sync('kvm.prepare_migration_target', args, tags=tags)
docs: :param name: Name of the kvm domain that will be migrated
          :param port: A dict of host_port: container_port pairs
                         Example:
                          `port={8080: 80, 7000:7000}`
                       Only supported if default network is used
          :param nics: Configure the attached nics to the container
                       each nic object is a dict of the format
                       {
                          'type': nic_type # default, bridge, vlan, or vxlan (note, vlan and vxlan only supported by ovs)
                          'id': id # depends on the type, bridge name (bridge type) zerotier network id (zertier type), the vlan tag or the vxlan id
                       }
          :param uuid: uuid of machine to be migrated on old node
          :return: