Support multiple argument in network command-line

Registered by Tang Chen

In OSC, most commands can only operate on one object at one time. For example, you cannot create two servers within one single command.

There was a BP going to support operation on multiple servers within one command.
( https://blueprints.launchpad.net/python-openstackclient/+spec/cmd-with-multi-servers )
But the work stopped because of the discussion of error handling process in multiple rest api calls.

Now, in doc/source/command-errors.rst, we have defined the behavior of error handling in multiple rest api calls situation. So, we can restart the work of supporting multiple operation objects in command-line.

Instead of using the old BP, I'd like to propose a new one here to support not only server commands, but also all the commands possible in OSC.

This BP is for tracing network commands.
( Will update the detailed work to do here. )

Related BP:
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-compute
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-identity
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-image

Blueprint information

Status:
Complete
Approver:
Richard Theis
Priority:
Undefined
Drafter:
Tang Chen
Direction:
Needs approval
Assignee:
aohuanxuan
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Richard Theis
Completed by
Richard Theis

Related branches

Sprints

Whiteboard

October 26, 2016 (aohuanxuan): This is completed, thanks for closing.

October 26, 2016 (rtheis): I'm closing this blueprint now that the delete commands have been updated. I don't know this makes sense to apply to all commands.

October 3, 2016 (rtheis): Is this blueprint complete or are there plans to expand this support beyond delete commands?

Gerrit topic: https://review.openstack.org/#q,topic:bp/multi-argument-network,n,z

Addressed by: https://review.openstack.org/322375
    Support deleting multi address scopes in networkv2

Addressed by: https://review.openstack.org/323155
    Raise exception if failing to delete multi ports

Addressed by: https://review.openstack.org/323642
    Add NetworkMultiDelete class to support bulk deletion in networkv2

Addressed by: https://review.openstack.org/328689
    Support bulk deletion for commands that exist in both network and compute.

Addressed by: https://review.openstack.org/330314
    Support bulk deletion for delete commands in networkv2

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.