Pyu4v

Latest version: v10.2.0.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

10.2

------------------------------------------
These functions will been removed entirely from the PyU4V code-base after the
required two release notification period.

- Old: PyU4V.provisioning.ProvisioningFunctions.create_multiport_port_group
- New: PyU4V.provisioning.ProvisioningFunctions.create_new_port_group

- Old: PyU4V.provisioning.ProvisioningFunctions.create_port_group
- New: PyU4V.provisioning.ProvisioningFunctions.create_new_port_group

Deprecated functions removed from code-base
-------------------------------------------
These functions have been removed entirely from the PyU4V code-base after the
required two release notification period.

common.py
~~~~~~~~~
PyU4V.common.CommonFunctions._build_uri_args

performance.py
~~~~~~~~~~~~~~
PyU4V.performance.PerformanceFunctions.get_fe_port_util_last4hrs
PyU4V.performance.PerformanceFunctions.get_all_fe_director_metrics
PyU4V.performance.PerformanceFunctions.get_director_info

replication.py
~~~~~~~~~~~~~~
PyU4V.replication.ReplicationFunctions.choose_snapshot_from_list_in_console

utils/console.py
~~~~~~~~~~~~~~~~
Entire file removed, PyU4V will not provide console level functionality
moving forward. Please handle this outside of PyU4V if it is required.


Refactored functions removed from code-base in favour of other functions
-------------------------------------------
These refactored functions take the format of...
Refactored (removed) function
New function to target

common.py
~~~~~~~~~
PyU4V.common.CommonFunctions.create_list_from_file
PyU4V.utils.file_handler.create_list_from_file
PyU4V.common.CommonFunctions.read_csv_values
PyU4V.utils.file_handler.read_csv_values
PyU4V.common.CommonFunctions.get_wlp_information
PyU4V.workload_planner.WLPFunctions.get_wlp_information
PyU4V.common.CommonFunctions.get_headroom
PyU4V.workload_planner.WLPFunctions.get_headroom

performance.py
~~~~~~~~~~~~~~
PyU4V.performance.PerformanceFunctions.get_perf_threshold_categories
PyU4V.performance.PerformanceFunctions.get_threshold_categories
PyU4V.performance.PerformanceFunctions.get_perf_category_threshold_settings
PyU4V.performance.PerformanceFunctions.get_threshold_category_settings
PyU4V.performance.PerformanceFunctions.set_perf_threshold_and_alert
PyU4V.performance.PerformanceFunctions.update_threshold
PyU4V.performance.PerformanceFunctions.set_perfthresholds_csv
PyU4V.performance.PerformanceFunctions.set_thresholds_from_csv
PyU4V.performance.PerformanceFunctions.get_fe_director_list
PyU4V.performance.PerformanceFunctions.get_frontend_director_keys
PyU4V.performance.PerformanceFunctions.get_fe_port_list
PyU4V.performance.PerformanceFunctions.get_frontend_port_keys
PyU4V.performance.PerformanceFunctions.get_fe_director_metrics
PyU4V.performance.PerformanceFunctions.get_frontend_director_stats
PyU4V.performance.PerformanceFunctions.get_fe_port_metrics
PyU4V.performance.PerformanceFunctions.get_frontend_port_stats
PyU4V.performance.PerformanceFunctions.get_array_metrics
PyU4V.performance.PerformanceFunctions.get_array_stats
PyU4V.performance.PerformanceFunctions.get_storage_group_metrics
PyU4V.performance.PerformanceFunctions.get_storage_group_stats
PyU4V.performance.PerformanceFunctions.get_port_group_metrics
PyU4V.performance.PerformanceFunctions.get_port_group_stats
PyU4V.performance.PerformanceFunctions.get_host_metrics
PyU4V.performance.PerformanceFunctions.get_host_stats

provisioning.py
~~~~~~~~~~~~~~~
PyU4V.provisioning.ProvisioningFunctions.get_mvs_from_host
PyU4V.provisioning.ProvisioningFunctions.get_masking_views_from_host
PyU4V.provisioning.ProvisioningFunctions.get_hostgroup
PyU4V.provisioning.ProvisioningFunctions.get_host_group
PyU4V.provisioning.ProvisioningFunctions.get_hostgroup_list
PyU4V.provisioning.ProvisioningFunctions.get_host_group_list
PyU4V.provisioning.ProvisioningFunctions.create_hostgroup
PyU4V.provisioning.ProvisioningFunctions.create_host_group
PyU4V.provisioning.ProvisioningFunctions.modify_hostgroup
PyU4V.provisioning.ProvisioningFunctions.modify_host_group
PyU4V.provisioning.ProvisioningFunctions.delete_hostgroup
PyU4V.provisioning.ProvisioningFunctions.delete_host_group
PyU4V.provisioning.ProvisioningFunctions.get_masking_views_by_host
PyU4V.provisioning.ProvisioningFunctions.get_masking_views_by_initiator_group
PyU4V.provisioning.ProvisioningFunctions.get_common_masking_views
PyU4V.provisioning.ProvisioningFunctions.get_port_group_common_masking_views
PyU4V.provisioning.ProvisioningFunctions.get_host_from_maskingview
PyU4V.provisioning.ProvisioningFunctions.get_host_from_masking_view
PyU4V.provisioning.ProvisioningFunctions.get_storagegroup_from_maskingview
PyU4V.provisioning.ProvisioningFunctions.get_storage_group_from_masking_view
PyU4V.provisioning.ProvisioningFunctions.get_portgroup_from_maskingview
PyU4V.provisioning.ProvisioningFunctions.get_port_group_from_masking_view
PyU4V.provisioning.ProvisioningFunctions.get_maskingview_connections
PyU4V.provisioning.ProvisioningFunctions.get_masking_view_connections
PyU4V.provisioning.ProvisioningFunctions.find_host_lun_id_for_vol
PyU4V.provisioning.ProvisioningFunctions.find_host_lun_id_for_volume
PyU4V.provisioning.ProvisioningFunctions.get_portgroup
PyU4V.provisioning.ProvisioningFunctions.get_port_group
PyU4V.provisioning.ProvisioningFunctions.get_portgroup_list
PyU4V.provisioning.ProvisioningFunctions.get_port_group_list
PyU4V.provisioning.ProvisioningFunctions.get_ports_from_pg
PyU4V.provisioning.ProvisioningFunctions.get_ports_from_port_group
PyU4V.provisioning.ProvisioningFunctions.get_target_wwns_from_pg
PyU4V.provisioning.ProvisioningFunctions.get_target_wwns_from_port_group
PyU4V.provisioning.ProvisioningFunctions.create_portgroup
PyU4V.provisioning.ProvisioningFunctions.create_port_group
PyU4V.provisioning.ProvisioningFunctions.create_multiport_portgroup
PyU4V.provisioning.ProvisioningFunctions.create_multiport_port_group
PyU4V.provisioning.ProvisioningFunctions.create_portgroup_from_file
PyU4V.provisioning.ProvisioningFunctions.create_port_group_from_file
PyU4V.provisioning.ProvisioningFunctions.modify_portgroup
PyU4V.provisioning.ProvisioningFunctions.modify_port_group
PyU4V.provisioning.ProvisioningFunctions.delete_portgroup
PyU4V.provisioning.ProvisioningFunctions.delete_port_group
PyU4V.provisioning.ProvisioningFunctions.get_slo_list
PyU4V.provisioning.ProvisioningFunctions.get_service_level_list
PyU4V.provisioning.ProvisioningFunctions.get_slo
PyU4V.provisioning.ProvisioningFunctions.get_service_level
PyU4V.provisioning.ProvisioningFunctions.modify_slo
PyU4V.provisioning.ProvisioningFunctions.modify_service_level
PyU4V.provisioning.ProvisioningFunctions.get_mv_from_sg
PyU4V.provisioning.ProvisioningFunctions.get_masking_view_from_storage_group
PyU4V.provisioning.ProvisioningFunctions.get_num_vols_in_sg
PyU4V.provisioning.ProvisioningFunctions.get_num_vols_in_storage_group
PyU4V.provisioning.ProvisioningFunctions.is_child_sg_in_parent_sg
PyU4V.provisioning.ProvisioningFunctions.is_child_storage_group_in_parent_storage_group
PyU4V.provisioning.ProvisioningFunctions.get_child_sg_from_parent
PyU4V.provisioning.ProvisioningFunctions.get_child_storage_groups_from_parent
PyU4V.provisioning.ProvisioningFunctions.create_non_empty_storagegroup
PyU4V.provisioning.ProvisioningFunctions.create_non_empty_storage_group
PyU4V.provisioning.ProvisioningFunctions.create_empty_sg
PyU4V.provisioning.ProvisioningFunctions.create_empty_storage_group
PyU4V.provisioning.ProvisioningFunctions.add_existing_vol_to_sg
PyU4V.provisioning.ProvisioningFunctions.add_existing_volume_to_storage_group
PyU4V.provisioning.ProvisioningFunctions.add_new_vol_to_storagegroup
PyU4V.provisioning.ProvisioningFunctions.add_new_volume_to_storage_group
PyU4V.provisioning.ProvisioningFunctions.create_volume_from_sg_return_dev_id
PyU4V.provisioning.ProvisioningFunctions.create_volume_from_storage_group_return_id
PyU4V.provisioning.ProvisioningFunctions.add_child_sg_to_parent_sg
PyU4V.provisioning.ProvisioningFunctions.add_child_storage_group_to_parent_group
PyU4V.provisioning.ProvisioningFunctions.remove_child_sg_from_parent_sg
PyU4V.provisioning.ProvisioningFunctions.remove_child_storage_group_from_parent_group
PyU4V.provisioning.ProvisioningFunctions.update_storagegroup_qos
PyU4V.provisioning.ProvisioningFunctions.update_storage_group_qos
PyU4V.provisioning.ProvisioningFunctions.remove_vol_from_storagegroup
PyU4V.provisioning.ProvisioningFunctions.remove_volume_from_storage_group
PyU4V.provisioning.ProvisioningFunctions.delete_storagegroup
PyU4V.provisioning.ProvisioningFunctions.delete_storage_group
PyU4V.provisioning.ProvisioningFunctions.get_vol_effective_wwn_details_84
PyU4V.provisioning.ProvisioningFunctions.get_volume_effective_wwn_details
PyU4V.provisioning.ProvisioningFunctions.get_vols_from_storagegroup
PyU4V.provisioning.ProvisioningFunctions.get_volumes_from_storage_group
PyU4V.provisioning.ProvisioningFunctions.get_storagegroup_from_vol
PyU4V.provisioning.ProvisioningFunctions.get_storage_group_from_volume
PyU4V.provisioning.ProvisioningFunctions.is_volume_in_storagegroup
PyU4V.provisioning.ProvisioningFunctions.is_volume_in_storage_group

replication.py
~~~~~~~~~~~~~~
PyU4V.replication.ReplicationFunctions.get_storage_group_rep
PyU4V.replication.ReplicationFunctions.get_storage_group_replication_details
PyU4V.replication.ReplicationFunctions.get_storage_group_rep_list
PyU4V.replication.ReplicationFunctions.get_replication_enabled_storage_groups
PyU4V.replication.ReplicationFunctions.get_storagegroup_snapshot_list
PyU4V.replication.ReplicationFunctions.get_storage_group_snapshot_list
PyU4V.replication.ReplicationFunctions.create_storagegroup_snap
PyU4V.replication.ReplicationFunctions.create_storage_group_snapshot
PyU4V.replication.ReplicationFunctions.get_storagegroup_snapshot_generation_list
PyU4V.replication.ReplicationFunctions.get_storage_group_snapshot_generation_list
PyU4V.replication.ReplicationFunctions.modify_storagegroup_snap
PyU4V.replication.ReplicationFunctions.modify_storage_group_snapshot
PyU4V.replication.ReplicationFunctions.delete_storagegroup_snapshot
PyU4V.replication.ReplicationFunctions.delete_storage_group_snapshot
PyU4V.replication.ReplicationFunctions.is_vol_in_rep_session
PyU4V.replication.ReplicationFunctions.is_volume_in_replication_session
PyU4V.replication.ReplicationFunctions.are_vols_rdf_paired
PyU4V.replication.ReplicationFunctions.are_volumes_rdf_paired
PyU4V.replication.ReplicationFunctions.get_storagegroup_srdfg_list
PyU4V.replication.ReplicationFunctions.get_storage_group_srdf_group_list
PyU4V.replication.ReplicationFunctions.get_storagegroup_srdf_details
PyU4V.replication.ReplicationFunctions.get_storage_group_srdf_details
PyU4V.replication.ReplicationFunctions.create_storagegroup_srdf_pairings
PyU4V.replication.ReplicationFunctions.create_storage_group_srdf_pairings
PyU4V.replication.ReplicationFunctions.modify_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.modify_storage_group_srdf
PyU4V.replication.ReplicationFunctions.suspend_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.suspend_storage_group_srdf
PyU4V.replication.ReplicationFunctions.establish_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.establish_storage_group_srdf
PyU4V.replication.ReplicationFunctions.failover_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.failover_storage_group_srdf
PyU4V.replication.ReplicationFunctions.failback_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.failback_storage_group_srdf
PyU4V.replication.ReplicationFunctions.delete_storagegroup_srdf
PyU4V.replication.ReplicationFunctions.delete_storage_group_srdf

10.2.0.0

metro_dr.py
Added Reverse flag to PUT payload.

Add WLP Flags to storage group create and modify functions.
IP Storage configuration Library

replication.py
added bothsides option to create_storage_group_snapshot function

system.py
Added configure_ldap_authentication
Added get_ldap_configuration

provisioning.py
Added reset_volume_wwn function and tests

performance.py
BugFix, added includeRealTimeTraceOnCritical Key to update
performance thresholds payload and parameters.

Deprecated functions removed in v10.2.
====================================
Please ensure if you are using any of
these functions please ensure you have updated your code to use the replacement
function. These functions have been marked for depreciation for previous 2
releases and will have provided a warning error during that time to update.

- Removed PyU4V.performance.get_cloud_provider_keys and
get_cloud_provider_stats

- Old: PyU4V.performance.is_array_performance_registered
New: PyU4V.performance.is_array_diagnostic_performance_registered

- Old: PyU4V.performance.get_iscsi_target_keys
- New: PyU4V.performance.get_endpoint_keys

- Old: PyU4V.performance.get_iscsi_target_stats
- New: PyU4V.performance.get_endpoint_stats

- Old: PyU4V.performance.PerformanceFunctions.get_iscsi_target_stats
- New: PyU4V.performance.PerformanceFunctions.get_endpoint_stats

- Old: PyU4V.performance.PerformanceFunctions.get_iscsi_target_keys
- New: PyU4V.performance.PerformanceFunctions.get_endpoint_keys

- Old: PyU4V.provisioning.ProvisioningFunctions.get_director
- New: PyU4V.system.SystemFunctions.get_director

- Old: PyU4V.provisioning.ProvisioningFunctions.get_director_list
- New: PyU4V.system.SystemFunctions.get_director_list

- Old: PyU4V.provisioning.ProvisioningFunctions.get_director_port
- New: PyU4V.system.SystemFunctions.get_director_port

- Old: PyU4V.provisioning.ProvisioningFunctions.get_director_port_list
- New: PyU4V.system.SystemFunctions.get_director_port_list

- Old: PyU4V.provisioning.ProvisioningFunctions.get_port_identifier
- New: PyU4V.system.SystemFunctions.get_port_identifier

- Old: PyU4V.provisioning.ProvisioningFunctions.get_fa_directors
- New: PyU4V.system.SystemFunctions.get_fa_directors

- Old: PyU4V.provisioning.ProvisioningFunctions.get_iscsi_ip_address_and_iqn
- New: PyU4V.system.SystemFunctions.get_iscsi_ip_address_and_iqn

- Old: PyU4V.provisioning.ProvisioningFunctions.get_any_director_port
- New: PyU4V.system.SystemFunctions.get_any_director_port

- Old: PyU4V.provisioning.ProvisioningFunctions.create_multiport_port_group
- New: PyU4V.provisioning.ProvisioningFunctions.create_new_port_group

- Old: PyU4V.provisioning.ProvisioningFunctions.create_port_group
- New: PyU4V.provisioning.ProvisioningFunctions.create_new_port_group

10.1.0.2

====================================
added timeout parameter to connection to make configurable. PyU4V.conf also
can take new setup value for timeout to override 120s value.

10.1.0.1

====================================
Bug fix for Github Issue 174 restart_unisphere_application has wrong payload.

10.1.0.0

====================================
Documentation updates
Changed constants file to reflect migration resource changed to mobility.
Added volumes.py
Added storage
Added performance_enhanced

system.py
new functions added
get_management_server_resources
refresh_array_details
set_server_logging_level
get_server_logging_level
update_snmp_trap_destination
delete_snmp_trap_destination
set_snmp_trap_destination
get_snmp_trap_configuration
update_snmp_trap_destination

replication.py
added force options to delete snapshot functions
New functions added.
bulk_terminate_snapshots
added new query filters to get_replication_enabled_storage_groups, now returns
cloud snapshots or linked sg in list if specified



provisioning.py
added starting_lun_address param to specify the LUN address to use as a
starting point for volumes in a SG when creating a Masking View
added to functions -
- add_new_volume_to_storage_group
- add_existing_volume_to_storage_group
- create_masking_view_existing_components

added terminate snapshots option to remove_volume_from_storage_group

serviceability.py
added functions
- get_local_symmetrix
- get_symmetrix_ntp_server
- modify_ntp_server
- download_serviceability_log
- get_ip_configuration
- update_ip_configuration
- get_application
- get_unisphere_application
- modify_unisphere_application
- restart_unisphere_application
- get_unisphere_configuration
- modify_unisphere_configuration
- get_symavoid_settings
- update_symavoid_settings
- get_solutions_enabler_application
- get_solutions_enabler_configuration
- get_solutions_enabler_system
- import_custom_certificate
- replace_self_signed_certificate

Performance
- added to enable_real_time_data_collection to be able to register for
file, and storage groups for realtime collection.

10.0.0.19

====================================
Documentation update to include additional examples
system.py
added set_port_protocol

====================================
added clone functions
Added proxy Support
removed test test_format_time_input_no_end

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.