Actions
Bug #3630
closedAssociate resources by name
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
Currently the resources can be associated only by id. API already supports association by name directly so it should be no problem to add it to the cli.
Eg. current:
$ hammer domain create --dns-id DNS_ID
Should also offer:
$ hammer domain create --dns DNS_NAME
Similarly:
$ hammer os create --config-template-ids ID1,ID2 ...
vs
$ hammer os create --config-templates NAME1,NAME2 ...
etc.
Actions