openshift-python-wrapper 4.15.45__tar.gz → 4.15.47__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/PKG-INFO +1 -1
- openshift_python_wrapper-4.15.47/ocp_resources/performance_profile.py +94 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/resource.py +1 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/pyproject.toml +1 -1
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/LICENSE +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/README.md +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/__init__.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/aaq.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/api_server.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/api_service.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/backup.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/benchmark.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/catalog_source.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cdi.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cdi_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/chaos_engine.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/chaos_result.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_operator.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_role.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_role_binding.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_service_version.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_version.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/configmap.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/console_cli_download.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/console_plugin.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/console_quick_start.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/constants.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/controller_revision.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cron_job.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/csi_storage_capacity.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/csidriver.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/custom_resource_definition.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/daemonset.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/data_import_cron.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/data_source.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/datavolume.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/deployment.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/destination_rule.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/dns.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/endpoint_slice.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/endpoints.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/event.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/forklift_controller.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/gateway.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/hook.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/host.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/hostpath_provisioner.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/hyperconverged.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image_content_source_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image_digest_mirror_set.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image_stream.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/imagestreamtag.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/infrastructure.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/installplan.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/ip_address_pool.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/job.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kube_descheduler.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt_template_validaotr.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/l2_advertisement.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/lease.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/limit_range.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine_config_pool.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine_health_check.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine_set.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/managed_cluster.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/metallb.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/migration.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/migration_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/mtq.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/mtv.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/multi_cluster_hub.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/multi_cluster_observability.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/multi_network_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/mutating_webhook_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/namespace.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network_addons_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network_attachment_definition.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network_map.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/nmstate.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node_health_check.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node_maintenance.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node_network_configuration_enactment.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node_network_configuration_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/node_network_state.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/oauth.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/ocs_initialization.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator_condition.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator_group.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator_hub.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator_source.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/package_manifest.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/peer_authentication.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/persistent_volume.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/persistent_volume_claim.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pipeline.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pipelineruns.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/plan.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pod.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pod_disruption_budget.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pod_metrics.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/priority_class.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/project.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/prometheus.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/prometheus_rule.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/provider.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/replicaset.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/resource_quota.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/restore.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/rhmi.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/role.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/role_binding.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/route.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/scheduler.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/secret.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/security_context_constraints.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service_account.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service_mesh_control_plane.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service_mesh_member_roll.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service_monitor.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/sriov_network.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/sriov_network_node_policy.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/sriov_network_node_state.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/ssp.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/storage_class.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/storage_map.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/storage_profile.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/subscription.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/task_run.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/tekton_tasks.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/template.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/upload_token_request.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/utils.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/validating_webhook_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_clone.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_export.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_import.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_instance.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_instance_migration.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_instance_preset.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_instance_types.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_preferences.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_restore.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_machine_snapshot.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/virtual_service.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/vm_import_config.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/volume_snapshot.py +0 -0
- {openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/volume_snapshot_class.py +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
from ocp_resources.resource import Resource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class PerformanceProfile(Resource):
|
|
5
|
+
api_group = Resource.ApiGroup.PERFORMANCE_OPENSHIFT_IO
|
|
6
|
+
|
|
7
|
+
def __init__(
|
|
8
|
+
self,
|
|
9
|
+
additional_kernel_args=None,
|
|
10
|
+
cpu=None,
|
|
11
|
+
globally_disable_irq_load_balancing=None,
|
|
12
|
+
hugepages=None,
|
|
13
|
+
machine_config_label=None,
|
|
14
|
+
machine_config_pool_selector=None,
|
|
15
|
+
net=None,
|
|
16
|
+
numa=None,
|
|
17
|
+
real_time_kernel=None,
|
|
18
|
+
workload_hints=None,
|
|
19
|
+
**kwargs,
|
|
20
|
+
):
|
|
21
|
+
"""
|
|
22
|
+
PerformanceProfile object. API reference:
|
|
23
|
+
https://docs.openshift.com/container-platform/4.14/rest_api/node_apis/performanceprofile-performance-openshift-io-v2.html#performanceprofile-performance-openshift-io-v2
|
|
24
|
+
|
|
25
|
+
Args:
|
|
26
|
+
additional_kernel_args (list, optional): Additional kernel arguments.
|
|
27
|
+
cpu (dict, required): Set of CPU related parameters.
|
|
28
|
+
globally_disable_irq_load_balancing (bool, optional): Toggles whether IRQ load balancing will be
|
|
29
|
+
disabled for the Isolated CPU set.
|
|
30
|
+
hugepages (dict, optional): Defines a set of huge pages related parameters.
|
|
31
|
+
machine_config_label (str, optional): Defines the label to add to the MachineConfigs the operator creates.
|
|
32
|
+
machine_config_pool_selector (str, optional): Defines the MachineConfigPool label to use in the
|
|
33
|
+
MachineConfigPoolSelector of resources like KubeletConfigs created by the operator.
|
|
34
|
+
net (dict, optional): Defines a set of network related features.
|
|
35
|
+
node_selector (str, required): Defines the node label to use in the NodeSelectors of resources like Tuned created by the operator.
|
|
36
|
+
numa (dict, optional): Defines options related to topology aware affinities.
|
|
37
|
+
real_time_kernel (dict, optional): Defines a set of real time kernel related parameters.
|
|
38
|
+
workload_hints (dict, optional): Defines hints for different types of workloads.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
super().__init__(**kwargs)
|
|
42
|
+
self.additional_kernel_args = additional_kernel_args
|
|
43
|
+
self.cpu = cpu
|
|
44
|
+
self.globally_disable_irq_load_balancing = globally_disable_irq_load_balancing
|
|
45
|
+
self.hugepages = hugepages
|
|
46
|
+
self.machine_config_label = machine_config_label
|
|
47
|
+
self.machine_config_pool_selector = machine_config_pool_selector
|
|
48
|
+
self.net = net
|
|
49
|
+
self.node_selector = kwargs.get("node_selector")
|
|
50
|
+
self.numa = numa
|
|
51
|
+
self.real_time_kernel = real_time_kernel
|
|
52
|
+
self.workload_hints = workload_hints
|
|
53
|
+
|
|
54
|
+
def to_dict(self):
|
|
55
|
+
super().to_dict()
|
|
56
|
+
if not self.yaml_file:
|
|
57
|
+
if not self.cpu:
|
|
58
|
+
raise ValueError("Passing yaml_file or parameter 'cpu' is required")
|
|
59
|
+
if not self.node_selector:
|
|
60
|
+
raise ValueError("Passing yaml_file or parameter 'node_selector' is required")
|
|
61
|
+
|
|
62
|
+
manifest_spec = {
|
|
63
|
+
"cpu": self.cpu,
|
|
64
|
+
"nodeSelector": self.node_selector,
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if self.additional_kernel_args:
|
|
68
|
+
manifest_spec["additionalKernelArgs"] = self.additional_kernel_args
|
|
69
|
+
|
|
70
|
+
if self.globally_disable_irq_load_balancing is not None:
|
|
71
|
+
manifest_spec["globallyDisableIrqLoadBalancing"] = self.globally_disable_irq_load_balancing
|
|
72
|
+
|
|
73
|
+
if self.hugepages:
|
|
74
|
+
manifest_spec["hugepages"] = self.hugepages
|
|
75
|
+
|
|
76
|
+
if self.machine_config_label:
|
|
77
|
+
manifest_spec["machineConfigLabel"] = self.machine_config_label
|
|
78
|
+
|
|
79
|
+
if self.machine_config_pool_selector:
|
|
80
|
+
manifest_spec["machineConfigPoolSelector"] = self.machine_config_pool_selector
|
|
81
|
+
|
|
82
|
+
if self.net:
|
|
83
|
+
manifest_spec["net"] = self.net
|
|
84
|
+
|
|
85
|
+
if self.numa:
|
|
86
|
+
manifest_spec["numa"] = self.numa
|
|
87
|
+
|
|
88
|
+
if self.real_time_kernel:
|
|
89
|
+
manifest_spec["realTimeKernel"] = self.real_time_kernel
|
|
90
|
+
|
|
91
|
+
if self.workload_hints:
|
|
92
|
+
manifest_spec["workloadHints"] = self.workload_hints
|
|
93
|
+
|
|
94
|
+
self.res["spec"] = manifest_spec
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/resource.py
RENAMED
|
@@ -276,6 +276,7 @@ class Resource:
|
|
|
276
276
|
OPERATORS_OPENSHIFT_IO = "operators.openshift.io"
|
|
277
277
|
OS_TEMPLATE_KUBEVIRT_IO = "os.template.kubevirt.io"
|
|
278
278
|
PACKAGES_OPERATORS_COREOS_COM = "packages.operators.coreos.com"
|
|
279
|
+
PERFORMANCE_OPENSHIFT_IO = "performance.openshift.io"
|
|
279
280
|
POLICY = "policy"
|
|
280
281
|
POOL_KUBEVIRT_IO = "pool.kubevirt.io"
|
|
281
282
|
PROJECT_OPENSHIFT_IO = "project.openshift.io"
|
|
@@ -10,7 +10,7 @@ exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
|
|
|
10
10
|
|
|
11
11
|
[tool.poetry]
|
|
12
12
|
name = "openshift-python-wrapper"
|
|
13
|
-
version = "4.15.
|
|
13
|
+
version = "4.15.47"
|
|
14
14
|
description = "Wrapper around https://github.com/kubernetes-client/python"
|
|
15
15
|
authors = ["Meni Yakove <myakove@gmail.com>", "Ruth Netser <rnetser@gmail.com>"]
|
|
16
16
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/api_server.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/api_service.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/backup.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/benchmark.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cdi_config.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/chaos_engine.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/chaos_result.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cluster_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/configmap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/cron_job.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/csidriver.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/daemonset.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/data_source.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/datavolume.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/deployment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/endpoints.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/event.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/gateway.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/image_stream.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/installplan.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/kubevirt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/lease.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/limit_range.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/machine_set.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/metallb.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/migration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/namespace.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/network_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/nmstate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/oauth.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/operator_hub.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pipeline.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pipelineruns.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/pod_metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/project.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/prometheus.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/provider.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/replicaset.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/restore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/role_binding.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/route.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/scheduler.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/secret.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/sriov_network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/storage_class.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/storage_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/subscription.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/task_run.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/tekton_tasks.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/template.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.45 → openshift_python_wrapper-4.15.47}/ocp_resources/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|