├── .github ├── release-drafter.yml └── workflows │ ├── auto_generate.yaml │ ├── master.yaml │ ├── pull_request.yaml │ ├── release-drafter.yaml │ └── release.yaml ├── .gitignore ├── .swagger-codegen-ignore ├── .swagger-codegen └── VERSION ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── config.json ├── docs ├── AuditApi.md ├── DatastoreIPSearchQuery.md ├── DatastoreImageSearchQuery.md ├── DatastoreMachineSearchQuery.md ├── DatastoreNetworkSearchQuery.md ├── DatastoreSwitchSearchQuery.md ├── FilesystemlayoutApi.md ├── FirewallApi.md ├── FirmwareApi.md ├── HealthApi.md ├── HttperrorsHTTPErrorResponse.md ├── ImageApi.md ├── IpApi.md ├── MachineApi.md ├── MetalSwitchBGPPortState.md ├── NetworkApi.md ├── PartitionApi.md ├── ProjectApi.md ├── RestHealthResponse.md ├── RestVersion.md ├── SizeApi.md ├── SizeimageconstraintApi.md ├── SwitchApi.md ├── TenantApi.md ├── UserApi.md ├── V1AuditFindRequest.md ├── V1AuditResponse.md ├── V1BGPFilter.md ├── V1BoardRevisions.md ├── V1BootInfo.md ├── V1ChassisIdentifyLEDState.md ├── V1Common.md ├── V1DNSServer.md ├── V1Describable.md ├── V1Disk.md ├── V1DiskPartition.md ├── V1EmptyBody.md ├── V1Filesystem.md ├── V1FilesystemLayoutBase.md ├── V1FilesystemLayoutConstraints.md ├── V1FilesystemLayoutCreateRequest.md ├── V1FilesystemLayoutMatchRequest.md ├── V1FilesystemLayoutResponse.md ├── V1FilesystemLayoutTryRequest.md ├── V1FilesystemLayoutUpdateRequest.md ├── V1FirewallAllocateRequest.md ├── V1FirewallCreateRequest.md ├── V1FirewallEgressRule.md ├── V1FirewallFindRequest.md ├── V1FirewallIngressRule.md ├── V1FirewallResponse.md ├── V1FirewallRules.md ├── V1FirmwaresResponse.md ├── V1IAMConfig.md ├── V1IDMConfig.md ├── V1IPAllocateRequest.md ├── V1IPBase.md ├── V1IPFindRequest.md ├── V1IPIdentifiable.md ├── V1IPResponse.md ├── V1IPUpdateRequest.md ├── V1Identifiable.md ├── V1ImageBase.md ├── V1ImageCreateRequest.md ├── V1ImageFindRequest.md ├── V1ImageResponse.md ├── V1ImageUpdateRequest.md ├── V1IssuerConfig.md ├── V1LogicalVolume.md ├── V1MachineAllocateRequest.md ├── V1MachineAllocation.md ├── V1MachineAllocationNetwork.md ├── V1MachineBIOS.md ├── V1MachineBase.md ├── V1MachineBlockDevice.md ├── V1MachineConsolePasswordRequest.md ├── V1MachineConsolePasswordResponse.md ├── V1MachineFindRequest.md ├── V1MachineFru.md ├── V1MachineHardware.md ├── V1MachineHardwareBase.md ├── V1MachineIPMI.md ├── V1MachineIPMIResponse.md ├── V1MachineIpmiReport.md ├── V1MachineIpmiReportResponse.md ├── V1MachineIpmiReports.md ├── V1MachineIssue.md ├── V1MachineIssueResponse.md ├── V1MachineIssuesRequest.md ├── V1MachineNetwork.md ├── V1MachineNic.md ├── V1MachineProvisioningEvent.md ├── V1MachineRecentProvisioningEvents.md ├── V1MachineReinstallRequest.md ├── V1MachineResponse.md ├── V1MachineState.md ├── V1MachineUpdateFirmwareRequest.md ├── V1MachineUpdateRequest.md ├── V1MachineVPN.md ├── V1Meta.md ├── V1MetalCPU.md ├── V1MetalGPU.md ├── V1NTPServer.md ├── V1NetworkAllocateRequest.md ├── V1NetworkBase.md ├── V1NetworkConsumption.md ├── V1NetworkCreateRequest.md ├── V1NetworkFindRequest.md ├── V1NetworkImmutable.md ├── V1NetworkResponse.md ├── V1NetworkUpdateRequest.md ├── V1NetworkUsage.md ├── V1Paging.md ├── V1PartitionBase.md ├── V1PartitionBootConfiguration.md ├── V1PartitionCapacity.md ├── V1PartitionCapacityRequest.md ├── V1PartitionCreateRequest.md ├── V1PartitionResponse.md ├── V1PartitionUpdateRequest.md ├── V1PowerMetric.md ├── V1PowerSupply.md ├── V1PowerSupplyStatus.md ├── V1Project.md ├── V1ProjectCreateRequest.md ├── V1ProjectFindRequest.md ├── V1ProjectResponse.md ├── V1ProjectUpdateRequest.md ├── V1Quota.md ├── V1QuotaSet.md ├── V1Raid.md ├── V1ServerCapacity.md ├── V1SizeConstraint.md ├── V1SizeCreateRequest.md ├── V1SizeImageConstraintBase.md ├── V1SizeImageConstraintCreateRequest.md ├── V1SizeImageConstraintResponse.md ├── V1SizeImageConstraintTryRequest.md ├── V1SizeImageConstraintUpdateRequest.md ├── V1SizeReservationCreateRequest.md ├── V1SizeReservationListRequest.md ├── V1SizeReservationResponse.md ├── V1SizeReservationUpdateRequest.md ├── V1SizeReservationUsageResponse.md ├── V1SizeResponse.md ├── V1SizeSuggestRequest.md ├── V1SizeUpdateRequest.md ├── V1SwitchBGPPortState.md ├── V1SwitchBase.md ├── V1SwitchConnection.md ├── V1SwitchFindRequest.md ├── V1SwitchMigrateRequest.md ├── V1SwitchNic.md ├── V1SwitchNotifyRequest.md ├── V1SwitchNotifyResponse.md ├── V1SwitchOS.md ├── V1SwitchPortToggleRequest.md ├── V1SwitchRegisterRequest.md ├── V1SwitchResponse.md ├── V1SwitchSync.md ├── V1SwitchUpdateRequest.md ├── V1Tenant.md ├── V1TenantCreateRequest.md ├── V1TenantFindRequest.md ├── V1TenantResponse.md ├── V1TenantUpdateRequest.md ├── V1Timestamps.md ├── V1User.md ├── V1VPNRequest.md ├── V1VPNResponse.md ├── V1VendorRevisions.md ├── V1VolumeGroup.md ├── VersionApi.md └── VpnApi.md ├── example.py ├── metal_python ├── __init__.py ├── api │ ├── __init__.py │ ├── audit_api.py │ ├── filesystemlayout_api.py │ ├── firewall_api.py │ ├── firmware_api.py │ ├── health_api.py │ ├── image_api.py │ ├── ip_api.py │ ├── machine_api.py │ ├── network_api.py │ ├── partition_api.py │ ├── project_api.py │ ├── size_api.py │ ├── sizeimageconstraint_api.py │ ├── switch_api.py │ ├── tenant_api.py │ ├── user_api.py │ ├── version_api.py │ └── vpn_api.py ├── api_client.py ├── configuration.py ├── driver.py ├── models │ ├── __init__.py │ ├── datastore_image_search_query.py │ ├── datastore_ip_search_query.py │ ├── datastore_machine_search_query.py │ ├── datastore_network_search_query.py │ ├── datastore_switch_search_query.py │ ├── httperrors_http_error_response.py │ ├── metal_switch_bgp_port_state.py │ ├── rest_health_response.py │ ├── rest_version.py │ ├── v1_audit_find_request.py │ ├── v1_audit_response.py │ ├── v1_bgp_filter.py │ ├── v1_board_revisions.py │ ├── v1_boot_info.py │ ├── v1_chassis_identify_led_state.py │ ├── v1_common.py │ ├── v1_describable.py │ ├── v1_disk.py │ ├── v1_disk_partition.py │ ├── v1_dns_server.py │ ├── v1_empty_body.py │ ├── v1_filesystem.py │ ├── v1_filesystem_layout_base.py │ ├── v1_filesystem_layout_constraints.py │ ├── v1_filesystem_layout_create_request.py │ ├── v1_filesystem_layout_match_request.py │ ├── v1_filesystem_layout_response.py │ ├── v1_filesystem_layout_try_request.py │ ├── v1_filesystem_layout_update_request.py │ ├── v1_firewall_allocate_request.py │ ├── v1_firewall_create_request.py │ ├── v1_firewall_egress_rule.py │ ├── v1_firewall_find_request.py │ ├── v1_firewall_ingress_rule.py │ ├── v1_firewall_response.py │ ├── v1_firewall_rules.py │ ├── v1_firmwares_response.py │ ├── v1_iam_config.py │ ├── v1_identifiable.py │ ├── v1_idm_config.py │ ├── v1_image_base.py │ ├── v1_image_create_request.py │ ├── v1_image_find_request.py │ ├── v1_image_response.py │ ├── v1_image_update_request.py │ ├── v1_ip_allocate_request.py │ ├── v1_ip_base.py │ ├── v1_ip_find_request.py │ ├── v1_ip_identifiable.py │ ├── v1_ip_response.py │ ├── v1_ip_update_request.py │ ├── v1_issuer_config.py │ ├── v1_logical_volume.py │ ├── v1_machine_allocate_request.py │ ├── v1_machine_allocation.py │ ├── v1_machine_allocation_network.py │ ├── v1_machine_base.py │ ├── v1_machine_bios.py │ ├── v1_machine_block_device.py │ ├── v1_machine_console_password_request.py │ ├── v1_machine_console_password_response.py │ ├── v1_machine_find_request.py │ ├── v1_machine_fru.py │ ├── v1_machine_hardware.py │ ├── v1_machine_hardware_base.py │ ├── v1_machine_ipmi.py │ ├── v1_machine_ipmi_report.py │ ├── v1_machine_ipmi_report_response.py │ ├── v1_machine_ipmi_reports.py │ ├── v1_machine_ipmi_response.py │ ├── v1_machine_issue.py │ ├── v1_machine_issue_response.py │ ├── v1_machine_issues_request.py │ ├── v1_machine_network.py │ ├── v1_machine_nic.py │ ├── v1_machine_provisioning_event.py │ ├── v1_machine_recent_provisioning_events.py │ ├── v1_machine_reinstall_request.py │ ├── v1_machine_response.py │ ├── v1_machine_state.py │ ├── v1_machine_update_firmware_request.py │ ├── v1_machine_update_request.py │ ├── v1_machine_vpn.py │ ├── v1_meta.py │ ├── v1_metal_cpu.py │ ├── v1_metal_gpu.py │ ├── v1_network_allocate_request.py │ ├── v1_network_base.py │ ├── v1_network_consumption.py │ ├── v1_network_create_request.py │ ├── v1_network_find_request.py │ ├── v1_network_immutable.py │ ├── v1_network_response.py │ ├── v1_network_update_request.py │ ├── v1_network_usage.py │ ├── v1_ntp_server.py │ ├── v1_paging.py │ ├── v1_partition_base.py │ ├── v1_partition_boot_configuration.py │ ├── v1_partition_capacity.py │ ├── v1_partition_capacity_request.py │ ├── v1_partition_create_request.py │ ├── v1_partition_response.py │ ├── v1_partition_update_request.py │ ├── v1_power_metric.py │ ├── v1_power_supply.py │ ├── v1_power_supply_status.py │ ├── v1_project.py │ ├── v1_project_create_request.py │ ├── v1_project_find_request.py │ ├── v1_project_response.py │ ├── v1_project_update_request.py │ ├── v1_quota.py │ ├── v1_quota_set.py │ ├── v1_raid.py │ ├── v1_server_capacity.py │ ├── v1_size_constraint.py │ ├── v1_size_create_request.py │ ├── v1_size_image_constraint_base.py │ ├── v1_size_image_constraint_create_request.py │ ├── v1_size_image_constraint_response.py │ ├── v1_size_image_constraint_try_request.py │ ├── v1_size_image_constraint_update_request.py │ ├── v1_size_reservation_create_request.py │ ├── v1_size_reservation_list_request.py │ ├── v1_size_reservation_response.py │ ├── v1_size_reservation_update_request.py │ ├── v1_size_reservation_usage_response.py │ ├── v1_size_response.py │ ├── v1_size_suggest_request.py │ ├── v1_size_update_request.py │ ├── v1_switch_base.py │ ├── v1_switch_bgp_port_state.py │ ├── v1_switch_connection.py │ ├── v1_switch_find_request.py │ ├── v1_switch_migrate_request.py │ ├── v1_switch_nic.py │ ├── v1_switch_notify_request.py │ ├── v1_switch_notify_response.py │ ├── v1_switch_os.py │ ├── v1_switch_port_toggle_request.py │ ├── v1_switch_register_request.py │ ├── v1_switch_response.py │ ├── v1_switch_sync.py │ ├── v1_switch_update_request.py │ ├── v1_tenant.py │ ├── v1_tenant_create_request.py │ ├── v1_tenant_find_request.py │ ├── v1_tenant_response.py │ ├── v1_tenant_update_request.py │ ├── v1_timestamps.py │ ├── v1_user.py │ ├── v1_vendor_revisions.py │ ├── v1_volume_group.py │ ├── v1_vpn_request.py │ └── v1_vpn_response.py └── rest.py ├── setup.py ├── test ├── __init__.py ├── test_audit_api.py ├── test_datastore_image_search_query.py ├── test_datastore_ip_search_query.py ├── test_datastore_machine_search_query.py ├── test_datastore_network_search_query.py ├── test_datastore_switch_search_query.py ├── test_filesystemlayout_api.py ├── test_firewall_api.py ├── test_firmware_api.py ├── test_health_api.py ├── test_httperrors_http_error_response.py ├── test_image_api.py ├── test_ip_api.py ├── test_machine_api.py ├── test_metal_switch_bgp_port_state.py ├── test_network_api.py ├── test_partition_api.py ├── test_project_api.py ├── test_rest_health_response.py ├── test_rest_version.py ├── test_size_api.py ├── test_sizeimageconstraint_api.py ├── test_switch_api.py ├── test_tenant_api.py ├── test_user_api.py ├── test_v1_audit_find_request.py ├── test_v1_audit_response.py ├── test_v1_bgp_filter.py ├── test_v1_board_revisions.py ├── test_v1_boot_info.py ├── test_v1_chassis_identify_led_state.py ├── test_v1_common.py ├── test_v1_describable.py ├── test_v1_disk.py ├── test_v1_disk_partition.py ├── test_v1_dns_server.py ├── test_v1_empty_body.py ├── test_v1_filesystem.py ├── test_v1_filesystem_layout_base.py ├── test_v1_filesystem_layout_constraints.py ├── test_v1_filesystem_layout_create_request.py ├── test_v1_filesystem_layout_match_request.py ├── test_v1_filesystem_layout_response.py ├── test_v1_filesystem_layout_try_request.py ├── test_v1_filesystem_layout_update_request.py ├── test_v1_firewall_allocate_request.py ├── test_v1_firewall_create_request.py ├── test_v1_firewall_egress_rule.py ├── test_v1_firewall_find_request.py ├── test_v1_firewall_ingress_rule.py ├── test_v1_firewall_response.py ├── test_v1_firewall_rules.py ├── test_v1_firmwares_response.py ├── test_v1_iam_config.py ├── test_v1_identifiable.py ├── test_v1_idm_config.py ├── test_v1_image_base.py ├── test_v1_image_create_request.py ├── test_v1_image_find_request.py ├── test_v1_image_response.py ├── test_v1_image_update_request.py ├── test_v1_ip_allocate_request.py ├── test_v1_ip_base.py ├── test_v1_ip_find_request.py ├── test_v1_ip_identifiable.py ├── test_v1_ip_response.py ├── test_v1_ip_update_request.py ├── test_v1_issuer_config.py ├── test_v1_logical_volume.py ├── test_v1_machine_allocate_request.py ├── test_v1_machine_allocation.py ├── test_v1_machine_allocation_network.py ├── test_v1_machine_base.py ├── test_v1_machine_bios.py ├── test_v1_machine_block_device.py ├── test_v1_machine_console_password_request.py ├── test_v1_machine_console_password_response.py ├── test_v1_machine_find_request.py ├── test_v1_machine_fru.py ├── test_v1_machine_hardware.py ├── test_v1_machine_hardware_base.py ├── test_v1_machine_ipmi.py ├── test_v1_machine_ipmi_report.py ├── test_v1_machine_ipmi_report_response.py ├── test_v1_machine_ipmi_reports.py ├── test_v1_machine_ipmi_response.py ├── test_v1_machine_issue.py ├── test_v1_machine_issue_response.py ├── test_v1_machine_issues_request.py ├── test_v1_machine_network.py ├── test_v1_machine_nic.py ├── test_v1_machine_provisioning_event.py ├── test_v1_machine_recent_provisioning_events.py ├── test_v1_machine_reinstall_request.py ├── test_v1_machine_response.py ├── test_v1_machine_state.py ├── test_v1_machine_update_firmware_request.py ├── test_v1_machine_update_request.py ├── test_v1_machine_vpn.py ├── test_v1_meta.py ├── test_v1_metal_cpu.py ├── test_v1_metal_gpu.py ├── test_v1_network_allocate_request.py ├── test_v1_network_base.py ├── test_v1_network_consumption.py ├── test_v1_network_create_request.py ├── test_v1_network_find_request.py ├── test_v1_network_immutable.py ├── test_v1_network_response.py ├── test_v1_network_update_request.py ├── test_v1_network_usage.py ├── test_v1_ntp_server.py ├── test_v1_paging.py ├── test_v1_partition_base.py ├── test_v1_partition_boot_configuration.py ├── test_v1_partition_capacity.py ├── test_v1_partition_capacity_request.py ├── test_v1_partition_create_request.py ├── test_v1_partition_response.py ├── test_v1_partition_update_request.py ├── test_v1_power_metric.py ├── test_v1_power_supply.py ├── test_v1_power_supply_status.py ├── test_v1_project.py ├── test_v1_project_create_request.py ├── test_v1_project_find_request.py ├── test_v1_project_response.py ├── test_v1_project_update_request.py ├── test_v1_quota.py ├── test_v1_quota_set.py ├── test_v1_raid.py ├── test_v1_server_capacity.py ├── test_v1_size_constraint.py ├── test_v1_size_create_request.py ├── test_v1_size_image_constraint_base.py ├── test_v1_size_image_constraint_create_request.py ├── test_v1_size_image_constraint_response.py ├── test_v1_size_image_constraint_try_request.py ├── test_v1_size_image_constraint_update_request.py ├── test_v1_size_reservation_create_request.py ├── test_v1_size_reservation_list_request.py ├── test_v1_size_reservation_response.py ├── test_v1_size_reservation_update_request.py ├── test_v1_size_reservation_usage_response.py ├── test_v1_size_response.py ├── test_v1_size_suggest_request.py ├── test_v1_size_update_request.py ├── test_v1_switch_base.py ├── test_v1_switch_bgp_port_state.py ├── test_v1_switch_connection.py ├── test_v1_switch_find_request.py ├── test_v1_switch_migrate_request.py ├── test_v1_switch_nic.py ├── test_v1_switch_notify_request.py ├── test_v1_switch_notify_response.py ├── test_v1_switch_os.py ├── test_v1_switch_port_toggle_request.py ├── test_v1_switch_register_request.py ├── test_v1_switch_response.py ├── test_v1_switch_sync.py ├── test_v1_switch_update_request.py ├── test_v1_tenant.py ├── test_v1_tenant_create_request.py ├── test_v1_tenant_find_request.py ├── test_v1_tenant_response.py ├── test_v1_tenant_update_request.py ├── test_v1_timestamps.py ├── test_v1_user.py ├── test_v1_vendor_revisions.py ├── test_v1_volume_group.py ├── test_v1_vpn_request.py ├── test_v1_vpn_response.py ├── test_version_api.py └── test_vpn_api.py └── version.py /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | name-template: 'v$RESOLVED_VERSION' 2 | tag-template: 'v$RESOLVED_VERSION' 3 | 4 | template: | 5 | ## General Changes 6 | 7 | $CHANGES 8 | 9 | categories: 10 | - title: '🚀 Features' 11 | labels: 12 | - 'feature' 13 | - 'enhancement' 14 | - title: '🐛 Bug Fixes' 15 | labels: 16 | - 'fix' 17 | - 'bugfix' 18 | - 'bug' 19 | 20 | version-resolver: 21 | major: 22 | labels: 23 | - 'major' 24 | minor: 25 | labels: 26 | - 'minor' 27 | patch: 28 | labels: 29 | - 'patch' 30 | default: patch 31 | -------------------------------------------------------------------------------- /.github/workflows/auto_generate.yaml: -------------------------------------------------------------------------------- 1 | name: Auto Generate 2 | 3 | on: 4 | push: 5 | branches: 6 | - auto-generate/* 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - name: Set up Python 3.13 14 | uses: actions/setup-python@v5 15 | with: 16 | python-version: "3.13" 17 | - name: Generate 18 | run: | 19 | if ! which yq; then 20 | sudo curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.9.3/yq_linux_amd64 21 | sudo chmod +x /usr/local/bin/yq 22 | fi 23 | make generate-client 24 | - name: Push 25 | run: | 26 | if ! git diff --exit-code; then 27 | git config --global user.name "auto-build" 28 | git config --global user.email "info@metal-stack.io" 29 | git add . 30 | git commit -m "Bump to version $(python3 -c 'from version import VERSION; print(VERSION)')" 31 | git push 32 | fi 33 | -------------------------------------------------------------------------------- /.github/workflows/master.yaml: -------------------------------------------------------------------------------- 1 | name: Master 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - name: Set up Python 3.13 14 | uses: actions/setup-python@v5 15 | with: 16 | python-version: "3.13" 17 | - name: Test 18 | run: | 19 | pip install .[dev] 20 | python -m unittest discover -v -p 'test_*.py' -s test 21 | - name: Package 22 | run: | 23 | python -m pip install setuptools wheel 24 | python setup.py sdist bdist_wheel 25 | - name: Publish to Test PyPI 26 | uses: pypa/gh-action-pypi-publish@master 27 | with: 28 | password: ${{ secrets.test_pypi_password }} 29 | repository_url: https://test.pypi.org/legacy/ 30 | skip_existing: true 31 | -------------------------------------------------------------------------------- /.github/workflows/pull_request.yaml: -------------------------------------------------------------------------------- 1 | name: Pull Request 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - name: Set up Python 3.13 14 | uses: actions/setup-python@v5 15 | with: 16 | python-version: "3.13" 17 | - name: Test 18 | run: | 19 | pip install .[dev] 20 | python -m unittest discover -v -p 'test_*.py' -s test 21 | -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Release Drafter Action 3 | 4 | on: 5 | push: 6 | branches: 7 | - master 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: release-drafter/release-drafter@v6 14 | env: 15 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 16 | -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | on: 4 | push: 5 | tags: 6 | - 'v*' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - name: Set up Python 3.13 14 | uses: actions/setup-python@v5 15 | with: 16 | python-version: "3.13" 17 | - name: Test 18 | run: | 19 | pip install .[dev] 20 | python -m unittest discover -v -p 'test_*.py' -s test 21 | - name: Package 22 | run: | 23 | python -m pip install setuptools wheel 24 | python setup.py sdist bdist_wheel 25 | - name: Publish to PyPI 26 | uses: pypa/gh-action-pypi-publish@master 27 | with: 28 | password: ${{ secrets.pypi_password }} 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | coverage.xml 44 | *,cover 45 | .hypothesis/ 46 | venv/ 47 | .python-version 48 | 49 | # Translations 50 | *.mo 51 | *.pot 52 | 53 | # Django stuff: 54 | *.log 55 | 56 | # Sphinx documentation 57 | docs/_build/ 58 | 59 | # PyBuilder 60 | target/ 61 | 62 | #Ipython Notebook 63 | .ipynb_checkpoints 64 | 65 | .idea/ 66 | metal-api.json 67 | -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | 25 | setup.py 26 | -------------------------------------------------------------------------------- /.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.4.14 -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @metal-stack/metal-python-maintainers -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Please check out the [contributing section](https://docs.metal-stack.io/stable/development/contributing/) in our [docs](https://docs.metal-stack.io/). -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 The metal-stack Authors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | METAL_API_VERSION := $(or ${METAL_API_VERSION},$(shell python3 -c 'from version import VERSION; print(VERSION)')) 2 | SWAGGER_VERSION := $(or ${SWAGGER_VERSION},2.4.14) 3 | 4 | .PHONY: generate-client 5 | generate-client: 6 | curl -LO https://raw.githubusercontent.com/metal-stack/metal-api/$(METAL_API_VERSION)/spec/metal-api.json 7 | $(MAKE) generate-client-local 8 | 9 | .PHONY: generate-client-local 10 | generate-client-local: 11 | yq e -ij ".info.version=\"${METAL_API_VERSION}\"" metal-api.json 12 | yq e '.info.version' metal-api.json 13 | rm -rf docs metal_python/api metal_python/models test 14 | docker run --rm \ 15 | -v ${PWD}:/workdir \ 16 | -u $$(id -u):$$(id -g) \ 17 | --entrypoint "java" \ 18 | swaggerapi/swagger-codegen-cli:$(SWAGGER_VERSION) \ 19 | -DsupportingFiles=configuration.py,rest.py,api_client.py,__init__.py \ 20 | -jar /opt/swagger-codegen-cli/swagger-codegen-cli.jar generate \ 21 | -i /workdir/metal-api.json \ 22 | -l python \ 23 | -o /workdir \ 24 | -c /workdir/config.json -Dmodels -Dapis -DpackageVersion=$(METAL_API_VERSION) 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # metal-python 2 | 3 | [![PyPI version](https://badge.fury.io/py/metal-python.svg)](https://badge.fury.io/py/metal-python) 4 | [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) 5 | 6 | Python API Client for metal-api. 7 | 8 | ## Update 9 | 10 | Just increase the `METAL_API_VERSION` variable in the [Makefile](Makefile) and run `make`. -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "projectName": "metal_python", 3 | "packageName": "metal_python", 4 | "packageUrl": "https://github.com/metal-stack/metal-python" 5 | } 6 | -------------------------------------------------------------------------------- /docs/DatastoreImageSearchQuery.md: -------------------------------------------------------------------------------- 1 | # DatastoreImageSearchQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **classification** | **str** | | [optional] 7 | **features** | **list[str]** | | [optional] 8 | **id** | **str** | | [optional] 9 | **name** | **str** | | [optional] 10 | **os** | **str** | | [optional] 11 | **version** | **str** | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/DatastoreNetworkSearchQuery.md: -------------------------------------------------------------------------------- 1 | # DatastoreNetworkSearchQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **addressfamily** | **str** | | [optional] 7 | **destinationprefixes** | **list[str]** | | [optional] 8 | **id** | **str** | | [optional] 9 | **labels** | **dict(str, str)** | | [optional] 10 | **name** | **str** | | [optional] 11 | **nat** | **bool** | | [optional] 12 | **parentnetworkid** | **str** | | [optional] 13 | **partitionid** | **str** | | [optional] 14 | **prefixes** | **list[str]** | | [optional] 15 | **privatesuper** | **bool** | | [optional] 16 | **projectid** | **str** | | [optional] 17 | **underlay** | **bool** | | [optional] 18 | **vrf** | **int** | | [optional] 19 | 20 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/DatastoreSwitchSearchQuery.md: -------------------------------------------------------------------------------- 1 | # DatastoreSwitchSearchQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | | [optional] 7 | **name** | **str** | | [optional] 8 | **osvendor** | **str** | | [optional] 9 | **osversion** | **str** | | [optional] 10 | **partitionid** | **str** | | [optional] 11 | **rackid** | **str** | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/HttperrorsHTTPErrorResponse.md: -------------------------------------------------------------------------------- 1 | # HttperrorsHTTPErrorResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | error message | 7 | **statuscode** | **int** | http status code | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/MetalSwitchBGPPortState.md: -------------------------------------------------------------------------------- 1 | # MetalSwitchBGPPortState 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **accepted_prefix_counter** | **int** | | 7 | **bgp_state** | **str** | | 8 | **bgp_timer_up_established** | **int** | | 9 | **neighbor** | **str** | | 10 | **peer_group** | **str** | | 11 | **sent_prefix_counter** | **int** | | 12 | **vrf_name** | **str** | | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/RestHealthResponse.md: -------------------------------------------------------------------------------- 1 | # RestHealthResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | | 7 | **services** | [**dict(str, RestHealthResponse)**](RestHealthResponse.md) | | [optional] 8 | **status** | **str** | | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/RestVersion.md: -------------------------------------------------------------------------------- 1 | # RestVersion 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **builddate** | **str** | | 7 | **gitsha1** | **str** | | 8 | **min_client_version** | **str** | | 9 | **name** | **str** | | 10 | **release_version** | **str** | | [optional] 11 | **revision** | **str** | | 12 | **version** | **str** | | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1AuditFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1AuditFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **body** | **str** | | [optional] 7 | **component** | **str** | | [optional] 8 | **detail** | **str** | | [optional] 9 | **error** | **str** | | [optional] 10 | **forwarded_for** | **str** | | [optional] 11 | **_from** | **datetime** | | [optional] 12 | **limit** | **int** | | [optional] 13 | **path** | **str** | | [optional] 14 | **phase** | **str** | | [optional] 15 | **project** | **str** | | [optional] 16 | **remote_addr** | **str** | | [optional] 17 | **rqid** | **str** | | [optional] 18 | **status_code** | **int** | | [optional] 19 | **tenant** | **str** | | [optional] 20 | **to** | **datetime** | | [optional] 21 | **type** | **str** | | [optional] 22 | **user** | **str** | | [optional] 23 | 24 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/V1AuditResponse.md: -------------------------------------------------------------------------------- 1 | # V1AuditResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **body** | **str** | | [optional] 7 | **component** | **str** | | [optional] 8 | **detail** | **str** | | [optional] 9 | **error** | **str** | | [optional] 10 | **forwarded_for** | **str** | | [optional] 11 | **path** | **str** | | [optional] 12 | **phase** | **str** | | [optional] 13 | **remote_addr** | **str** | | [optional] 14 | **rqid** | **str** | | [optional] 15 | **status_code** | **int** | | [optional] 16 | **tenant** | **str** | | [optional] 17 | **timestamp** | **datetime** | | [optional] 18 | **type** | **str** | | [optional] 19 | **user** | **str** | | [optional] 20 | 21 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/V1BGPFilter.md: -------------------------------------------------------------------------------- 1 | # V1BGPFilter 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **cidrs** | **list[str]** | the cidr addresses that are allowed to be announced at this switch port | 7 | **vnis** | **list[str]** | the virtual networks that are exposed at this switch port | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1BoardRevisions.md: -------------------------------------------------------------------------------- 1 | # V1BoardRevisions 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **board_revisions** | **dict(str, list[str])** | | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1BootInfo.md: -------------------------------------------------------------------------------- 1 | # V1BootInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bootloaderid** | **str** | the bootloader ID | 7 | **cmdline** | **str** | the cmdline | 8 | **image_id** | **str** | the ID of the current image | 9 | **initrd** | **str** | the initrd image | 10 | **kernel** | **str** | the kernel | 11 | **os_partition** | **str** | the partition containing the OS | 12 | **primary_disk** | **str** | the primary disk | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1ChassisIdentifyLEDState.md: -------------------------------------------------------------------------------- 1 | # V1ChassisIdentifyLEDState 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description why this chassis identify LED is in the given state | 7 | **value** | **str** | the state of this chassis identify LED. empty means LED-OFF | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1Common.md: -------------------------------------------------------------------------------- 1 | # V1Common 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **id** | **str** | the unique ID of this entity | 8 | **name** | **str** | a readable name for this entity | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1DNSServer.md: -------------------------------------------------------------------------------- 1 | # V1DNSServer 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ip** | **str** | ip address of this dns server | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1Describable.md: -------------------------------------------------------------------------------- 1 | # V1Describable 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **name** | **str** | a readable name for this entity | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1Disk.md: -------------------------------------------------------------------------------- 1 | # V1Disk 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **device** | **str** | the device to create the partitions | 7 | **partitions** | [**list[V1DiskPartition]**](V1DiskPartition.md) | list of partitions to create on this disk | [optional] 8 | **wipeonreinstall** | **bool** | if set to true, this disk will be wiped before reinstallation | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1DiskPartition.md: -------------------------------------------------------------------------------- 1 | # V1DiskPartition 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **gpttype** | **str** | the gpt partition table type of this partition | 7 | **label** | **str** | optional label for this this partition | [optional] 8 | **number** | **int** | partition number, will be appended to partitionprefix to create the final devicename | 9 | **size** | **int** | size in mebibytes (MiB) of this partition | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1EmptyBody.md: -------------------------------------------------------------------------------- 1 | # V1EmptyBody 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/V1Filesystem.md: -------------------------------------------------------------------------------- 1 | # V1Filesystem 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **createoptions** | **list[str]** | the options to use to create (mkfs) this filesystem | [optional] 7 | **device** | **str** | the underlying device where this filesystem should be created | 8 | **format** | **str** | the filesystem format | 9 | **label** | **str** | optional label for this this filesystem | [optional] 10 | **mountoptions** | **list[str]** | the options to use to mount this filesystem | [optional] 11 | **path** | **str** | the mountpoint where this filesystem should be mounted on | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1FilesystemLayoutBase.md: -------------------------------------------------------------------------------- 1 | # V1FilesystemLayoutBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**V1FilesystemLayoutConstraints**](V1FilesystemLayoutConstraints.md) | constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts | 7 | **disks** | [**list[V1Disk]**](V1Disk.md) | list of disks that belong to this layout | [optional] 8 | **filesystems** | [**list[V1Filesystem]**](V1Filesystem.md) | list of filesystems to create | [optional] 9 | **logicalvolumes** | [**list[V1LogicalVolume]**](V1LogicalVolume.md) | list of logicalvolumes to create | [optional] 10 | **raid** | [**list[V1Raid]**](V1Raid.md) | list of raid arrays to create | [optional] 11 | **volumegroups** | [**list[V1VolumeGroup]**](V1VolumeGroup.md) | list of volumegroups to create | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1FilesystemLayoutConstraints.md: -------------------------------------------------------------------------------- 1 | # V1FilesystemLayoutConstraints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **images** | **dict(str, str)** | list of images this layout applies to | 7 | **sizes** | **list[str]** | list of sizes this layout applies to | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1FilesystemLayoutMatchRequest.md: -------------------------------------------------------------------------------- 1 | # V1FilesystemLayoutMatchRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **filesystemlayout** | **str** | filesystemlayout id to check | 7 | **machine** | **str** | machine id to check | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1FilesystemLayoutTryRequest.md: -------------------------------------------------------------------------------- 1 | # V1FilesystemLayoutTryRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **image** | **str** | image to try | 7 | **size** | **str** | machine size to try | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1FirewallAllocateRequest.md: -------------------------------------------------------------------------------- 1 | # V1FirewallAllocateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **firewall_rules** | [**V1FirewallRules**](V1FirewallRules.md) | optional egress and ingress firewall rules to deploy during firewall allocation | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1FirewallEgressRule.md: -------------------------------------------------------------------------------- 1 | # V1FirewallEgressRule 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **comment** | **str** | an optional comment describing what this rule is used for | [optional] 7 | **ports** | **list[int]** | the ports affected by this rule | 8 | **protocol** | **str** | the protocol for the rule, defaults to tcp | [optional] 9 | **to** | **list[str]** | the cidrs affected by this rule | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1FirewallIngressRule.md: -------------------------------------------------------------------------------- 1 | # V1FirewallIngressRule 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **comment** | **str** | an optional comment describing what this rule is used for | [optional] 7 | **_from** | **list[str]** | the cidrs affected by this rule | 8 | **ports** | **list[int]** | the ports affected by this rule | 9 | **protocol** | **str** | the protocol for the rule, defaults to tcp | [optional] 10 | **to** | **list[str]** | the cidrs affected by this rule | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1FirewallRules.md: -------------------------------------------------------------------------------- 1 | # V1FirewallRules 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **egress** | [**list[V1FirewallEgressRule]**](V1FirewallEgressRule.md) | list of egress rules to be deployed during firewall allocation | [optional] 7 | **ingress** | [**list[V1FirewallIngressRule]**](V1FirewallIngressRule.md) | list of ingress rules to be deployed during firewall allocation | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1FirmwaresResponse.md: -------------------------------------------------------------------------------- 1 | # V1FirmwaresResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **revisions** | [**dict(str, V1VendorRevisions)**](V1VendorRevisions.md) | list of firmwares per board per vendor per kind | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1IAMConfig.md: -------------------------------------------------------------------------------- 1 | # V1IAMConfig 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **idm_config** | [**V1IDMConfig**](V1IDMConfig.md) | | [optional] 7 | **issuer_config** | [**V1IssuerConfig**](V1IssuerConfig.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1IDMConfig.md: -------------------------------------------------------------------------------- 1 | # V1IDMConfig 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **idm_type** | **str** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1IPAllocateRequest.md: -------------------------------------------------------------------------------- 1 | # V1IPAllocateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **addressfamily** | **str** | the addressfamily to allocate a ip address from the given network, defaults to IPv4 | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **machineid** | **str** | the machine id this ip should be associated with | [optional] 9 | **name** | **str** | a readable name for this entity | [optional] 10 | **networkid** | **str** | the network this ip allocate request address belongs to | 11 | **projectid** | **str** | the project this ip address belongs to | 12 | **tags** | **list[str]** | free tags that you associate with this ip. | [optional] 13 | **type** | **str** | the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1IPBase.md: -------------------------------------------------------------------------------- 1 | # V1IPBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **networkid** | **str** | the network this ip allocate request address belongs to | 7 | **projectid** | **str** | the project this ip address belongs to | 8 | **tags** | **list[str]** | free tags that you associate with this ip. | [optional] 9 | **type** | **str** | the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1IPIdentifiable.md: -------------------------------------------------------------------------------- 1 | # V1IPIdentifiable 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **allocationuuid** | **str** | a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time. | 7 | **ipaddress** | **str** | the address (ipv4 or ipv6) of this ip | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1IPUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1IPUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **ipaddress** | **str** | the address (ipv4 or ipv6) of this ip | 8 | **name** | **str** | a readable name for this entity | [optional] 9 | **tags** | **list[str]** | free tags that you associate with this ip. | [optional] 10 | **type** | **str** | the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1Identifiable.md: -------------------------------------------------------------------------------- 1 | # V1Identifiable 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | the unique ID of this entity | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1ImageBase.md: -------------------------------------------------------------------------------- 1 | # V1ImageBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **classification** | **str** | classification of this image | [optional] 7 | **expiration_date** | **datetime** | expirationDate of this image | 8 | **features** | **list[str]** | features of this image | [optional] 9 | **url** | **str** | the url of this image | [optional] 10 | **usedby** | **list[str]** | machines where this image is in use | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1ImageCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1ImageCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **classification** | **str** | classification of this image | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **expiration_date** | **datetime** | expirationDate of this image | [optional] 9 | **features** | **list[str]** | features of this image | [optional] 10 | **id** | **str** | the unique ID of this entity | 11 | **name** | **str** | a readable name for this entity | [optional] 12 | **url** | **str** | the url of this image | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1ImageFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1ImageFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **classification** | **str** | | [optional] 7 | **features** | **list[str]** | | [optional] 8 | **id** | **str** | | [optional] 9 | **name** | **str** | | [optional] 10 | **os** | **str** | | [optional] 11 | **version** | **str** | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1ImageResponse.md: -------------------------------------------------------------------------------- 1 | # V1ImageResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **changed** | **datetime** | the last changed timestamp of this entity | [optional] 7 | **classification** | **str** | classification of this image | [optional] 8 | **created** | **datetime** | the creation time of this entity | [optional] 9 | **description** | **str** | a description for this entity | [optional] 10 | **expiration_date** | **datetime** | expirationDate of this image | 11 | **features** | **list[str]** | features of this image | [optional] 12 | **id** | **str** | the unique ID of this entity | 13 | **name** | **str** | a readable name for this entity | [optional] 14 | **url** | **str** | the url of this image | [optional] 15 | **usedby** | **list[str]** | machines where this image is in use | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/V1ImageUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1ImageUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **classification** | **str** | classification of this image | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **expiration_date** | **datetime** | expirationDate of this image | 9 | **features** | **list[str]** | features of this image | [optional] 10 | **id** | **str** | the unique ID of this entity | 11 | **name** | **str** | a readable name for this entity | [optional] 12 | **url** | **str** | the url of this image | [optional] 13 | **usedby** | **list[str]** | machines where this image is in use | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1IssuerConfig.md: -------------------------------------------------------------------------------- 1 | # V1IssuerConfig 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **client_id** | **str** | | [optional] 7 | **url** | **str** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1LogicalVolume.md: -------------------------------------------------------------------------------- 1 | # V1LogicalVolume 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lvmtype** | **str** | the type of this logical volume can be either linear|striped|raid1 | 7 | **name** | **str** | the name of the logical volume | 8 | **size** | **int** | size in mebibytes (MiB) of this volume | 9 | **volumegroup** | **str** | the name of the volume group where to create the logical volume onto | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineAllocationNetwork.md: -------------------------------------------------------------------------------- 1 | # V1MachineAllocationNetwork 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **autoacquire** | **bool** | will automatically acquire an ip in this network if set to true, default is true | 7 | **networkid** | **str** | the id of the network that this machine will be placed in | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineBIOS.md: -------------------------------------------------------------------------------- 1 | # V1MachineBIOS 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **_date** | **str** | the bios date | 7 | **vendor** | **str** | the bios vendor | 8 | **version** | **str** | the bios version | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1MachineBlockDevice.md: -------------------------------------------------------------------------------- 1 | # V1MachineBlockDevice 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | the name of this block device | 7 | **size** | **int** | the size of this block device | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineConsolePasswordRequest.md: -------------------------------------------------------------------------------- 1 | # V1MachineConsolePasswordRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | id of the machine to get the consolepassword for | 7 | **reason** | **str** | reason why the consolepassword is requested, typically a incident number with short description | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineConsolePasswordResponse.md: -------------------------------------------------------------------------------- 1 | # V1MachineConsolePasswordResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **console_password** | **str** | the console password which was generated while provisioning | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **name** | **str** | a readable name for this entity | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineFru.md: -------------------------------------------------------------------------------- 1 | # V1MachineFru 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **board_mfg** | **str** | the board mfg | [optional] 7 | **board_mfg_serial** | **str** | the board mfg serial | [optional] 8 | **board_part_number** | **str** | the board part number | [optional] 9 | **chassis_part_number** | **str** | the chassis part number | [optional] 10 | **chassis_part_serial** | **str** | the chassis part serial | [optional] 11 | **product_manufacturer** | **str** | the product manufacturer | [optional] 12 | **product_part_number** | **str** | the product part number | [optional] 13 | **product_serial** | **str** | the product serial | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1MachineHardware.md: -------------------------------------------------------------------------------- 1 | # V1MachineHardware 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **cpu_cores** | **int** | the number of cpu cores | 7 | **cpus** | [**list[V1MetalCPU]**](V1MetalCPU.md) | the cpu details | [optional] 8 | **disks** | [**list[V1MachineBlockDevice]**](V1MachineBlockDevice.md) | the list of block devices of this machine | 9 | **gpus** | [**list[V1MetalGPU]**](V1MetalGPU.md) | the gpu details | [optional] 10 | **memory** | **int** | the total memory of the machine | 11 | **nics** | [**list[V1MachineNic]**](V1MachineNic.md) | the list of network interfaces of this machine | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1MachineHardwareBase.md: -------------------------------------------------------------------------------- 1 | # V1MachineHardwareBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **cpu_cores** | **int** | the number of cpu cores | 7 | **cpus** | [**list[V1MetalCPU]**](V1MetalCPU.md) | the cpu details | [optional] 8 | **disks** | [**list[V1MachineBlockDevice]**](V1MachineBlockDevice.md) | the list of block devices of this machine | 9 | **gpus** | [**list[V1MetalGPU]**](V1MetalGPU.md) | the gpu details | [optional] 10 | **memory** | **int** | the total memory of the machine | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1MachineIPMI.md: -------------------------------------------------------------------------------- 1 | # V1MachineIPMI 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | **str** | | 7 | **bmcversion** | **str** | | 8 | **fru** | [**V1MachineFru**](V1MachineFru.md) | | 9 | **interface** | **str** | | 10 | **last_updated** | **datetime** | | 11 | **mac** | **str** | | 12 | **password** | **str** | | 13 | **powermetric** | [**V1PowerMetric**](V1PowerMetric.md) | | 14 | **powerstate** | **str** | | 15 | **powersupplies** | [**list[V1PowerSupply]**](V1PowerSupply.md) | | 16 | **user** | **str** | | 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/V1MachineIpmiReport.md: -------------------------------------------------------------------------------- 1 | # V1MachineIpmiReport 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bios_version** | **str** | | 7 | **bmc_ip** | **str** | | 8 | **bmc_version** | **str** | | 9 | **fru** | [**V1MachineFru**](V1MachineFru.md) | | 10 | **indicator_led_state** | **str** | | 11 | **power_metric** | [**V1PowerMetric**](V1PowerMetric.md) | | 12 | **power_state** | **str** | | 13 | **power_supplies** | [**list[V1PowerSupply]**](V1PowerSupply.md) | | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1MachineIpmiReportResponse.md: -------------------------------------------------------------------------------- 1 | # V1MachineIpmiReportResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **created** | **list[str]** | the machine uuids that triggered a creation of a machine entity | 7 | **updated** | **list[str]** | the machine uuids that triggered an update of ipmi data | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineIpmiReports.md: -------------------------------------------------------------------------------- 1 | # V1MachineIpmiReports 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **partitionid** | **str** | the partition id for the ipmi report | [optional] 7 | **reports** | [**dict(str, V1MachineIpmiReport)**](V1MachineIpmiReport.md) | uuid to machinereport | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineIssue.md: -------------------------------------------------------------------------------- 1 | # V1MachineIssue 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description of the issue | 7 | **details** | **str** | details of the issue | 8 | **id** | **str** | the id of the issue | 9 | **ref_url** | **str** | an issue reference to the issue in metal-stack docs | 10 | **severity** | **str** | the severity of the issue | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1MachineIssueResponse.md: -------------------------------------------------------------------------------- 1 | # V1MachineIssueResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **issues** | **list[str]** | the list of issues (only issue ids) of this machine | 7 | **machineid** | **str** | the machine id that has the given issues | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1MachineNic.md: -------------------------------------------------------------------------------- 1 | # V1MachineNic 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **identifier** | **str** | the unique identifier of this network interface | 7 | **mac** | **str** | the mac address of this network interface | 8 | **name** | **str** | the name of this network interface | 9 | **neighbors** | [**list[V1MachineNic]**](V1MachineNic.md) | the neighbors visible to this network interface | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineProvisioningEvent.md: -------------------------------------------------------------------------------- 1 | # V1MachineProvisioningEvent 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **event** | **str** | the event emitted by the machine | 7 | **message** | **str** | an additional message to add to the event | [optional] 8 | **time** | **datetime** | the time that this event was received | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1MachineRecentProvisioningEvents.md: -------------------------------------------------------------------------------- 1 | # V1MachineRecentProvisioningEvents 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **crash_loop** | **bool** | indicates that machine is provisioning crash loop | 7 | **failed_machine_reclaim** | **bool** | indicates that machine reclaim has failed | 8 | **last_error_event** | [**V1MachineProvisioningEvent**](V1MachineProvisioningEvent.md) | the last erroneous event received | [optional] 9 | **last_event_time** | **datetime** | the time where the last event was received | [optional] 10 | **log** | [**list[V1MachineProvisioningEvent]**](V1MachineProvisioningEvent.md) | the log of recent machine provisioning events | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1MachineReinstallRequest.md: -------------------------------------------------------------------------------- 1 | # V1MachineReinstallRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **id** | **str** | the unique ID of this entity | 8 | **imageid** | **str** | the image id to be installed | 9 | **name** | **str** | a readable name for this entity | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineState.md: -------------------------------------------------------------------------------- 1 | # V1MachineState 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description why this machine is in the given state | 7 | **issuer** | **str** | the user that changed the state | [optional] 8 | **metal_hammer_version** | **str** | the version of metal hammer which put the machine in waiting state | 9 | **value** | **str** | the state of this machine. empty means available for all | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineUpdateFirmwareRequest.md: -------------------------------------------------------------------------------- 1 | # V1MachineUpdateFirmwareRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description why the machine has been updated | 7 | **kind** | **str** | the firmware kind, i.e. [bios|bmc] | 8 | **revision** | **str** | the update revision | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1MachineUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1MachineUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this machine | 7 | **id** | **str** | the unique ID of this entity | 8 | **ssh_pub_keys** | **list[str]** | the public ssh keys to access the machine with | [optional] 9 | **tags** | **list[str]** | tags for this machine. | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MachineVPN.md: -------------------------------------------------------------------------------- 1 | # V1MachineVPN 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | **str** | address of VPN control plane | 7 | **auth_key** | **str** | auth key used to connect to VPN | 8 | **connected** | **bool** | connected to the VPN | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1Meta.md: -------------------------------------------------------------------------------- 1 | # V1Meta 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **annotations** | **dict(str, str)** | | [optional] 7 | **apiversion** | **str** | | [optional] 8 | **created_time** | **datetime** | | [optional] 9 | **id** | **str** | | [optional] 10 | **kind** | **str** | | [optional] 11 | **labels** | **list[str]** | | [optional] 12 | **updated_time** | **datetime** | | [optional] 13 | **version** | **int** | | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1MetalCPU.md: -------------------------------------------------------------------------------- 1 | # V1MetalCPU 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **cores** | **int** | the cpu cores | 7 | **model** | **str** | the cpu model | 8 | **threads** | **int** | the cpu threads | 9 | **vendor** | **str** | the cpu vendor | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1MetalGPU.md: -------------------------------------------------------------------------------- 1 | # V1MetalGPU 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **model** | **str** | the gpu model | 7 | **vendor** | **str** | the gpu vendor | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1NTPServer.md: -------------------------------------------------------------------------------- 1 | # V1NTPServer 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | **str** | ip address or dns hostname of this ntp server | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1NetworkBase.md: -------------------------------------------------------------------------------- 1 | # V1NetworkBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **labels** | **dict(str, str)** | free labels that you associate with this network. | [optional] 7 | **partitionid** | **str** | the partition this network belongs to | [optional] 8 | **projectid** | **str** | the project id this network belongs to, can be empty if globally available | [optional] 9 | **shared** | **bool** | marks a network as shareable. | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1NetworkConsumption.md: -------------------------------------------------------------------------------- 1 | # V1NetworkConsumption 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ipv4** | [**V1NetworkUsage**](V1NetworkUsage.md) | ip and prefix consumption in the ipv4 addressfamily | [optional] 7 | **ipv6** | [**V1NetworkUsage**](V1NetworkUsage.md) | ip and prefix consumption in the ipv6 addressfamily | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1NetworkFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1NetworkFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **addressfamily** | **str** | | [optional] 7 | **destinationprefixes** | **list[str]** | | [optional] 8 | **id** | **str** | | [optional] 9 | **labels** | **dict(str, str)** | | [optional] 10 | **name** | **str** | | [optional] 11 | **nat** | **bool** | | [optional] 12 | **parentnetworkid** | **str** | | [optional] 13 | **partitionid** | **str** | | [optional] 14 | **prefixes** | **list[str]** | | [optional] 15 | **privatesuper** | **bool** | | [optional] 16 | **projectid** | **str** | | [optional] 17 | **underlay** | **bool** | | [optional] 18 | **vrf** | **int** | | [optional] 19 | 20 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/V1NetworkUsage.md: -------------------------------------------------------------------------------- 1 | # V1NetworkUsage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **available_ips** | **int** | the total available IPs | 7 | **available_prefixes** | **int** | the total available 2 bit Prefixes | 8 | **used_ips** | **int** | the total used IPs | 9 | **used_prefixes** | **int** | the total used Prefixes | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1Paging.md: -------------------------------------------------------------------------------- 1 | # V1Paging 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **count** | **int** | | [optional] 7 | **page** | **int** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1PartitionBase.md: -------------------------------------------------------------------------------- 1 | # V1PartitionBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **dns_servers** | [**list[V1DNSServer]**](V1DNSServer.md) | the dns servers for this partition | [optional] 7 | **labels** | **dict(str, str)** | free labels that you associate with this partition | [optional] 8 | **mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional] 9 | **ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1PartitionBootConfiguration.md: -------------------------------------------------------------------------------- 1 | # V1PartitionBootConfiguration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **commandline** | **str** | the cmdline to the kernel for the boot image | [optional] 7 | **imageurl** | **str** | the url to download the initrd for the boot image | [optional] 8 | **kernelurl** | **str** | the url to download the kernel for the boot image | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1PartitionCapacity.md: -------------------------------------------------------------------------------- 1 | # V1PartitionCapacity 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **id** | **str** | the unique ID of this entity | 8 | **name** | **str** | a readable name for this entity | [optional] 9 | **servers** | [**list[V1ServerCapacity]**](V1ServerCapacity.md) | servers available in this partition | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1PartitionCapacityRequest.md: -------------------------------------------------------------------------------- 1 | # V1PartitionCapacityRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | the id of the partition | [optional] 7 | **projectid** | **str** | if provided the machine reservations of this project will be respected in the free counts | 8 | **sizeid** | **str** | the size to filter for | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1PartitionCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1PartitionCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bootconfig** | [**V1PartitionBootConfiguration**](V1PartitionBootConfiguration.md) | the boot configuration of this partition | 7 | **description** | **str** | a description for this entity | [optional] 8 | **dns_servers** | [**list[V1DNSServer]**](V1DNSServer.md) | the dns servers for this partition | [optional] 9 | **id** | **str** | the unique ID of this entity | 10 | **labels** | **dict(str, str)** | free labels that you associate with this partition | [optional] 11 | **mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional] 12 | **name** | **str** | a readable name for this entity | [optional] 13 | **ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1PartitionUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1PartitionUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bootconfig** | [**V1PartitionBootConfiguration**](V1PartitionBootConfiguration.md) | the boot configuration of this partition | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **dns_servers** | [**list[V1DNSServer]**](V1DNSServer.md) | the dns servers for this partition | 9 | **id** | **str** | the unique ID of this entity | 10 | **labels** | **dict(str, str)** | free labels that you associate with this partition | [optional] 11 | **mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional] 12 | **name** | **str** | a readable name for this entity | [optional] 13 | **ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1PowerMetric.md: -------------------------------------------------------------------------------- 1 | # V1PowerMetric 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **averageconsumedwatts** | **float** | | 7 | **intervalinmin** | **float** | | 8 | **maxconsumedwatts** | **float** | | 9 | **minconsumedwatts** | **float** | | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1PowerSupply.md: -------------------------------------------------------------------------------- 1 | # V1PowerSupply 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **status** | [**V1PowerSupplyStatus**](V1PowerSupplyStatus.md) | | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1PowerSupplyStatus.md: -------------------------------------------------------------------------------- 1 | # V1PowerSupplyStatus 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **health** | **str** | | 7 | **state** | **str** | | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1Project.md: -------------------------------------------------------------------------------- 1 | # V1Project 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | | [optional] 7 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 8 | **name** | **str** | | [optional] 9 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 10 | **tenant_id** | **str** | | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1ProjectCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1ProjectCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | | [optional] 7 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 8 | **name** | **str** | | [optional] 9 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 10 | **tenant_id** | **str** | | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1ProjectFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1ProjectFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | | [optional] 7 | **id** | **str** | | [optional] 8 | **name** | **str** | | [optional] 9 | **tenant_id** | **str** | | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1ProjectResponse.md: -------------------------------------------------------------------------------- 1 | # V1ProjectResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | | [optional] 7 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 8 | **name** | **str** | | [optional] 9 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 10 | **tenant_id** | **str** | | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1ProjectUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1ProjectUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | | [optional] 7 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 8 | **name** | **str** | | [optional] 9 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 10 | **tenant_id** | **str** | | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1Quota.md: -------------------------------------------------------------------------------- 1 | # V1Quota 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **quota** | **int** | | [optional] 7 | **used** | **int** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1QuotaSet.md: -------------------------------------------------------------------------------- 1 | # V1QuotaSet 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **cluster** | [**V1Quota**](V1Quota.md) | | [optional] 7 | **ip** | [**V1Quota**](V1Quota.md) | | [optional] 8 | **machine** | [**V1Quota**](V1Quota.md) | | [optional] 9 | **project** | [**V1Quota**](V1Quota.md) | | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1Raid.md: -------------------------------------------------------------------------------- 1 | # V1Raid 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **arrayname** | **str** | the name of the resulting array device | 7 | **createoptions** | **list[str]** | the options to use to create the raid array | [optional] 8 | **devices** | **list[str]** | list of devices to form the raid array from | [optional] 9 | **level** | **str** | raid level to create, should be 0 or 1 | 10 | **spares** | **int** | number of spares for the raid array | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1SizeConstraint.md: -------------------------------------------------------------------------------- 1 | # V1SizeConstraint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **identifier** | **str** | glob pattern which matches to the given type, for example gpu pci id | [optional] 7 | **max** | **int** | the maximum value of the constraint | [optional] 8 | **min** | **int** | the minimum value of the constraint | [optional] 9 | **type** | **str** | the type of the constraint | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SizeCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**list[V1SizeConstraint]**](V1SizeConstraint.md) | a list of constraints that defines this size | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **labels** | **dict(str, str)** | free labels that you associate with this size. | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1SizeImageConstraintBase.md: -------------------------------------------------------------------------------- 1 | # V1SizeImageConstraintBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **images** | **dict(str, str)** | a list of images for this constraints apply | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1SizeImageConstraintCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeImageConstraintCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**V1SizeImageConstraintBase**](V1SizeImageConstraintBase.md) | a list of constraints that for this size | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **name** | **str** | a readable name for this entity | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SizeImageConstraintResponse.md: -------------------------------------------------------------------------------- 1 | # V1SizeImageConstraintResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**V1SizeImageConstraintBase**](V1SizeImageConstraintBase.md) | a list of constraints that for this size | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **name** | **str** | a readable name for this entity | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SizeImageConstraintTryRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeImageConstraintTryRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **image** | **str** | | 7 | **size** | **str** | | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1SizeImageConstraintUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeImageConstraintUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**V1SizeImageConstraintBase**](V1SizeImageConstraintBase.md) | a list of constraints that for this size | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **name** | **str** | a readable name for this entity | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SizeReservationCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeReservationCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **amount** | **int** | the amount of reservations of this size reservation | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **labels** | **dict(str, str)** | free labels associated with this size reservation. | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | **partitionids** | **list[str]** | the partition id of this size reservation | 12 | **projectid** | **str** | the project id of this size reservation | 13 | **sizeid** | **str** | the size id of this size reservation | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/V1SizeReservationListRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeReservationListRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | the id of this size reservation | [optional] 7 | **partitionid** | **str** | the partition id of this size reservation | [optional] 8 | **projectid** | **str** | the project id of this size reservation | [optional] 9 | **sizeid** | **str** | the size id of this size reservation | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SizeReservationResponse.md: -------------------------------------------------------------------------------- 1 | # V1SizeReservationResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **amount** | **int** | the amount of reservations of this size reservation | 7 | **changed** | **datetime** | the last changed timestamp of this entity | [optional] 8 | **created** | **datetime** | the creation time of this entity | [optional] 9 | **description** | **str** | a description for this entity | [optional] 10 | **id** | **str** | the unique ID of this entity | 11 | **labels** | **dict(str, str)** | free labels associated with this size reservation. | [optional] 12 | **name** | **str** | a readable name for this entity | [optional] 13 | **partitionids** | **list[str]** | the partition id of this size reservation | 14 | **projectid** | **str** | the project id of this size reservation | 15 | **sizeid** | **str** | the size id of this size reservation | 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/V1SizeReservationUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeReservationUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **amount** | **int** | the amount of reservations of this size reservation | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **labels** | **dict(str, str)** | free labels associated with this size reservation. | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | **partitionids** | **list[str]** | the partition id of this size reservation | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1SizeReservationUsageResponse.md: -------------------------------------------------------------------------------- 1 | # V1SizeReservationUsageResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **amount** | **int** | the amount of reservations of this size reservation | 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **labels** | **dict(str, str)** | free labels associated with this size reservation. | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | **partitionid** | **str** | the partition id of this size reservation | 12 | **projectallocations** | **int** | the amount of allocations of this project referenced by this size reservation | 13 | **projectid** | **str** | the project id of this size reservation | 14 | **sizeid** | **str** | the size id of this size reservation | 15 | **usedamount** | **int** | the used amount of reservations of this size reservation | 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/V1SizeResponse.md: -------------------------------------------------------------------------------- 1 | # V1SizeResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **changed** | **datetime** | the last changed timestamp of this entity | [optional] 7 | **constraints** | [**list[V1SizeConstraint]**](V1SizeConstraint.md) | a list of constraints that defines this size | 8 | **created** | **datetime** | the creation time of this entity | [optional] 9 | **description** | **str** | a description for this entity | [optional] 10 | **id** | **str** | the unique ID of this entity | 11 | **labels** | **dict(str, str)** | free labels that you associate with this size. | 12 | **name** | **str** | a readable name for this entity | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1SizeSuggestRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeSuggestRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **machine_id** | **str** | machineID to retrieve size suggestion for | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1SizeUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SizeUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **constraints** | [**list[V1SizeConstraint]**](V1SizeConstraint.md) | a list of constraints that defines this size | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **labels** | **dict(str, str)** | free labels that you associate with this size. | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1SwitchBGPPortState.md: -------------------------------------------------------------------------------- 1 | # V1SwitchBGPPortState 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **accepted_prefix_counter** | **int** | | 7 | **bgp_state** | **str** | | 8 | **bgp_timer_up_established** | **int** | | 9 | **neighbor** | **str** | | 10 | **peer_group** | **str** | | 11 | **sent_prefix_counter** | **int** | | 12 | **vrf_name** | **str** | | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1SwitchBase.md: -------------------------------------------------------------------------------- 1 | # V1SwitchBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **console_command** | **str** | command to access the console of the switch | [optional] 7 | **management_ip** | **str** | the ip address of the management interface of the switch | [optional] 8 | **management_user** | **str** | the user to connect to the switch | [optional] 9 | **mode** | **str** | the mode the switch currently has | [optional] 10 | **os** | [**V1SwitchOS**](V1SwitchOS.md) | the operating system the switch currently has | [optional] 11 | **rack_id** | **str** | the id of the rack in which this switch is located | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1SwitchConnection.md: -------------------------------------------------------------------------------- 1 | # V1SwitchConnection 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **machine_id** | **str** | the machine id of the machine connected to the nic | [optional] 7 | **nic** | [**V1SwitchNic**](V1SwitchNic.md) | a network interface on the switch | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1SwitchFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1SwitchFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | | [optional] 7 | **name** | **str** | | [optional] 8 | **osvendor** | **str** | | [optional] 9 | **osversion** | **str** | | [optional] 10 | **partitionid** | **str** | | [optional] 11 | **rackid** | **str** | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1SwitchMigrateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SwitchMigrateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **new_switch_id** | **str** | the id of the new switch to migrate to | 7 | **old_switch_id** | **str** | the id of the switch that should be migrated away from | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1SwitchNic.md: -------------------------------------------------------------------------------- 1 | # V1SwitchNic 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **actual** | **str** | the current state of the nic | 7 | **bgp_port_state** | [**MetalSwitchBGPPortState**](MetalSwitchBGPPortState.md) | the current bgp port state | [optional] 8 | **filter** | [**V1BGPFilter**](V1BGPFilter.md) | configures the bgp filter applied at the switch port | [optional] 9 | **identifier** | **str** | the identifier of this network interface | 10 | **mac** | **str** | the mac address of this network interface | 11 | **name** | **str** | the name of this network interface | 12 | **vrf** | **str** | the vrf this network interface is part of | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/V1SwitchNotifyRequest.md: -------------------------------------------------------------------------------- 1 | # V1SwitchNotifyRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bgp_port_states** | [**dict(str, V1SwitchBGPPortState)**](V1SwitchBGPPortState.md) | the current bgp port states | [optional] 7 | **error** | **str** | | 8 | **port_states** | **dict(str, str)** | the current switch port states | 9 | **sync_duration** | **int** | the duration of the switch synchronization | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1SwitchNotifyResponse.md: -------------------------------------------------------------------------------- 1 | # V1SwitchNotifyResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **description** | **str** | a description for this entity | [optional] 7 | **id** | **str** | the unique ID of this entity | 8 | **last_sync** | [**V1SwitchSync**](V1SwitchSync.md) | last successful synchronization to the switch | [optional] 9 | **last_sync_error** | [**V1SwitchSync**](V1SwitchSync.md) | last synchronization to the switch that was erroneous | [optional] 10 | **name** | **str** | a readable name for this entity | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/V1SwitchOS.md: -------------------------------------------------------------------------------- 1 | # V1SwitchOS 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **metal_core_version** | **str** | the version of metal-core running | [optional] 7 | **vendor** | **str** | the operating system vendor the switch currently has | [optional] 8 | **version** | **str** | the operating system version the switch currently has | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1SwitchPortToggleRequest.md: -------------------------------------------------------------------------------- 1 | # V1SwitchPortToggleRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **nic** | **str** | the nic of the switch you want to change | 7 | **status** | **str** | sets the port status | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1SwitchSync.md: -------------------------------------------------------------------------------- 1 | # V1SwitchSync 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **duration** | **int** | the duration that lat switch sync took | 7 | **error** | **str** | shows the error occurred during the sync | [optional] 8 | **time** | **datetime** | point in time when the last switch sync happened | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1SwitchUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1SwitchUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **console_command** | **str** | command to access the console of the switch | [optional] 7 | **description** | **str** | a description for this entity | [optional] 8 | **id** | **str** | the unique ID of this entity | 9 | **management_ip** | **str** | the ip address of the management interface of the switch | [optional] 10 | **management_user** | **str** | the user to connect to the switch | [optional] 11 | **mode** | **str** | the mode the switch currently has | [optional] 12 | **name** | **str** | a readable name for this entity | [optional] 13 | **os** | [**V1SwitchOS**](V1SwitchOS.md) | the operating system the switch currently has | [optional] 14 | **rack_id** | **str** | the id of the rack in which this switch is located | 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/V1Tenant.md: -------------------------------------------------------------------------------- 1 | # V1Tenant 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **default_quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 7 | **description** | **str** | | [optional] 8 | **iam_config** | [**V1IAMConfig**](V1IAMConfig.md) | | [optional] 9 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 10 | **name** | **str** | | [optional] 11 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1TenantCreateRequest.md: -------------------------------------------------------------------------------- 1 | # V1TenantCreateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **default_quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 7 | **description** | **str** | | [optional] 8 | **iam_config** | [**V1IAMConfig**](V1IAMConfig.md) | | [optional] 9 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 10 | **name** | **str** | | [optional] 11 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1TenantFindRequest.md: -------------------------------------------------------------------------------- 1 | # V1TenantFindRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **annotations** | **dict(str, str)** | | [optional] 7 | **id** | **str** | | [optional] 8 | **name** | **str** | | [optional] 9 | **paging** | [**V1Paging**](V1Paging.md) | | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/V1TenantResponse.md: -------------------------------------------------------------------------------- 1 | # V1TenantResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **default_quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 7 | **description** | **str** | | [optional] 8 | **iam_config** | [**V1IAMConfig**](V1IAMConfig.md) | | [optional] 9 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 10 | **name** | **str** | | [optional] 11 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1TenantUpdateRequest.md: -------------------------------------------------------------------------------- 1 | # V1TenantUpdateRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **default_quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 7 | **description** | **str** | | [optional] 8 | **iam_config** | [**V1IAMConfig**](V1IAMConfig.md) | | [optional] 9 | **meta** | [**V1Meta**](V1Meta.md) | | [optional] 10 | **name** | **str** | | [optional] 11 | **quotas** | [**V1QuotaSet**](V1QuotaSet.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1Timestamps.md: -------------------------------------------------------------------------------- 1 | # V1Timestamps 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **changed** | **datetime** | the last changed timestamp of this entity | [optional] 7 | **created** | **datetime** | the creation time of this entity | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1User.md: -------------------------------------------------------------------------------- 1 | # V1User 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **e_mail** | **str** | | 7 | **groups** | **list[str]** | | 8 | **issuer** | **str** | | 9 | **name** | **str** | | 10 | **subject** | **str** | | 11 | **tenant** | **str** | | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/V1VPNRequest.md: -------------------------------------------------------------------------------- 1 | # V1VPNRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ephemeral** | **bool** | specifies if auth key should be ephemeral | 7 | **expiration** | **int** | expiration time | [optional] 8 | **pid** | **str** | project ID | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/V1VPNResponse.md: -------------------------------------------------------------------------------- 1 | # V1VPNResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | **str** | address of VPN's control plane | 7 | **auth_key** | **str** | auth key to connect to the VPN | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/V1VendorRevisions.md: -------------------------------------------------------------------------------- 1 | # V1VendorRevisions 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **vendor_revisions** | [**dict(str, V1BoardRevisions)**](V1BoardRevisions.md) | | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/V1VolumeGroup.md: -------------------------------------------------------------------------------- 1 | # V1VolumeGroup 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **devices** | **list[str]** | list of devices to form the volume group from | [optional] 7 | **name** | **str** | the name of the resulting volume group | 8 | **tags** | **list[str]** | list of tags to add to the volume group | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | from metal_python.driver import Driver 3 | from metal_python.api.partition_api import PartitionApi 4 | 5 | # example works with the mini-lab! 6 | d = Driver("http://api.0.0.0.0.nip.io:8080/metal", None, "metal-admin") 7 | partition = PartitionApi(api_client=d.client) 8 | print(partition.list_partitions()) 9 | -------------------------------------------------------------------------------- /metal_python/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from metal_python.api.partition_api import PartitionApi 7 | from metal_python.api.audit_api import AuditApi 8 | from metal_python.api.filesystemlayout_api import FilesystemlayoutApi 9 | from metal_python.api.firewall_api import FirewallApi 10 | from metal_python.api.firmware_api import FirmwareApi 11 | from metal_python.api.health_api import HealthApi 12 | from metal_python.api.image_api import ImageApi 13 | from metal_python.api.ip_api import IpApi 14 | from metal_python.api.machine_api import MachineApi 15 | from metal_python.api.network_api import NetworkApi 16 | from metal_python.api.project_api import ProjectApi 17 | from metal_python.api.size_api import SizeApi 18 | from metal_python.api.sizeimageconstraint_api import SizeimageconstraintApi 19 | from metal_python.api.switch_api import SwitchApi 20 | from metal_python.api.tenant_api import TenantApi 21 | from metal_python.api.user_api import UserApi 22 | from metal_python.api.version_api import VersionApi 23 | from metal_python.api.vpn_api import VpnApi 24 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metal-stack/metal-python/417436b80c0c7f20efc9ea96d01721ff44ef4723/test/__init__.py -------------------------------------------------------------------------------- /test/test_audit_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.api.audit_api import AuditApi # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestAuditApi(unittest.TestCase): 24 | """AuditApi unit test stubs""" 25 | 26 | def setUp(self): 27 | self.api = metal_python.api.audit_api.AuditApi() # noqa: E501 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def test_find_audit_traces(self): 33 | """Test case for find_audit_traces 34 | 35 | find all audit traces that match given properties # noqa: E501 36 | """ 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_health_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.api.health_api import HealthApi # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestHealthApi(unittest.TestCase): 24 | """HealthApi unit test stubs""" 25 | 26 | def setUp(self): 27 | self.api = metal_python.api.health_api.HealthApi() # noqa: E501 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def test_health(self): 33 | """Test case for health 34 | 35 | perform a healthcheck # noqa: E501 36 | """ 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_rest_health_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.rest_health_response import RestHealthResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestRestHealthResponse(unittest.TestCase): 24 | """RestHealthResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testRestHealthResponse(self): 33 | """Test RestHealthResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.rest_health_response.RestHealthResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_rest_version.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.rest_version import RestVersion # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestRestVersion(unittest.TestCase): 24 | """RestVersion unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testRestVersion(self): 33 | """Test RestVersion""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.rest_version.RestVersion() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_user_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.api.user_api import UserApi # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestUserApi(unittest.TestCase): 24 | """UserApi unit test stubs""" 25 | 26 | def setUp(self): 27 | self.api = metal_python.api.user_api.UserApi() # noqa: E501 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def test_get_me(self): 33 | """Test case for get_me 34 | 35 | extract the connecting user from auth header # noqa: E501 36 | """ 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_v1_audit_find_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_audit_find_request import V1AuditFindRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1AuditFindRequest(unittest.TestCase): 24 | """V1AuditFindRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1AuditFindRequest(self): 33 | """Test V1AuditFindRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_audit_find_request.V1AuditFindRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_audit_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_audit_response import V1AuditResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1AuditResponse(unittest.TestCase): 24 | """V1AuditResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1AuditResponse(self): 33 | """Test V1AuditResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_audit_response.V1AuditResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_bgp_filter.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_bgp_filter import V1BGPFilter # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1BGPFilter(unittest.TestCase): 24 | """V1BGPFilter unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1BGPFilter(self): 33 | """Test V1BGPFilter""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_bgp_filter.V1BGPFilter() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_board_revisions.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_board_revisions import V1BoardRevisions # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1BoardRevisions(unittest.TestCase): 24 | """V1BoardRevisions unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1BoardRevisions(self): 33 | """Test V1BoardRevisions""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_board_revisions.V1BoardRevisions() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_boot_info.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_boot_info import V1BootInfo # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1BootInfo(unittest.TestCase): 24 | """V1BootInfo unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1BootInfo(self): 33 | """Test V1BootInfo""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_boot_info.V1BootInfo() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_common.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_common import V1Common # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Common(unittest.TestCase): 24 | """V1Common unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Common(self): 33 | """Test V1Common""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_common.V1Common() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_describable.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_describable import V1Describable # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Describable(unittest.TestCase): 24 | """V1Describable unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Describable(self): 33 | """Test V1Describable""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_describable.V1Describable() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_disk.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_disk import V1Disk # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Disk(unittest.TestCase): 24 | """V1Disk unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Disk(self): 33 | """Test V1Disk""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_disk.V1Disk() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_disk_partition.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_disk_partition import V1DiskPartition # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1DiskPartition(unittest.TestCase): 24 | """V1DiskPartition unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1DiskPartition(self): 33 | """Test V1DiskPartition""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_disk_partition.V1DiskPartition() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_dns_server.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_dns_server import V1DNSServer # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1DNSServer(unittest.TestCase): 24 | """V1DNSServer unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1DNSServer(self): 33 | """Test V1DNSServer""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_dns_server.V1DNSServer() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_empty_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_empty_body import V1EmptyBody # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1EmptyBody(unittest.TestCase): 24 | """V1EmptyBody unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1EmptyBody(self): 33 | """Test V1EmptyBody""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_empty_body.V1EmptyBody() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_filesystem.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_filesystem import V1Filesystem # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Filesystem(unittest.TestCase): 24 | """V1Filesystem unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Filesystem(self): 33 | """Test V1Filesystem""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_filesystem.V1Filesystem() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_firewall_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_firewall_response import V1FirewallResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1FirewallResponse(unittest.TestCase): 24 | """V1FirewallResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1FirewallResponse(self): 33 | """Test V1FirewallResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_firewall_response.V1FirewallResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_firewall_rules.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_firewall_rules import V1FirewallRules # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1FirewallRules(unittest.TestCase): 24 | """V1FirewallRules unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1FirewallRules(self): 33 | """Test V1FirewallRules""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_firewall_rules.V1FirewallRules() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_firmwares_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_firmwares_response import V1FirmwaresResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1FirmwaresResponse(unittest.TestCase): 24 | """V1FirmwaresResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1FirmwaresResponse(self): 33 | """Test V1FirmwaresResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_firmwares_response.V1FirmwaresResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_iam_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_iam_config import V1IAMConfig # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IAMConfig(unittest.TestCase): 24 | """V1IAMConfig unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IAMConfig(self): 33 | """Test V1IAMConfig""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_iam_config.V1IAMConfig() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_identifiable.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_identifiable import V1Identifiable # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Identifiable(unittest.TestCase): 24 | """V1Identifiable unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Identifiable(self): 33 | """Test V1Identifiable""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_identifiable.V1Identifiable() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_idm_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_idm_config import V1IDMConfig # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IDMConfig(unittest.TestCase): 24 | """V1IDMConfig unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IDMConfig(self): 33 | """Test V1IDMConfig""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_idm_config.V1IDMConfig() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_image_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_image_base import V1ImageBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1ImageBase(unittest.TestCase): 24 | """V1ImageBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1ImageBase(self): 33 | """Test V1ImageBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_image_base.V1ImageBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_image_find_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_image_find_request import V1ImageFindRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1ImageFindRequest(unittest.TestCase): 24 | """V1ImageFindRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1ImageFindRequest(self): 33 | """Test V1ImageFindRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_image_find_request.V1ImageFindRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_image_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_image_response import V1ImageResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1ImageResponse(unittest.TestCase): 24 | """V1ImageResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1ImageResponse(self): 33 | """Test V1ImageResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_image_response.V1ImageResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_allocate_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_allocate_request import V1IPAllocateRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPAllocateRequest(unittest.TestCase): 24 | """V1IPAllocateRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPAllocateRequest(self): 33 | """Test V1IPAllocateRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_allocate_request.V1IPAllocateRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_base import V1IPBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPBase(unittest.TestCase): 24 | """V1IPBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPBase(self): 33 | """Test V1IPBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_base.V1IPBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_find_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_find_request import V1IPFindRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPFindRequest(unittest.TestCase): 24 | """V1IPFindRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPFindRequest(self): 33 | """Test V1IPFindRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_find_request.V1IPFindRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_identifiable.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_identifiable import V1IPIdentifiable # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPIdentifiable(unittest.TestCase): 24 | """V1IPIdentifiable unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPIdentifiable(self): 33 | """Test V1IPIdentifiable""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_identifiable.V1IPIdentifiable() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_response import V1IPResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPResponse(unittest.TestCase): 24 | """V1IPResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPResponse(self): 33 | """Test V1IPResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_response.V1IPResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ip_update_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ip_update_request import V1IPUpdateRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IPUpdateRequest(unittest.TestCase): 24 | """V1IPUpdateRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IPUpdateRequest(self): 33 | """Test V1IPUpdateRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ip_update_request.V1IPUpdateRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_issuer_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_issuer_config import V1IssuerConfig # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1IssuerConfig(unittest.TestCase): 24 | """V1IssuerConfig unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1IssuerConfig(self): 33 | """Test V1IssuerConfig""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_issuer_config.V1IssuerConfig() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_logical_volume.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_logical_volume import V1LogicalVolume # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1LogicalVolume(unittest.TestCase): 24 | """V1LogicalVolume unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1LogicalVolume(self): 33 | """Test V1LogicalVolume""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_logical_volume.V1LogicalVolume() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_allocation.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_allocation import V1MachineAllocation # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineAllocation(unittest.TestCase): 24 | """V1MachineAllocation unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineAllocation(self): 33 | """Test V1MachineAllocation""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_allocation.V1MachineAllocation() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_base import V1MachineBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineBase(unittest.TestCase): 24 | """V1MachineBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineBase(self): 33 | """Test V1MachineBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_base.V1MachineBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_bios.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_bios import V1MachineBIOS # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineBIOS(unittest.TestCase): 24 | """V1MachineBIOS unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineBIOS(self): 33 | """Test V1MachineBIOS""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_bios.V1MachineBIOS() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_fru.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_fru import V1MachineFru # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineFru(unittest.TestCase): 24 | """V1MachineFru unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineFru(self): 33 | """Test V1MachineFru""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_fru.V1MachineFru() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_hardware.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_hardware import V1MachineHardware # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineHardware(unittest.TestCase): 24 | """V1MachineHardware unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineHardware(self): 33 | """Test V1MachineHardware""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_hardware.V1MachineHardware() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_ipmi.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_ipmi import V1MachineIPMI # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineIPMI(unittest.TestCase): 24 | """V1MachineIPMI unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineIPMI(self): 33 | """Test V1MachineIPMI""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_ipmi.V1MachineIPMI() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_ipmi_report.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_ipmi_report import V1MachineIpmiReport # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineIpmiReport(unittest.TestCase): 24 | """V1MachineIpmiReport unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineIpmiReport(self): 33 | """Test V1MachineIpmiReport""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_ipmi_report.V1MachineIpmiReport() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_issue.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_issue import V1MachineIssue # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineIssue(unittest.TestCase): 24 | """V1MachineIssue unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineIssue(self): 33 | """Test V1MachineIssue""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_issue.V1MachineIssue() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_network.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_network import V1MachineNetwork # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineNetwork(unittest.TestCase): 24 | """V1MachineNetwork unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineNetwork(self): 33 | """Test V1MachineNetwork""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_network.V1MachineNetwork() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_nic.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_nic import V1MachineNic # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineNic(unittest.TestCase): 24 | """V1MachineNic unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineNic(self): 33 | """Test V1MachineNic""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_nic.V1MachineNic() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_response import V1MachineResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineResponse(unittest.TestCase): 24 | """V1MachineResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineResponse(self): 33 | """Test V1MachineResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_response.V1MachineResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_state.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_state import V1MachineState # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineState(unittest.TestCase): 24 | """V1MachineState unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineState(self): 33 | """Test V1MachineState""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_state.V1MachineState() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_machine_vpn.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_machine_vpn import V1MachineVPN # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MachineVPN(unittest.TestCase): 24 | """V1MachineVPN unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MachineVPN(self): 33 | """Test V1MachineVPN""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_machine_vpn.V1MachineVPN() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_meta.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_meta import V1Meta # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Meta(unittest.TestCase): 24 | """V1Meta unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Meta(self): 33 | """Test V1Meta""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_meta.V1Meta() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_metal_cpu.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_metal_cpu import V1MetalCPU # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MetalCPU(unittest.TestCase): 24 | """V1MetalCPU unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MetalCPU(self): 33 | """Test V1MetalCPU""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_metal_cpu.V1MetalCPU() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_metal_gpu.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_metal_gpu import V1MetalGPU # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1MetalGPU(unittest.TestCase): 24 | """V1MetalGPU unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1MetalGPU(self): 33 | """Test V1MetalGPU""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_metal_gpu.V1MetalGPU() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_network_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_network_base import V1NetworkBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NetworkBase(unittest.TestCase): 24 | """V1NetworkBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NetworkBase(self): 33 | """Test V1NetworkBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_network_base.V1NetworkBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_network_consumption.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_network_consumption import V1NetworkConsumption # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NetworkConsumption(unittest.TestCase): 24 | """V1NetworkConsumption unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NetworkConsumption(self): 33 | """Test V1NetworkConsumption""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_network_consumption.V1NetworkConsumption() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_network_immutable.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_network_immutable import V1NetworkImmutable # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NetworkImmutable(unittest.TestCase): 24 | """V1NetworkImmutable unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NetworkImmutable(self): 33 | """Test V1NetworkImmutable""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_network_immutable.V1NetworkImmutable() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_network_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_network_response import V1NetworkResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NetworkResponse(unittest.TestCase): 24 | """V1NetworkResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NetworkResponse(self): 33 | """Test V1NetworkResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_network_response.V1NetworkResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_network_usage.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_network_usage import V1NetworkUsage # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NetworkUsage(unittest.TestCase): 24 | """V1NetworkUsage unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NetworkUsage(self): 33 | """Test V1NetworkUsage""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_network_usage.V1NetworkUsage() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_ntp_server.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_ntp_server import V1NTPServer # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1NTPServer(unittest.TestCase): 24 | """V1NTPServer unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1NTPServer(self): 33 | """Test V1NTPServer""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_ntp_server.V1NTPServer() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_paging.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_paging import V1Paging # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Paging(unittest.TestCase): 24 | """V1Paging unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Paging(self): 33 | """Test V1Paging""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_paging.V1Paging() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_partition_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_partition_base import V1PartitionBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PartitionBase(unittest.TestCase): 24 | """V1PartitionBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PartitionBase(self): 33 | """Test V1PartitionBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_partition_base.V1PartitionBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_partition_capacity.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_partition_capacity import V1PartitionCapacity # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PartitionCapacity(unittest.TestCase): 24 | """V1PartitionCapacity unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PartitionCapacity(self): 33 | """Test V1PartitionCapacity""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_partition_capacity.V1PartitionCapacity() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_partition_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_partition_response import V1PartitionResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PartitionResponse(unittest.TestCase): 24 | """V1PartitionResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PartitionResponse(self): 33 | """Test V1PartitionResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_partition_response.V1PartitionResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_power_metric.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_power_metric import V1PowerMetric # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PowerMetric(unittest.TestCase): 24 | """V1PowerMetric unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PowerMetric(self): 33 | """Test V1PowerMetric""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_power_metric.V1PowerMetric() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_power_supply.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_power_supply import V1PowerSupply # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PowerSupply(unittest.TestCase): 24 | """V1PowerSupply unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PowerSupply(self): 33 | """Test V1PowerSupply""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_power_supply.V1PowerSupply() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_power_supply_status.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_power_supply_status import V1PowerSupplyStatus # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1PowerSupplyStatus(unittest.TestCase): 24 | """V1PowerSupplyStatus unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1PowerSupplyStatus(self): 33 | """Test V1PowerSupplyStatus""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_power_supply_status.V1PowerSupplyStatus() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_project.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_project import V1Project # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Project(unittest.TestCase): 24 | """V1Project unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Project(self): 33 | """Test V1Project""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_project.V1Project() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_project_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_project_response import V1ProjectResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1ProjectResponse(unittest.TestCase): 24 | """V1ProjectResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1ProjectResponse(self): 33 | """Test V1ProjectResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_project_response.V1ProjectResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_quota.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_quota import V1Quota # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Quota(unittest.TestCase): 24 | """V1Quota unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Quota(self): 33 | """Test V1Quota""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_quota.V1Quota() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_quota_set.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_quota_set import V1QuotaSet # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1QuotaSet(unittest.TestCase): 24 | """V1QuotaSet unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1QuotaSet(self): 33 | """Test V1QuotaSet""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_quota_set.V1QuotaSet() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_raid.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_raid import V1Raid # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Raid(unittest.TestCase): 24 | """V1Raid unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Raid(self): 33 | """Test V1Raid""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_raid.V1Raid() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_server_capacity.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_server_capacity import V1ServerCapacity # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1ServerCapacity(unittest.TestCase): 24 | """V1ServerCapacity unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1ServerCapacity(self): 33 | """Test V1ServerCapacity""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_server_capacity.V1ServerCapacity() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_size_constraint.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_size_constraint import V1SizeConstraint # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SizeConstraint(unittest.TestCase): 24 | """V1SizeConstraint unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SizeConstraint(self): 33 | """Test V1SizeConstraint""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_size_constraint.V1SizeConstraint() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_size_create_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_size_create_request import V1SizeCreateRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SizeCreateRequest(unittest.TestCase): 24 | """V1SizeCreateRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SizeCreateRequest(self): 33 | """Test V1SizeCreateRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_size_create_request.V1SizeCreateRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_size_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_size_response import V1SizeResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SizeResponse(unittest.TestCase): 24 | """V1SizeResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SizeResponse(self): 33 | """Test V1SizeResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_size_response.V1SizeResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_size_update_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_size_update_request import V1SizeUpdateRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SizeUpdateRequest(unittest.TestCase): 24 | """V1SizeUpdateRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SizeUpdateRequest(self): 33 | """Test V1SizeUpdateRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_size_update_request.V1SizeUpdateRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_base import V1SwitchBase # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchBase(unittest.TestCase): 24 | """V1SwitchBase unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchBase(self): 33 | """Test V1SwitchBase""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_base.V1SwitchBase() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_connection.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_connection import V1SwitchConnection # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchConnection(unittest.TestCase): 24 | """V1SwitchConnection unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchConnection(self): 33 | """Test V1SwitchConnection""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_connection.V1SwitchConnection() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_find_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_find_request import V1SwitchFindRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchFindRequest(unittest.TestCase): 24 | """V1SwitchFindRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchFindRequest(self): 33 | """Test V1SwitchFindRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_find_request.V1SwitchFindRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_nic.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_nic import V1SwitchNic # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchNic(unittest.TestCase): 24 | """V1SwitchNic unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchNic(self): 33 | """Test V1SwitchNic""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_nic.V1SwitchNic() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_os.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_os import V1SwitchOS # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchOS(unittest.TestCase): 24 | """V1SwitchOS unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchOS(self): 33 | """Test V1SwitchOS""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_os.V1SwitchOS() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_response import V1SwitchResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchResponse(unittest.TestCase): 24 | """V1SwitchResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchResponse(self): 33 | """Test V1SwitchResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_response.V1SwitchResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_switch_sync.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_switch_sync import V1SwitchSync # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1SwitchSync(unittest.TestCase): 24 | """V1SwitchSync unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1SwitchSync(self): 33 | """Test V1SwitchSync""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_switch_sync.V1SwitchSync() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_tenant.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_tenant import V1Tenant # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Tenant(unittest.TestCase): 24 | """V1Tenant unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Tenant(self): 33 | """Test V1Tenant""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_tenant.V1Tenant() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_tenant_find_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_tenant_find_request import V1TenantFindRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1TenantFindRequest(unittest.TestCase): 24 | """V1TenantFindRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1TenantFindRequest(self): 33 | """Test V1TenantFindRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_tenant_find_request.V1TenantFindRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_tenant_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_tenant_response import V1TenantResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1TenantResponse(unittest.TestCase): 24 | """V1TenantResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1TenantResponse(self): 33 | """Test V1TenantResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_tenant_response.V1TenantResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_timestamps.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_timestamps import V1Timestamps # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1Timestamps(unittest.TestCase): 24 | """V1Timestamps unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1Timestamps(self): 33 | """Test V1Timestamps""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_timestamps.V1Timestamps() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_user.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_user import V1User # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1User(unittest.TestCase): 24 | """V1User unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1User(self): 33 | """Test V1User""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_user.V1User() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_vendor_revisions.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_vendor_revisions import V1VendorRevisions # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1VendorRevisions(unittest.TestCase): 24 | """V1VendorRevisions unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1VendorRevisions(self): 33 | """Test V1VendorRevisions""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_vendor_revisions.V1VendorRevisions() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_volume_group.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_volume_group import V1VolumeGroup # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1VolumeGroup(unittest.TestCase): 24 | """V1VolumeGroup unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1VolumeGroup(self): 33 | """Test V1VolumeGroup""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_volume_group.V1VolumeGroup() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_vpn_request.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_vpn_request import V1VPNRequest # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1VPNRequest(unittest.TestCase): 24 | """V1VPNRequest unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1VPNRequest(self): 33 | """Test V1VPNRequest""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_vpn_request.V1VPNRequest() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_v1_vpn_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.models.v1_vpn_response import V1VPNResponse # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestV1VPNResponse(unittest.TestCase): 24 | """V1VPNResponse unit test stubs""" 25 | 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testV1VPNResponse(self): 33 | """Test V1VPNResponse""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = metal_python.models.v1_vpn_response.V1VPNResponse() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_version_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.api.version_api import VersionApi # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestVersionApi(unittest.TestCase): 24 | """VersionApi unit test stubs""" 25 | 26 | def setUp(self): 27 | self.api = metal_python.api.version_api.VersionApi() # noqa: E501 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def test_info(self): 33 | """Test case for info 34 | 35 | returns the current version information of this module # noqa: E501 36 | """ 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_vpn_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | metal-api 5 | 6 | API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 7 | 8 | OpenAPI spec version: v0.41.2 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | import unittest 17 | 18 | import metal_python 19 | from metal_python.api.vpn_api import VpnApi # noqa: E501 20 | from metal_python.rest import ApiException 21 | 22 | 23 | class TestVpnApi(unittest.TestCase): 24 | """VpnApi unit test stubs""" 25 | 26 | def setUp(self): 27 | self.api = metal_python.api.vpn_api.VpnApi() # noqa: E501 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def test_get_vpn_auth_key(self): 33 | """Test case for get_vpn_auth_key 34 | 35 | create auth key to connect to project's VPN # noqa: E501 36 | """ 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /version.py: -------------------------------------------------------------------------------- 1 | VERSION = 'v0.41.2' 2 | --------------------------------------------------------------------------------