Hi @pimenas! Thanks again for the contribution. :)  

Since this feature is an extension to Nova, we should not tie it to the core 
`ServerApi` by adding a `getConsole()` method. Currently, jclouds supports the 
extension APIs as 
[optional](https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/NovaAsyncApi.java#L112).
 

I believe that the course of action we should take here is to move these 
changes into a new `ConsolesApi`. Accessing the new API would be similar to how 
the 
[other](https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/NovaAsyncApi.java#L112)
 APIs are accessed in the `NovaApi`.

The latest version of the [Consoles 
API](https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/consoles.py)
 indicates that there are 3 different consoles that you can request: VNC, 
SPICE, and RDP :) 

With some minor refactoring we should be able to make this work as an extension 
API.

cc @everett-toews @zack-shoylev

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339#issuecomment-40238522

Reply via email to