diff options
author | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-02-19 11:07:48 +0900 |
---|---|---|
committer | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-02-19 13:22:49 +0900 |
commit | 7e56102201f92212285f6860ee1952fe025d3e21 (patch) | |
tree | 7a11dce64bb378396958029ecec27941ed885a67 /releasenotes/notes | |
parent | 81ea9887f041a58fae547d5e6efbd60891ab9cab (diff) | |
download | python-novaclient-7e56102201f92212285f6860ee1952fe025d3e21.tar.gz |
Fix output of interface-attach command
Add output of a result in the 'nova interface-attach'
command when it is successful.
Make the following methods return a 'NetworkInterface'
object instead of a 'Server' object.
* The 'interface_attach' method
in the 'novaclient.v2.Server' class
* The 'interface_attach' method
in the 'novaclient.v2.ServerManager' class
Remove unnecessary code in the 'nova interface-detach'
command because the response body is not returned.
Change-Id: Id5316d8ad4a4b67e8399b51e602aafc83bc128c6
Closes-Bug: #1816511
Diffstat (limited to 'releasenotes/notes')
-rw-r--r-- | releasenotes/notes/interface-attach-output-02d633d9b2a60da1.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/releasenotes/notes/interface-attach-output-02d633d9b2a60da1.yaml b/releasenotes/notes/interface-attach-output-02d633d9b2a60da1.yaml new file mode 100644 index 00000000..af855a1e --- /dev/null +++ b/releasenotes/notes/interface-attach-output-02d633d9b2a60da1.yaml @@ -0,0 +1,11 @@ +--- +upgrade: + - The ``nova interface-attach`` command shows output of its result + when it is successful. + - | + The following methods return a ``NetworkInterface`` object + instead of a ``Server`` object. + + * The ``interface_attach`` method in the ``novaclient.v2.Server`` class + * The ``interface_attach`` method in the ``novaclient.v2.ServerManager`` + class |