python-novaclient/releasenotes/notes/make-console-public-0c776bfda240cd9d.yaml
huangtianhua 2512a28dc1 Make _console() public
Heat wants to use 'novaclient.v2.servers.
ServerManager._console' method to simplify the
implementation of retrieving server console.
It's better to change the method to public for
public use.
The patch changes:
1. add public method named get_console_url() for class
   'novaclient.v2.servers.Server'
2. rename _console() to get_console_url() for class
   'novaclient.v2.servers.ServerManager'

Change-Id: I3d1485468d1d0a79d4002981ebe05b6cdf2332e7
Closes-Bug: #1651677
2017-01-18 09:36:43 +08:00

8 lines
339 B
YAML

---
features:
- Provides a public unified interface 'get_console_url' for classes
'novaclient.v2.servers.Server' and 'novaclient.v2.servers.ServerManager'.
Users (Heat, OpenStack-client and etc.) can call this public interface
instead of calling the individual methods to retrieve a console url
of a particular protocol.