IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Support client function and command for retrieving the default object group #189

Closed dvaccarosenna closed 1 year ago

dvaccarosenna commented 1 year ago

An API endpoint exists to retrieve the default object group for a user's tenant (/object-groups/default). A method should be added to the ObjectGroupsAPI class to expose this API to python clients (named get_default).

Similarly, lmctl get objectgroups should be updated to support a new --default option to signal that a user only wants to retrieve the default object group. This option should be mutually exclusive with: the ID arg and --permission option.