There is a need to add delete command to fuel config cli

Bug #1622600 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky

Bug Description

To fully support CRUD operations, we need to add delete sub-command to `fuel2 config set` `fuel2 config override` to delete set and overriden values.

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

Deletion should support keys:
level, key and env.

Like in set cmd:
fuel2 config set --env {env_id} --resource ' \
                      '{res_id} --value \'{{"a": 1, "b": null}}\' ' \
                      '--key key --type json ' \
                      '--level nodes=1

Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
tags: added: blocker-for-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tuning-box (master)

Reviewed: https://review.openstack.org/368881
Committed: https://git.openstack.org/cgit/openstack/tuning-box/commit/?id=db53fcb18785e4ab7fcd26ef232454d13f32e918
Submitter: Jenkins
Branch: master

commit db53fcb18785e4ab7fcd26ef232454d13f32e918
Author: Alexander Kislitsky <email address hidden>
Date: Mon Sep 12 17:38:44 2016 +0300

    Delete keys from resource values/overrides handled in fuel2

    Keys deletion for values/overrides handled.
    Default cliff formatter used for values/overrides operations.
    Message on values/overrides set command added.

    Change-Id: Ie47ff6a1cb98764447d045816ea6472a0701dcc3
    Closes-Bug: #1622600

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Tatyana Kuterina (tkuterina) wrote :

Verified on 9.1 snapshot #280 with latest tuning-box

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.