Bug 1476879 - [RFE] request --or-show option for create on cli tools
Summary: [RFE] request --or-show option for create on cli tools
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutronclient
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-31 17:15 UTC by Siggy Sigwald
Modified: 2023-10-06 17:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-20 14:13:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-29318 0 None None None 2023-10-06 17:40:15 UTC

Description Siggy Sigwald 2017-07-31 17:15:00 UTC
Description of problem:
Would like to have option to show existing objects on openstack network create, openstack subnet create commands. openstack project create uses --or-show to view existing, conflicting objects. This would be helpful on network and subnet creation.
Basically the customer is requesting this for CLI consistency and for batch processing the creation of neutron networks and subnets. This would remove the requirement to check for existing objects before creation.

Comment 1 Nir Yechiel 2018-03-18 11:18:10 UTC
@Assaf, can you please review this ask and estimate if it would be reasonable to implement? 

Thanks,
Nir

Comment 3 Assaf Muller 2019-08-20 14:13:56 UTC
To implement --or-show we'd have to decide the logic for the existence of a network is, and I'm not sure how to do that. What is the unique identifier of a network, to determine if it already exists? Same question for every other resource.


Note You need to log in before you can comment on or make changes to this bug.