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

Bug #1614458 reported by Cao Xuan Hoang on 2016-08-18
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 create --help
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
usage: openstack subnet create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--noindent] [--prefix PREFIX]
                               [--project <project>]
                               [--project-domain <project-domain>]
                               [--subnet-pool <subnet-pool> | --use-default-subnet-pool]
                               [--prefix-length <prefix-length>]
                               [--subnet-range <subnet-range>]
                               [--dhcp | --no-dhcp] [--gateway <gateway>]
                               [--ip-version {4,6}]
                               [--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
                               [--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
                               --network <network>
                               [--description <description>]
                               [--allocation-pool start=<ip-address>,end=<ip-address>]
                               [--dns-nameserver <dns-nameserver>]
                               [--host-route destination=<subnet>,gateway=<ip-address>]
                               name

stack@stack:~/python-openstackclient$ openstack subnet set --help
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
usage: openstack subnet set [-h] [--name <name>] [--dhcp | --no-dhcp]
                            [--gateway <gateway>]
                            [--allocation-pool start=<ip-address>,end=<ip-address>]
                            [--dns-nameserver <dns-nameserver>]
                            [--host-route destination=<subnet>,gateway=<ip-address>]
                            <subnet>

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

Cao Xuan Hoang (hoangcx) on 2016-08-18
Changed in python-openstackclient:
assignee: nobody → Cao Xuan Hoang (hoangcx)
summary: - Add 'description" option to os subnet create cmd
+ Add 'description' option to os subnet create cmd

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

Changed in python-openstackclient:
status: New → In Progress
Cao Xuan Hoang (hoangcx) on 2016-08-19
summary: - Add 'description' option to os subnet create cmd
+ Add 'description' option to os subnet create/set cmd
description: updated
Richard Theis (rtheis) on 2016-08-19
tags: added: network

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