Feature #3366

add --dryrun argument to all DB-changing management commands

Added by Vangelis Koukis about 11 years ago.

Status:New Start date:03/04/2013
Priority:High Due date:
Assignee:Christos Stavrakakis % Done:

0%

Category:Admin Spent time: -
Target version:0.14.0

Description

All management commands modifying the DB should have a --dryrun argument.
Start with snf-manage flavor-create.
It should certainly have the ability to report on the flavors to be created, before going on to create the cartesian product of flavors, potentially thousands of entries.

Associated revisions

Revision cf1984d8
Added by Christos Stavrakakis about 11 years ago

Add --dry-run option to flavor-create

Add --dry-run option to flavor-create management command. Also, do not
crash if flavor already exists.

Refs #3366

Revision 7edb6d06
Added by Christos Stavrakakis about 11 years ago

Add --dry-run option to flavor-create

Add --dry-run option to flavor-create management command. Also, do not
crash if flavor already exists.

Refs #3366

Also available in: Atom PDF