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'
Reviewed: https:/ /review. openstack. org/414364 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=2512a28dc1f 9a017b996c648ec d2551162ef1fc3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2512a28dc1f9a01 7b996c648ecd255 1162ef1fc3
Author: huangtianhua <email address hidden>
Date: Thu Dec 22 10:31:29 2016 +0800
Make _console() public
Heat wants to use 'novaclient. v2.servers. er._console' method to simplify the
'novaclient. v2.servers. Server'
'novaclient. v2.servers. ServerManager'
ServerManag
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
2. rename _console() to get_console_url() for class
Change-Id: I3d1485468d1d0a 79d4002981ebe05 b6cdf2332e7
Closes-Bug: #1651677