No support to specifiy description while creating metadef object

Bug #1934625 reported by Abhishek Kekane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
New
Wishlist
Unassigned

Bug Description

python-glanceclient has no support to add/specify description while creating metadef object using md-object-create command.

glance help md-object-create
usage: glance md-object-create --name <NAME> --schema <SCHEMA> <NAMESPACE>

Create a new metadata definitions object inside a namespace.

Positional arguments:
  <NAMESPACE> Name of namespace the object will belong.

Optional arguments:
  --name <NAME> Internal name of an object.
  --schema <SCHEMA> Valid JSON schema of an object.

API reference: https://docs.openstack.org/api-ref/image/v2/metadefs-index.html?expanded=create-object-detail,create-property-detail,create-namespace-detail#create-object

Changed in python-glanceclient:
importance: Undecided → Medium
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

So as I suspect we can use --schema to pass all this information, we need either update the help message in client or else need to add examples in docs about how to create metadefs.

Changed in python-glanceclient:
importance: Medium → Wishlist
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.