package org.ovirt.engine.api.resource;

import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;

import org.jboss.resteasy.annotations.providers.jaxb.Formatted;
import org.ovirt.engine.api.model.NumaNodes;
import org.ovirt.engine.api.model.VirtualNumaNode;

@Produces({ ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML })
public interface VmNumaNodesResource {

    @GET
    @Formatted
    public NumaNodes list();

    @POST
    @Formatted
    @Consumes({ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, ApiMediaType.APPLICATION_X_YAML})
    public Response add(VirtualNumaNode node);

    @DELETE
    @Path("{id}")
    public Response remove(@PathParam("id") String id);

    @Path("{iden}")
    public VmNumaNodeResource getVmNumaNodeSubResource(@PathParam("iden") String id);
}

@@ -355,24 +355,31 @@
 i.model.
+Virtual
 NumaNode
 s;%0Aimpor
@@ -370,17 +370,16 @@
 NumaNode
-s
 ;%0Aimport
@@ -421,16 +421,17 @@
 NumaNode
+s
 ;%0A%0A@Prod
@@ -608,16 +608,23 @@
  public 
+Virtual
 NumaNode

Fix return type of vms/{vm:id}/numanodes