Skip to content

Commit

Permalink
bump equinix_metal to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mk committed Dec 22, 2023
1 parent 888acc1 commit 22c2e2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions plugins/module_utils/metal/api_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ def get_routes(mpc):

# LISTERS
('metal_project_device', action.LIST): spec_types.Specs(
equinix_metal.DevicesApi(mpc).find_project_devices,
equinix_metal.DevicesApi(mpc).find_project_devices_all_pages,
{'id': 'project_id'},
),
('metal_organization_device', action.LIST): spec_types.Specs(
equinix_metal.DevicesApi(mpc).find_organization_devices,
equinix_metal.DevicesApi(mpc).find_organization_devices_all_pages,
{'id': 'organization_id'},
),
('metal_project', action.LIST): spec_types.Specs(
equinix_metal.ProjectsApi(mpc).find_projects,
equinix_metal.ProjectsApi(mpc).find_projects_all_pages,
),
('metal_organization_project', action.LIST): spec_types.Specs(
equinix_metal.OrganizationsApi(mpc).find_organization_projects,
equinix_metal.OrganizationsApi(mpc).find_organization_projects_all_pages,
{'id': 'organization_id'},
),
('metal_ip_reservation', action.LIST): spec_types.Specs(
Expand All @@ -102,7 +102,7 @@ def get_routes(mpc):
{'id': 'project_id'}
),
('metal_organization', action.LIST): spec_types.Specs(
equinix_metal.OrganizationsApi(mpc).find_organizations,
equinix_metal.OrganizationsApi(mpc).find_organizations_all_pages,
{'personal': 'personal', 'with_projects': 'with_projects'},
),
('metal_operating_system', action.LIST): spec_types.Specs(
Expand All @@ -112,15 +112,15 @@ def get_routes(mpc):
equinix_metal.MetrosApi(mpc).find_metros,
),
('metal_project_hardware_reservation', action.LIST): spec_types.Specs(
equinix_metal.HardwareReservationsApi(mpc).find_project_hardware_reservations,
equinix_metal.HardwareReservationsApi(mpc).find_project_hardware_reservations_all_pages,
{'id': 'project_id'},
),
('metal_vlan', action.LIST): spec_types.Specs(
equinix_metal.VLANsApi(mpc).find_virtual_networks,
{'id': 'project_id'},
),
('metal_connection_project', action.LIST): spec_types.Specs(
equinix_metal.InterconnectionsApi(mpc).project_list_interconnections,
equinix_metal.InterconnectionsApi(mpc).project_list_interconnections_all_pages,
{'id': 'project_id'},
),
('metal_connection_organization', action.LIST): spec_types.Specs(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
equinix-metal==0.3.0
equinix-metal==0.5.0
ansible-specdoc>=0.0.13
pydantic==1.10.5

0 comments on commit 22c2e2a

Please sign in to comment.