Project

General

Profile

Bug #12599

Missing API for associating config groups with hosts and hostgroups

Added by Marek Hulán over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

There is API to manage config group itself but it seems we don't provide a way how to associate it with a host and hostgroup. Also hammer commands would be nice.


Related issues

Blocks Hammer CLI - Feature #7520: Config group commands and host/host group associationClosed2014-09-18

Associated revisions

Revision 8f3993e3 (diff)
Added by Ondřej Pražák over 5 years ago

Fixes #12599 - Add config groups related apipie doc

History

#1 Updated by Dominic Cleal over 6 years ago

Though we're missing a CRUD interface for individual associations, the whole list of config groups can be set via config_group_ids and config_group_names attributes on both host and host groups.

#3 Updated by Dominic Cleal over 6 years ago

Yeah, they're almost entirely missing. A few have been added over time where somebody has wanted it documented, but we've not done it wholesale.

#2945 added these magic attrs originally and #2931 put it into API responses consistently, but from what I remember of the discussions at the time, Joseph wanted to find a way to document it automatically, which hasn't happened. We've established a pretty comprehensive list in #7568 which could be copied to API docs.

#4 Updated by Dominic Cleal over 6 years ago

  • Blocks Feature #7520: Config group commands and host/host group association added

#5 Updated by Ondřej Pražák over 5 years ago

  • Assignee set to Ondřej Pražák

#6 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4176 added

#7 Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#8 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 209

Also available in: Atom PDF