Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
feat: API Sync by GitHub Action (2024-03-01) (#87)
Browse files Browse the repository at this point in the history
This API Sync PR was automated through [GitHub Actions
workflow_displatch](https://github.com/equinix-labs/metal-python/actions?query=event%3Aworkflow_dispatch)
on 2024-03-01.

* latest Equinix Metal API spec have been fetched
* patches have been applied
* generated client has been updated

Closes #86
  • Loading branch information
t0mk authored Mar 6, 2024
2 parents 39f478e + 5302106 commit d3077de
Show file tree
Hide file tree
Showing 47 changed files with 207 additions and 381 deletions.
290 changes: 0 additions & 290 deletions equinix_metal/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
docs/AWSFabricProvider.md
Expand Down Expand Up @@ -598,293 +597,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_activate_hardware_reservation_request.py
test/test_address.py
test/test_attribute.py
test/test_attribute_data.py
test/test_auth_token.py
test/test_auth_token_input.py
test/test_auth_token_list.py
test/test_auth_token_project.py
test/test_auth_token_user.py
test/test_authentication_api.py
test/test_aws_fabric_provider.py
test/test_batch.py
test/test_batches_api.py
test/test_batches_list.py
test/test_bgp_api.py
test/test_bgp_config.py
test/test_bgp_config_request_input.py
test/test_bgp_dynamic_neighbor.py
test/test_bgp_dynamic_neighbor_create_input.py
test/test_bgp_dynamic_neighbor_list.py
test/test_bgp_neighbor_data.py
test/test_bgp_route.py
test/test_bgp_session.py
test/test_bgp_session_input.py
test/test_bgp_session_list.py
test/test_bgp_session_neighbors.py
test/test_bond_port_data.py
test/test_capacity_api.py
test/test_capacity_check_per_facility_info.py
test/test_capacity_check_per_facility_list.py
test/test_capacity_check_per_metro_info.py
test/test_capacity_check_per_metro_list.py
test/test_capacity_input.py
test/test_capacity_level_per_baremetal.py
test/test_capacity_list.py
test/test_component.py
test/test_console_log_details_api.py
test/test_coordinates.py
test/test_create_device_request.py
test/test_create_email_input.py
test/test_create_metal_gateway_request.py
test/test_create_organization_interconnection_request.py
test/test_create_self_service_reservation_request.py
test/test_create_self_service_reservation_request_period.py
test/test_dedicated_port_create_input.py
test/test_device.py
test/test_device_action_input.py
test/test_device_actions_inner.py
test/test_device_create_in_facility_input.py
test/test_device_create_in_metro_input.py
test/test_device_create_input.py
test/test_device_created_by.py
test/test_device_health_rollup.py
test/test_device_list.py
test/test_device_metro.py
test/test_device_project_lite.py
test/test_device_update_input.py
test/test_device_usage.py
test/test_device_usage_list.py
test/test_devices_api.py
test/test_disk.py
test/test_email.py
test/test_email_input.py
test/test_emails_api.py
test/test_entitlement.py
test/test_error.py
test/test_event.py
test/test_event_list.py
test/test_events_api.py
test/test_fabric_service_token.py
test/test_facilities_api.py
test/test_facility.py
test/test_facility_input.py
test/test_facility_input_facility.py
test/test_facility_list.py
test/test_filesystem.py
test/test_find_ip_address_by_id200_response.py
test/test_find_metal_gateway_by_id200_response.py
test/test_find_traffic_timeframe_parameter.py
test/test_firmware_set.py
test/test_firmware_set_list_response.py
test/test_firmware_set_response.py
test/test_firmware_sets_api.py
test/test_global_bgp_range.py
test/test_global_bgp_range_list.py
test/test_hardware_reservation.py
test/test_hardware_reservation_list.py
test/test_hardware_reservations_api.py
test/test_href.py
test/test_incidents_api.py
test/test_instances_batch_create_input.py
test/test_instances_batch_create_input_batches_inner.py
test/test_interconnection.py
test/test_interconnection_list.py
test/test_interconnection_metro_list.py
test/test_interconnection_metro_list_metros_inner.py
test/test_interconnection_metro_list_metros_inner_all_of_providers_inner.py
test/test_interconnection_port.py
test/test_interconnection_port_list.py
test/test_interconnection_pricing_list.py
test/test_interconnection_pricing_list_provider_pricing_inner.py
test/test_interconnection_pricing_list_provider_pricing_inner_tiers_inner.py
test/test_interconnection_update_input.py
test/test_interconnections_api.py
test/test_invitation.py
test/test_invitation_input.py
test/test_invitation_list.py
test/test_invitations_api.py
test/test_invoice.py
test/test_invoice_list.py
test/test_invoices_api.py
test/test_ip_address.py
test/test_ip_addresses_api.py
test/test_ip_assignment.py
test/test_ip_assignment_input.py
test/test_ip_assignment_list.py
test/test_ip_assignment_metro.py
test/test_ip_assignment_update_input.py
test/test_ip_availabilities_list.py
test/test_ip_reservation.py
test/test_ip_reservation_facility.py
test/test_ip_reservation_list.py
test/test_ip_reservation_list_ip_addresses_inner.py
test/test_ip_reservation_metro.py
test/test_ip_reservation_request_input.py
test/test_license.py
test/test_license_create_input.py
test/test_license_list.py
test/test_license_update_input.py
test/test_licenses_api.py
test/test_line_item.py
test/test_membership.py
test/test_membership_input.py
test/test_membership_list.py
test/test_memberships_api.py
test/test_meta.py
test/test_metadata.py
test/test_metadata_network.py
test/test_metadata_network_network.py
test/test_metadata_network_network_bonding.py
test/test_metal_gateway.py
test/test_metal_gateway_create_input.py
test/test_metal_gateway_elastic_ip_create_input.py
test/test_metal_gateway_list.py
test/test_metal_gateway_list_metal_gateways_inner.py
test/test_metal_gateway_lite.py
test/test_metal_gateways_api.py
test/test_metro.py
test/test_metro_input.py
test/test_metro_list.py
test/test_metros_api.py
test/test_mount.py
test/test_move_hardware_reservation_request.py
test/test_new_password.py
test/test_operating_system.py
test/test_operating_system_list.py
test/test_operating_systems_api.py
test/test_organization.py
test/test_organization_input.py
test/test_organization_list.py
test/test_organizations_api.py
test/test_otps_api.py
test/test_parent_block.py
test/test_partition.py
test/test_password_reset_tokens_api.py
test/test_payment_method.py
test/test_payment_method_billing_address.py
test/test_payment_method_create_input.py
test/test_payment_method_list.py
test/test_payment_method_update_input.py
test/test_payment_methods_api.py
test/test_plan.py
test/test_plan_available_in_inner.py
test/test_plan_available_in_inner_price.py
test/test_plan_available_in_metros_inner.py
test/test_plan_list.py
test/test_plan_specs.py
test/test_plan_specs_cpus_inner.py
test/test_plan_specs_drives_inner.py
test/test_plan_specs_features.py
test/test_plan_specs_memory.py
test/test_plan_specs_nics_inner.py
test/test_plans_api.py
test/test_port.py
test/test_port_assign_input.py
test/test_port_convert_layer3_input.py
test/test_port_convert_layer3_input_request_ips_inner.py
test/test_port_data.py
test/test_port_vlan_assignment.py
test/test_port_vlan_assignment_batch.py
test/test_port_vlan_assignment_batch_create_input.py
test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py
test/test_port_vlan_assignment_batch_list.py
test/test_port_vlan_assignment_batch_vlan_assignments_inner.py
test/test_port_vlan_assignment_list.py
test/test_ports_api.py
test/test_project.py
test/test_project_create_from_root_input.py
test/test_project_create_input.py
test/test_project_id_name.py
test/test_project_list.py
test/test_project_update_input.py
test/test_project_usage.py
test/test_project_usage_list.py
test/test_projects_api.py
test/test_raid.py
test/test_recovery_code_list.py
test/test_request_ip_reservation201_response.py
test/test_request_ip_reservation_request.py
test/test_self_service_reservation_item_request.py
test/test_self_service_reservation_item_response.py
test/test_self_service_reservation_list.py
test/test_self_service_reservation_response.py
test/test_self_service_reservations_api.py
test/test_server_info.py
test/test_shared_port_vc_vlan_create_input.py
test/test_spot_market_api.py
test/test_spot_market_prices_list.py
test/test_spot_market_prices_per_metro_list.py
test/test_spot_market_prices_per_metro_report.py
test/test_spot_market_request.py
test/test_spot_market_request_create_input.py
test/test_spot_market_request_create_input_instance_parameters.py
test/test_spot_market_request_list.py
test/test_spot_market_request_metro.py
test/test_spot_prices_datapoints.py
test/test_spot_prices_history_report.py
test/test_spot_prices_per_baremetal.py
test/test_spot_prices_per_facility.py
test/test_spot_prices_per_new_facility.py
test/test_spot_prices_report.py
test/test_ssh_key.py
test/test_ssh_key_create_input.py
test/test_ssh_key_input.py
test/test_ssh_key_list.py
test/test_ssh_keys_api.py
test/test_storage.py
test/test_support_request_api.py
test/test_support_request_input.py
test/test_transfer_request.py
test/test_transfer_request_input.py
test/test_transfer_request_list.py
test/test_transfer_requests_api.py
test/test_two_factor_auth_api.py
test/test_update_email_input.py
test/test_usages_api.py
test/test_user.py
test/test_user_create_input.py
test/test_user_limited.py
test/test_user_list.py
test/test_user_lite.py
test/test_user_update_input.py
test/test_user_verification_tokens_api.py
test/test_userdata.py
test/test_userdata_api.py
test/test_users_api.py
test/test_verify_email.py
test/test_virtual_circuit.py
test/test_virtual_circuit_create_input.py
test/test_virtual_circuit_list.py
test/test_virtual_circuit_update_input.py
test/test_virtual_network.py
test/test_virtual_network_create_input.py
test/test_virtual_network_list.py
test/test_vlan_csp_connection_create_input.py
test/test_vlan_csp_connection_create_input_fabric_provider.py
test/test_vlan_fabric_vc_create_input.py
test/test_vlan_virtual_circuit.py
test/test_vlan_virtual_circuit_create_input.py
test/test_vlan_virtual_circuit_update_input.py
test/test_vlans_api.py
test/test_vrf.py
test/test_vrf_create_input.py
test/test_vrf_fabric_vc_create_input.py
test/test_vrf_ip_reservation.py
test/test_vrf_ip_reservation_create_input.py
test/test_vrf_ip_reservation_list.py
test/test_vrf_list.py
test/test_vrf_metal_gateway.py
test/test_vrf_metal_gateway_create_input.py
test/test_vrf_route.py
test/test_vrf_route_create_input.py
test/test_vrf_route_list.py
test/test_vrf_route_update_input.py
test/test_vrf_update_input.py
test/test_vrf_virtual_circuit.py
test/test_vrf_virtual_circuit_create_input.py
test/test_vrf_virtual_circuit_update_input.py
test/test_vrfs_api.py
tox.ini
1 change: 1 addition & 0 deletions equinix_metal/docs/AWSFabricProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**account_id** | **str** | AWS Account ID |
**href** | **str** | | [optional]
**location** | **str** | | [optional]
**type** | **str** | |

## Example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Name | Type | Description | Notes
**metro** | **str** | A Metro ID or code. When creating Fabric VCs (Metal Billed), this is where interconnection will be originating from, as we pre-authorize the use of one of our shared ports as the origin of the interconnection using A-Side service tokens. We only allow local connections for Fabric VCs (Metal Billed), so the destination location must be the same as the origin. For Fabric VCs (Fabric Billed), or shared connections, this will be the destination of the interconnection. We allow remote connections for Fabric VCs (Fabric Billed), so the origin of the interconnection can be a different metro set here. |
**mode** | **str** | The mode of the interconnection (only relevant to Dedicated Ports). Fabric VCs won't have this field. Can be either 'standard' or 'tunnel'. The default mode of an interconnection on a Dedicated Port is 'standard'. The mode can only be changed when there are no associated virtual circuits on the interconnection. In tunnel mode, an 802.1q tunnel is added to a port to send/receive double tagged packets from server instances. | [optional]
**name** | **str** | |
**project** | **str** | | [optional]
**project** | **str** | |
**redundancy** | **str** | Either 'primary' or 'redundant'. |
**speed** | **int** | A interconnection speed, in bps, mbps, or gbps. For Fabric VCs, this represents the maximum speed of the interconnection. For Fabric VCs (Metal Billed), this can only be one of the following: ''50mbps'', ''200mbps'', ''500mbps'', ''1gbps'', ''2gbps'', ''5gbps'' or ''10gbps'', and is required for creation. For Fabric VCs (Fabric Billed), this field will always default to ''10gbps'' even if it is not provided. For example, ''500000000'', ''50m'', or' ''500mbps'' will all work as valid inputs. | [optional]
**speed** | **str** | A interconnection speed, in bps, mbps, or gbps. For Fabric VCs, this represents the maximum speed of the interconnection. For Fabric VCs (Metal Billed), this can only be one of the following: ''50mbps'', ''200mbps'', ''500mbps'', ''1gbps'', ''2gbps'', ''5gbps'' or ''10gbps'', and is required for creation. For Fabric VCs (Fabric Billed), this field will always default to ''10gbps'' even if it is not provided. For example, ''500000000'', ''50m'', or' ''500mbps'' will all work as valid inputs. | [optional]
**tags** | **List[str]** | | [optional]
**type** | **str** | When requesting for a dedicated port, the value of this field should be 'dedicated'. |
**use_case** | **str** | The intended use case of the dedicated port. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion equinix_metal/docs/DedicatedPortCreateInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**name** | **str** | |
**project** | **str** | | [optional]
**redundancy** | **str** | Either 'primary' or 'redundant'. |
**speed** | **int** | A interconnection speed, in bps, mbps, or gbps. For Dedicated Ports, this can be 10Gbps or 100Gbps. | [optional]
**speed** | **str** | A interconnection speed, in bps, mbps, or gbps. For Dedicated Ports, this can be 10Gbps or 100Gbps. | [optional]
**tags** | **List[str]** | | [optional]
**type** | **str** | When requesting for a dedicated port, the value of this field should be 'dedicated'. |
**use_case** | **str** | The intended use case of the dedicated port. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion equinix_metal/docs/Interconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**status** | **str** | | [optional]
**tags** | **List[str]** | | [optional]
**token** | **str** | This token is used for shared interconnections to be used as the Fabric Token. This field is entirely deprecated. | [optional]
**type** | **str** | The 'shared' type of interconnection refers to shared connections, or later also known as Fabric Virtual Connections (or Fabric VCs). The 'dedicated' type of interconnection refers to interconnections created with Dedicated Ports. | [optional]
**type** | **str** | The 'shared' type of interconnection refers to shared connections, or later also known as Fabric Virtual Connections (or Fabric VCs). The 'dedicated' type of interconnection refers to interconnections created with Dedicated Ports. The 'shared_port_vlan' type of interconnection refers to shared connections created without service tokens. The 'shared_port_vlan_to_csp' type of interconnection refers to connections created directly to a supported cloud service provider. | [optional]
**updated_at** | **datetime** | | [optional]

## Example
Expand Down
Loading

0 comments on commit d3077de

Please sign in to comment.