'vnf package list --exclude_default' do not display expected fields in command output

Bug #1875330 reported by Shubham Potale on 2020-04-27
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tackerclient
Undecided
Shubham Potale

Bug Description

If you list vnf package with --exclude_default option, it should display all attributes except default set of complex attributes:-

$ openstack vnf package list --exclude_default

Expected fields:
'id', 'vnfProductName', 'onboardingState', 'usageState', 'operationalState', '_links', 'vnfdVersion', 'vnfProvider', 'vnfSoftwareVersion', 'vnfdId'

Actual fields displayed are:
'id', 'vnfProductName', 'onboardingState', 'usageState', 'operationalState'

Changed in python-tackerclient:
assignee: nobody → Shubham Potale (shubhamp)
description: updated

Fix proposed to branch: master
Review: https://review.opendev.org/724796

Changed in python-tackerclient:
status: New → In Progress

Reviewed: https://review.opendev.org/724796
Committed: https://git.openstack.org/cgit/openstack/python-tackerclient/commit/?id=4ec52e30b22ac54e7b920c9a61466732a1fb914f
Submitter: Zuul
Branch: master

commit 4ec52e30b22ac54e7b920c9a61466732a1fb914f
Author: Shubham <email address hidden>
Date: Mon Apr 27 16:39:39 2020 +0530

    Display correct fields in output for list command

    If user list vnf packages with --exclude_default option, it should
    display all attributes except default set of complex.

    $ openstack vnf package list --exclude_default
    Expected fields:
      'id', 'vnfProductName', 'onboardingState', 'usageState',
      'operationalState', '_links', 'vnfdVersion', 'vnfProvider',
      'vnfSoftwareVersion', 'vnfdId'

    Actual fields displayed are:
       'id', 'vnfProductName', 'onboardingState', 'usageState',
       'operationalState'

    Fixed this issue and now it will display fields as mentioned above in
    expected fields.

    Closes-Bug: 1875330

    Change-Id: I61da40d2e6e7e42999b7ab2d2441cddde64118d9

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

Reviewed: https://review.opendev.org/727947
Committed: https://git.openstack.org/cgit/openstack/python-tackerclient/commit/?id=548453627f286c0cf8bad8423ac183624f66a561
Submitter: Zuul
Branch: stable/ussuri

commit 548453627f286c0cf8bad8423ac183624f66a561
Author: Shubham <email address hidden>
Date: Mon Apr 27 16:39:39 2020 +0530

    Display correct fields in output for list command

    If user list vnf packages with --exclude_default option, it should
    display all attributes except default set of complex.

    $ openstack vnf package list --exclude_default
    Expected fields:
      'id', 'vnfProductName', 'onboardingState', 'usageState',
      'operationalState', '_links', 'vnfdVersion', 'vnfProvider',
      'vnfSoftwareVersion', 'vnfdId'

    Actual fields displayed are:
       'id', 'vnfProductName', 'onboardingState', 'usageState',
       'operationalState'

    Fixed this issue and now it will display fields as mentioned above in
    expected fields.

    Closes-Bug: 1875330

    Change-Id: I61da40d2e6e7e42999b7ab2d2441cddde64118d9

tags: added: in-stable-ussuri
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers