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

feat: module metal_plan_info #146

Merged
merged 14 commits into from
Feb 22, 2024

Conversation

antoninrykalsky
Copy link
Contributor

Ansible wrapper of
https://github.com/equinix-labs/metal-python/blob/main/equinix_metal/equinix_metal/api/plans_api.py#L50

which is a wrapper of:
https://deploy.equinix.com/developers/api/metal/#tag/Plans/operation/findPlans

Temporary as draft, until i find a way to make category, type, include and exclude filters running

@t0mk t0mk changed the title Feat/136 metal plans feat: module metal_plans_info Dec 20, 2023
ctreatma added a commit to equinix-labs/metal-python that referenced this pull request Dec 21, 2023
This PR updated package version to v0.5.0. We do a release after this PR
and later we update metal-python version in Ansible collection.

We need this in for
equinix-labs/ansible-collection-equinix#146 to
work.
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
plugins/module_utils/metal/api_routes.py Outdated Show resolved Hide resolved
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
tests/integration/targets/metal_plans/tasks/main.yml Outdated Show resolved Hide resolved
plugins/modules/metal_plans_info.py Outdated Show resolved Hide resolved
@t0mk
Copy link
Contributor

t0mk commented Dec 22, 2023

the issue with Plans listing was fixed in metal-python and vesion of metal-python in the collection was updated. Please rebase this PR on current main.

@t0mk
Copy link
Contributor

t0mk commented Jan 18, 2024

This is blocked by equinix-labs/metal-python#70

We will need to get that PR in and do a release befre we merge this.

@t0mk t0mk changed the title feat: module metal_plans_info feat: module metal_plan_info Feb 22, 2024
plugins/modules/metal_plan_info.py Outdated Show resolved Hide resolved
plugins/modules/metal_plan_info.py Outdated Show resolved Hide resolved
Co-authored-by:  Tomáš Karásek <[email protected]>
feat: add metal_plans_info.py

Co-authored-by:  Tomáš Karásek <[email protected]>
@t0mk t0mk merged commit 7691455 into equinix-labs:main Feb 22, 2024
3 checks passed
@antoninrykalsky antoninrykalsky deleted the feat/136-metal-plans branch February 27, 2024 08:41
Copy link

This PR is included in version 0.4.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants