OSC network command doesn't support nova-network

Bug #1543672 reported by Tang Chen on 2016-02-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Tang Chen

Bug Description

network CURD cannot work with nova-network. They are not implemented.

Tang Chen (tangchen) on 2016-02-09
Changed in python-openstackclient:
assignee: nobody → Tang Chen (tangchen)

Fix proposed to branch: master
Review: https://review.openstack.org/278042

Changed in python-openstackclient:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.openstack.org/278253

Fix proposed to branch: master
Review: https://review.openstack.org/279085

Reviewed: https://review.openstack.org/278042
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=27a0da65e37679bc042373d0e04ce88333d38a3b
Submitter: Jenkins
Branch: master

commit 27a0da65e37679bc042373d0e04ce88333d38a3b
Author: Tang Chen <email address hidden>
Date: Wed Feb 10 01:41:45 2016 +0800

    Support "network delete" command in nova network

    "network delete" command is not implemented in nova network.
    This patch implements it.

    Change-Id: I5dac1eed6eb8e67298bb446418835a6ab85c859c
    Depends-On: I1b59264cd40aaf1062f4e8db233ccb7fd0e95f0e
    partial-Bug: 1543672

Reviewed: https://review.openstack.org/280494
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=0a3ba91d53524cd0aa3a411f1f964594c8445cd3
Submitter: Jenkins
Branch: master

commit 0a3ba91d53524cd0aa3a411f1f964594c8445cd3
Author: Tang Chen <email address hidden>
Date: Tue Feb 16 11:32:00 2016 +0800

    Add release note for "network delete" command for nova network

    Change-Id: Idb8a24465e447e90315c0f614ad91bd7eabd6878
    partial-Bug: 1543672

Reviewed: https://review.openstack.org/278253
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=ddc97c6dc5bc36d678515aeb9f7b3f9e85bd70d0
Submitter: Jenkins
Branch: master

commit ddc97c6dc5bc36d678515aeb9f7b3f9e85bd70d0
Author: Tang Chen <email address hidden>
Date: Wed Feb 10 11:49:15 2016 +0800

    Support "network list" command in nova network

    "network list" command is not implemented in nova network.
    This patch implements it.

    The Network object in novaclient is quite different from
    the one in sdk. And the output of "network list" using
    Nova network is also quite different from using Neutron.

    It is like this:

    # openstack network list
    +--------------------------------------+---------+-------------+
    | ID | Name | Subnet |
    +--------------------------------------+---------+-------------+
    | 96a98ec4-31f6-45f6-99e6-9384569b3bb5 | private | 10.0.0.0/24 |
    +--------------------------------------+---------+-------------+

    --long and --external options have not been implemented because
    the attrs in Network object in novaclient is too much different.

    This patch also introduces a new FakeNetwork class in compute/v2/fake.py
    to fake nova network.

    Change-Id: Id1fdf81fb2fa8b39f2c76b7bae37ac4fecafd0f7
    Depends-On: I1b59264cd40aaf1062f4e8db233ccb7fd0e95f0e
    partial-Bug: 1543672

Reviewed: https://review.openstack.org/279085
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=d9d1809907256497289ae921bca9a7505a95f6ce
Submitter: Jenkins
Branch: master

commit d9d1809907256497289ae921bca9a7505a95f6ce
Author: Tang Chen <email address hidden>
Date: Thu Feb 11 19:09:43 2016 +0800

    Support "network show" command in nova network

    "network show" command is not implemented in nova network.
    This patch implements it.

    Change-Id: I1fadd890fe36c4e3ac5c9ed389b20c5b2fff8aca
    partial-Bug: 1543672

Reviewed: https://review.openstack.org/284702
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=359dfa1a06683354ace568c78706e3d0a6372c14
Submitter: Jenkins
Branch: master

commit 359dfa1a06683354ace568c78706e3d0a6372c14
Author: Tang Chen <email address hidden>
Date: Thu Feb 25 16:35:57 2016 +0800

    Support "network create" command in nova network

    This patch only provide network name and subnet setting for
    "network create" command.

    The other options, such as --project which depends on
    identity v2 or v3, will make the unit tests too complicated.
    So I prefer to implement them in other patches.

    Change-Id: I9ec93f0af813c8fae4170c36e16bbe8f0f53cbb6
    Partial-Bug: 1543672

Richard Theis (rtheis) wrote :

Hi Tang, is this bug complete?

Tang Chen (tangchen) wrote :

Hi Richard,

Yes, I think so. Let's close this. And if there is any bug there, we can open new bugs. :)

Changed in python-openstackclient:
status: In Progress → Fix Committed
Richard Theis (rtheis) wrote :

Thank you Tang.

Steve Martinelli (stevemar) wrote :

Automatically unassigning due to inactivity.

Changed in python-openstackclient:
assignee: Tang Chen (tangchen) → nobody
Steve Martinelli (stevemar) wrote :

Next time mark this as fix released :)

Changed in python-openstackclient:
status: Fix Committed → Fix Released
importance: Undecided → Medium
assignee: nobody → Tang Chen (tangchen)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers