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:20 GMT
> +   @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);
> +
> +   @Named("interface:detach")
> +   @DELETE
> +   @Path("/{server_id}/os-interface/{port_id}")
> +   void detachInterface(@PathParam("server_id") String serverId, @PathParam("port_id")
String portId);

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