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:16 GMT
> +@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);
> +
> +   @Named("interface:attach")
> +   @POST
> +   @SelectJson("interfaceAttachment")
> +   @Path("/{server_id}/os-interface")
> +   InterfaceAttachment attachInterface(@PathParam("server_id") String serverId, AttachInterfaceOptions
options);

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#r26172099
Mime
View raw message