AssistedInstall
Project description
# assisted-service-client
Assisted installation
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install assisted-service-client
(you may need to run pip
with root permission: sudo pip install assisted-service-client
)
Then import the package:
import assisted_service_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import assisted_service_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import assisted_service_client
from assisted_service_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: userAuth
configuration = assisted_service_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = assisted_service_client.AssistedServiceIsoApi(assisted_service_client.ApiClient(configuration))
assisted_service_iso_create_params = assisted_service_client.AssistedServiceIsoCreateParams() # AssistedServiceIsoCreateParams | Parameters for creating an Assisted Service ISO.
try:
api_instance.create_iso_and_upload_to_s3(assisted_service_iso_create_params)
except ApiException as e:
print("Exception when calling AssistedServiceIsoApi->create_iso_and_upload_to_s3: %s
" % e)
Documentation for API Endpoints
All URIs are relative to http://api.openshift.com/api/assisted-install/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AssistedServiceIsoApi | create_iso_and_upload_to_s3 | POST /assisted-service-iso | |
AssistedServiceIsoApi | download_iso | GET /assisted-service-iso/data | |
AssistedServiceIsoApi | get_presigned_for_assisted_service_iso | GET /assisted-service-iso/presigned | |
BootfilesApi | download_boot_files | GET /boot-files | |
EventsApi | list_events | GET /clusters/{cluster_id}/events | |
InstallerApi | cancel_installation | POST /clusters/{cluster_id}/actions/cancel | |
InstallerApi | complete_installation | POST /clusters/{cluster_id}/actions/complete_installation | |
InstallerApi | deregister_cluster | DELETE /clusters/{cluster_id} | |
InstallerApi | deregister_host | DELETE /clusters/{cluster_id}/hosts/{host_id} | |
InstallerApi | disable_host | DELETE /clusters/{cluster_id}/hosts/{host_id}/actions/enable | |
InstallerApi | download_cluster_files | GET /clusters/{cluster_id}/downloads/files | |
InstallerApi | download_cluster_iso | GET /clusters/{cluster_id}/downloads/image | |
InstallerApi | download_cluster_kubeconfig | GET /clusters/{cluster_id}/downloads/kubeconfig | |
InstallerApi | download_cluster_logs | GET /clusters/{cluster_id}/logs | |
InstallerApi | download_host_ignition | GET /clusters/{cluster_id}/hosts/{host_id}/downloads/ignition | |
InstallerApi | download_host_logs | GET /clusters/{cluster_id}/hosts/{host_id}/logs | |
InstallerApi | enable_host | POST /clusters/{cluster_id}/hosts/{host_id}/actions/enable | |
InstallerApi | generate_cluster_iso | POST /clusters/{cluster_id}/downloads/image | |
InstallerApi | get_cluster | GET /clusters/{cluster_id} | |
InstallerApi | get_cluster_default_config | GET /clusters/default-config | |
InstallerApi | get_cluster_install_config | GET /clusters/{cluster_id}/install-config | |
InstallerApi | get_credentials | GET /clusters/{cluster_id}/credentials | |
InstallerApi | get_discovery_ignition | GET /clusters/{cluster_id}/discovery-ignition | |
InstallerApi | get_free_addresses | GET /clusters/{cluster_id}/free_addresses | |
InstallerApi | get_host | GET /clusters/{cluster_id}/hosts/{host_id} | |
InstallerApi | get_host_ignition | GET /clusters/{cluster_id}/hosts/{host_id}/ignition | |
InstallerApi | get_host_requirements | GET /host_requirements | |
InstallerApi | get_next_steps | GET /clusters/{cluster_id}/hosts/{host_id}/instructions | |
InstallerApi | get_presigned_for_cluster_files | GET /clusters/{cluster_id}/downloads/files-presigned | |
InstallerApi | install_cluster | POST /clusters/{cluster_id}/actions/install | |
InstallerApi | install_host | POST /clusters/{cluster_id}/hosts/{host_id}/actions/install | |
InstallerApi | install_hosts | POST /clusters/{cluster_id}/actions/install_hosts | |
InstallerApi | list_clusters | GET /clusters | |
InstallerApi | list_hosts | GET /clusters/{cluster_id}/hosts | |
InstallerApi | post_step_reply | POST /clusters/{cluster_id}/hosts/{host_id}/instructions | |
InstallerApi | register_add_hosts_cluster | POST /add_hosts_clusters | |
InstallerApi | register_cluster | POST /clusters | |
InstallerApi | register_host | POST /clusters/{cluster_id}/hosts | |
InstallerApi | reset_cluster | POST /clusters/{cluster_id}/actions/reset | |
InstallerApi | reset_host | POST /clusters/{cluster_id}/hosts/{host_id}/actions/reset | |
InstallerApi | update_cluster | PATCH /clusters/{cluster_id} | |
InstallerApi | update_cluster_install_config | PATCH /clusters/{cluster_id}/install-config | |
InstallerApi | update_cluster_install_progress | PUT /clusters/{cluster_id}/progress | |
InstallerApi | update_discovery_ignition | PATCH /clusters/{cluster_id}/discovery-ignition | |
InstallerApi | update_host_ignition | PATCH /clusters/{cluster_id}/hosts/{host_id}/ignition | |
InstallerApi | update_host_install_progress | PUT /clusters/{cluster_id}/hosts/{host_id}/progress | |
InstallerApi | update_host_installer_args | PATCH /clusters/{cluster_id}/hosts/{host_id}/installer-args | |
InstallerApi | update_logs_progress | PUT /clusters/{cluster_id}/logs_progress | |
InstallerApi | upload_cluster_ingress_cert | POST /clusters/{cluster_id}/uploads/ingress-cert | |
InstallerApi | upload_host_logs | POST /clusters/{cluster_id}/hosts/{host_id}/logs | |
InstallerApi | upload_logs | POST /clusters/{cluster_id}/logs | |
ManagedDomainsApi | list_managed_domains | GET /domains | |
ManifestsApi | create_cluster_manifest | POST /clusters/{cluster_id}/manifests | |
ManifestsApi | delete_cluster_manifest | DELETE /clusters/{cluster_id}/manifests | |
ManifestsApi | download_cluster_manifest | GET /clusters/{cluster_id}/manifests/files | |
ManifestsApi | list_cluster_manifests | GET /clusters/{cluster_id}/manifests | |
OperatorsApi | list_operator_properties | GET /supported-operators/{operator_type} | |
OperatorsApi | list_supported_operators | GET /supported-operators | |
VersionsApi | list_component_versions | GET /component_versions | |
VersionsApi | list_supported_openshift_versions | GET /openshift_versions |
Documentation For Models
- AddHostsClusterCreateParams
- ApiVipConnectivityRequest
- ApiVipConnectivityResponse
- AssistedServiceIsoCreateParams
- Boot
- Cluster
- ClusterCreateParams
- ClusterDefaultConfig
- ClusterList
- ClusterOperator
- ClusterProgressInfo
- ClusterUpdateParams
- ClusterValidationId
- ClusterupdateparamsDisksSelectedConfig
- ClusterupdateparamsHostsMachineConfigPoolNames
- ClusterupdateparamsHostsNames
- ClusterupdateparamsHostsRoles
- CompletionParams
- ConnectivityCheckHost
- ConnectivityCheckNic
- ConnectivityCheckParams
- ConnectivityRemoteHost
- ConnectivityReport
- ContainerImageAvailability
- ContainerImageAvailabilityRequest
- ContainerImageAvailabilityResponse
- ContainerImageAvailabilityResult
- Cpu
- CreateManifestParams
- Credentials
- DhcpAllocationRequest
- DhcpAllocationResponse
- DiscoveryIgnitionParams
- Disk
- DiskConfigParams
- DiskInstallationEligibility
- DiskRole
- DomainResolutionRequest
- DomainResolutionRequestDomains
- DomainResolutionResponse
- DomainResolutionResponseResolutions
- Error
- Event
- EventList
- FioPerfCheckRequest
- FioPerfCheckResponse
- FreeAddressesList
- FreeAddressesRequest
- FreeNetworkAddresses
- FreeNetworksAddresses
- Host
- HostCreateParams
- HostIgnitionParams
- HostList
- HostNetwork
- HostProgress
- HostProgressInfo
- HostRegistrationResponse
- HostRegistrationResponseNextStepRunnerCommand
- HostRequirements
- HostRequirementsRole
- HostRole
- HostRoleUpdateParams
- HostStage
- HostValidationId
- ImageCreateParams
- ImageInfo
- ImageType
- InfraError
- IngressCertParams
- InstallerArgsParams
- Interface
- Inventory
- IoPerf
- L2Connectivity
- L3Connectivity
- ListManagedDomains
- ListManifests
- ListOperators
- ListVersions
- LogsState
- LogsType
- ManagedDomain
- Manifest
- Memory
- NtpSource
- NtpSynchronizationRequest
- NtpSynchronizationResponse
- OpenshiftVersion
- OpenshiftVersions
- Operator
- OperatorType
- Operators
- Presigned
- SourceState
- Step
- StepReply
- StepType
- Steps
- StepsReply
- SupportedOperatorsList
- SystemVendor
- Versions
Documentation For Authorization
agentAuth
- Type: API key
- API key parameter name: X-Secret-Key
- Location: HTTP header
userAuth
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for assisted-service-client-1.0.16.1.post96.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05da7f1efbf46fc01831c7a889ca5965b0aa8f5bbe8bf5541cad7d3074cf8947 |
|
MD5 | 79248652655257bfa118dfa43d5d61c7 |
|
BLAKE2b-256 | 2887a470cc233729dd77f4907e9b0b2a94be39940096481d5215525cf7619c93 |
Close
Hashes for assisted_service_client-1.0.16.1.post96-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7b50f66b0fbfe887c7267e80e850f8060ecb775129e7cc0d5965d6a53400ca |
|
MD5 | ac5c2d16542b0c8c36153cb1b543c0af |
|
BLAKE2b-256 | 9785661da92100afb30e3a5b80814f26026ccada5e88b686bab07fc2d0b2d80c |