python-novaclient/releasenotes/notes/restrict-direct-use-of-v2client-c8e1ee2afefec5a1.yaml
Andrey Kurilin 84f4e1e10c Raise an exception in v2.client for direct_use
The direct use of novaclient.v2.client.Client was deprecated long time ago
(2.29.0 release of novaclient, which relates to Liberty release of OpenStack).

It is time to move from warning message to an exception. It will allow us to
change novaclient.v2.client.Client interface and keep compatible stuff to
novaclient.client.Client.

Change-Id: I6e6c6eebcf7992d553a2f85f57b8c2ede0cc8311
Related-Bug: #1493576
2016-07-01 10:33:40 +00:00

6 lines
215 B
YAML

---
upgrade:
- novaclient.v2.client.Client raises an exception in case of direct usage
instead of warning message. novaclient.client.Client is a primary
interface to initialize the python client for Nova.