Add 'description' option to os subnet pool create/set cmd

Bug #1614823 reported by Cao Xuan Hoang on 2016-08-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Cao Xuan Hoang

Bug Description

Current os subnet list and os subnet set commands missed 'description' option.

stack@stack:~/python-openstackclient$ openstack subnet pool create --help
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
usage: openstack subnet pool create [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    --pool-prefix <pool-prefix>
                                    [--default-prefix-length <default-prefix-length>]
                                    [--min-prefix-length <min-prefix-length>]
                                    [--max-prefix-length <max-prefix-length>]
                                    [--project <project>]
                                    [--project-domain <project-domain>]
                                    [--address-scope <address-scope>]
                                    [--default | --no-default]
                                    [--share | --no-share]
                                    <name>

stack@stack:~/python-openstackclient$ openstack subnet pool set --help
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
usage: openstack subnet pool set [-h] [--name <name>]
                                 [--pool-prefix <pool-prefix>]
                                 [--default-prefix-length <default-prefix-length>]
                                 [--min-prefix-length <min-prefix-length>]
                                 [--max-prefix-length <max-prefix-length>]
                                 [--address-scope <address-scope> | --no-address-scope]
                                 [--default | --no-default]
                                 <subnet-pool>

It is expected to add [--description <description>] option to the commands for more flexibility.

Cao Xuan Hoang (hoangcx) on 2016-08-19
Changed in python-openstackclient:
assignee: nobody → Cao Xuan Hoang (hoangcx)

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

Changed in python-openstackclient:
status: New → In Progress
Richard Theis (rtheis) on 2016-08-19
tags: added: network

Change abandoned by Cao Xuan Hoang (<email address hidden>) on branch: master
Review: https://review.openstack.org/357613
Reason: merged this one to the patch https://review.openstack.org/#/c/357060

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

commit 4265002e599af332f2e6288814dcaefa0dcb1be0
Author: Cao Xuan Hoang <email address hidden>
Date: Thu Aug 18 16:50:52 2016 +0700

    Add 'description' option to os subnet (pool) create/set cmd

    This patch adds '--description' option to the commands.

    Change-Id: Ifc2828670c3c48a87a0493d98686a5babf9b2ae7
    Closes-Bug: #1614458
    Closes-Bug: #1614823
    Partially-Implements: blueprint network-commands-options

Changed in python-openstackclient:
status: In Progress → Fix Released

This issue was fixed in the openstack/python-openstackclient 3.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers