Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide module to fetch system options from oVirt Engine RESTAPI #204

Closed
mwperina opened this issue Jan 22, 2021 · 0 comments · Fixed by #206
Closed

Provide module to fetch system options from oVirt Engine RESTAPI #204

mwperina opened this issue Jan 22, 2021 · 0 comments · Fixed by #206
Assignees
Labels
enhancement New feature or request

Comments

@mwperina
Copy link
Member

We have oVirt Engine RESTAPI endpoint to fetch system options:

http://ovirt.github.io/ovirt-engine-api-model/4.4/#services/system_options

We need to implement module ovirt_system_options_info to be able to fetch those system options. We should be able to support following flows:

  1. Provide option name and version to fetch specific value:
ovirt_system_options:
    name: "IsPortIsolationSupported"
    version: "4.4"

That should return only value for specific version, for example:

  'IsPortIsolationSupported': {
    '4.4': 'false'
  }
  1. Provide only option name to fetch values per version
ovirt_system_options:
    name: "IsPortIsolationSupported"

That should return a dictionary with option values for all version, for example:

  'IsPortIsolationSupported': {
    '4.2': 'false',
    '4.3': 'false',
    '4.4': 'false',
    '4.5': 'true',
  }

  1. Provide empty name to fetch all options
ovirt_system_options:

That should return a dictionary with all options and their values, for example

  'IsPortIsolationSupported': {
    '4.2': 'false',
    '4.3': 'false',
    '4.4': 'false',
    '4.5': 'true',
  },
  'DisableFenceAtStartupInSec': {
    'general': '300'
  },
...
@mwperina mwperina added the enhancement New feature or request label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants