jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Everett Toews <notificati...@github.com>
Subject Re: [jclouds] adding attache detach interface to nova api (#697)
Date Tue, 10 Mar 2015 22:15:08 GMT
> +import javax.ws.rs.PathParam;
> +import javax.ws.rs.core.MediaType;
> +
> +/**
> + * interface api for nova
> + */
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +@Path("/servers")
> +public interface InterfaceApi {
> +
> +   @Named("interface:attach")
> +   @POST
> +   @SelectJson("interfaceAttachment")
> +   @Path("/{server_id}/os-interface")
> +   InterfaceAttachment attachInterface(@PathParam("server_id") String serverId);

Needs some Javadoc. You can just copy the info out of [os-interface](http://developer.openstack.org/api-ref-compute-v2-ext.html#ext-os-interface).

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/697/files#r26172087
Mime
View raw message