Get hosts ENC information through an API method

Solution In Progress - Updated -

Issue

  • Unable to get host ENC information using API calls in a reasonable time.
    There is not API https://satellite/hosts//externalNodes but in an API method, like https://satellite/api/v2/host//enc, both in JSON and YAML format.

  • Getting this parameters list using API methods are not optimized :

    • one call to get host classes
    • iterate through classes to get their parameters
    • iterate through each class' parameters to get overrides
    • iterate through each class' parameters' override to calculate the right one for a given host

Environment

  • Red Hat Satellite 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.