Project

General

Profile

Bug #1115

Host parameters are not available via the API

Added by Matt Moran over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

If a host has parameters, these are not available/editable via the API.

i.e.
curl -H "Content-Type:application/json" -H "Accept:application/json" http://foreman:3000/hosts/FQDN

Does not return the hosts parameters. The parameters that should be returned are host level and not ones that are inherited from a group or domain etc.

Associated revisions

Revision 79cb5cc0 (diff)
Added by Ohad Levy almost 11 years ago

fixes #1115 Host parameters are not available via the API

History

#1 Updated by Ohad Levy about 11 years ago

  • Status changed from New to Resolved

this was already done for 0.4

#2 Updated by Marcello de Sousa almost 11 years ago

  • Status changed from Resolved to Feedback
  • Assignee set to Ohad Levy
  • Target version set to 1.0

This is not working yet. The patches are available here but are not committed in the current develop branch:

https://github.com/eedri/foreman/commit/79950a62f02913ebd780c0396028b6c52221c26a#L2R689

#3 Updated by Ohad Levy almost 11 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF