server create --nic option clumsy

Bug #1353040 reported by Terry Howe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Low
Zhiyuan Cai

Bug Description

Every time I go to create a server I cannot remember the syntax for adding a network. The --nic option is poorly documented and clumsy. It would help at least if it was action='append' so that you didn't have to parse the string for commas. It would really be nice if there just was a --network option that was action='append' that you could add the networks you want associated with the server.

Revision history for this message
Terry Howe (thowe-g) wrote :

Also, there is no find by name for networks on the --nic option

Revision history for this message
Dean Troyer (dtroyer) wrote :

Agreed this needs attention. One thing to also keep in mind when designing a cleaner interface is trying to keep the needs of nova-network and neutron in mind and attempt to make the interface for both of them the same.

Changed in python-openstackclient:
status: New → Confirmed
importance: Undecided → Low
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m6
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: m6 → m7
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: m7 → m8
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in python-openstackclient:
status: Confirmed → In Progress
assignee: nobody → Zhiyuan Cai (luckyvega-g)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

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

commit 520b2f10cf0218509ca6cab7439214be812b425e
Author: zhiyuan_cai <email address hidden>
Date: Fri Dec 26 17:17:35 2014 +0800

    Add 'find by name' to --nic for creating server

    Add 'find by name' feature to --nic option for creating server.

    Closes-Bug: #1353040
    Change-Id: Idd0a30415d8360a57e33efedf2467593652683d4

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.