diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 13ff2b7be..ce793f21b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,4 +1,7 @@ # Release Notes +### August 2024 +* 1.4.0 + * support for ixnetwork version 10.00.2407.87 (10.00 Update-2) ### May 2024 * 1.3.0 * support for ixnetwork version 10.20.2403.2 diff --git a/ixnetwork_restpy/assistants/ports/portmapassistant.py b/ixnetwork_restpy/assistants/ports/portmapassistant.py index d1cebb53d..055d68ce4 100644 --- a/ixnetwork_restpy/assistants/ports/portmapassistant.py +++ b/ixnetwork_restpy/assistants/ports/portmapassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify the task of virtual ports to test ports connections """ + import time import json from ixnetwork_restpy.select import Select @@ -86,9 +87,11 @@ def Map( if Name is None or len(vport) == 0: vport = self._IxNetwork.Vport.add(Name=Name) self._map[vport.Name] = { - "location": Location - if Location is not None - else "%s;%s;%s" % (IpAddress, CardId, PortId), + "location": ( + Location + if Location is not None + else "%s;%s;%s" % (IpAddress, CardId, PortId) + ), "vport": vport, } return vport diff --git a/ixnetwork_restpy/assistants/sessions/sessionassistant.py b/ixnetwork_restpy/assistants/sessions/sessionassistant.py index c259374fd..2efd803a9 100644 --- a/ixnetwork_restpy/assistants/sessions/sessionassistant.py +++ b/ixnetwork_restpy/assistants/sessions/sessionassistant.py @@ -8,6 +8,7 @@ Get a PortMapAssistant instance Get a StatViewAssistant instance """ + from ixnetwork_restpy.connection import Connection from ixnetwork_restpy.errors import * from ixnetwork_restpy.testplatform.testplatform import TestPlatform diff --git a/ixnetwork_restpy/assistants/statistics/row.py b/ixnetwork_restpy/assistants/statistics/row.py index 4042a76f8..5c80bc9ba 100644 --- a/ixnetwork_restpy/assistants/statistics/row.py +++ b/ixnetwork_restpy/assistants/statistics/row.py @@ -1,5 +1,6 @@ """Rows class to simplify access to statistics views data """ + from ixnetwork_restpy.errors import * import datetime diff --git a/ixnetwork_restpy/assistants/statistics/statviewassistant.py b/ixnetwork_restpy/assistants/statistics/statviewassistant.py index fb26f59bf..d64d6bb4f 100644 --- a/ixnetwork_restpy/assistants/statistics/statviewassistant.py +++ b/ixnetwork_restpy/assistants/statistics/statviewassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify access to statistics views """ + from ixnetwork_restpy.assistants.statistics.row import Row from ixnetwork_restpy.errors import * from ixnetwork_restpy.assistants.batch.batchupdate import BatchUpdate diff --git a/ixnetwork_restpy/assistants/watch/watchassistant.py b/ixnetwork_restpy/assistants/watch/watchassistant.py index 471654f9e..ec882ac4d 100644 --- a/ixnetwork_restpy/assistants/watch/watchassistant.py +++ b/ixnetwork_restpy/assistants/watch/watchassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify access to statistics views """ + import json import websocket import threading diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore b/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore deleted file mode 100644 index bc1a1f616..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Created by pytest automatically. -* diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG b/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG deleted file mode 100644 index fce15ad7e..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG +++ /dev/null @@ -1,4 +0,0 @@ -Signature: 8a477f597d28d172789f06886806bc55 -# This file is a cache directory tag created by pytest. -# For information about cache directory tags, see: -# https://bford.info/cachedir/spec.html diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md b/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md deleted file mode 100644 index b89018ced..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# pytest cache directory # - -This directory contains data from the pytest's cache plugin, -which provides the `--lf` and `--ff` options, as well as the `cache` fixture. - -**Do not** commit this to version control. - -See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information. diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed deleted file mode 100644 index 743e819c9..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed +++ /dev/null @@ -1,3 +0,0 @@ -{ - "tests/test_async_operation.py::test_async_operation[10.39.32.111:443:linux]": true -} \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids deleted file mode 100644 index 745f18a9a..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids +++ /dev/null @@ -1,244 +0,0 @@ -[ - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_traffic_for_non_active_fields[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_traffic_for_non_active_fields[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.47.41:11012:windows]", - "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.32.111:443:linux]", - "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.47.41:11012:windows]", - "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.32.111:443:linux]", - "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.47.41:11012:windows]", - "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.32.111:443:linux]", - "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.47.41:11012:windows]", - "tests/batch/test_batch_find.py::test_multiple_from[10.39.32.111:443:linux]", - "tests/batch/test_batch_find.py::test_multiple_from[10.39.47.41:11012:windows]", - "tests/batch/test_batch_find.py::test_required_find[10.39.32.111:443:linux]", - "tests/batch/test_batch_find.py::test_required_find[10.39.47.41:11012:windows]", - "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.32.111:443:linux]", - "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.47.41:11012:windows]", - "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.32.111:443:linux]", - "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.47.41:11012:windows]", - "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.32.111:443:linux]", - "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.47.41:11012:windows]", - "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.32.111:443:linux]", - "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.47.41:11012:windows]", - "tests/classic/test_classic.py::test_can_add_interfaces[10.39.32.111:443:linux]", - "tests/classic/test_classic.py::test_can_add_interfaces[10.39.47.41:11012:windows]", - "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.32.111:443:linux]", - "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.47.41:11012:windows]", - "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.32.111:443:linux]", - "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.47.41:11012:windows]", - "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.32.111:443:linux]", - "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.47.41:11012:windows]", - "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.32.111:443:linux]", - "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.47.41:11012:windows]", - "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.32.111:443:linux]", - "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.47.41:11012:windows]", - "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.32.111:443:linux]", - "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.47.41:11012:windows]", - "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.32.111:443:linux]", - "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.47.41:11012:windows]", - "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.32.111:443:linux]", - "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.47.41:11012:windows]", - "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.32.111:443:linux]", - "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.47.41:11012:windows]", - "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.32.111:443:linux]", - "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.47.41:11012:windows]", - "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.32.111:443:linux]", - "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.47.41:11012:windows]", - "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.32.111:443:linux]", - "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.47.41:11012:windows]", - "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.32.111:443:linux]", - "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.47.41:11012:windows]", - "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.32.111:443:linux]", - "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.47.41:11012:windows]", - "tests/test_async_operation.py::test_async_operation[10.39.32.111:443:linux]", - "tests/test_async_operation.py::test_async_operation[10.39.47.41:11012:windows]", - "tests/test_async_operation.py::test_async_operation_for_errors[10.39.32.111:443:linux]", - "tests/test_async_operation.py::test_async_operation_for_errors[10.39.47.41:11012:windows]", - "tests/test_errors.py::test_operation_improper_name[10.39.32.111:443:linux]", - "tests/test_errors.py::test_operation_improper_name[10.39.47.41:11012:windows]", - "tests/test_errors.py::test_operation_returns_404_error[10.39.32.111:443:linux]", - "tests/test_errors.py::test_operation_returns_404_error[10.39.47.41:11012:windows]", - "tests/test_find.py::test_find_classic[10.39.32.111:443:linux]", - "tests/test_find.py::test_find_classic[10.39.47.41:11012:windows]", - "tests/test_find.py::test_find_ngpf[10.39.32.111:443:linux]", - "tests/test_find.py::test_find_ngpf[10.39.47.41:11012:windows]", - "tests/test_find.py::test_find_with_kwargs[10.39.32.111:443:linux]", - "tests/test_find.py::test_find_with_kwargs[10.39.47.41:11012:windows]", - "tests/test_find_with_href.py::test_select_call_with_list_of_hrefs[10.39.32.111:443:linux]", - "tests/test_find_with_href.py::test_select_call_with_list_of_hrefs[10.39.47.41:11012:windows]", - "tests/test_iterators.py::test_can_add_remove_containers[10.39.32.111:443:linux]", - "tests/test_iterators.py::test_can_add_remove_containers[10.39.47.41:11012:windows]", - "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.32.111:443:linux]", - "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.47.41:11012:windows]", - "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.32.111:443:linux]", - "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.47.41:11012:windows]", - "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.32.111:443:linux]", - "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.47.41:11012:windows]", - "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.32.111:443:linux]", - "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.47.41:11012:windows]", - "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.32.111:443:linux]", - "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.47.41:11012:windows]", - "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.32.111:443:linux]", - "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.47.41:11012:windows]", - "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.32.111:443:linux]", - "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.47.41:11012:windows]", - "tests/test_refresh.py::test_update[10.39.32.111:443:linux]", - "tests/test_refresh.py::test_update[10.39.47.41:11012:windows]", - "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.32.111:443:linux]", - "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.47.41:11012:windows]", - "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.32.111:443:linux]", - "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.47.41:11012:windows]", - "tests/test_update.py::test_update[10.39.32.111:443:linux]", - "tests/test_update.py::test_update[10.39.47.41:11012:windows]", - "tests/test_update.py::test_update_for_classic_nodes[10.39.32.111:443:linux]", - "tests/test_update.py::test_update_for_classic_nodes[10.39.47.41:11012:windows]", - "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.32.111:443:linux]", - "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.47.41:11012:windows]", - "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.32.111:443:linux]", - "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.47.41:11012:windows]", - "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.32.111:443:linux]", - "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.47.41:11012:windows]", - "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.32.111:443:linux]", - "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.47.41:11012:windows]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.32.111:443:linux]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.47.41:11012:windows]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.32.111:443:linux]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.47.41:11012:windows]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.32.111:443:linux]", - "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.47.41:11012:windows]", - "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.32.111:443:linux]", - "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.47.41:11012:windows]" -] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise deleted file mode 100644 index 0637a088a..000000000 --- a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/tests/test_async_operation.py b/ixnetwork_restpy/pytest_tests/tests/test_async_operation.py index 940c0b72e..419f618a5 100644 --- a/ixnetwork_restpy/pytest_tests/tests/test_async_operation.py +++ b/ixnetwork_restpy/pytest_tests/tests/test_async_operation.py @@ -1,5 +1,6 @@ """Tests to verify the async=True functionality of operations """ + import pytest from ixnetwork_restpy import TestPlatform, BadRequestError diff --git a/ixnetwork_restpy/pytest_tests/tests/test_refresh.py b/ixnetwork_restpy/pytest_tests/tests/test_refresh.py index 963f265a9..a63507551 100644 --- a/ixnetwork_restpy/pytest_tests/tests/test_refresh.py +++ b/ixnetwork_restpy/pytest_tests/tests/test_refresh.py @@ -1,6 +1,7 @@ """Test the .refresh() functionality to ensure all encapsulated resources are refreshed in a single call """ + import pytest diff --git a/ixnetwork_restpy/pytest_tests/tests/test_update.py b/ixnetwork_restpy/pytest_tests/tests/test_update.py index 0427bef36..25055fda2 100644 --- a/ixnetwork_restpy/pytest_tests/tests/test_update.py +++ b/ixnetwork_restpy/pytest_tests/tests/test_update.py @@ -1,6 +1,7 @@ """Test the .update() functionality to ensure all encapsulated resources are updated in a single call """ + import pytest diff --git a/ixnetwork_restpy/samples/assistants/port_map_assistant.py b/ixnetwork_restpy/samples/assistants/port_map_assistant.py index cc55b8f6d..04ef69059 100644 --- a/ixnetwork_restpy/samples/assistants/port_map_assistant.py +++ b/ixnetwork_restpy/samples/assistants/port_map_assistant.py @@ -1,6 +1,7 @@ """Demonstrates how to use the PortMapAssistant class """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/assistants/stat_view_assistant/stat_view_assistant.py b/ixnetwork_restpy/samples/assistants/stat_view_assistant/stat_view_assistant.py index 36cb24279..fe5f7eb31 100644 --- a/ixnetwork_restpy/samples/assistants/stat_view_assistant/stat_view_assistant.py +++ b/ixnetwork_restpy/samples/assistants/stat_view_assistant/stat_view_assistant.py @@ -3,6 +3,7 @@ This sample requires an already loaded configuration with at least 2 connected vports. """ + from ixnetwork_restpy import SessionAssistant, StatViewAssistant diff --git a/ixnetwork_restpy/samples/basic/getting_started.py b/ixnetwork_restpy/samples/basic/getting_started.py index 9def28487..98f4c46b6 100644 --- a/ixnetwork_restpy/samples/basic/getting_started.py +++ b/ixnetwork_restpy/samples/basic/getting_started.py @@ -8,6 +8,7 @@ - print statistics - stop traffic """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/basic/internal_requests_access.py b/ixnetwork_restpy/samples/basic/internal_requests_access.py index f59b4f8d3..b0cda08c9 100644 --- a/ixnetwork_restpy/samples/basic/internal_requests_access.py +++ b/ixnetwork_restpy/samples/basic/internal_requests_access.py @@ -9,6 +9,7 @@ use API browser property names in the payload """ + from ixnetwork_restpy import SessionAssistant, Files diff --git a/ixnetwork_restpy/samples/basic/iterators.py b/ixnetwork_restpy/samples/basic/iterators.py index a7b194a2f..a4f7be963 100644 --- a/ixnetwork_restpy/samples/basic/iterators.py +++ b/ixnetwork_restpy/samples/basic/iterators.py @@ -14,6 +14,7 @@ https://docs.python.org/2.7/library/stdtypes.html#typeiter """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/basic/multivalues.py b/ixnetwork_restpy/samples/basic/multivalues.py index 1a516aa96..a494e680d 100644 --- a/ixnetwork_restpy/samples/basic/multivalues.py +++ b/ixnetwork_restpy/samples/basic/multivalues.py @@ -2,6 +2,7 @@ TestPlatform.Sessions.IxNetwork.Topology...Multivalue objects """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/basic/ngpf_device_ids.py b/ixnetwork_restpy/samples/basic/ngpf_device_ids.py index 8eadecda6..50f5a9a88 100644 --- a/ixnetwork_restpy/samples/basic/ngpf_device_ids.py +++ b/ixnetwork_restpy/samples/basic/ngpf_device_ids.py @@ -1,6 +1,7 @@ """Demonstrates some best practices for specifying device ids when executing ngpf operations """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/basic/ngpf_ipv4.py b/ixnetwork_restpy/samples/basic/ngpf_ipv4.py index 140f6daa7..1bb37bb6d 100644 --- a/ixnetwork_restpy/samples/basic/ngpf_ipv4.py +++ b/ixnetwork_restpy/samples/basic/ngpf_ipv4.py @@ -1,5 +1,6 @@ """Demonstrates adding ipv4 devices """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/basic/object_from_obj_ref.py b/ixnetwork_restpy/samples/basic/object_from_obj_ref.py index 06609b59f..94d762d38 100644 --- a/ixnetwork_restpy/samples/basic/object_from_obj_ref.py +++ b/ixnetwork_restpy/samples/basic/object_from_obj_ref.py @@ -3,6 +3,7 @@ The TestPlatform.Sessions class has a helper method that assists in returning an object given a valid href """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/classic/classic_bgp.py b/ixnetwork_restpy/samples/classic/classic_bgp.py index e65b172ee..f6b091da6 100644 --- a/ixnetwork_restpy/samples/classic/classic_bgp.py +++ b/ixnetwork_restpy/samples/classic/classic_bgp.py @@ -1,6 +1,7 @@ """Demonstrates adding a bgp neighbor range to a virtual port. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/classic/classic_interfaces.py b/ixnetwork_restpy/samples/classic/classic_interfaces.py index e9b9e0650..b406ba5b5 100644 --- a/ixnetwork_restpy/samples/classic/classic_interfaces.py +++ b/ixnetwork_restpy/samples/classic/classic_interfaces.py @@ -1,6 +1,7 @@ """Demonstrates adding interfaces to virtual ports. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/files/file_transfer.py b/ixnetwork_restpy/samples/files/file_transfer.py index e38be926a..2f60f6b08 100644 --- a/ixnetwork_restpy/samples/files/file_transfer.py +++ b/ixnetwork_restpy/samples/files/file_transfer.py @@ -1,6 +1,7 @@ """Demonstrates how to upload and download files to a remote server. """ + from ixnetwork_restpy import SessionAssistant, Files diff --git a/ixnetwork_restpy/samples/files/save_load_config.py b/ixnetwork_restpy/samples/files/save_load_config.py index 3385f0522..50751116a 100644 --- a/ixnetwork_restpy/samples/files/save_load_config.py +++ b/ixnetwork_restpy/samples/files/save_load_config.py @@ -6,6 +6,7 @@ If the file does not exist locally an empty file using only the file name will be created on the server. """ + from ixnetwork_restpy import SessionAssistant, Files diff --git a/ixnetwork_restpy/samples/logging/collect_logs.py b/ixnetwork_restpy/samples/logging/collect_logs.py index 5d96b13d2..185b40106 100644 --- a/ixnetwork_restpy/samples/logging/collect_logs.py +++ b/ixnetwork_restpy/samples/logging/collect_logs.py @@ -1,6 +1,7 @@ """Demonstrates collecting diagnostic logs """ + from ixnetwork_restpy import SessionAssistant, Files diff --git a/ixnetwork_restpy/samples/logging/restapi_logging.py b/ixnetwork_restpy/samples/logging/restapi_logging.py index 8348a2e76..57db8996d 100644 --- a/ixnetwork_restpy/samples/logging/restapi_logging.py +++ b/ixnetwork_restpy/samples/logging/restapi_logging.py @@ -6,6 +6,7 @@ The trace level can be specified in the SessionAssistant constructor and subsequently modified using the TestPlatform.Trace property. The default log level is SessionAssistant.LOGLEVEL_NONE which has a logging level of CRITICAL """ + from ixnetwork_restpy import SessionAssistant, TestPlatform diff --git a/ixnetwork_restpy/samples/ports/assign_ports.py b/ixnetwork_restpy/samples/ports/assign_ports.py index 489ecfec7..d38965017 100644 --- a/ixnetwork_restpy/samples/ports/assign_ports.py +++ b/ixnetwork_restpy/samples/ports/assign_ports.py @@ -9,6 +9,7 @@ - waits until port statistic view for all test ports are ready - returns a list of abstract test ports that have not been connected to test ports """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/ports/clear_ownership.py b/ixnetwork_restpy/samples/ports/clear_ownership.py index fdbec6f04..942e0a0c2 100644 --- a/ixnetwork_restpy/samples/ports/clear_ownership.py +++ b/ixnetwork_restpy/samples/ports/clear_ownership.py @@ -2,6 +2,7 @@ by using the Vport.ConnectedTo reference and obtaining the Port object which has the ClearOwnership method """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/protocols/ospf.py b/ixnetwork_restpy/samples/protocols/ospf.py index 5fe25cb93..4bca14e8f 100644 --- a/ixnetwork_restpy/samples/protocols/ospf.py +++ b/ixnetwork_restpy/samples/protocols/ospf.py @@ -1,6 +1,7 @@ """Demonstrates creating ospfv2 devices """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/protocols/tlvprofile.py b/ixnetwork_restpy/samples/protocols/tlvprofile.py index c77dd1b2b..ebac6f3d2 100644 --- a/ixnetwork_restpy/samples/protocols/tlvprofile.py +++ b/ixnetwork_restpy/samples/protocols/tlvprofile.py @@ -1,5 +1,6 @@ """Demonstrates creating and copying over tlv templates into a tlv profile """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/quicktests/rfc2544back2back.py b/ixnetwork_restpy/samples/quicktests/rfc2544back2back.py index fc50a25bb..de06fd96b 100644 --- a/ixnetwork_restpy/samples/quicktests/rfc2544back2back.py +++ b/ixnetwork_restpy/samples/quicktests/rfc2544back2back.py @@ -1,6 +1,7 @@ """Demonstrates creating ospfv2 devices """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/sessions/quicktest.py b/ixnetwork_restpy/samples/sessions/quicktest.py index ddbd89c04..4681ff0ac 100644 --- a/ixnetwork_restpy/samples/sessions/quicktest.py +++ b/ixnetwork_restpy/samples/sessions/quicktest.py @@ -1,6 +1,7 @@ """ Demonstrates how to create a Linux API Server QuickTest Web session """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/sessions/windows_sessions.py b/ixnetwork_restpy/samples/sessions/windows_sessions.py index 19368af93..bfb26ba1f 100644 --- a/ixnetwork_restpy/samples/sessions/windows_sessions.py +++ b/ixnetwork_restpy/samples/sessions/windows_sessions.py @@ -1,5 +1,6 @@ """ Demonstrates standalone IxNetwork Windows GUI session management """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/statistics/csv_logging.py b/ixnetwork_restpy/samples/statistics/csv_logging.py index 61420e93d..617b30b54 100644 --- a/ixnetwork_restpy/samples/statistics/csv_logging.py +++ b/ixnetwork_restpy/samples/statistics/csv_logging.py @@ -7,6 +7,7 @@ - there is a Port Statistics view """ + session_assistant = SessionAssistant( IpAddress="127.0.0.1", UserName="admin", diff --git a/ixnetwork_restpy/samples/statistics/csv_snapshot.py b/ixnetwork_restpy/samples/statistics/csv_snapshot.py index 4792d6a5b..e6ea270a6 100644 --- a/ixnetwork_restpy/samples/statistics/csv_snapshot.py +++ b/ixnetwork_restpy/samples/statistics/csv_snapshot.py @@ -6,6 +6,7 @@ - there is a Flow Statistics view """ + from ixnetwork_restpy import SessionAssistant import os diff --git a/ixnetwork_restpy/samples/traffic/traffic_custom_stack.py b/ixnetwork_restpy/samples/traffic/traffic_custom_stack.py index d66cefff0..73a6e1c0c 100644 --- a/ixnetwork_restpy/samples/traffic/traffic_custom_stack.py +++ b/ixnetwork_restpy/samples/traffic/traffic_custom_stack.py @@ -1,6 +1,7 @@ """This sample demonstrates customizing a traffic item stack. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/traffic/traffic_over_lags.py b/ixnetwork_restpy/samples/traffic/traffic_over_lags.py index b323707bd..d954fef52 100644 --- a/ixnetwork_restpy/samples/traffic/traffic_over_lags.py +++ b/ixnetwork_restpy/samples/traffic/traffic_over_lags.py @@ -3,6 +3,7 @@ NOTE: due to current limitations either a Lagportlacp or Lagportstaticlag must be added """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/traffic/traffic_over_protocols.py b/ixnetwork_restpy/samples/traffic/traffic_over_protocols.py index 7993ae1af..4f1752bd5 100644 --- a/ixnetwork_restpy/samples/traffic/traffic_over_protocols.py +++ b/ixnetwork_restpy/samples/traffic/traffic_over_protocols.py @@ -1,6 +1,7 @@ """Demonstrates creating a traffic item that uses ipv4 endpoints. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/traffic/traffic_over_vports.py b/ixnetwork_restpy/samples/traffic/traffic_over_vports.py index 6eae69d38..dfb6be823 100644 --- a/ixnetwork_restpy/samples/traffic/traffic_over_vports.py +++ b/ixnetwork_restpy/samples/traffic/traffic_over_vports.py @@ -1,6 +1,7 @@ """Demonstrates creating a raw traffic item over vport endpoints. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/samples/traffic/traffic_scalable_sources_multicast_receivers.py b/ixnetwork_restpy/samples/traffic/traffic_scalable_sources_multicast_receivers.py index 92d659bfb..10614d81d 100644 --- a/ixnetwork_restpy/samples/traffic/traffic_scalable_sources_multicast_receivers.py +++ b/ixnetwork_restpy/samples/traffic/traffic_scalable_sources_multicast_receivers.py @@ -1,6 +1,7 @@ """Demonstrates creating a traffic item that uses scalable sources and igmp multicast receivers. """ + from ixnetwork_restpy import SessionAssistant diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py index 08f0649e5..5b67c79e7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py @@ -90,13 +90,10 @@ class Aggregation(Base): "novus5GOneByHundredGigNonFanOut", "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", - "starTwoByFourHundredGigFannedOutPAM4RoCEv2", "starFourByTwoHundredGigFannedOutPAM4", - "starFourByTwoHundredGigFannedOutPAM4RoCEv2", "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", "starEightByHundredGigFannedOutPAM4RoCEv2", - "starFourByHundredGigFannedOutNRZRoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -120,11 +117,11 @@ class Aggregation(Base): "aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4", - "sertHundredGig", - "sertFiftyGig", - "sertFourtyGig", - "sertTwentyFiveGig", - "sertTenGig", + "rangerHundredGig", + "rangerFiftyGig", + "rangerFourtyGig", + "rangerTwentyFiveGig", + "rangerTenGig", "aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", @@ -143,13 +140,6 @@ class Aggregation(Base): "aresOne-M-TwoByFortyGigNRZ-10G", "aresOne-M-EightByTwentyFiveGigNRZ-26G", "aresOne-M-EightByTenGigNRZ-10G", - "aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2", - "aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2", - "aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2", - "aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2", - "aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2", ], } @@ -182,7 +172,7 @@ def AvailableModes(self): """ Returns ------- - - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2]): Gets the supported resource group modes. + - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported resource group modes. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableModes"]) @@ -192,7 +182,7 @@ def Mode(self): """ Returns ------- - - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2): Resource Group mode. + - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G): Resource Group mode. """ return self._get_attribute(self._SDM_ATT_MAP["Mode"]) @@ -217,7 +207,7 @@ def update(self, Mode=None): Args ---- - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Resource Group mode. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. Raises ------ @@ -231,7 +221,7 @@ def add(self, Mode=None): Args ---- - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Resource Group mode. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. Returns ------- @@ -262,8 +252,8 @@ def find( ---- - ActivePort (str(None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port)): Deprecated. Use activePorts instead. - ActivePorts (list(str[None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port])): All active ports from Resource Group. - - AvailableModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2])): Gets the supported resource group modes. - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Resource Group mode. + - AvailableModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported resource group modes. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. - ResourcePorts (list(str[None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port])): All ports from Resource Group. Returns diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py index 4e23e48ce..4834258b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py @@ -93,13 +93,10 @@ class Card(Base): "novus5GOneByHundredGigNonFanOut", "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", - "starTwoByFourHundredGigFannedOutPAM4RoCEv2", "starFourByTwoHundredGigFannedOutPAM4", - "starFourByTwoHundredGigFannedOutPAM4RoCEv2", "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", "starEightByHundredGigFannedOutPAM4RoCEv2", - "starFourByHundredGigFannedOutNRZRoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -123,11 +120,11 @@ class Card(Base): "aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4", - "sertHundredGig", - "sertFiftyGig", - "sertFourtyGig", - "sertTwentyFiveGig", - "sertTenGig", + "rangerHundredGig", + "rangerFiftyGig", + "rangerFourtyGig", + "rangerTwentyFiveGig", + "rangerTenGig", "aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", @@ -146,13 +143,6 @@ class Card(Base): "aresOne-M-TwoByFortyGigNRZ-10G", "aresOne-M-EightByTwentyFiveGigNRZ-26G", "aresOne-M-EightByTenGigNRZ-10G", - "aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2", - "aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2", - "aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2", - "aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2", - "aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2", ], "portNamingScheme": ["v1", "v2"], } @@ -206,7 +196,7 @@ def AggregationMode(self): """ Returns ------- - - str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2): Gets or sets the aggregation mode. + - str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G): Gets or sets the aggregation mode. """ return self._get_attribute(self._SDM_ATT_MAP["AggregationMode"]) @@ -231,7 +221,7 @@ def AvailableModes(self): """ Returns ------- - - list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2]): Gets the supported port resource group modes on the card. + - list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported port resource group modes on the card. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableModes"]) @@ -271,7 +261,7 @@ def update(self, AggregationMode=None): Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. Raises ------ @@ -285,7 +275,7 @@ def add(self, AggregationMode=None): Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. Returns ------- @@ -315,9 +305,9 @@ def find( Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. - AggregationSupported (bool): (read only) If true, indicates that the card is operating in resource group mode and not in normal mode - - AvailableModes (list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2])): Gets the supported port resource group modes on the card. + - AvailableModes (list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported port resource group modes on the card. - CardId (number): Identifier for the card on the chassis. - Description (str): Description of the card. - PortNamingScheme (str(v1 | v2)): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py index 0d6c87652..07a7614d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py @@ -40,6 +40,7 @@ class Globals(Base): "CommandArgs": "commandArgs", "ConfigFileName": "configFileName", "ConfigSummary": "configSummary", + "IsQuickTestMode": "isQuickTestMode", "IxosBuildNumber": "ixosBuildNumber", "PersistencePath": "persistencePath", "ProductVersion": "productVersion", @@ -383,6 +384,16 @@ def ConfigSummary(self): """ return self._get_attribute(self._SDM_ATT_MAP["ConfigSummary"]) + @property + def IsQuickTestMode(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IsQuickTestMode"]) + @property def IxosBuildNumber(self): # type: () -> str @@ -470,6 +481,7 @@ def find( CommandArgs=None, ConfigFileName=None, ConfigSummary=None, + IsQuickTestMode=None, IxosBuildNumber=None, PersistencePath=None, ProductVersion=None, @@ -492,6 +504,7 @@ def find( - CommandArgs (str): - ConfigFileName (str): The name of the configuration file. - ConfigSummary (list(dict(arg1:str,arg2:str,arg3:list[dict(arg1:str,arg2:str)]))): A high level summary description of the currently loaded configuration + - IsQuickTestMode (bool): - IxosBuildNumber (str): The IxOS software build number. - PersistencePath (str): This attribute returns a directory of the IxNetwork API server machine, where users can drop their files from the client scripts using IxNetwork APIs. To Put files in this directory, users do not require to run IxNetwork API server in administrative mode - ProductVersion (str): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py index af465bcd4..ff68ea3c9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py @@ -66,7 +66,6 @@ class Preferences(Base): "ResourceManagerLocation": "resourceManagerLocation", "ScriptgenTextEditorPath": "scriptgenTextEditorPath", "SelectDGOnCreation": "selectDGOnCreation", - "SequenceCheckingWhenNoTxRxSync": "sequenceCheckingWhenNoTxRxSync", "ShortenScenarioObjectNameInMiddle": "shortenScenarioObjectNameInMiddle", "StreamLogsToSyslogServer": "streamLogsToSyslogServer", "SyslogHost": "syslogHost", @@ -587,21 +586,6 @@ def SelectDGOnCreation(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["SelectDGOnCreation"], value) - @property - def SequenceCheckingWhenNoTxRxSync(self): - # type: () -> bool - """ - Returns - ------- - - bool: When true, advanced sequence checking is preferred if Tx-Rx Sync is unavailable on any port. - """ - return self._get_attribute(self._SDM_ATT_MAP["SequenceCheckingWhenNoTxRxSync"]) - - @SequenceCheckingWhenNoTxRxSync.setter - def SequenceCheckingWhenNoTxRxSync(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["SequenceCheckingWhenNoTxRxSync"], value) - @property def ShortenScenarioObjectNameInMiddle(self): # type: () -> bool @@ -713,14 +697,13 @@ def update( ResourceManagerLocation=None, ScriptgenTextEditorPath=None, SelectDGOnCreation=None, - SequenceCheckingWhenNoTxRxSync=None, ShortenScenarioObjectNameInMiddle=None, StreamLogsToSyslogServer=None, SyslogHost=None, SyslogPort=None, TransmitMode=None, ): - # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], str, str, bool, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Updates preferences resource on the server. Args @@ -755,7 +738,6 @@ def update( - ResourceManagerLocation (str): Set the Resource Manager resources location - ScriptgenTextEditorPath (str): Set the text editor path for Scriptgen - SelectDGOnCreation (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation - - SequenceCheckingWhenNoTxRxSync (bool): When true, advanced sequence checking is preferred if Tx-Rx Sync is unavailable on any port. - ShortenScenarioObjectNameInMiddle (bool): Shorten Topology/DG/NG names in the middle. If this is true, Topology/Device Group/Network Group names are shortened in the middle (with .), otherwise at the end - StreamLogsToSyslogServer (bool): Enables streaming Logs To Syslog Server - SyslogHost (str): syslog host @@ -801,14 +783,13 @@ def find( ResourceManagerLocation=None, ScriptgenTextEditorPath=None, SelectDGOnCreation=None, - SequenceCheckingWhenNoTxRxSync=None, ShortenScenarioObjectNameInMiddle=None, StreamLogsToSyslogServer=None, SyslogHost=None, SyslogPort=None, TransmitMode=None, ): - # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Finds and retrieves preferences resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve preferences resources from the server. @@ -848,7 +829,6 @@ def find( - ResourceManagerLocation (str): Set the Resource Manager resources location - ScriptgenTextEditorPath (str): Set the text editor path for Scriptgen - SelectDGOnCreation (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation - - SequenceCheckingWhenNoTxRxSync (bool): When true, advanced sequence checking is preferred if Tx-Rx Sync is unavailable on any port. - ShortenScenarioObjectNameInMiddle (bool): Shorten Topology/DG/NG names in the middle. If this is true, Topology/Device Group/Network Group names are shortened in the middle (with .), otherwise at the end - StreamLogsToSyslogServer (bool): Enables streaming Logs To Syslog Server - SyslogHost (str): syslog host diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py index acf843d6f..8887d28d7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py @@ -423,7 +423,7 @@ class PortStatistics(Base): "PrbsFramesReceivedRate": "prbsFramesReceivedRate", "PrbsFramesWithHeaderError": "prbsFramesWithHeaderError", "PrbsFramesWithHeaderErrorRate": "prbsFramesWithHeaderErrorRate", - "PreFECBitErrorRate": "preFECBitErrorRate", + "PreFECBitErrorRatio": "preFECBitErrorRatio", "ProtectedByteRx": "protectedByteRx", "ProtectedByteTx": "protectedByteTx", "ProtectedPacketRx": "protectedPacketRx", @@ -575,6 +575,13 @@ class PortStatistics(Base): "RxRateKbps": "rxRateKbps", "RxRateMbps": "rxRateMbps", "RxRatebps": "rxRatebps", + "RxRoCEACKFrameCount": "rxRoCEACKFrameCount", + "RxRoCECNPFrameCount": "rxRoCECNPFrameCount", + "RxRoCEECNFrameCount": "rxRoCEECNFrameCount", + "RxRoCENAKFrameCount": "rxRoCENAKFrameCount", + "RxRoCEOpcodeErrorCount": "rxRoCEOpcodeErrorCount", + "RxRoCEPrePFCCNPFrameCount": "rxRoCEPrePFCCNPFrameCount", + "RxRoCEiCRCErrorCount": "rxRoCEiCRCErrorCount", "RxSharedStat1": "rxSharedStat1", "RxSharedStat1Rate": "rxSharedStat1Rate", "RxSharedStat2": "rxSharedStat2", @@ -589,6 +596,9 @@ class PortStatistics(Base): "ScheduledFramesTx": "scheduledFramesTx", "ScheduledFramesTxRate": "scheduledFramesTxRate", "ScheduledTransmitDuration": "scheduledTransmitDuration", + "ScheduledTxRoCEACKFrameCount": "scheduledTxRoCEACKFrameCount", + "ScheduledTxRoCECNPFrameCount": "scheduledTxRoCECNPFrameCount", + "ScheduledTxRoCENAKFrameCount": "scheduledTxRoCENAKFrameCount", "SchedulerChipTemperatureC": "schedulerChipTemperatureC", "SectionBIPB1": "sectionBIPB1", "SectionBIPB1Rate": "sectionBIPB1Rate", @@ -6592,19 +6602,19 @@ def PrbsFramesWithHeaderErrorRate(self, value): self._set_attribute(self._SDM_ATT_MAP["PrbsFramesWithHeaderErrorRate"], value) @property - def PreFECBitErrorRate(self): + def PreFECBitErrorRatio(self): # type: () -> bool """ Returns ------- - - bool: pre FEC Bit Error Rate + - bool: pre FEC Bit Error Ratio """ - return self._get_attribute(self._SDM_ATT_MAP["PreFECBitErrorRate"]) + return self._get_attribute(self._SDM_ATT_MAP["PreFECBitErrorRatio"]) - @PreFECBitErrorRate.setter - def PreFECBitErrorRate(self, value): + @PreFECBitErrorRatio.setter + def PreFECBitErrorRatio(self, value): # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["PreFECBitErrorRate"], value) + self._set_attribute(self._SDM_ATT_MAP["PreFECBitErrorRatio"], value) @property def ProtectedByteRx(self): @@ -8991,6 +9001,111 @@ def RxRatebps(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["RxRatebps"], value) + @property + def RxRoCEACKFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE ACK Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCEACKFrameCount"]) + + @RxRoCEACKFrameCount.setter + def RxRoCEACKFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCEACKFrameCount"], value) + + @property + def RxRoCECNPFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE CNP Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCECNPFrameCount"]) + + @RxRoCECNPFrameCount.setter + def RxRoCECNPFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCECNPFrameCount"], value) + + @property + def RxRoCEECNFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE ECN Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCEECNFrameCount"]) + + @RxRoCEECNFrameCount.setter + def RxRoCEECNFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCEECNFrameCount"], value) + + @property + def RxRoCENAKFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE NAK Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCENAKFrameCount"]) + + @RxRoCENAKFrameCount.setter + def RxRoCENAKFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCENAKFrameCount"], value) + + @property + def RxRoCEOpcodeErrorCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE Opcode Error Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCEOpcodeErrorCount"]) + + @RxRoCEOpcodeErrorCount.setter + def RxRoCEOpcodeErrorCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCEOpcodeErrorCount"], value) + + @property + def RxRoCEPrePFCCNPFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE Pre-PFC CNP Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCEPrePFCCNPFrameCount"]) + + @RxRoCEPrePFCCNPFrameCount.setter + def RxRoCEPrePFCCNPFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCEPrePFCCNPFrameCount"], value) + + @property + def RxRoCEiCRCErrorCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx RoCE iCRC Error Count + """ + return self._get_attribute(self._SDM_ATT_MAP["RxRoCEiCRCErrorCount"]) + + @RxRoCEiCRCErrorCount.setter + def RxRoCEiCRCErrorCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxRoCEiCRCErrorCount"], value) + @property def RxSharedStat1(self): # type: () -> bool @@ -9214,6 +9329,51 @@ def ScheduledTransmitDuration(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["ScheduledTransmitDuration"], value) + @property + def ScheduledTxRoCEACKFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Scheduled Tx RoCE ACK Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["ScheduledTxRoCEACKFrameCount"]) + + @ScheduledTxRoCEACKFrameCount.setter + def ScheduledTxRoCEACKFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ScheduledTxRoCEACKFrameCount"], value) + + @property + def ScheduledTxRoCECNPFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Scheduled Tx RoCE CNP Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["ScheduledTxRoCECNPFrameCount"]) + + @ScheduledTxRoCECNPFrameCount.setter + def ScheduledTxRoCECNPFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ScheduledTxRoCECNPFrameCount"], value) + + @property + def ScheduledTxRoCENAKFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Scheduled Tx RoCE NAK Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["ScheduledTxRoCENAKFrameCount"]) + + @ScheduledTxRoCENAKFrameCount.setter + def ScheduledTxRoCENAKFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ScheduledTxRoCENAKFrameCount"], value) + @property def SchedulerChipTemperatureC(self): # type: () -> bool @@ -10967,7 +11127,7 @@ def WindowViolationFrameCount(self, value): self._set_attribute(self._SDM_ATT_MAP["WindowViolationFrameCount"], value) def update(self, **kwargs): - # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics + # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics """Updates portStatistics resource on the server. Args @@ -11360,7 +11520,7 @@ def update(self, **kwargs): - PrbsFramesReceivedRate (bool): Prbs Frames Received Rate - PrbsFramesWithHeaderError (bool): Prbs Frames With Header Error - PrbsFramesWithHeaderErrorRate (bool): Prbs Frames With Header Error Rate - - PreFECBitErrorRate (bool): pre FEC Bit Error Rate + - PreFECBitErrorRatio (bool): pre FEC Bit Error Ratio - ProtectedByteRx (bool): Protected Byte Rx - ProtectedByteTx (bool): Protected Byte Tx - ProtectedPacketRx (bool): Protected Packet Rx @@ -11512,6 +11672,13 @@ def update(self, **kwargs): - RxRateKbps (bool): Rx. Rate (Kbps) - RxRateMbps (bool): Rx. Rate (Mbps) - RxRatebps (bool): Rx. Rate (bps) + - RxRoCEACKFrameCount (bool): Rx RoCE ACK Frame Count + - RxRoCECNPFrameCount (bool): Rx RoCE CNP Frame Count + - RxRoCEECNFrameCount (bool): Rx RoCE ECN Frame Count + - RxRoCENAKFrameCount (bool): Rx RoCE NAK Frame Count + - RxRoCEOpcodeErrorCount (bool): Rx RoCE Opcode Error Count + - RxRoCEPrePFCCNPFrameCount (bool): Rx RoCE Pre-PFC CNP Frame Count + - RxRoCEiCRCErrorCount (bool): Rx RoCE iCRC Error Count - RxSharedStat1 (bool): Rx Shared Stat 1 - RxSharedStat1Rate (bool): Rx Shared Stat 1 Rate - RxSharedStat2 (bool): Rx Shared Stat 2 @@ -11526,6 +11693,9 @@ def update(self, **kwargs): - ScheduledFramesTx (bool): Scheduled Frames Tx. - ScheduledFramesTxRate (bool): Scheduled Frames Tx. Rate - ScheduledTransmitDuration (bool): Scheduled Transmit Duration + - ScheduledTxRoCEACKFrameCount (bool): Scheduled Tx RoCE ACK Frame Count + - ScheduledTxRoCECNPFrameCount (bool): Scheduled Tx RoCE CNP Frame Count + - ScheduledTxRoCENAKFrameCount (bool): Scheduled Tx RoCE NAK Frame Count - SchedulerChipTemperatureC (bool): Scheduler Chip Temperature(C) - SectionBIPB1 (bool): Section BIP (B1) - SectionBIPB1Rate (bool): Section BIP (B1) Rate @@ -11650,7 +11820,7 @@ def update(self, **kwargs): return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) def find(self, **kwargs): - # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics + # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics """Finds and retrieves portStatistics resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve portStatistics resources from the server. @@ -12047,7 +12217,7 @@ def find(self, **kwargs): - PrbsFramesReceivedRate (bool): Prbs Frames Received Rate - PrbsFramesWithHeaderError (bool): Prbs Frames With Header Error - PrbsFramesWithHeaderErrorRate (bool): Prbs Frames With Header Error Rate - - PreFECBitErrorRate (bool): pre FEC Bit Error Rate + - PreFECBitErrorRatio (bool): pre FEC Bit Error Ratio - ProtectedByteRx (bool): Protected Byte Rx - ProtectedByteTx (bool): Protected Byte Tx - ProtectedPacketRx (bool): Protected Packet Rx @@ -12199,6 +12369,13 @@ def find(self, **kwargs): - RxRateKbps (bool): Rx. Rate (Kbps) - RxRateMbps (bool): Rx. Rate (Mbps) - RxRatebps (bool): Rx. Rate (bps) + - RxRoCEACKFrameCount (bool): Rx RoCE ACK Frame Count + - RxRoCECNPFrameCount (bool): Rx RoCE CNP Frame Count + - RxRoCEECNFrameCount (bool): Rx RoCE ECN Frame Count + - RxRoCENAKFrameCount (bool): Rx RoCE NAK Frame Count + - RxRoCEOpcodeErrorCount (bool): Rx RoCE Opcode Error Count + - RxRoCEPrePFCCNPFrameCount (bool): Rx RoCE Pre-PFC CNP Frame Count + - RxRoCEiCRCErrorCount (bool): Rx RoCE iCRC Error Count - RxSharedStat1 (bool): Rx Shared Stat 1 - RxSharedStat1Rate (bool): Rx Shared Stat 1 Rate - RxSharedStat2 (bool): Rx Shared Stat 2 @@ -12213,6 +12390,9 @@ def find(self, **kwargs): - ScheduledFramesTx (bool): Scheduled Frames Tx. - ScheduledFramesTxRate (bool): Scheduled Frames Tx. Rate - ScheduledTransmitDuration (bool): Scheduled Transmit Duration + - ScheduledTxRoCEACKFrameCount (bool): Scheduled Tx RoCE ACK Frame Count + - ScheduledTxRoCECNPFrameCount (bool): Scheduled Tx RoCE CNP Frame Count + - ScheduledTxRoCENAKFrameCount (bool): Scheduled Tx RoCE NAK Frame Count - SchedulerChipTemperatureC (bool): Scheduler Chip Temperature(C) - SectionBIPB1 (bool): Section BIP (B1) - SectionBIPB1Rate (bool): Section BIP (B1) Rate diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_55dbd04b8eece05365779cb1ad7445b1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_df91734757c6c41add55223a2e168060.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_55dbd04b8eece05365779cb1ad7445b1.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_df91734757c6c41add55223a2e168060.py index 5572af41d..fd77cf5df 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_55dbd04b8eece05365779cb1ad7445b1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_df91734757c6c41add55223a2e168060.py @@ -9,7 +9,7 @@ # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # -# The above copyright notice and this permission notice shall be included in +# The above copyright notice and this permission notice shall be included ind # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR @@ -53,6 +53,7 @@ class BgpIpv4Peer(Base): "EnLenthForPolicyNLRI": "enLenthForPolicyNLRI", "EnableAdVplsPrefixLength": "enableAdVplsPrefixLength", "EnableTraceroute": "enableTraceroute", + "ExecutionMode": "executionMode", "GSRv6SIDEncodingSubTlvType": "gSRv6SIDEncodingSubTlvType", "HighScaleRouteMode": "highScaleRouteMode", "IBgpTester4BytesAsNumber": "iBgpTester4BytesAsNumber", @@ -403,7 +404,7 @@ def EnableTraceroute(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Enable this flag for using Traceroute feature. + - obj(ixnetwork_restpy.multivalue.Multivalue): This will enable the traceroute functionality on all the BGP peers configured in this port. """ from ixnetwork_restpy.multivalue import Multivalue @@ -411,6 +412,18 @@ def EnableTraceroute(self): self, self._get_attribute(self._SDM_ATT_MAP["EnableTraceroute"]) ) + @property + def ExecutionMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Traceroute execution mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExecutionMode"])) + @property def GSRv6SIDEncodingSubTlvType(self): # type: () -> 'Multivalue' @@ -625,7 +638,7 @@ def MaxTtl(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Max TTL + - obj(ixnetwork_restpy.multivalue.Multivalue): The TTL value used in the probes will start from 1 and incremented up to this value. """ from ixnetwork_restpy.multivalue import Multivalue @@ -846,7 +859,7 @@ def ProbeInterval(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Probe Interval + - obj(ixnetwork_restpy.multivalue.Multivalue): Time interval in milliseconds between each probe per hop. """ from ixnetwork_restpy.multivalue import Multivalue @@ -870,7 +883,7 @@ def QueryCount(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Query Count + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum number of paths that can be discovered. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1144,7 +1157,7 @@ def WaitTime(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Wait Time(msec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Time in milliseconds to wait for a response. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1250,6 +1263,7 @@ def get_device_ids( EnLenthForPolicyNLRI=None, EnableAdVplsPrefixLength=None, EnableTraceroute=None, + ExecutionMode=None, GSRv6SIDEncodingSubTlvType=None, HighScaleRouteMode=None, IBgpTester4BytesAsNumber=None, @@ -1326,6 +1340,7 @@ def get_device_ids( - EnLenthForPolicyNLRI (str): optional regex of enLenthForPolicyNLRI - EnableAdVplsPrefixLength (str): optional regex of enableAdVplsPrefixLength - EnableTraceroute (str): optional regex of enableTraceroute + - ExecutionMode (str): optional regex of executionMode - GSRv6SIDEncodingSubTlvType (str): optional regex of gSRv6SIDEncodingSubTlvType - HighScaleRouteMode (str): optional regex of highScaleRouteMode - IBgpTester4BytesAsNumber (str): optional regex of iBgpTester4BytesAsNumber diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_e8e18076800a69bc4dec7b793af29c5c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_72282fe6d1d67beba231ba2980997352.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_e8e18076800a69bc4dec7b793af29c5c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_72282fe6d1d67beba231ba2980997352.py index 64acdb382..b2d1e6fac 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_e8e18076800a69bc4dec7b793af29c5c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_72282fe6d1d67beba231ba2980997352.py @@ -53,6 +53,7 @@ class BgpIpv6Peer(Base): "EnLenthForPolicyNLRI": "enLenthForPolicyNLRI", "EnableAdVplsPrefixLength": "enableAdVplsPrefixLength", "EnableTraceroute": "enableTraceroute", + "ExecutionMode": "executionMode", "GSRv6SIDEncodingSubTlvType": "gSRv6SIDEncodingSubTlvType", "HighScaleRouteMode": "highScaleRouteMode", "IBgpTester4BytesAsNumber": "iBgpTester4BytesAsNumber", @@ -403,7 +404,7 @@ def EnableTraceroute(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Enable this flag for using Traceroute feature. + - obj(ixnetwork_restpy.multivalue.Multivalue): This will enable the traceroute functionality on all the BGP peers configured in this port. """ from ixnetwork_restpy.multivalue import Multivalue @@ -411,6 +412,18 @@ def EnableTraceroute(self): self, self._get_attribute(self._SDM_ATT_MAP["EnableTraceroute"]) ) + @property + def ExecutionMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Traceroute execution mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExecutionMode"])) + @property def GSRv6SIDEncodingSubTlvType(self): # type: () -> 'Multivalue' @@ -625,7 +638,7 @@ def MaxTtl(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Max TTL + - obj(ixnetwork_restpy.multivalue.Multivalue): The TTL value used in the probes will start from 1 and incremented up to this value. """ from ixnetwork_restpy.multivalue import Multivalue @@ -846,7 +859,7 @@ def ProbeInterval(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Probe Interval + - obj(ixnetwork_restpy.multivalue.Multivalue): Time interval in milliseconds between each probe per hop. """ from ixnetwork_restpy.multivalue import Multivalue @@ -870,7 +883,7 @@ def QueryCount(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Query Count + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum number of paths that can be discovered. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1144,7 +1157,7 @@ def WaitTime(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Wait Time(msec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Time in milliseconds to wait for a response. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1250,6 +1263,7 @@ def get_device_ids( EnLenthForPolicyNLRI=None, EnableAdVplsPrefixLength=None, EnableTraceroute=None, + ExecutionMode=None, GSRv6SIDEncodingSubTlvType=None, HighScaleRouteMode=None, IBgpTester4BytesAsNumber=None, @@ -1326,6 +1340,7 @@ def get_device_ids( - EnLenthForPolicyNLRI (str): optional regex of enLenthForPolicyNLRI - EnableAdVplsPrefixLength (str): optional regex of enableAdVplsPrefixLength - EnableTraceroute (str): optional regex of enableTraceroute + - ExecutionMode (str): optional regex of executionMode - GSRv6SIDEncodingSubTlvType (str): optional regex of gSRv6SIDEncodingSubTlvType - HighScaleRouteMode (str): optional regex of highScaleRouteMode - IBgpTester4BytesAsNumber (str): optional regex of iBgpTester4BytesAsNumber diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_10d3ebb1f176536ccbf2a6c27585cb8b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_0022a5422a7b5d939bb7a351340e1963.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_10d3ebb1f176536ccbf2a6c27585cb8b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_0022a5422a7b5d939bb7a351340e1963.py index d9ca83ab6..dad8fd888 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_10d3ebb1f176536ccbf2a6c27585cb8b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dotonex/dotonex_0022a5422a7b5d939bb7a351340e1963.py @@ -45,6 +45,7 @@ class DotOneX(Base): "Department": "department", "DescriptiveName": "descriptiveName", "DisableLogoff": "disableLogoff", + "DupResponse": "dupResponse", "DutTestMode": "dutTestMode", "FragmentSize": "fragmentSize", "GetCACertOnly": "getCACertOnly", @@ -190,6 +191,18 @@ def DisableLogoff(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["DisableLogoff"])) + @property + def DupResponse(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Respond to Duplicates when enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["DupResponse"])) + @property def DutTestMode(self): # type: () -> 'Multivalue' @@ -498,6 +511,7 @@ def get_device_ids( Country=None, Department=None, DisableLogoff=None, + DupResponse=None, DutTestMode=None, FragmentSize=None, GetCACertOnly=None, @@ -531,6 +545,7 @@ def get_device_ids( - Country (str): optional regex of country - Department (str): optional regex of department - DisableLogoff (str): optional regex of disableLogoff + - DupResponse (str): optional regex of dupResponse - DutTestMode (str): optional regex of dutTestMode - FragmentSize (str): optional regex of fragmentSize - GetCACertOnly (str): optional regex of getCACertOnly diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/roce6v2/roce6v2_1f0d964e44e29ac4b8d42031768a3a1f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/roce6v2/roce6v2_1f0d964e44e29ac4b8d42031768a3a1f.py deleted file mode 100644 index 135cd089e..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/roce6v2/roce6v2_1f0d964e44e29ac4b8d42031768a3a1f.py +++ /dev/null @@ -1,355 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Roce6v2(Base): - """RoCEv2 Port Specific Data - The Roce6v2 class encapsulates a required roce6v2 resource which will be retrieved from the server every time the property is accessed. - """ - - __slots__ = () - _SDM_NAME = "roce6v2" - _SDM_ATT_MAP = { - "AckPriorityType": "ackPriorityType", - "AckPriorityValue": "ackPriorityValue", - "CnpDelayTimer": "cnpDelayTimer", - "CnpPriorityType": "cnpPriorityType", - "CnpPriorityValue": "cnpPriorityValue", - "Count": "count", - "DescriptiveName": "descriptiveName", - "NakPriorityType": "nakPriorityType", - "NakPriorityValue": "nakPriorityValue", - "Name": "name", - "RoceDGCount": "roceDGCount", - "RowNames": "rowNames", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(Roce6v2, self).__init__(parent, list_op) - - @property - def StartRate(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.startrate.startrate_2bc83a4fb9730935e8259bdb40af2dc0.StartRate): An instance of the StartRate class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.startrate.startrate_2bc83a4fb9730935e8259bdb40af2dc0 import ( - StartRate, - ) - - if len(self._object_properties) > 0: - if self._properties.get("StartRate", None) is not None: - return self._properties.get("StartRate") - return StartRate(self)._select() - - @property - def StopRate(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.stoprate.stoprate_4ea9a1b38960d2b21012777131469a04.StopRate): An instance of the StopRate class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.stoprate.stoprate_4ea9a1b38960d2b21012777131469a04 import ( - StopRate, - ) - - if len(self._object_properties) > 0: - if self._properties.get("StopRate", None) is not None: - return self._properties.get("StopRate") - return StopRate(self)._select() - - @property - def AckPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating ACK packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AckPriorityType"]) - ) - - @property - def AckPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AckPriorityValue"]) - ) - - @property - def CnpDelayTimer(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Amount of time to wait between the generation of successive CNP packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["CnpDelayTimer"])) - - @property - def CnpPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating CNP packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["CnpPriorityType"]) - ) - - @property - def CnpPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["CnpPriorityValue"]) - ) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def NakPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating NAK packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["NakPriorityType"]) - ) - - @property - def NakPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["NakPriorityValue"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def RoceDGCount(self): - # type: () -> int - """ - Returns - ------- - - number: RoCE DG Count - """ - return self._get_attribute(self._SDM_ATT_MAP["RoceDGCount"]) - - @RoceDGCount.setter - def RoceDGCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["RoceDGCount"], value) - - @property - def RowNames(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Name of rows - """ - return self._get_attribute(self._SDM_ATT_MAP["RowNames"]) - - def update(self, Name=None, RoceDGCount=None): - # type: (str, int) -> Roce6v2 - """Updates roce6v2 resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - RoceDGCount (number): RoCE DG Count - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find( - self, - Count=None, - DescriptiveName=None, - Name=None, - RoceDGCount=None, - RowNames=None, - ): - # type: (int, str, str, int, List[str]) -> Roce6v2 - """Finds and retrieves roce6v2 resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roce6v2 resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roce6v2 resources from the server. - - Args - ---- - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - RoceDGCount (number): RoCE DG Count - - RowNames (list(str)): Name of rows - - Returns - ------- - - self: This instance with matching roce6v2 resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roce6v2 data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roce6v2 resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def get_device_ids( - self, - PortNames=None, - AckPriorityType=None, - AckPriorityValue=None, - CnpDelayTimer=None, - CnpPriorityType=None, - CnpPriorityValue=None, - NakPriorityType=None, - NakPriorityValue=None, - ): - """Base class infrastructure that gets a list of roce6v2 device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - AckPriorityType (str): optional regex of ackPriorityType - - AckPriorityValue (str): optional regex of ackPriorityValue - - CnpDelayTimer (str): optional regex of cnpDelayTimer - - CnpPriorityType (str): optional regex of cnpPriorityType - - CnpPriorityValue (str): optional regex of cnpPriorityValue - - NakPriorityType (str): optional regex of nakPriorityType - - NakPriorityValue (str): optional regex of nakPriorityValue - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/rocev2/rocev2_77b55a28da7555226186aa9a6784efa2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/rocev2/rocev2_77b55a28da7555226186aa9a6784efa2.py deleted file mode 100644 index 2eb07c53f..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/rocev2/rocev2_77b55a28da7555226186aa9a6784efa2.py +++ /dev/null @@ -1,355 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Rocev2(Base): - """RoCEv2 Port Specific Data - The Rocev2 class encapsulates a required rocev2 resource which will be retrieved from the server every time the property is accessed. - """ - - __slots__ = () - _SDM_NAME = "rocev2" - _SDM_ATT_MAP = { - "AckPriorityType": "ackPriorityType", - "AckPriorityValue": "ackPriorityValue", - "CnpDelayTimer": "cnpDelayTimer", - "CnpPriorityType": "cnpPriorityType", - "CnpPriorityValue": "cnpPriorityValue", - "Count": "count", - "DescriptiveName": "descriptiveName", - "NakPriorityType": "nakPriorityType", - "NakPriorityValue": "nakPriorityValue", - "Name": "name", - "RoceDGCount": "roceDGCount", - "RowNames": "rowNames", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(Rocev2, self).__init__(parent, list_op) - - @property - def StartRate(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.startrate.startrate_2bc83a4fb9730935e8259bdb40af2dc0.StartRate): An instance of the StartRate class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.startrate.startrate_2bc83a4fb9730935e8259bdb40af2dc0 import ( - StartRate, - ) - - if len(self._object_properties) > 0: - if self._properties.get("StartRate", None) is not None: - return self._properties.get("StartRate") - return StartRate(self)._select() - - @property - def StopRate(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.stoprate.stoprate_4ea9a1b38960d2b21012777131469a04.StopRate): An instance of the StopRate class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ethernet.stoprate.stoprate_4ea9a1b38960d2b21012777131469a04 import ( - StopRate, - ) - - if len(self._object_properties) > 0: - if self._properties.get("StopRate", None) is not None: - return self._properties.get("StopRate") - return StopRate(self)._select() - - @property - def AckPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating ACK packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AckPriorityType"]) - ) - - @property - def AckPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AckPriorityValue"]) - ) - - @property - def CnpDelayTimer(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Amount of time to wait between the generation of successive CNP packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["CnpDelayTimer"])) - - @property - def CnpPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating CNP packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["CnpPriorityType"]) - ) - - @property - def CnpPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["CnpPriorityValue"]) - ) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def NakPriorityType(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority type to be used for generating NAK packets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["NakPriorityType"]) - ) - - @property - def NakPriorityValue(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Priority Value for the given priority type. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["NakPriorityValue"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def RoceDGCount(self): - # type: () -> int - """ - Returns - ------- - - number: RoCE DG Count - """ - return self._get_attribute(self._SDM_ATT_MAP["RoceDGCount"]) - - @RoceDGCount.setter - def RoceDGCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["RoceDGCount"], value) - - @property - def RowNames(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Name of rows - """ - return self._get_attribute(self._SDM_ATT_MAP["RowNames"]) - - def update(self, Name=None, RoceDGCount=None): - # type: (str, int) -> Rocev2 - """Updates rocev2 resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - RoceDGCount (number): RoCE DG Count - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find( - self, - Count=None, - DescriptiveName=None, - Name=None, - RoceDGCount=None, - RowNames=None, - ): - # type: (int, str, str, int, List[str]) -> Rocev2 - """Finds and retrieves rocev2 resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve rocev2 resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all rocev2 resources from the server. - - Args - ---- - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - RoceDGCount (number): RoCE DG Count - - RowNames (list(str)): Name of rows - - Returns - ------- - - self: This instance with matching rocev2 resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of rocev2 data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the rocev2 resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def get_device_ids( - self, - PortNames=None, - AckPriorityType=None, - AckPriorityValue=None, - CnpDelayTimer=None, - CnpPriorityType=None, - CnpPriorityValue=None, - NakPriorityType=None, - NakPriorityValue=None, - ): - """Base class infrastructure that gets a list of rocev2 device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - AckPriorityType (str): optional regex of ackPriorityType - - AckPriorityValue (str): optional regex of ackPriorityValue - - CnpDelayTimer (str): optional regex of cnpDelayTimer - - CnpPriorityType (str): optional regex of cnpPriorityType - - CnpPriorityValue (str): optional regex of cnpPriorityValue - - NakPriorityType (str): optional regex of nakPriorityType - - NakPriorityValue (str): optional regex of nakPriorityValue - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py index 665bb6708..abb353aaa 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py @@ -105,13 +105,13 @@ def BgpIpv4Peer(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_55dbd04b8eece05365779cb1ad7445b1.BgpIpv4Peer): An instance of the BgpIpv4Peer class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_df91734757c6c41add55223a2e168060.BgpIpv4Peer): An instance of the BgpIpv4Peer class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_55dbd04b8eece05365779cb1ad7445b1 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_df91734757c6c41add55223a2e168060 import ( BgpIpv4Peer, ) @@ -125,13 +125,13 @@ def BgpIpv6Peer(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_e8e18076800a69bc4dec7b793af29c5c.BgpIpv6Peer): An instance of the BgpIpv6Peer class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_72282fe6d1d67beba231ba2980997352.BgpIpv6Peer): An instance of the BgpIpv6Peer class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_e8e18076800a69bc4dec7b793af29c5c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_72282fe6d1d67beba231ba2980997352 import ( BgpIpv6Peer, ) @@ -345,13 +345,13 @@ def DotOneX(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.dotonex.dotonex_10d3ebb1f176536ccbf2a6c27585cb8b.DotOneX): An instance of the DotOneX class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.dotonex.dotonex_0022a5422a7b5d939bb7a351340e1963.DotOneX): An instance of the DotOneX class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.dotonex.dotonex_10d3ebb1f176536ccbf2a6c27585cb8b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.dotonex.dotonex_0022a5422a7b5d939bb7a351340e1963 import ( DotOneX, ) @@ -1400,46 +1400,6 @@ def Ptprobeinstancesrv6(self): return self._properties.get("Ptprobeinstancesrv6") return Ptprobeinstancesrv6(self)._select() - @property - def Roce6v2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.roce6v2.roce6v2_1f0d964e44e29ac4b8d42031768a3a1f.Roce6v2): An instance of the Roce6v2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.roce6v2.roce6v2_1f0d964e44e29ac4b8d42031768a3a1f import ( - Roce6v2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Roce6v2", None) is not None: - return self._properties.get("Roce6v2") - return Roce6v2(self)._select() - - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.rocev2.rocev2_77b55a28da7555226186aa9a6784efa2.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.rocev2.rocev2_77b55a28da7555226186aa9a6784efa2 import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self)._select() - @property def RsvpteIf(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py index b12a80801..2e748b9a5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py @@ -97,13 +97,10 @@ class Ports(Base): "novus5GOneByHundredGigNonFanOut", "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", - "starTwoByFourHundredGigFannedOutPAM4RoCEv2", "starFourByTwoHundredGigFannedOutPAM4", - "starFourByTwoHundredGigFannedOutPAM4RoCEv2", "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", "starEightByHundredGigFannedOutPAM4RoCEv2", - "starFourByHundredGigFannedOutNRZRoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -127,11 +124,11 @@ class Ports(Base): "aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4", - "sertHundredGig", - "sertFiftyGig", - "sertFourtyGig", - "sertTwentyFiveGig", - "sertTenGig", + "rangerHundredGig", + "rangerFiftyGig", + "rangerFourtyGig", + "rangerTwentyFiveGig", + "rangerTenGig", "aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", @@ -150,13 +147,6 @@ class Ports(Base): "aresOne-M-TwoByFortyGigNRZ-10G", "aresOne-M-EightByTwentyFiveGigNRZ-26G", "aresOne-M-EightByTenGigNRZ-10G", - "aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2", - "aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2", - "aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2", - "aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2", - "aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2", - "aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2", "notApplicable", ], } @@ -280,7 +270,7 @@ def ResourceMode(self): """ Returns ------- - - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2 | notApplicable): Gets the current port resource group mode. + - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | notApplicable): Gets the current port resource group mode. """ return self._get_attribute(self._SDM_ATT_MAP["ResourceMode"]) @@ -332,7 +322,7 @@ def find( - PeerSystemIp (str): The IP address of the discovered peer system. - PeerSystemMac (str): The MAC address of the discovered peer system. - PeerSystemName (str): The system name of the discovered peer. - - ResourceMode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2 | notApplicable)): Gets the current port resource group mode. + - ResourceMode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | notApplicable)): Gets the current port resource group mode. Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py index 048634697..c8a233693 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py @@ -51,7 +51,7 @@ def AvailableResourceModes(self): """ Returns ------- - - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2]): Gets the supported resource group modes. + - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported resource group modes. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableResourceModes"]) @@ -98,7 +98,7 @@ def find(self, AvailableResourceModes=None, Card=None, FrontPanelPorts=None): Args ---- - - AvailableResourceModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starTwoByFourHundredGigFannedOutPAM4RoCEv2 | starFourByTwoHundredGigFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4RoCEv2 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZRoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | sertHundredGig | sertFiftyGig | sertFourtyGig | sertTwentyFiveGig | sertTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | aresOne-M-TwoByFourHundredGigPAM4-106G-RoCEv2 | aresOne-M-FourByTwoHundredGigPAM4-106G-RoCEv2 | aresOne-M-EightByOneHundredGigPAM4-106G-RoCEv2 | aresOne-M-OneByFourHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByTwoHundredGigPAM4-53G-RoCEv2 | aresOne-M-FourByOneHundredGigPAM4-53G-RoCEv2 | aresOne-M-TwoByOneHundredGigNRZ-26G-RoCEv2])): Gets the supported resource group modes. + - AvailableResourceModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported resource group modes. - Card (str): Card id - FrontPanelPorts (list(number)): Gets the device front panel port ids. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.py similarity index 94% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.py index a6d5bd7ec..7f41935ef 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.py @@ -98,6 +98,9 @@ class BgpIPRouteProperty(Base): "MinASNumPerSegment": "minASNumPerSegment", "MinNoOfASPathSegmentsPerRouteRange": "minNoOfASPathSegmentsPerRouteRange", "MultiExitDiscriminator": "multiExitDiscriminator", + "MvNextHopCount": "mvNextHopCount", + "MvNextHopStepIpv4": "mvNextHopStepIpv4", + "MvNextHopStepIpv6": "mvNextHopStepIpv6", "Name": "name", "NextHopIPType": "nextHopIPType", "NextHopIncrementMode": "nextHopIncrementMode", @@ -105,6 +108,7 @@ class BgpIPRouteProperty(Base): "NoOfASPathSegmentsPerRouteRange": "noOfASPathSegmentsPerRouteRange", "NoOfClusters": "noOfClusters", "NoOfCommunities": "noOfCommunities", + "NoOfCustomAttributes": "noOfCustomAttributes", "NoOfExternalCommunities": "noOfExternalCommunities", "NoOfLabels": "noOfLabels", "NoOfLargeCommunities": "noOfLargeCommunities", @@ -121,6 +125,7 @@ class BgpIPRouteProperty(Base): "SkipMulticast": "skipMulticast", "SpecialLabel": "specialLabel", "SrcHostCountPerPrefix": "srcHostCountPerPrefix", + "TracerouteIdentifier": "tracerouteIdentifier", "Uptime": "uptime", "UseTraditionalNlri": "useTraditionalNlri", "Weight": "weight", @@ -270,6 +275,26 @@ def BgpExtendedCommunitiesList(self): return self._properties.get("BgpExtendedCommunitiesList") return BgpExtendedCommunitiesList(self) + @property + def BgpNonVPNRRCustomAttributes(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.BgpNonVPNRRCustomAttributes): An instance of the BgpNonVPNRRCustomAttributes class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839 import ( + BgpNonVPNRRCustomAttributes, + ) + + if len(self._object_properties) > 0: + if self._properties.get("BgpNonVPNRRCustomAttributes", None) is not None: + return self._properties.get("BgpNonVPNRRCustomAttributes") + return BgpNonVPNRRCustomAttributes(self)._select() + @property def BgpNonVPNRRLargeCommunitiesList(self): """ @@ -689,7 +714,7 @@ def DestinationPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv4 Destination Prefix. + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -703,7 +728,7 @@ def DestinationPrefixIpv6(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Destination Prefix + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -729,7 +754,7 @@ def DstAddrCnt(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Prefix Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of destination prefixes. """ from ixnetwork_restpy.multivalue import Multivalue @@ -741,7 +766,7 @@ def DstHostCountPerPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Hosts Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of hosts present in each of the destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -755,7 +780,7 @@ def DstPrefixLen(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Prefix Length + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 destination prefix length. """ from ixnetwork_restpy.multivalue import Multivalue @@ -767,7 +792,7 @@ def DstPrefixLenIpv6(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Destination Prefix Length + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 destination prefix length. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1164,7 +1189,7 @@ def Meshing(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Meshing + - obj(ixnetwork_restpy.multivalue.Multivalue): The type of meshing between the source and the destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1215,6 +1240,48 @@ def MultiExitDiscriminator(self): self, self._get_attribute(self._SDM_ATT_MAP["MultiExitDiscriminator"]) ) + @property + def MvNextHopCount(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes number of Next Hops after which Next Hop address will repeat. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopCount"]) + ) + + @property + def MvNextHopStepIpv4(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv4 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv4"]) + ) + + @property + def MvNextHopStepIpv6(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv6 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv6"]) + ) + @property def Name(self): # type: () -> str @@ -1313,6 +1380,21 @@ def NoOfCommunities(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NoOfCommunities"], value) + @property + def NoOfCustomAttributes(self): + # type: () -> int + """ + Returns + ------- + - number: Number of BGP Custom Attributes + """ + return self._get_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"]) + + @NoOfCustomAttributes.setter + def NoOfCustomAttributes(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"], value) + @property def NoOfExternalCommunities(self): # type: () -> int @@ -1516,7 +1598,7 @@ def SrcHostCountPerPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Hosts Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of hosts present in each of the source prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1524,6 +1606,20 @@ def SrcHostCountPerPrefix(self): self, self._get_attribute(self._SDM_ATT_MAP["SrcHostCountPerPrefix"]) ) + @property + def TracerouteIdentifier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Identifer for the route range on which traceroute was initiated. Supports upto 127 bytes. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TracerouteIdentifier"]) + ) + @property def Uptime(self): # type: () -> 'Multivalue' @@ -1572,13 +1668,14 @@ def update( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty + # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty """Updates bgpIPRouteProperty resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -1594,6 +1691,7 @@ def update( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -1616,13 +1714,14 @@ def add( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty + # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty """Adds a new bgpIPRouteProperty resource on the server and adds it to the container. Args @@ -1635,6 +1734,7 @@ def add( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -1674,13 +1774,14 @@ def find( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, List[str], int, str, str, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty + # type: (bool, bool, bool, bool, List[str], int, str, str, int, int, int, int, int, int, int, int, int) -> BgpIPRouteProperty """Finds and retrieves bgpIPRouteProperty resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve bgpIPRouteProperty resources from the server. @@ -1700,6 +1801,7 @@ def find( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -2187,6 +2289,9 @@ def get_device_ids( MinASNumPerSegment=None, MinNoOfASPathSegmentsPerRouteRange=None, MultiExitDiscriminator=None, + MvNextHopCount=None, + MvNextHopStepIpv4=None, + MvNextHopStepIpv6=None, NextHopIPType=None, NextHopIncrementMode=None, NextHopType=None, @@ -2201,6 +2306,7 @@ def get_device_ids( SkipMulticast=None, SpecialLabel=None, SrcHostCountPerPrefix=None, + TracerouteIdentifier=None, Uptime=None, UseTraditionalNlri=None, Weight=None, @@ -2266,6 +2372,9 @@ def get_device_ids( - MinASNumPerSegment (str): optional regex of minASNumPerSegment - MinNoOfASPathSegmentsPerRouteRange (str): optional regex of minNoOfASPathSegmentsPerRouteRange - MultiExitDiscriminator (str): optional regex of multiExitDiscriminator + - MvNextHopCount (str): optional regex of mvNextHopCount + - MvNextHopStepIpv4 (str): optional regex of mvNextHopStepIpv4 + - MvNextHopStepIpv6 (str): optional regex of mvNextHopStepIpv6 - NextHopIPType (str): optional regex of nextHopIPType - NextHopIncrementMode (str): optional regex of nextHopIncrementMode - NextHopType (str): optional regex of nextHopType @@ -2280,6 +2389,7 @@ def get_device_ids( - SkipMulticast (str): optional regex of skipMulticast - SpecialLabel (str): optional regex of specialLabel - SrcHostCountPerPrefix (str): optional regex of srcHostCountPerPrefix + - TracerouteIdentifier (str): optional regex of tracerouteIdentifier - Uptime (str): optional regex of uptime - UseTraditionalNlri (str): optional regex of useTraditionalNlri - Weight (str): optional regex of weight diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.py index 698db4cd2..582afa247 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.py @@ -94,6 +94,9 @@ class BgpL3VpnRouteProperty(Base): "MinASNumPerSegment": "minASNumPerSegment", "MinNoOfASPathSegmentsPerRouteRange": "minNoOfASPathSegmentsPerRouteRange", "MultiExitDiscriminator": "multiExitDiscriminator", + "MvNextHopCount": "mvNextHopCount", + "MvNextHopStepIpv4": "mvNextHopStepIpv4", + "MvNextHopStepIpv6": "mvNextHopStepIpv6", "Name": "name", "NextHopIPType": "nextHopIPType", "NextHopIncrementMode": "nextHopIncrementMode", @@ -101,6 +104,7 @@ class BgpL3VpnRouteProperty(Base): "NoOfASPathSegmentsPerRouteRange": "noOfASPathSegmentsPerRouteRange", "NoOfClusters": "noOfClusters", "NoOfCommunities": "noOfCommunities", + "NoOfCustomAttributes": "noOfCustomAttributes", "NoOfExternalCommunities": "noOfExternalCommunities", "NoOfLargeCommunities": "noOfLargeCommunities", "Origin": "origin", @@ -199,6 +203,26 @@ def BgpExtendedCommunitiesList(self): return self._properties.get("BgpExtendedCommunitiesList") return BgpExtendedCommunitiesList(self) + @property + def BgpNonVPNRRCustomAttributes(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.BgpNonVPNRRCustomAttributes): An instance of the BgpNonVPNRRCustomAttributes class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839 import ( + BgpNonVPNRRCustomAttributes, + ) + + if len(self._object_properties) > 0: + if self._properties.get("BgpNonVPNRRCustomAttributes", None) is not None: + return self._properties.get("BgpNonVPNRRCustomAttributes") + return BgpNonVPNRRCustomAttributes(self)._select() + @property def BgpNonVPNRRLargeCommunitiesList(self): """ @@ -1034,6 +1058,48 @@ def MultiExitDiscriminator(self): self, self._get_attribute(self._SDM_ATT_MAP["MultiExitDiscriminator"]) ) + @property + def MvNextHopCount(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes number of Next Hops after which Next Hop address will repeat. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopCount"]) + ) + + @property + def MvNextHopStepIpv4(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv4 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv4"]) + ) + + @property + def MvNextHopStepIpv6(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv6 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv6"]) + ) + @property def Name(self): # type: () -> str @@ -1132,6 +1198,21 @@ def NoOfCommunities(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NoOfCommunities"], value) + @property + def NoOfCustomAttributes(self): + # type: () -> int + """ + Returns + ------- + - number: Number of BGP Custom Attributes + """ + return self._get_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"]) + + @NoOfCustomAttributes.setter + def NoOfCustomAttributes(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"], value) + @property def NoOfExternalCommunities(self): # type: () -> int @@ -1297,11 +1378,12 @@ def update( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv4UmhRoutes=None, ): - # type: (bool, bool, str, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty + # type: (bool, bool, str, int, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty """Updates bgpL3VpnRouteProperty resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -1315,6 +1397,7 @@ def update( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv4UmhRoutes (bool): Use As IPv4 UMH Routes @@ -1333,11 +1416,12 @@ def add( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv4UmhRoutes=None, ): - # type: (bool, bool, str, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty + # type: (bool, bool, str, int, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty """Adds a new bgpL3VpnRouteProperty resource on the server and adds it to the container. Args @@ -1348,6 +1432,7 @@ def add( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv4UmhRoutes (bool): Use As IPv4 UMH Routes @@ -1383,11 +1468,12 @@ def find( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv4UmhRoutes=None, ): - # type: (List[str], int, str, bool, bool, str, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty + # type: (List[str], int, str, bool, bool, str, int, int, int, int, int, int, bool) -> BgpL3VpnRouteProperty """Finds and retrieves bgpL3VpnRouteProperty resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve bgpL3VpnRouteProperty resources from the server. @@ -1405,6 +1491,7 @@ def find( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv4UmhRoutes (bool): Use As IPv4 UMH Routes @@ -1869,6 +1956,9 @@ def get_device_ids( MinASNumPerSegment=None, MinNoOfASPathSegmentsPerRouteRange=None, MultiExitDiscriminator=None, + MvNextHopCount=None, + MvNextHopStepIpv4=None, + MvNextHopStepIpv6=None, NextHopIPType=None, NextHopIncrementMode=None, NextHopType=None, @@ -1941,6 +2031,9 @@ def get_device_ids( - MinASNumPerSegment (str): optional regex of minASNumPerSegment - MinNoOfASPathSegmentsPerRouteRange (str): optional regex of minNoOfASPathSegmentsPerRouteRange - MultiExitDiscriminator (str): optional regex of multiExitDiscriminator + - MvNextHopCount (str): optional regex of mvNextHopCount + - MvNextHopStepIpv4 (str): optional regex of mvNextHopStepIpv4 + - MvNextHopStepIpv6 (str): optional regex of mvNextHopStepIpv6 - NextHopIPType (str): optional regex of nextHopIPType - NextHopIncrementMode (str): optional regex of nextHopIncrementMode - NextHopType (str): optional regex of nextHopType diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.py similarity index 54% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.py index 0607fe184..d5ce74c8c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.py @@ -27,38 +27,34 @@ from typing import List, Any, Union -class OspfTrafficEngineeringProfileList(Base): - """OSPF Traffic Engineering Profiles - The OspfTrafficEngineeringProfileList class encapsulates a required ospfTrafficEngineeringProfileList resource which will be retrieved from the server every time the property is accessed. +class BgpNonVPNRRCustomAttributes(Base): + """BGP Custom Attributes + The BgpNonVPNRRCustomAttributes class encapsulates a required bgpNonVPNRRCustomAttributes resource which will be retrieved from the server every time the property is accessed. """ __slots__ = () - _SDM_NAME = "ospfTrafficEngineeringProfileList" + _SDM_NAME = "bgpNonVPNRRCustomAttributes" _SDM_ATT_MAP = { "Active": "active", - "AdministratorGroup": "administratorGroup", - "AdvertiseExtAdminGroup": "advertiseExtAdminGroup", - "BandwidthPriority0": "bandwidthPriority0", - "BandwidthPriority1": "bandwidthPriority1", - "BandwidthPriority2": "bandwidthPriority2", - "BandwidthPriority3": "bandwidthPriority3", - "BandwidthPriority4": "bandwidthPriority4", - "BandwidthPriority5": "bandwidthPriority5", - "BandwidthPriority6": "bandwidthPriority6", - "BandwidthPriority7": "bandwidthPriority7", + "AttributeValue": "attributeValue", + "AttributeValueLength": "attributeValueLength", "Count": "count", "DescriptiveName": "descriptiveName", - "ExtAdminGroup": "extAdminGroup", - "ExtAdminGroupLength": "extAdminGroupLength", - "MaxBandwidth": "maxBandwidth", - "MaxReservableBandwidth": "maxReservableBandwidth", - "MetricLevel": "metricLevel", + "EnableExtendedLength": "enableExtendedLength", + "EnableOverrideExistingAttribute": "enableOverrideExistingAttribute", "Name": "name", + "OptionalFlagType": "optionalFlagType", + "OverrideAttributeValueLength": "overrideAttributeValueLength", + "PartialFlagType": "partialFlagType", + "ReservedFlagValue": "reservedFlagValue", + "TransitiveFlagType": "transitiveFlagType", + "TypeSelect": "typeSelect", + "TypeValue": "typeValue", } _SDM_ENUM_MAP = {} def __init__(self, parent, list_op=False): - super(OspfTrafficEngineeringProfileList, self).__init__(parent, list_op) + super(BgpNonVPNRRCustomAttributes, self).__init__(parent, list_op) @property def Active(self): @@ -73,247 +69,194 @@ def Active(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) @property - def AdministratorGroup(self): + def AttributeValue(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Administrator Group + - obj(ixnetwork_restpy.multivalue.Multivalue): Path Attribute Value """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroup"]) + self, self._get_attribute(self._SDM_ATT_MAP["AttributeValue"]) ) @property - def AdvertiseExtAdminGroup(self): + def AttributeValueLength(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Ext Admin Group + - obj(ixnetwork_restpy.multivalue.Multivalue): Path Attribute Length """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseExtAdminGroup"]) + self, self._get_attribute(self._SDM_ATT_MAP["AttributeValueLength"]) ) @property - def BandwidthPriority0(self): - # type: () -> 'Multivalue' + def Count(self): + # type: () -> int """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 0 (B/sec) + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0"]) - ) + return self._get_attribute(self._SDM_ATT_MAP["Count"]) @property - def BandwidthPriority1(self): - # type: () -> 'Multivalue' + def DescriptiveName(self): + # type: () -> str """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 1 (B/sec) + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1"]) - ) + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) @property - def BandwidthPriority2(self): + def EnableExtendedLength(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 2 (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Option to select Extended Flag Type. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2"]) + self, self._get_attribute(self._SDM_ATT_MAP["EnableExtendedLength"]) ) @property - def BandwidthPriority3(self): + def EnableOverrideExistingAttribute(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 3 (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Override Existing Path Attribute with the current one """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3"]) + self, + self._get_attribute(self._SDM_ATT_MAP["EnableOverrideExistingAttribute"]), ) @property - def BandwidthPriority4(self): - # type: () -> 'Multivalue' + def Name(self): + # type: () -> str """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 4 (B/sec) + - str: Name of NGPF element, guaranteed to be unique in Scenario """ - from ixnetwork_restpy.multivalue import Multivalue + return self._get_attribute(self._SDM_ATT_MAP["Name"]) - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4"]) - ) + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) @property - def BandwidthPriority5(self): + def OptionalFlagType(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 5 (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Option to select Optional Flag Type. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority5"]) + self, self._get_attribute(self._SDM_ATT_MAP["OptionalFlagType"]) ) @property - def BandwidthPriority6(self): + def OverrideAttributeValueLength(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 6 (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Override Path Attribute Length """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6"]) + self, self._get_attribute(self._SDM_ATT_MAP["OverrideAttributeValueLength"]) ) @property - def BandwidthPriority7(self): + def PartialFlagType(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 7 (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Option to select Partial Flag Type. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7"]) + self, self._get_attribute(self._SDM_ATT_MAP["PartialFlagType"]) ) @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def ExtAdminGroup(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Ext Admin Group - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroup"])) - - @property - def ExtAdminGroupLength(self): + def ReservedFlagValue(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Ext Admin Group Length + - obj(ixnetwork_restpy.multivalue.Multivalue): Reserved Flag Value """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroupLength"]) + self, self._get_attribute(self._SDM_ATT_MAP["ReservedFlagValue"]) ) @property - def MaxBandwidth(self): + def TransitiveFlagType(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Bandwidth (B/sec) - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidth"])) - - @property - def MaxReservableBandwidth(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Reservable Bandwidth (B/sec) + - obj(ixnetwork_restpy.multivalue.Multivalue): Option to select Transitive Flag Type. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidth"]) + self, self._get_attribute(self._SDM_ATT_MAP["TransitiveFlagType"]) ) @property - def MetricLevel(self): + def TypeSelect(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): TE Metric Level + - obj(ixnetwork_restpy.multivalue.Multivalue): Attribute Type Selector """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevel"])) + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TypeSelect"])) @property - def Name(self): - # type: () -> str + def TypeValue(self): + # type: () -> 'Multivalue' """ Returns ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario + - obj(ixnetwork_restpy.multivalue.Multivalue): Attribute Type Value """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) + from ixnetwork_restpy.multivalue import Multivalue - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TypeValue"])) def update(self, Name=None): - # type: (str) -> OspfTrafficEngineeringProfileList - """Updates ospfTrafficEngineeringProfileList resource on the server. + # type: (str) -> BgpNonVPNRRCustomAttributes + """Updates bgpNonVPNRRCustomAttributes resource on the server. This method has some named parameters with a type: obj (Multivalue). The Multivalue class has documentation that details the possible values for those named parameters. @@ -329,12 +272,12 @@ def update(self, Name=None): return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> OspfTrafficEngineeringProfileList - """Finds and retrieves ospfTrafficEngineeringProfileList resources from the server. + # type: (int, str, str) -> BgpNonVPNRRCustomAttributes + """Finds and retrieves bgpNonVPNRRCustomAttributes resources from the server. - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ospfTrafficEngineeringProfileList resources from the server. + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve bgpNonVPNRRCustomAttributes resources from the server. To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all ospfTrafficEngineeringProfileList resources from the server. + By default the find method takes no parameters and will retrieve all bgpNonVPNRRCustomAttributes resources from the server. Args ---- @@ -344,7 +287,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): Returns ------- - - self: This instance with matching ospfTrafficEngineeringProfileList resources retrieved from the server available through an iterator or index + - self: This instance with matching bgpNonVPNRRCustomAttributes resources retrieved from the server available through an iterator or index Raises ------ @@ -353,7 +296,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) def read(self, href): - """Retrieves a single instance of ospfTrafficEngineeringProfileList data from the server. + """Retrieves a single instance of bgpNonVPNRRCustomAttributes data from the server. Args ---- @@ -361,7 +304,7 @@ def read(self, href): Returns ------- - - self: This instance with the ospfTrafficEngineeringProfileList resources from the server available through an iterator or index + - self: This instance with the bgpNonVPNRRCustomAttributes resources from the server available through an iterator or index Raises ------ @@ -395,23 +338,19 @@ def get_device_ids( self, PortNames=None, Active=None, - AdministratorGroup=None, - AdvertiseExtAdminGroup=None, - BandwidthPriority0=None, - BandwidthPriority1=None, - BandwidthPriority2=None, - BandwidthPriority3=None, - BandwidthPriority4=None, - BandwidthPriority5=None, - BandwidthPriority6=None, - BandwidthPriority7=None, - ExtAdminGroup=None, - ExtAdminGroupLength=None, - MaxBandwidth=None, - MaxReservableBandwidth=None, - MetricLevel=None, + AttributeValue=None, + AttributeValueLength=None, + EnableExtendedLength=None, + EnableOverrideExistingAttribute=None, + OptionalFlagType=None, + OverrideAttributeValueLength=None, + PartialFlagType=None, + ReservedFlagValue=None, + TransitiveFlagType=None, + TypeSelect=None, + TypeValue=None, ): - """Base class infrastructure that gets a list of ospfTrafficEngineeringProfileList device ids encapsulated by this object. + """Base class infrastructure that gets a list of bgpNonVPNRRCustomAttributes device ids encapsulated by this object. Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. @@ -419,21 +358,17 @@ def get_device_ids( ---- - PortNames (str): optional regex of port names - Active (str): optional regex of active - - AdministratorGroup (str): optional regex of administratorGroup - - AdvertiseExtAdminGroup (str): optional regex of advertiseExtAdminGroup - - BandwidthPriority0 (str): optional regex of bandwidthPriority0 - - BandwidthPriority1 (str): optional regex of bandwidthPriority1 - - BandwidthPriority2 (str): optional regex of bandwidthPriority2 - - BandwidthPriority3 (str): optional regex of bandwidthPriority3 - - BandwidthPriority4 (str): optional regex of bandwidthPriority4 - - BandwidthPriority5 (str): optional regex of bandwidthPriority5 - - BandwidthPriority6 (str): optional regex of bandwidthPriority6 - - BandwidthPriority7 (str): optional regex of bandwidthPriority7 - - ExtAdminGroup (str): optional regex of extAdminGroup - - ExtAdminGroupLength (str): optional regex of extAdminGroupLength - - MaxBandwidth (str): optional regex of maxBandwidth - - MaxReservableBandwidth (str): optional regex of maxReservableBandwidth - - MetricLevel (str): optional regex of metricLevel + - AttributeValue (str): optional regex of attributeValue + - AttributeValueLength (str): optional regex of attributeValueLength + - EnableExtendedLength (str): optional regex of enableExtendedLength + - EnableOverrideExistingAttribute (str): optional regex of enableOverrideExistingAttribute + - OptionalFlagType (str): optional regex of optionalFlagType + - OverrideAttributeValueLength (str): optional regex of overrideAttributeValueLength + - PartialFlagType (str): optional regex of partialFlagType + - ReservedFlagValue (str): optional regex of reservedFlagValue + - TransitiveFlagType (str): optional regex of transitiveFlagType + - TypeSelect (str): optional regex of typeSelect + - TypeValue (str): optional regex of typeValue Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.py index 682217810..47477404d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.py @@ -107,6 +107,9 @@ class BgpV6IPRouteProperty(Base): "MinASNumPerSegment": "minASNumPerSegment", "MinNoOfASPathSegmentsPerRouteRange": "minNoOfASPathSegmentsPerRouteRange", "MultiExitDiscriminator": "multiExitDiscriminator", + "MvNextHopCount": "mvNextHopCount", + "MvNextHopStepIpv4": "mvNextHopStepIpv4", + "MvNextHopStepIpv6": "mvNextHopStepIpv6", "Name": "name", "NextHopIPType": "nextHopIPType", "NextHopIncrementMode": "nextHopIncrementMode", @@ -114,6 +117,7 @@ class BgpV6IPRouteProperty(Base): "NoOfASPathSegmentsPerRouteRange": "noOfASPathSegmentsPerRouteRange", "NoOfClusters": "noOfClusters", "NoOfCommunities": "noOfCommunities", + "NoOfCustomAttributes": "noOfCustomAttributes", "NoOfExternalCommunities": "noOfExternalCommunities", "NoOfLabels": "noOfLabels", "NoOfLargeCommunities": "noOfLargeCommunities", @@ -140,6 +144,7 @@ class BgpV6IPRouteProperty(Base): "Srv6SidReserved1": "srv6SidReserved1", "Srv6SidReserved2": "srv6SidReserved2", "Srv6SidStep": "srv6SidStep", + "TracerouteIdentifier": "tracerouteIdentifier", "Uptime": "uptime", "UseTraditionalNlri": "useTraditionalNlri", "Weight": "weight", @@ -289,6 +294,26 @@ def BgpExtendedCommunitiesList(self): return self._properties.get("BgpExtendedCommunitiesList") return BgpExtendedCommunitiesList(self) + @property + def BgpNonVPNRRCustomAttributes(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.BgpNonVPNRRCustomAttributes): An instance of the BgpNonVPNRRCustomAttributes class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839 import ( + BgpNonVPNRRCustomAttributes, + ) + + if len(self._object_properties) > 0: + if self._properties.get("BgpNonVPNRRCustomAttributes", None) is not None: + return self._properties.get("BgpNonVPNRRCustomAttributes") + return BgpNonVPNRRCustomAttributes(self)._select() + @property def BgpNonVPNRRLargeCommunitiesList(self): """ @@ -736,7 +761,7 @@ def DestinationPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv4 Destination Prefix. + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -750,7 +775,7 @@ def DestinationPrefixIpv6(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Destination Prefix + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -776,7 +801,7 @@ def DstAddrCnt(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Prefix Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of destination prefixes. """ from ixnetwork_restpy.multivalue import Multivalue @@ -788,7 +813,7 @@ def DstHostCountPerPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Hosts Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of hosts present in each of the destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -802,7 +827,7 @@ def DstPrefixLen(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Prefix Length + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 destination prefix length. """ from ixnetwork_restpy.multivalue import Multivalue @@ -814,7 +839,7 @@ def DstPrefixLenIpv6(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Destination Prefix Length + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 destination prefix length. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1305,7 +1330,7 @@ def Meshing(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Meshing + - obj(ixnetwork_restpy.multivalue.Multivalue): The type of meshing between the source and the destination prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1356,6 +1381,48 @@ def MultiExitDiscriminator(self): self, self._get_attribute(self._SDM_ATT_MAP["MultiExitDiscriminator"]) ) + @property + def MvNextHopCount(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes number of Next Hops after which Next Hop address will repeat. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopCount"]) + ) + + @property + def MvNextHopStepIpv4(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv4 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv4"]) + ) + + @property + def MvNextHopStepIpv6(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv6 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv6"]) + ) + @property def Name(self): # type: () -> str @@ -1454,6 +1521,21 @@ def NoOfCommunities(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NoOfCommunities"], value) + @property + def NoOfCustomAttributes(self): + # type: () -> int + """ + Returns + ------- + - number: Number of BGP Custom Attributes + """ + return self._get_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"]) + + @NoOfCustomAttributes.setter + def NoOfCustomAttributes(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"], value) + @property def NoOfExternalCommunities(self): # type: () -> int @@ -1657,7 +1739,7 @@ def SrcHostCountPerPrefix(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Hosts Count + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of hosts present in each of the source prefix. """ from ixnetwork_restpy.multivalue import Multivalue @@ -1797,6 +1879,20 @@ def Srv6SidStep(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SidStep"])) + @property + def TracerouteIdentifier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Identifer for the route range on which traceroute was initiated. Supports upto 127 bytes. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TracerouteIdentifier"]) + ) + @property def Uptime(self): # type: () -> 'Multivalue' @@ -1845,13 +1941,14 @@ def update( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty + # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty """Updates bgpV6IPRouteProperty resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -1867,6 +1964,7 @@ def update( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -1889,13 +1987,14 @@ def add( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty + # type: (bool, bool, bool, bool, str, int, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty """Adds a new bgpV6IPRouteProperty resource on the server and adds it to the container. Args @@ -1908,6 +2007,7 @@ def add( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -1947,13 +2047,14 @@ def find( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLabels=None, NoOfLargeCommunities=None, NoOfSegmentIds=None, NoOfTlvs=None, ): - # type: (bool, bool, bool, bool, List[str], int, str, str, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty + # type: (bool, bool, bool, bool, List[str], int, str, str, int, int, int, int, int, int, int, int, int) -> BgpV6IPRouteProperty """Finds and retrieves bgpV6IPRouteProperty resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve bgpV6IPRouteProperty resources from the server. @@ -1973,6 +2074,7 @@ def find( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLabels (number): Number of Labels - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) @@ -2469,6 +2571,9 @@ def get_device_ids( MinASNumPerSegment=None, MinNoOfASPathSegmentsPerRouteRange=None, MultiExitDiscriminator=None, + MvNextHopCount=None, + MvNextHopStepIpv4=None, + MvNextHopStepIpv6=None, NextHopIPType=None, NextHopIncrementMode=None, NextHopType=None, @@ -2493,6 +2598,7 @@ def get_device_ids( Srv6SidReserved1=None, Srv6SidReserved2=None, Srv6SidStep=None, + TracerouteIdentifier=None, Uptime=None, UseTraditionalNlri=None, Weight=None, @@ -2567,6 +2673,9 @@ def get_device_ids( - MinASNumPerSegment (str): optional regex of minASNumPerSegment - MinNoOfASPathSegmentsPerRouteRange (str): optional regex of minNoOfASPathSegmentsPerRouteRange - MultiExitDiscriminator (str): optional regex of multiExitDiscriminator + - MvNextHopCount (str): optional regex of mvNextHopCount + - MvNextHopStepIpv4 (str): optional regex of mvNextHopStepIpv4 + - MvNextHopStepIpv6 (str): optional regex of mvNextHopStepIpv6 - NextHopIPType (str): optional regex of nextHopIPType - NextHopIncrementMode (str): optional regex of nextHopIncrementMode - NextHopType (str): optional regex of nextHopType @@ -2591,6 +2700,7 @@ def get_device_ids( - Srv6SidReserved1 (str): optional regex of srv6SidReserved1 - Srv6SidReserved2 (str): optional regex of srv6SidReserved2 - Srv6SidStep (str): optional regex of srv6SidStep + - TracerouteIdentifier (str): optional regex of tracerouteIdentifier - Uptime (str): optional regex of uptime - UseTraditionalNlri (str): optional regex of useTraditionalNlri - Weight (str): optional regex of weight diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.py similarity index 96% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.py index 86c601a27..d75bc66cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.py @@ -103,6 +103,9 @@ class BgpV6L3VpnRouteProperty(Base): "MinASNumPerSegment": "minASNumPerSegment", "MinNoOfASPathSegmentsPerRouteRange": "minNoOfASPathSegmentsPerRouteRange", "MultiExitDiscriminator": "multiExitDiscriminator", + "MvNextHopCount": "mvNextHopCount", + "MvNextHopStepIpv4": "mvNextHopStepIpv4", + "MvNextHopStepIpv6": "mvNextHopStepIpv6", "Name": "name", "NextHopIPType": "nextHopIPType", "NextHopIncrementMode": "nextHopIncrementMode", @@ -110,6 +113,7 @@ class BgpV6L3VpnRouteProperty(Base): "NoOfASPathSegmentsPerRouteRange": "noOfASPathSegmentsPerRouteRange", "NoOfClusters": "noOfClusters", "NoOfCommunities": "noOfCommunities", + "NoOfCustomAttributes": "noOfCustomAttributes", "NoOfExternalCommunities": "noOfExternalCommunities", "NoOfLargeCommunities": "noOfLargeCommunities", "Origin": "origin", @@ -224,6 +228,26 @@ def BgpExtendedCommunitiesList(self): return self._properties.get("BgpExtendedCommunitiesList") return BgpExtendedCommunitiesList(self) + @property + def BgpNonVPNRRCustomAttributes(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839.BgpNonVPNRRCustomAttributes): An instance of the BgpNonVPNRRCustomAttributes class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpnonvpnrrcustomattributes_b505237c5248151d375f1e5fb368b839 import ( + BgpNonVPNRRCustomAttributes, + ) + + if len(self._object_properties) > 0: + if self._properties.get("BgpNonVPNRRCustomAttributes", None) is not None: + return self._properties.get("BgpNonVPNRRCustomAttributes") + return BgpNonVPNRRCustomAttributes(self)._select() + @property def BgpNonVPNRRLargeCommunitiesList(self): """ @@ -1181,6 +1205,48 @@ def MultiExitDiscriminator(self): self, self._get_attribute(self._SDM_ATT_MAP["MultiExitDiscriminator"]) ) + @property + def MvNextHopCount(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes number of Next Hops after which Next Hop address will repeat. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopCount"]) + ) + + @property + def MvNextHopStepIpv4(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv4 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv4"]) + ) + + @property + def MvNextHopStepIpv6(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes increment step for IPv6 Next Hop IP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MvNextHopStepIpv6"]) + ) + @property def Name(self): # type: () -> str @@ -1279,6 +1345,21 @@ def NoOfCommunities(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NoOfCommunities"], value) + @property + def NoOfCustomAttributes(self): + # type: () -> int + """ + Returns + ------- + - number: Number of BGP Custom Attributes + """ + return self._get_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"]) + + @NoOfCustomAttributes.setter + def NoOfCustomAttributes(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NoOfCustomAttributes"], value) + @property def NoOfExternalCommunities(self): # type: () -> int @@ -1660,11 +1741,12 @@ def update( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv6UmhRoutes=None, ): - # type: (bool, bool, str, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty + # type: (bool, bool, str, int, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty """Updates bgpV6L3VpnRouteProperty resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -1678,6 +1760,7 @@ def update( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv6UmhRoutes (bool): Use As IPv6 UMH Routes @@ -1696,11 +1779,12 @@ def add( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv6UmhRoutes=None, ): - # type: (bool, bool, str, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty + # type: (bool, bool, str, int, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty """Adds a new bgpV6L3VpnRouteProperty resource on the server and adds it to the container. Args @@ -1711,6 +1795,7 @@ def add( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv6UmhRoutes (bool): Use As IPv6 UMH Routes @@ -1746,11 +1831,12 @@ def find( NoOfASPathSegmentsPerRouteRange=None, NoOfClusters=None, NoOfCommunities=None, + NoOfCustomAttributes=None, NoOfExternalCommunities=None, NoOfLargeCommunities=None, UseAsIpv6UmhRoutes=None, ): - # type: (List[str], int, str, bool, bool, str, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty + # type: (List[str], int, str, bool, bool, str, int, int, int, int, int, int, bool) -> BgpV6L3VpnRouteProperty """Finds and retrieves bgpV6L3VpnRouteProperty resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve bgpV6L3VpnRouteProperty resources from the server. @@ -1768,6 +1854,7 @@ def find( - NoOfASPathSegmentsPerRouteRange (number): Number Of non-random or manually configured AS Path Segments Per Route Range - NoOfClusters (number): Number of Clusters - NoOfCommunities (number): Number of Communities + - NoOfCustomAttributes (number): Number of BGP Custom Attributes - NoOfExternalCommunities (number): Number of Extended Communities - NoOfLargeCommunities (number): Number of Large Communities (Should be in the range 1-32) - UseAsIpv6UmhRoutes (bool): Use As IPv6 UMH Routes @@ -2347,6 +2434,9 @@ def get_device_ids( MinASNumPerSegment=None, MinNoOfASPathSegmentsPerRouteRange=None, MultiExitDiscriminator=None, + MvNextHopCount=None, + MvNextHopStepIpv4=None, + MvNextHopStepIpv6=None, NextHopIPType=None, NextHopIncrementMode=None, NextHopType=None, @@ -2444,6 +2534,9 @@ def get_device_ids( - MinASNumPerSegment (str): optional regex of minASNumPerSegment - MinNoOfASPathSegmentsPerRouteRange (str): optional regex of minNoOfASPathSegmentsPerRouteRange - MultiExitDiscriminator (str): optional regex of multiExitDiscriminator + - MvNextHopCount (str): optional regex of mvNextHopCount + - MvNextHopStepIpv4 (str): optional regex of mvNextHopStepIpv4 + - MvNextHopStepIpv6 (str): optional regex of mvNextHopStepIpv6 - NextHopIPType (str): optional regex of nextHopIPType - NextHopIncrementMode (str): optional regex of nextHopIncrementMode - NextHopType (str): optional regex of nextHopType diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py index d2b5ea0f1..48518a233 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py @@ -356,26 +356,6 @@ def PimV4Interface(self): return self._properties.get("PimV4Interface") return PimV4Interface(self) - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self) - @property def Tag(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py index 260190eed..c797932f8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py @@ -715,13 +715,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4 import ( Ptp, ) @@ -755,13 +755,13 @@ def StaticMacsec(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_b2bfb1c8c259661514373bf3afb4450d.StaticMacsec): An instance of the StaticMacsec class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_1fc553ada89d0fcad13e14f944ba6854.StaticMacsec): An instance of the StaticMacsec class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_b2bfb1c8c259661514373bf3afb4450d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_1fc553ada89d0fcad13e14f944ba6854 import ( StaticMacsec, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/endofload_b6e74aef3bc2fccf17638eff0566c52a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/endofload_b6e74aef3bc2fccf17638eff0566c52a.py deleted file mode 100644 index 257b225bf..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/endofload_b6e74aef3bc2fccf17638eff0566c52a.py +++ /dev/null @@ -1,223 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class EndOfLoad(Base): - """QP Table - The EndOfLoad class encapsulates a list of endOfLoad resources that are managed by the user. - A list of resources can be retrieved from the server using the EndOfLoad.find() method. - The list can be managed by using the EndOfLoad.add() and EndOfLoad.remove() methods. - """ - - __slots__ = () - _SDM_NAME = "endOfLoad" - _SDM_ATT_MAP = { - "ActiveDevice": "activeDevice", - "Count": "count", - "DescriptiveName": "descriptiveName", - "Name": "name", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(EndOfLoad, self).__init__(parent, list_op) - - @property - def ActiveDevice(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Determines whether the device is active or not. If disabled, protocol will not be started on the device. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveDevice"])) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - def update(self, Name=None): - # type: (str) -> EndOfLoad - """Updates endOfLoad resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add(self, Name=None): - # type: (str) -> EndOfLoad - """Adds a new endOfLoad resource on the server and adds it to the container. - - Args - ---- - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - Returns - ------- - - self: This instance with all currently retrieved endOfLoad resources using find and the newly added endOfLoad resources available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) - - def remove(self): - """Deletes all the contained endOfLoad resources in this instance from the server. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - self._delete() - - def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> EndOfLoad - """Finds and retrieves endOfLoad resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve endOfLoad resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all endOfLoad resources from the server. - - Args - ---- - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - Returns - ------- - - self: This instance with matching endOfLoad resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of endOfLoad data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the endOfLoad resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def AddDeleteTags(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDeleteTags operation on the server. - - addDeleteTags(Arg2=bool, async_operation=bool) - ---------------------------------------------- - - Arg2 (bool): - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("addDeleteTags", payload=payload, response_object=None) - - def get_device_ids(self, PortNames=None, ActiveDevice=None): - """Base class infrastructure that gets a list of endOfLoad device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - ActiveDevice (str): optional regex of activeDevice - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py index c39c71719..4096cb42f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py @@ -754,13 +754,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4 import ( Ptp, ) @@ -794,13 +794,13 @@ def StaticMacsec(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_b2bfb1c8c259661514373bf3afb4450d.StaticMacsec): An instance of the StaticMacsec class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_1fc553ada89d0fcad13e14f944ba6854.StaticMacsec): An instance of the StaticMacsec class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_b2bfb1c8c259661514373bf3afb4450d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.staticmacsec_1fc553ada89d0fcad13e14f944ba6854 import ( StaticMacsec, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flows_b3774dad14019b0d75bf50968cf1c22d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flows_b3774dad14019b0d75bf50968cf1c22d.py deleted file mode 100644 index 27fdc5c67..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flows_b3774dad14019b0d75bf50968cf1c22d.py +++ /dev/null @@ -1,697 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Flows(Base): - """ - The Flows class encapsulates a list of flows resources that are managed by the user. - A list of resources can be retrieved from the server using the Flows.find() method. - The list can be managed by using the Flows.add() and Flows.remove() methods. - """ - - __slots__ = () - _SDM_NAME = "flows" - _SDM_ATT_MAP = { - "AllPeersAdded": "allPeersAdded", - "BufferSize": "bufferSize", - "BufferSizeRemote": "bufferSizeRemote", - "BufferSizeUnit": "bufferSizeUnit", - "BufferSizeUnitRemote": "bufferSizeUnitRemote", - "Count": "count", - "CustomQP": "customQP", - "CustomizeQP": "customizeQP", - "DescriptiveName": "descriptiveName", - "Dscp": "dscp", - "DscpRemote": "dscpRemote", - "ExecuteCommands": "executeCommands", - "ExecuteCommandsRemote": "executeCommandsRemote", - "LocalIP": "localIP", - "LocalIPRemote": "localIPRemote", - "LocalPeer": "localPeer", - "LocalPeerRemote": "localPeerRemote", - "LocalPeerRemoteList": "localPeerRemoteList", - "MessageSize": "messageSize", - "MessageSizeRemote": "messageSizeRemote", - "MessageSizeUnit": "messageSizeUnit", - "MessageSizeUnitRemote": "messageSizeUnitRemote", - "Name": "name", - "PeerNameList": "peerNameList", - "QPNumber": "qPNumber", - "RemoteEndPoint": "remoteEndPoint", - "RemoteIP": "remoteIP", - "RemoteIPRemote": "remoteIPRemote", - "RemotePeer": "remotePeer", - "RemotePeerList": "remotePeerList", - "RemotePeerRemote": "remotePeerRemote", - "UdpSourcePort": "udpSourcePort", - "UdpSourcePortRemote": "udpSourcePortRemote", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(Flows, self).__init__(parent, list_op) - - @property - def AllPeersAdded(self): - # type: () -> bool - """ - Returns - ------- - - bool: ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - """ - return self._get_attribute(self._SDM_ATT_MAP["AllPeersAdded"]) - - @AllPeersAdded.setter - def AllPeersAdded(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["AllPeersAdded"], value) - - @property - def BufferSize(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Buffer that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BufferSize"])) - - @property - def BufferSizeRemote(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Buffer that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeRemote"]) - ) - - @property - def BufferSizeUnit(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Buffer Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeUnit"]) - ) - - @property - def BufferSizeUnitRemote(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Buffer Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeUnitRemote"]) - ) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def CustomQP(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Allow users to configure custom QP for this flow. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["CustomQP"])) - - @property - def CustomizeQP(self): - # type: () -> bool - """ - Returns - ------- - - bool: Allow users to configure custom QP for this flow. - """ - return self._get_attribute(self._SDM_ATT_MAP["CustomizeQP"]) - - @CustomizeQP.setter - def CustomizeQP(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["CustomizeQP"], value) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def Dscp(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): DSCP - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Dscp"])) - - @property - def DscpRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): DSCP - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["DscpRemote"])) - - @property - def ExecuteCommands(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Execute Commands - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExecuteCommands"]) - ) - - @property - def ExecuteCommandsRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Execute Commands - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExecuteCommandsRemote"]) - ) - - @property - def LocalIP(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Local IP. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalIP"]) - - @property - def LocalIPRemote(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Local IP. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalIPRemote"]) - - @property - def LocalPeer(self): - # type: () -> str - """ - Returns - ------- - - str: Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeer"]) - - @property - def LocalPeerRemote(self): - # type: () -> str - """ - Returns - ------- - - str: Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeerRemote"]) - - @property - def LocalPeerRemoteList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeerRemoteList"]) - - @property - def MessageSize(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Message that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MessageSize"])) - - @property - def MessageSizeRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Message that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeRemote"]) - ) - - @property - def MessageSizeUnit(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Message Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeUnit"]) - ) - - @property - def MessageSizeUnitRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Message Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeUnitRemote"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def PeerNameList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): - """ - return self._get_attribute(self._SDM_ATT_MAP["PeerNameList"]) - - @PeerNameList.setter - def PeerNameList(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["PeerNameList"], value) - - @property - def QPNumber(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Auto Assigned QP Number. - """ - return self._get_attribute(self._SDM_ATT_MAP["QPNumber"]) - - @property - def RemoteEndPoint(self): - # type: () -> str - """DEPRECATED - Returns - ------- - - str: Name of Remote RoCE protocol stack - """ - return self._get_attribute(self._SDM_ATT_MAP["RemoteEndPoint"]) - - @RemoteEndPoint.setter - def RemoteEndPoint(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["RemoteEndPoint"], value) - - @property - def RemoteIP(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Remote IP. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemoteIP"]) - - @property - def RemoteIPRemote(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Remote IP. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemoteIPRemote"]) - - @property - def RemotePeer(self): - # type: () -> str - """ - Returns - ------- - - str: Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeer"]) - - @property - def RemotePeerList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeerList"]) - - @property - def RemotePeerRemote(self): - # type: () -> str - """ - Returns - ------- - - str: Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeerRemote"]) - - @property - def UdpSourcePort(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["UdpSourcePort"])) - - @property - def UdpSourcePortRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["UdpSourcePortRemote"]) - ) - - def update( - self, - AllPeersAdded=None, - CustomizeQP=None, - Name=None, - PeerNameList=None, - RemoteEndPoint=None, - ): - # type: (bool, bool, str, List[str], str) -> Flows - """Updates flows resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add( - self, - AllPeersAdded=None, - CustomizeQP=None, - Name=None, - PeerNameList=None, - RemoteEndPoint=None, - ): - # type: (bool, bool, str, List[str], str) -> Flows - """Adds a new flows resource on the server and adds it to the container. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - Returns - ------- - - self: This instance with all currently retrieved flows resources using find and the newly added flows resources available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) - - def remove(self): - """Deletes all the contained flows resources in this instance from the server. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - self._delete() - - def find( - self, - AllPeersAdded=None, - Count=None, - CustomizeQP=None, - DescriptiveName=None, - LocalIP=None, - LocalIPRemote=None, - LocalPeer=None, - LocalPeerRemote=None, - LocalPeerRemoteList=None, - Name=None, - PeerNameList=None, - QPNumber=None, - RemoteEndPoint=None, - RemoteIP=None, - RemoteIPRemote=None, - RemotePeer=None, - RemotePeerList=None, - RemotePeerRemote=None, - ): - # type: (bool, int, bool, str, List[str], List[str], str, str, List[str], str, List[str], List[str], str, List[str], List[str], str, List[str], str) -> Flows - """Finds and retrieves flows resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve flows resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all flows resources from the server. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - LocalIP (list(str)): Local IP. - - LocalIPRemote (list(str)): Local IP. - - LocalPeer (str): Local Peer Name. - - LocalPeerRemote (str): Local Peer Name. - - LocalPeerRemoteList (list(str)): Local Peer Name. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - QPNumber (list(str)): Auto Assigned QP Number. - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - RemoteIP (list(str)): Remote IP. - - RemoteIPRemote (list(str)): Remote IP. - - RemotePeer (str): Remote Peer Name. - - RemotePeerList (list(str)): Remote Peer Name. - - RemotePeerRemote (str): Remote Peer Name. - - Returns - ------- - - self: This instance with matching flows resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of flows data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the flows resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def AddDeleteTags(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDeleteTags operation on the server. - - addDeleteTags(Arg2=bool, async_operation=bool) - ---------------------------------------------- - - Arg2 (bool): - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("addDeleteTags", payload=payload, response_object=None) - - def get_device_ids( - self, - PortNames=None, - BufferSize=None, - BufferSizeRemote=None, - BufferSizeUnit=None, - BufferSizeUnitRemote=None, - CustomQP=None, - Dscp=None, - DscpRemote=None, - ExecuteCommands=None, - ExecuteCommandsRemote=None, - MessageSize=None, - MessageSizeRemote=None, - MessageSizeUnit=None, - MessageSizeUnitRemote=None, - UdpSourcePort=None, - UdpSourcePortRemote=None, - ): - """Base class infrastructure that gets a list of flows device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - BufferSize (str): optional regex of bufferSize - - BufferSizeRemote (str): optional regex of bufferSizeRemote - - BufferSizeUnit (str): optional regex of bufferSizeUnit - - BufferSizeUnitRemote (str): optional regex of bufferSizeUnitRemote - - CustomQP (str): optional regex of customQP - - Dscp (str): optional regex of dscp - - DscpRemote (str): optional regex of dscpRemote - - ExecuteCommands (str): optional regex of executeCommands - - ExecuteCommandsRemote (str): optional regex of executeCommandsRemote - - MessageSize (str): optional regex of messageSize - - MessageSizeRemote (str): optional regex of messageSizeRemote - - MessageSizeUnit (str): optional regex of messageSizeUnit - - MessageSizeUnitRemote (str): optional regex of messageSizeUnitRemote - - UdpSourcePort (str): optional regex of udpSourcePort - - UdpSourcePortRemote (str): optional regex of udpSourcePortRemote - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py index c3f69cb90..942ce87af 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py @@ -697,13 +697,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4 import ( Ptp, ) @@ -712,26 +712,6 @@ def Ptp(self): return self._properties.get("Ptp") return Ptp(self) - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self) - @property def RsvpteIf(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py index f8f4c8fc1..9d657300e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py @@ -425,26 +425,6 @@ def PimV4Interface(self): return self._properties.get("PimV4Interface") return PimV4Interface(self) - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self) - @property def RsvpteLsps(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py index 20aa8652b..a1f654cfc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py @@ -58,13 +58,13 @@ def BgpIPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b import ( BgpIPRouteProperty, ) @@ -78,13 +78,13 @@ def BgpL3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63 import ( BgpL3VpnRouteProperty, ) @@ -178,13 +178,13 @@ def BgpV6IPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c import ( BgpV6IPRouteProperty, ) @@ -198,13 +198,13 @@ def BgpV6L3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16 import ( BgpV6L3VpnRouteProperty, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py index fb24f62b8..172f5e630 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py @@ -505,13 +505,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_41f127b75896ebfffe1628d41332bf0b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_d5a38608c1c8ea4a658a5a073c10d0a4 import ( Ptp, ) @@ -540,26 +540,6 @@ def Ptprobeinstancesrv6(self): return self._properties.get("Ptprobeinstancesrv6") return Ptprobeinstancesrv6(self) - @property - def Roce6v2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.roce6v2_83b8c158db88fd2dab26f3dc3d5e8aec.Roce6v2): An instance of the Roce6v2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.roce6v2_83b8c158db88fd2dab26f3dc3d5e8aec import ( - Roce6v2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Roce6v2", None) is not None: - return self._properties.get("Roce6v2") - return Roce6v2(self) - @property def Srv6Oam(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py index f986132b4..513aa226a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py @@ -58,13 +58,13 @@ def BgpIPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b import ( BgpIPRouteProperty, ) @@ -78,13 +78,13 @@ def BgpL3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63 import ( BgpL3VpnRouteProperty, ) @@ -178,13 +178,13 @@ def BgpV6IPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c import ( BgpV6IPRouteProperty, ) @@ -198,13 +198,13 @@ def BgpV6L3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16 import ( BgpV6L3VpnRouteProperty, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py index d65f6279a..20918f5db 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py @@ -55,13 +55,13 @@ def BgpIPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b.BgpIPRouteProperty): An instance of the BgpIPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_6a518e353e584b0ceed8bde786766d2b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpiprouteproperty_3dbf4edca5d6573869a4ee79cda6644b import ( BgpIPRouteProperty, ) @@ -75,13 +75,13 @@ def BgpL3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63.BgpL3VpnRouteProperty): An instance of the BgpL3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpl3vpnrouteproperty_c9cef36b7ede3a928c467158048aea63 import ( BgpL3VpnRouteProperty, ) @@ -175,13 +175,13 @@ def BgpV6IPRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c.BgpV6IPRouteProperty): An instance of the BgpV6IPRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_ceedb8c79a2ee02343249677436902a2 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6iprouteproperty_a52cfd647078952e2675a9fcb67c5b8c import ( BgpV6IPRouteProperty, ) @@ -195,13 +195,13 @@ def BgpV6L3VpnRouteProperty(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16.BgpV6L3VpnRouteProperty): An instance of the BgpV6L3VpnRouteProperty class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpv6l3vpnrouteproperty_cc42767ded4b86e5bcc4c3b714278c16 import ( BgpV6L3VpnRouteProperty, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oldflows_b9695c5a20e12ec985c8ed67a629dd06.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oldflows_b9695c5a20e12ec985c8ed67a629dd06.py deleted file mode 100644 index 3e99cecef..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oldflows_b9695c5a20e12ec985c8ed67a629dd06.py +++ /dev/null @@ -1,645 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Oldflows(Base): - """DEPRECATED RoCE Flow settings - The Oldflows class encapsulates a list of oldflows resources that are managed by the user. - A list of resources can be retrieved from the server using the Oldflows.find() method. - The list can be managed by using the Oldflows.add() and Oldflows.remove() methods. - """ - - __slots__ = () - _SDM_NAME = "oldflows" - _SDM_ATT_MAP = { - "AllPeersAdded": "allPeersAdded", - "BufferSize": "bufferSize", - "BufferSizeRemote": "bufferSizeRemote", - "BufferSizeUnit": "bufferSizeUnit", - "BufferSizeUnitRemote": "bufferSizeUnitRemote", - "Count": "count", - "CustomQP": "customQP", - "CustomizeQP": "customizeQP", - "DescriptiveName": "descriptiveName", - "Dscp": "dscp", - "DscpRemote": "dscpRemote", - "ExecuteCommands": "executeCommands", - "ExecuteCommandsRemote": "executeCommandsRemote", - "LocalPeer": "localPeer", - "LocalPeerRemote": "localPeerRemote", - "LocalPeerRemoteList": "localPeerRemoteList", - "MessageSize": "messageSize", - "MessageSizeRemote": "messageSizeRemote", - "MessageSizeUnit": "messageSizeUnit", - "MessageSizeUnitRemote": "messageSizeUnitRemote", - "Name": "name", - "PeerNameList": "peerNameList", - "QPNumber": "qPNumber", - "RemoteEndPoint": "remoteEndPoint", - "RemotePeer": "remotePeer", - "RemotePeerList": "remotePeerList", - "RemotePeerRemote": "remotePeerRemote", - "UdpSourcePort": "udpSourcePort", - "UdpSourcePortRemote": "udpSourcePortRemote", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(Oldflows, self).__init__(parent, list_op) - - @property - def AllPeersAdded(self): - # type: () -> bool - """ - Returns - ------- - - bool: ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - """ - return self._get_attribute(self._SDM_ATT_MAP["AllPeersAdded"]) - - @AllPeersAdded.setter - def AllPeersAdded(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["AllPeersAdded"], value) - - @property - def BufferSize(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Buffer that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BufferSize"])) - - @property - def BufferSizeRemote(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Buffer that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeRemote"]) - ) - - @property - def BufferSizeUnit(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Buffer Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeUnit"]) - ) - - @property - def BufferSizeUnitRemote(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Buffer Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BufferSizeUnitRemote"]) - ) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def CustomQP(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Allow users to configure custom QP for this flow. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["CustomQP"])) - - @property - def CustomizeQP(self): - # type: () -> bool - """ - Returns - ------- - - bool: Allow users to configure custom QP for this flow. - """ - return self._get_attribute(self._SDM_ATT_MAP["CustomizeQP"]) - - @CustomizeQP.setter - def CustomizeQP(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["CustomizeQP"], value) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def Dscp(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): DSCP - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Dscp"])) - - @property - def DscpRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): DSCP - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["DscpRemote"])) - - @property - def ExecuteCommands(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Execute Commands - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExecuteCommands"]) - ) - - @property - def ExecuteCommandsRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Execute Commands - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExecuteCommandsRemote"]) - ) - - @property - def LocalPeer(self): - # type: () -> str - """ - Returns - ------- - - str: Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeer"]) - - @property - def LocalPeerRemote(self): - # type: () -> str - """ - Returns - ------- - - str: Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeerRemote"]) - - @property - def LocalPeerRemoteList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Local Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["LocalPeerRemoteList"]) - - @property - def MessageSize(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Message that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MessageSize"])) - - @property - def MessageSizeRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Length of Message that needs to be transmitted to the remote end-point - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeRemote"]) - ) - - @property - def MessageSizeUnit(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Message Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeUnit"]) - ) - - @property - def MessageSizeUnitRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Message Size Unit - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MessageSizeUnitRemote"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def PeerNameList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): - """ - return self._get_attribute(self._SDM_ATT_MAP["PeerNameList"]) - - @PeerNameList.setter - def PeerNameList(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["PeerNameList"], value) - - @property - def QPNumber(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Auto Assigned QP Number. - """ - return self._get_attribute(self._SDM_ATT_MAP["QPNumber"]) - - @property - def RemoteEndPoint(self): - # type: () -> str - """DEPRECATED - Returns - ------- - - str: Name of Remote RoCE protocol stack - """ - return self._get_attribute(self._SDM_ATT_MAP["RemoteEndPoint"]) - - @RemoteEndPoint.setter - def RemoteEndPoint(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["RemoteEndPoint"], value) - - @property - def RemotePeer(self): - # type: () -> str - """ - Returns - ------- - - str: Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeer"]) - - @property - def RemotePeerList(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeerList"]) - - @property - def RemotePeerRemote(self): - # type: () -> str - """ - Returns - ------- - - str: Remote Peer Name. - """ - return self._get_attribute(self._SDM_ATT_MAP["RemotePeerRemote"]) - - @property - def UdpSourcePort(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["UdpSourcePort"])) - - @property - def UdpSourcePortRemote(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["UdpSourcePortRemote"]) - ) - - def update( - self, - AllPeersAdded=None, - CustomizeQP=None, - Name=None, - PeerNameList=None, - RemoteEndPoint=None, - ): - # type: (bool, bool, str, List[str], str) -> Oldflows - """Updates oldflows resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add( - self, - AllPeersAdded=None, - CustomizeQP=None, - Name=None, - PeerNameList=None, - RemoteEndPoint=None, - ): - # type: (bool, bool, str, List[str], str) -> Oldflows - """Adds a new oldflows resource on the server and adds it to the container. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - Returns - ------- - - self: This instance with all currently retrieved oldflows resources using find and the newly added oldflows resources available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) - - def remove(self): - """Deletes all the contained oldflows resources in this instance from the server. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - self._delete() - - def find( - self, - AllPeersAdded=None, - Count=None, - CustomizeQP=None, - DescriptiveName=None, - LocalPeer=None, - LocalPeerRemote=None, - LocalPeerRemoteList=None, - Name=None, - PeerNameList=None, - QPNumber=None, - RemoteEndPoint=None, - RemotePeer=None, - RemotePeerList=None, - RemotePeerRemote=None, - ): - # type: (bool, int, bool, str, str, str, List[str], str, List[str], List[str], str, str, List[str], str) -> Oldflows - """Finds and retrieves oldflows resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve oldflows resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all oldflows resources from the server. - - Args - ---- - - AllPeersAdded (bool): ResourceManager usage only - clear before adding to peerNameList, set to true once peerNameList is populated - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - CustomizeQP (bool): Allow users to configure custom QP for this flow. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - LocalPeer (str): Local Peer Name. - - LocalPeerRemote (str): Local Peer Name. - - LocalPeerRemoteList (list(str)): Local Peer Name. - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - PeerNameList (list(str)): - - QPNumber (list(str)): Auto Assigned QP Number. - - RemoteEndPoint (str): Name of Remote RoCE protocol stack - - RemotePeer (str): Remote Peer Name. - - RemotePeerList (list(str)): Remote Peer Name. - - RemotePeerRemote (str): Remote Peer Name. - - Returns - ------- - - self: This instance with matching oldflows resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of oldflows data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the oldflows resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def AddDeleteTags(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDeleteTags operation on the server. - - DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) - --------------------------------------------------------- - - Arg2 (bool): - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("addDeleteTags", payload=payload, response_object=None) - - def get_device_ids( - self, - PortNames=None, - BufferSize=None, - BufferSizeRemote=None, - BufferSizeUnit=None, - BufferSizeUnitRemote=None, - CustomQP=None, - Dscp=None, - DscpRemote=None, - ExecuteCommands=None, - ExecuteCommandsRemote=None, - MessageSize=None, - MessageSizeRemote=None, - MessageSizeUnit=None, - MessageSizeUnitRemote=None, - UdpSourcePort=None, - UdpSourcePortRemote=None, - ): - """Base class infrastructure that gets a list of oldflows device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - BufferSize (str): optional regex of bufferSize - - BufferSizeRemote (str): optional regex of bufferSizeRemote - - BufferSizeUnit (str): optional regex of bufferSizeUnit - - BufferSizeUnitRemote (str): optional regex of bufferSizeUnitRemote - - CustomQP (str): optional regex of customQP - - Dscp (str): optional regex of dscp - - DscpRemote (str): optional regex of dscpRemote - - ExecuteCommands (str): optional regex of executeCommands - - ExecuteCommandsRemote (str): optional regex of executeCommandsRemote - - MessageSize (str): optional regex of messageSize - - MessageSizeRemote (str): optional regex of messageSizeRemote - - MessageSizeUnit (str): optional regex of messageSizeUnit - - MessageSizeUnitRemote (str): optional regex of messageSizeUnitRemote - - UdpSourcePort (str): optional regex of udpSourcePort - - UdpSourcePortRemote (str): optional regex of udpSourcePortRemote - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py index 9d20ab69a..05f5a550c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py @@ -97,13 +97,13 @@ def OspfPseudoTrafficEngineeringProfileList(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.OspfPseudoTrafficEngineeringProfileList): An instance of the OspfPseudoTrafficEngineeringProfileList class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospfpseudotrafficengineeringprofilelist_06278d34a5e26dd304ee8c97bdf5f67b.OspfPseudoTrafficEngineeringProfileList): An instance of the OspfPseudoTrafficEngineeringProfileList class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospfpseudotrafficengineeringprofilelist_06278d34a5e26dd304ee8c97bdf5f67b import ( OspfPseudoTrafficEngineeringProfileList, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_06278d34a5e26dd304ee8c97bdf5f67b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_06278d34a5e26dd304ee8c97bdf5f67b.py new file mode 100644 index 000000000..ad3b7020f --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_06278d34a5e26dd304ee8c97bdf5f67b.py @@ -0,0 +1,1341 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class OspfPseudoTrafficEngineeringProfileList(Base): + """OSPF Traffic Engineering Profiles + The OspfPseudoTrafficEngineeringProfileList class encapsulates a required ospfPseudoTrafficEngineeringProfileList resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "ospfPseudoTrafficEngineeringProfileList" + _SDM_ATT_MAP = { + "Active": "active", + "ActiveTo": "activeTo", + "AdministratorGroup": "administratorGroup", + "AdministratorGroupTo": "administratorGroupTo", + "AdvMinMaxUniDiLinkDelay": "advMinMaxUniDiLinkDelay", + "AdvMinMaxUniDiLinkDelayTo": "advMinMaxUniDiLinkDelayTo", + "AdvUniDirAvailableBw": "advUniDirAvailableBw", + "AdvUniDirAvailableBwTo": "advUniDirAvailableBwTo", + "AdvUniDirDelayVariation": "advUniDirDelayVariation", + "AdvUniDirDelayVariationTo": "advUniDirDelayVariationTo", + "AdvUniDirLinkLoss": "advUniDirLinkLoss", + "AdvUniDirLinkLossTo": "advUniDirLinkLossTo", + "AdvUniDirResidualBw": "advUniDirResidualBw", + "AdvUniDirResidualBwTo": "advUniDirResidualBwTo", + "AdvUniDirUtilizedBw": "advUniDirUtilizedBw", + "AdvUniDirUtilizedBwTo": "advUniDirUtilizedBwTo", + "AdvertiseExtAdminGroup": "advertiseExtAdminGroup", + "AdvertiseUniDiLinkDelay": "advertiseUniDiLinkDelay", + "AdvertiseUniDiLinkDelayTo": "advertiseUniDiLinkDelayTo", + "BandwidthPriority0": "bandwidthPriority0", + "BandwidthPriority0To": "bandwidthPriority0To", + "BandwidthPriority1": "bandwidthPriority1", + "BandwidthPriority1To": "bandwidthPriority1To", + "BandwidthPriority2": "bandwidthPriority2", + "BandwidthPriority2To": "bandwidthPriority2To", + "BandwidthPriority3": "bandwidthPriority3", + "BandwidthPriority3To": "bandwidthPriority3To", + "BandwidthPriority4": "bandwidthPriority4", + "BandwidthPriority4To": "bandwidthPriority4To", + "BandwidthPriority5": "bandwidthPriority5", + "BandwidthPriority5To": "bandwidthPriority5To", + "BandwidthPriority6": "bandwidthPriority6", + "BandwidthPriority6To": "bandwidthPriority6To", + "BandwidthPriority7": "bandwidthPriority7", + "BandwidthPriority7To": "bandwidthPriority7To", + "Count": "count", + "DescriptiveName": "descriptiveName", + "ExtAdminGroup": "extAdminGroup", + "ExtAdminGroupLength": "extAdminGroupLength", + "MaxBandwidth": "maxBandwidth", + "MaxBandwidthTo": "maxBandwidthTo", + "MaxReservableBandwidth": "maxReservableBandwidth", + "MaxReservableBandwidthTo": "maxReservableBandwidthTo", + "MetricLevel": "metricLevel", + "MetricLevelTo": "metricLevelTo", + "MinMaxUniDirLinkDelayABit": "minMaxUniDirLinkDelayABit", + "MinMaxUniDirLinkDelayABitTo": "minMaxUniDirLinkDelayABitTo", + "Name": "name", + "UniDirAvailableBw": "uniDirAvailableBw", + "UniDirAvailableBwTo": "uniDirAvailableBwTo", + "UniDirLinkDelay": "uniDirLinkDelay", + "UniDirLinkDelayABit": "uniDirLinkDelayABit", + "UniDirLinkDelayABitTo": "uniDirLinkDelayABitTo", + "UniDirLinkDelayTo": "uniDirLinkDelayTo", + "UniDirLinkDelayVariation": "uniDirLinkDelayVariation", + "UniDirLinkDelayVariationTo": "uniDirLinkDelayVariationTo", + "UniDirLinkLoss": "uniDirLinkLoss", + "UniDirLinkLossABit": "uniDirLinkLossABit", + "UniDirLinkLossABitTo": "uniDirLinkLossABitTo", + "UniDirLinkLossTo": "uniDirLinkLossTo", + "UniDirLinkMaxDelay": "uniDirLinkMaxDelay", + "UniDirLinkMaxDelayTo": "uniDirLinkMaxDelayTo", + "UniDirLinkMinDelay": "uniDirLinkMinDelay", + "UniDirLinkMinDelayTo": "uniDirLinkMinDelayTo", + "UniDirResidualBw": "uniDirResidualBw", + "UniDirResidualBwTo": "uniDirResidualBwTo", + "UniDirUtilizedBw": "uniDirUtilizedBw", + "UniDirUtilizedBwTo": "uniDirUtilizedBwTo", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(OspfPseudoTrafficEngineeringProfileList, self).__init__(parent, list_op) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ActiveTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): TE To-Node Enable/Disable. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveTo"])) + + @property + def AdministratorGroup(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Administrator Group. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroup"]) + ) + + @property + def AdministratorGroupTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Administrator Group. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroupTo"]) + ) + + @property + def AdvMinMaxUniDiLinkDelay(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Min/Max Uni-Directional Link Delay Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvMinMaxUniDiLinkDelay"]) + ) + + @property + def AdvMinMaxUniDiLinkDelayTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Min/Max Uni-Directional Link Delay Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvMinMaxUniDiLinkDelayTo"]) + ) + + @property + def AdvUniDirAvailableBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Available Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirAvailableBw"]) + ) + + @property + def AdvUniDirAvailableBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Available Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirAvailableBwTo"]) + ) + + @property + def AdvUniDirDelayVariation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Delay Variation Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirDelayVariation"]) + ) + + @property + def AdvUniDirDelayVariationTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Delay Variation Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirDelayVariationTo"]) + ) + + @property + def AdvUniDirLinkLoss(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Loss Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirLinkLoss"]) + ) + + @property + def AdvUniDirLinkLossTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Loss Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirLinkLossTo"]) + ) + + @property + def AdvUniDirResidualBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Residual Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirResidualBw"]) + ) + + @property + def AdvUniDirResidualBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Residual Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirResidualBwTo"]) + ) + + @property + def AdvUniDirUtilizedBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Utilized Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirUtilizedBw"]) + ) + + @property + def AdvUniDirUtilizedBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Utilized Bandwidth Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirUtilizedBwTo"]) + ) + + @property + def AdvertiseExtAdminGroup(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Advertise Ext Admin Group. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseExtAdminGroup"]) + ) + + @property + def AdvertiseUniDiLinkDelay(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Delay Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseUniDiLinkDelay"]) + ) + + @property + def AdvertiseUniDiLinkDelayTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Delay Sub-TLV + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseUniDiLinkDelayTo"]) + ) + + @property + def BandwidthPriority0(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 0 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0"]) + ) + + @property + def BandwidthPriority0To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 0 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0To"]) + ) + + @property + def BandwidthPriority1(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 1 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1"]) + ) + + @property + def BandwidthPriority1To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 1 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1To"]) + ) + + @property + def BandwidthPriority2(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 2 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2"]) + ) + + @property + def BandwidthPriority2To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 2 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2To"]) + ) + + @property + def BandwidthPriority3(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 3 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3"]) + ) + + @property + def BandwidthPriority3To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 3 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3To"]) + ) + + @property + def BandwidthPriority4(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 4 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4"]) + ) + + @property + def BandwidthPriority4To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 4 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4To"]) + ) + + @property + def BandwidthPriority5(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 5 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority5"]) + ) + + @property + def BandwidthPriority5To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 5 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority5To"]) + ) + + @property + def BandwidthPriority6(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 6 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6"]) + ) + + @property + def BandwidthPriority6To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 6 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6To"]) + ) + + @property + def BandwidthPriority7(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 7 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7"]) + ) + + @property + def BandwidthPriority7To(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 7 (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7To"]) + ) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def ExtAdminGroup(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Ext Admin Group. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroup"])) + + @property + def ExtAdminGroupLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Ext Admin Group Length. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroupLength"]) + ) + + @property + def MaxBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Maximum Bandwidth (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidth"])) + + @property + def MaxBandwidthTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Maximum Bandwidth (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidthTo"]) + ) + + @property + def MaxReservableBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Maximum Reservable Bandwidth (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidth"]) + ) + + @property + def MaxReservableBandwidthTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Maximum Reservable Bandwidth (B/sec). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidthTo"]) + ) + + @property + def MetricLevel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, TE Metric Level. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevel"])) + + @property + def MetricLevelTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, TE Metric Level. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevelTo"])) + + @property + def MinMaxUniDirLinkDelayABit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MinMaxUniDirLinkDelayABit"]) + ) + + @property + def MinMaxUniDirLinkDelayABitTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MinMaxUniDirLinkDelayABitTo"]) + ) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def UniDirAvailableBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Available Bandwidth on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirAvailableBw"]) + ) + + @property + def UniDirAvailableBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Available Bandwidth on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirAvailableBwTo"]) + ) + + @property + def UniDirLinkDelay(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Average Link Delay in microseconds (us) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelay"]) + ) + + @property + def UniDirLinkDelayABit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayABit"]) + ) + + @property + def UniDirLinkDelayABitTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayABitTo"]) + ) + + @property + def UniDirLinkDelayTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Average Link Delay in microseconds (us) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayTo"]) + ) + + @property + def UniDirLinkDelayVariation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Average Link Delay variation over aconfigurable interval in microseconds. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayVariation"]) + ) + + @property + def UniDirLinkDelayVariationTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Average Link Delay variation over aconfigurable interval in microseconds. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayVariationTo"]) + ) + + @property + def UniDirLinkLoss(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Link Packet loss as a percentage of thetotal traffic sent over a configurable interval.The basic unit is 0.000003%, where (2^24 - 2) is 50.331642%. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLoss"]) + ) + + @property + def UniDirLinkLossABit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLossABit"]) + ) + + @property + def UniDirLinkLossABitTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLossABitTo"]) + ) + + @property + def UniDirLinkLossTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Link Packet loss as a percentage of thetotal traffic sent over a configurable interval.The basic unit is 0.000003%, where (2^24 - 2) is 50.331642%. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLossTo"]) + ) + + @property + def UniDirLinkMaxDelay(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Measured Link Delay value inmicroseconds over a configurable interval. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMaxDelay"]) + ) + + @property + def UniDirLinkMaxDelayTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Measured Link Delay value inmicroseconds over a configurable interval. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMaxDelayTo"]) + ) + + @property + def UniDirLinkMinDelay(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Minimum measured link delay value inmicroseconds over a configurable interval. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMinDelay"]) + ) + + @property + def UniDirLinkMinDelayTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Minimum measured link delay value inmicroseconds over a configurable interval. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMinDelayTo"]) + ) + + @property + def UniDirResidualBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Residual Bandwidth on a link, forwardingadjacency, or bundled link with units of Bytes Per Secondencoded in IEEE floating point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirResidualBw"]) + ) + + @property + def UniDirResidualBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Residual Bandwidth on a link, forwardingadjacency, or bundled link with units of Bytes Per Secondencoded in IEEE floating point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirResidualBwTo"]) + ) + + @property + def UniDirUtilizedBw(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Bandwidth Utilization on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating-point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirUtilizedBw"]) + ) + + @property + def UniDirUtilizedBwTo(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Bandwidth Utilization on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating-point format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirUtilizedBwTo"]) + ) + + def update(self, Name=None): + # type: (str) -> OspfPseudoTrafficEngineeringProfileList + """Updates ospfPseudoTrafficEngineeringProfileList resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> OspfPseudoTrafficEngineeringProfileList + """Finds and retrieves ospfPseudoTrafficEngineeringProfileList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ospfPseudoTrafficEngineeringProfileList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all ospfPseudoTrafficEngineeringProfileList resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching ospfPseudoTrafficEngineeringProfileList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of ospfPseudoTrafficEngineeringProfileList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the ospfPseudoTrafficEngineeringProfileList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + ActiveTo=None, + AdministratorGroup=None, + AdministratorGroupTo=None, + AdvMinMaxUniDiLinkDelay=None, + AdvMinMaxUniDiLinkDelayTo=None, + AdvUniDirAvailableBw=None, + AdvUniDirAvailableBwTo=None, + AdvUniDirDelayVariation=None, + AdvUniDirDelayVariationTo=None, + AdvUniDirLinkLoss=None, + AdvUniDirLinkLossTo=None, + AdvUniDirResidualBw=None, + AdvUniDirResidualBwTo=None, + AdvUniDirUtilizedBw=None, + AdvUniDirUtilizedBwTo=None, + AdvertiseExtAdminGroup=None, + AdvertiseUniDiLinkDelay=None, + AdvertiseUniDiLinkDelayTo=None, + BandwidthPriority0=None, + BandwidthPriority0To=None, + BandwidthPriority1=None, + BandwidthPriority1To=None, + BandwidthPriority2=None, + BandwidthPriority2To=None, + BandwidthPriority3=None, + BandwidthPriority3To=None, + BandwidthPriority4=None, + BandwidthPriority4To=None, + BandwidthPriority5=None, + BandwidthPriority5To=None, + BandwidthPriority6=None, + BandwidthPriority6To=None, + BandwidthPriority7=None, + BandwidthPriority7To=None, + ExtAdminGroup=None, + ExtAdminGroupLength=None, + MaxBandwidth=None, + MaxBandwidthTo=None, + MaxReservableBandwidth=None, + MaxReservableBandwidthTo=None, + MetricLevel=None, + MetricLevelTo=None, + MinMaxUniDirLinkDelayABit=None, + MinMaxUniDirLinkDelayABitTo=None, + UniDirAvailableBw=None, + UniDirAvailableBwTo=None, + UniDirLinkDelay=None, + UniDirLinkDelayABit=None, + UniDirLinkDelayABitTo=None, + UniDirLinkDelayTo=None, + UniDirLinkDelayVariation=None, + UniDirLinkDelayVariationTo=None, + UniDirLinkLoss=None, + UniDirLinkLossABit=None, + UniDirLinkLossABitTo=None, + UniDirLinkLossTo=None, + UniDirLinkMaxDelay=None, + UniDirLinkMaxDelayTo=None, + UniDirLinkMinDelay=None, + UniDirLinkMinDelayTo=None, + UniDirResidualBw=None, + UniDirResidualBwTo=None, + UniDirUtilizedBw=None, + UniDirUtilizedBwTo=None, + ): + """Base class infrastructure that gets a list of ospfPseudoTrafficEngineeringProfileList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - ActiveTo (str): optional regex of activeTo + - AdministratorGroup (str): optional regex of administratorGroup + - AdministratorGroupTo (str): optional regex of administratorGroupTo + - AdvMinMaxUniDiLinkDelay (str): optional regex of advMinMaxUniDiLinkDelay + - AdvMinMaxUniDiLinkDelayTo (str): optional regex of advMinMaxUniDiLinkDelayTo + - AdvUniDirAvailableBw (str): optional regex of advUniDirAvailableBw + - AdvUniDirAvailableBwTo (str): optional regex of advUniDirAvailableBwTo + - AdvUniDirDelayVariation (str): optional regex of advUniDirDelayVariation + - AdvUniDirDelayVariationTo (str): optional regex of advUniDirDelayVariationTo + - AdvUniDirLinkLoss (str): optional regex of advUniDirLinkLoss + - AdvUniDirLinkLossTo (str): optional regex of advUniDirLinkLossTo + - AdvUniDirResidualBw (str): optional regex of advUniDirResidualBw + - AdvUniDirResidualBwTo (str): optional regex of advUniDirResidualBwTo + - AdvUniDirUtilizedBw (str): optional regex of advUniDirUtilizedBw + - AdvUniDirUtilizedBwTo (str): optional regex of advUniDirUtilizedBwTo + - AdvertiseExtAdminGroup (str): optional regex of advertiseExtAdminGroup + - AdvertiseUniDiLinkDelay (str): optional regex of advertiseUniDiLinkDelay + - AdvertiseUniDiLinkDelayTo (str): optional regex of advertiseUniDiLinkDelayTo + - BandwidthPriority0 (str): optional regex of bandwidthPriority0 + - BandwidthPriority0To (str): optional regex of bandwidthPriority0To + - BandwidthPriority1 (str): optional regex of bandwidthPriority1 + - BandwidthPriority1To (str): optional regex of bandwidthPriority1To + - BandwidthPriority2 (str): optional regex of bandwidthPriority2 + - BandwidthPriority2To (str): optional regex of bandwidthPriority2To + - BandwidthPriority3 (str): optional regex of bandwidthPriority3 + - BandwidthPriority3To (str): optional regex of bandwidthPriority3To + - BandwidthPriority4 (str): optional regex of bandwidthPriority4 + - BandwidthPriority4To (str): optional regex of bandwidthPriority4To + - BandwidthPriority5 (str): optional regex of bandwidthPriority5 + - BandwidthPriority5To (str): optional regex of bandwidthPriority5To + - BandwidthPriority6 (str): optional regex of bandwidthPriority6 + - BandwidthPriority6To (str): optional regex of bandwidthPriority6To + - BandwidthPriority7 (str): optional regex of bandwidthPriority7 + - BandwidthPriority7To (str): optional regex of bandwidthPriority7To + - ExtAdminGroup (str): optional regex of extAdminGroup + - ExtAdminGroupLength (str): optional regex of extAdminGroupLength + - MaxBandwidth (str): optional regex of maxBandwidth + - MaxBandwidthTo (str): optional regex of maxBandwidthTo + - MaxReservableBandwidth (str): optional regex of maxReservableBandwidth + - MaxReservableBandwidthTo (str): optional regex of maxReservableBandwidthTo + - MetricLevel (str): optional regex of metricLevel + - MetricLevelTo (str): optional regex of metricLevelTo + - MinMaxUniDirLinkDelayABit (str): optional regex of minMaxUniDirLinkDelayABit + - MinMaxUniDirLinkDelayABitTo (str): optional regex of minMaxUniDirLinkDelayABitTo + - UniDirAvailableBw (str): optional regex of uniDirAvailableBw + - UniDirAvailableBwTo (str): optional regex of uniDirAvailableBwTo + - UniDirLinkDelay (str): optional regex of uniDirLinkDelay + - UniDirLinkDelayABit (str): optional regex of uniDirLinkDelayABit + - UniDirLinkDelayABitTo (str): optional regex of uniDirLinkDelayABitTo + - UniDirLinkDelayTo (str): optional regex of uniDirLinkDelayTo + - UniDirLinkDelayVariation (str): optional regex of uniDirLinkDelayVariation + - UniDirLinkDelayVariationTo (str): optional regex of uniDirLinkDelayVariationTo + - UniDirLinkLoss (str): optional regex of uniDirLinkLoss + - UniDirLinkLossABit (str): optional regex of uniDirLinkLossABit + - UniDirLinkLossABitTo (str): optional regex of uniDirLinkLossABitTo + - UniDirLinkLossTo (str): optional regex of uniDirLinkLossTo + - UniDirLinkMaxDelay (str): optional regex of uniDirLinkMaxDelay + - UniDirLinkMaxDelayTo (str): optional regex of uniDirLinkMaxDelayTo + - UniDirLinkMinDelay (str): optional regex of uniDirLinkMinDelay + - UniDirLinkMinDelayTo (str): optional regex of uniDirLinkMinDelayTo + - UniDirResidualBw (str): optional regex of uniDirResidualBw + - UniDirResidualBwTo (str): optional regex of uniDirResidualBwTo + - UniDirUtilizedBw (str): optional regex of uniDirUtilizedBw + - UniDirUtilizedBwTo (str): optional regex of uniDirUtilizedBwTo + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_82b8711289d118f725461612d6978c01.py similarity index 59% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_82b8711289d118f725461612d6978c01.py index b295ff9ca..958d0b193 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_82b8711289d118f725461612d6978c01.py @@ -27,51 +27,56 @@ from typing import List, Any, Union -class OspfPseudoTrafficEngineeringProfileList(Base): +class OspfTrafficEngineeringProfileList(Base): """OSPF Traffic Engineering Profiles - The OspfPseudoTrafficEngineeringProfileList class encapsulates a required ospfPseudoTrafficEngineeringProfileList resource which will be retrieved from the server every time the property is accessed. + The OspfTrafficEngineeringProfileList class encapsulates a required ospfTrafficEngineeringProfileList resource which will be retrieved from the server every time the property is accessed. """ __slots__ = () - _SDM_NAME = "ospfPseudoTrafficEngineeringProfileList" + _SDM_NAME = "ospfTrafficEngineeringProfileList" _SDM_ATT_MAP = { "Active": "active", - "ActiveTo": "activeTo", "AdministratorGroup": "administratorGroup", - "AdministratorGroupTo": "administratorGroupTo", + "AdvMinMaxUniDiLinkDelay": "advMinMaxUniDiLinkDelay", + "AdvUniDirAvailableBw": "advUniDirAvailableBw", + "AdvUniDirDelayVariation": "advUniDirDelayVariation", + "AdvUniDirLinkLoss": "advUniDirLinkLoss", + "AdvUniDirResidualBw": "advUniDirResidualBw", + "AdvUniDirUtilizedBw": "advUniDirUtilizedBw", "AdvertiseExtAdminGroup": "advertiseExtAdminGroup", + "AdvertiseUniDiLinkDelay": "advertiseUniDiLinkDelay", "BandwidthPriority0": "bandwidthPriority0", - "BandwidthPriority0To": "bandwidthPriority0To", "BandwidthPriority1": "bandwidthPriority1", - "BandwidthPriority1To": "bandwidthPriority1To", "BandwidthPriority2": "bandwidthPriority2", - "BandwidthPriority2To": "bandwidthPriority2To", "BandwidthPriority3": "bandwidthPriority3", - "BandwidthPriority3To": "bandwidthPriority3To", "BandwidthPriority4": "bandwidthPriority4", - "BandwidthPriority4To": "bandwidthPriority4To", "BandwidthPriority5": "bandwidthPriority5", - "BandwidthPriority5To": "bandwidthPriority5To", "BandwidthPriority6": "bandwidthPriority6", - "BandwidthPriority6To": "bandwidthPriority6To", "BandwidthPriority7": "bandwidthPriority7", - "BandwidthPriority7To": "bandwidthPriority7To", "Count": "count", "DescriptiveName": "descriptiveName", "ExtAdminGroup": "extAdminGroup", "ExtAdminGroupLength": "extAdminGroupLength", "MaxBandwidth": "maxBandwidth", - "MaxBandwidthTo": "maxBandwidthTo", "MaxReservableBandwidth": "maxReservableBandwidth", - "MaxReservableBandwidthTo": "maxReservableBandwidthTo", "MetricLevel": "metricLevel", - "MetricLevelTo": "metricLevelTo", + "MinMaxUniDirLinkDelayABit": "minMaxUniDirLinkDelayABit", "Name": "name", + "UniDirAvailableBw": "uniDirAvailableBw", + "UniDirLinkDelay": "uniDirLinkDelay", + "UniDirLinkDelayABit": "uniDirLinkDelayABit", + "UniDirLinkDelayVariation": "uniDirLinkDelayVariation", + "UniDirLinkLoss": "uniDirLinkLoss", + "UniDirLinkLossABit": "uniDirLinkLossABit", + "UniDirLinkMaxDelay": "uniDirLinkMaxDelay", + "UniDirLinkMinDelay": "uniDirLinkMinDelay", + "UniDirResidualBw": "uniDirResidualBw", + "UniDirUtilizedBw": "uniDirUtilizedBw", } _SDM_ENUM_MAP = {} def __init__(self, parent, list_op=False): - super(OspfPseudoTrafficEngineeringProfileList, self).__init__(parent, list_op) + super(OspfTrafficEngineeringProfileList, self).__init__(parent, list_op) @property def Active(self): @@ -79,204 +84,206 @@ def Active(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) @property - def ActiveTo(self): + def AdministratorGroup(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): TE To-Node Enable/Disable. + - obj(ixnetwork_restpy.multivalue.Multivalue): Administrator Group """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveTo"])) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroup"]) + ) @property - def AdministratorGroup(self): + def AdvMinMaxUniDiLinkDelay(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Administrator Group. + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Min/Max Uni-Directional Link Delay Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroup"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvMinMaxUniDiLinkDelay"]) ) @property - def AdministratorGroupTo(self): + def AdvUniDirAvailableBw(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Administrator Group. + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Available Bandwidth Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AdministratorGroupTo"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirAvailableBw"]) ) @property - def AdvertiseExtAdminGroup(self): + def AdvUniDirDelayVariation(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Advertise Ext Admin Group. + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Delay Variation Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseExtAdminGroup"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirDelayVariation"]) ) @property - def BandwidthPriority0(self): + def AdvUniDirLinkLoss(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 0 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Loss Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirLinkLoss"]) ) @property - def BandwidthPriority0To(self): + def AdvUniDirResidualBw(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 0 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Residual Bandwidth Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0To"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirResidualBw"]) ) @property - def BandwidthPriority1(self): + def AdvUniDirUtilizedBw(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 1 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Utilized Bandwidth Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvUniDirUtilizedBw"]) ) @property - def BandwidthPriority1To(self): + def AdvertiseExtAdminGroup(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 1 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Ext Admin Group """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1To"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseExtAdminGroup"]) ) @property - def BandwidthPriority2(self): + def AdvertiseUniDiLinkDelay(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 2 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Advertise Uni-Directional Link Delay Sub-TLV """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2"]) + self, self._get_attribute(self._SDM_ATT_MAP["AdvertiseUniDiLinkDelay"]) ) @property - def BandwidthPriority2To(self): + def BandwidthPriority0(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 2 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 0 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2To"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority0"]) ) @property - def BandwidthPriority3(self): + def BandwidthPriority1(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 3 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 1 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority1"]) ) @property - def BandwidthPriority3To(self): + def BandwidthPriority2(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 3 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 2 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3To"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority2"]) ) @property - def BandwidthPriority4(self): + def BandwidthPriority3(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 4 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 3 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority3"]) ) @property - def BandwidthPriority4To(self): + def BandwidthPriority4(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 4 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 4 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4To"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority4"]) ) @property @@ -285,7 +292,7 @@ def BandwidthPriority5(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 5 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 5 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue @@ -294,217 +301,289 @@ def BandwidthPriority5(self): ) @property - def BandwidthPriority5To(self): + def BandwidthPriority6(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 5 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 6 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority5To"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6"]) ) @property - def BandwidthPriority6(self): + def BandwidthPriority7(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 6 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth for Priority 7 (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6"]) + self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7"]) ) @property - def BandwidthPriority6To(self): + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def ExtAdminGroup(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Ext Admin Group + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroup"])) + + @property + def ExtAdminGroupLength(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 6 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Ext Admin Group Length """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority6To"]) + self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroupLength"]) ) @property - def BandwidthPriority7(self): + def MaxBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Bandwidth (B/sec) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidth"])) + + @property + def MaxReservableBandwidth(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Bandwidth for Priority 7 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Reservable Bandwidth (B/sec) """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7"]) + self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidth"]) ) @property - def BandwidthPriority7To(self): + def MetricLevel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): TE Metric Level + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevel"])) + + @property + def MinMaxUniDirLinkDelayABit(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Bandwidth for Priority 7 (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["BandwidthPriority7To"]) + self, self._get_attribute(self._SDM_ATT_MAP["MinMaxUniDirLinkDelayABit"]) ) @property - def Count(self): - # type: () -> int + def Name(self): + # type: () -> str """ Returns ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - str: Name of NGPF element, guaranteed to be unique in Scenario """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) @property - def DescriptiveName(self): - # type: () -> str + def UniDirAvailableBw(self): + # type: () -> 'Multivalue' """ Returns ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - obj(ixnetwork_restpy.multivalue.Multivalue): The Available Bandwidth on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating point format. """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirAvailableBw"]) + ) @property - def ExtAdminGroup(self): + def UniDirLinkDelay(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Ext Admin Group. + - obj(ixnetwork_restpy.multivalue.Multivalue): Average Link Delay in microseconds (us) """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroup"])) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelay"]) + ) @property - def ExtAdminGroupLength(self): + def UniDirLinkDelayABit(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Ext Admin Group Length. + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["ExtAdminGroupLength"]) + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayABit"]) ) @property - def MaxBandwidth(self): + def UniDirLinkDelayVariation(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Maximum Bandwidth (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): The Average Link Delay variation over aconfigurable interval in microseconds. """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidth"])) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkDelayVariation"]) + ) @property - def MaxBandwidthTo(self): + def UniDirLinkLoss(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Maximum Bandwidth (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Link Packet loss as a percentage of thetotal traffic sent over a configurable interval.The basic unit is 0.000003%, where (2^24 - 2) is 50.331642%. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MaxBandwidthTo"]) + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLoss"]) ) @property - def MaxReservableBandwidth(self): + def UniDirLinkLossABit(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, Maximum Reservable Bandwidth (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Anomalous Bit. Set whenthe measured value exceeds configured maximum threshold.Cleared otherwise. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidth"]) + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkLossABit"]) ) @property - def MaxReservableBandwidthTo(self): + def UniDirLinkMaxDelay(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, Maximum Reservable Bandwidth (B/sec). + - obj(ixnetwork_restpy.multivalue.Multivalue): Maximum Measured Link Delay value inmicroseconds over a configurable interval. """ from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MaxReservableBandwidthTo"]) + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMaxDelay"]) ) @property - def MetricLevel(self): + def UniDirLinkMinDelay(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): From Node to To Node, TE Metric Level. + - obj(ixnetwork_restpy.multivalue.Multivalue): Minimum measured link delay value inmicroseconds over a configurable interval. """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevel"])) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirLinkMinDelay"]) + ) @property - def MetricLevelTo(self): + def UniDirResidualBw(self): # type: () -> 'Multivalue' """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): To Node to From Node, TE Metric Level. + - obj(ixnetwork_restpy.multivalue.Multivalue): The Residual Bandwidth on a link, forwardingadjacency, or bundled link with units of Bytes Per Secondencoded in IEEE floating point format. """ from ixnetwork_restpy.multivalue import Multivalue - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricLevelTo"])) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirResidualBw"]) + ) @property - def Name(self): - # type: () -> str + def UniDirUtilizedBw(self): + # type: () -> 'Multivalue' """ Returns ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario + - obj(ixnetwork_restpy.multivalue.Multivalue): The Bandwidth Utilization on a link, forwardingadjacency, or bundled link with unitsof Bytes Per Second encoded in IEEE floating-point format. """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) + from ixnetwork_restpy.multivalue import Multivalue - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UniDirUtilizedBw"]) + ) def update(self, Name=None): - # type: (str) -> OspfPseudoTrafficEngineeringProfileList - """Updates ospfPseudoTrafficEngineeringProfileList resource on the server. + # type: (str) -> OspfTrafficEngineeringProfileList + """Updates ospfTrafficEngineeringProfileList resource on the server. This method has some named parameters with a type: obj (Multivalue). The Multivalue class has documentation that details the possible values for those named parameters. @@ -520,12 +599,12 @@ def update(self, Name=None): return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> OspfPseudoTrafficEngineeringProfileList - """Finds and retrieves ospfPseudoTrafficEngineeringProfileList resources from the server. + # type: (int, str, str) -> OspfTrafficEngineeringProfileList + """Finds and retrieves ospfTrafficEngineeringProfileList resources from the server. - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ospfPseudoTrafficEngineeringProfileList resources from the server. + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ospfTrafficEngineeringProfileList resources from the server. To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all ospfPseudoTrafficEngineeringProfileList resources from the server. + By default the find method takes no parameters and will retrieve all ospfTrafficEngineeringProfileList resources from the server. Args ---- @@ -535,7 +614,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): Returns ------- - - self: This instance with matching ospfPseudoTrafficEngineeringProfileList resources retrieved from the server available through an iterator or index + - self: This instance with matching ospfTrafficEngineeringProfileList resources retrieved from the server available through an iterator or index Raises ------ @@ -544,7 +623,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) def read(self, href): - """Retrieves a single instance of ospfPseudoTrafficEngineeringProfileList data from the server. + """Retrieves a single instance of ospfTrafficEngineeringProfileList data from the server. Args ---- @@ -552,7 +631,7 @@ def read(self, href): Returns ------- - - self: This instance with the ospfPseudoTrafficEngineeringProfileList resources from the server available through an iterator or index + - self: This instance with the ospfTrafficEngineeringProfileList resources from the server available through an iterator or index Raises ------ @@ -561,28 +640,6 @@ def read(self, href): """ return self._read(href) - def Abort(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the abort operation on the server. - - Abort CPF control plane (equals to demote to kUnconfigured state). - - abort(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("abort", payload=payload, response_object=None) - def AddDeleteTags(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addDeleteTags operation on the server. @@ -604,84 +661,45 @@ def AddDeleteTags(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("addDeleteTags", payload=payload, response_object=None) - def Start(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the start operation on the server. - - Start CPF control plane (equals to promote to negotiated state). - - start(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("start", payload=payload, response_object=None) - - def Stop(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the stop operation on the server. - - Stop CPF control plane (equals to demote to PreValidated-DoDDone state). - - stop(async_operation=bool) - -------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("stop", payload=payload, response_object=None) - def get_device_ids( self, PortNames=None, Active=None, - ActiveTo=None, AdministratorGroup=None, - AdministratorGroupTo=None, + AdvMinMaxUniDiLinkDelay=None, + AdvUniDirAvailableBw=None, + AdvUniDirDelayVariation=None, + AdvUniDirLinkLoss=None, + AdvUniDirResidualBw=None, + AdvUniDirUtilizedBw=None, AdvertiseExtAdminGroup=None, + AdvertiseUniDiLinkDelay=None, BandwidthPriority0=None, - BandwidthPriority0To=None, BandwidthPriority1=None, - BandwidthPriority1To=None, BandwidthPriority2=None, - BandwidthPriority2To=None, BandwidthPriority3=None, - BandwidthPriority3To=None, BandwidthPriority4=None, - BandwidthPriority4To=None, BandwidthPriority5=None, - BandwidthPriority5To=None, BandwidthPriority6=None, - BandwidthPriority6To=None, BandwidthPriority7=None, - BandwidthPriority7To=None, ExtAdminGroup=None, ExtAdminGroupLength=None, MaxBandwidth=None, - MaxBandwidthTo=None, MaxReservableBandwidth=None, - MaxReservableBandwidthTo=None, MetricLevel=None, - MetricLevelTo=None, + MinMaxUniDirLinkDelayABit=None, + UniDirAvailableBw=None, + UniDirLinkDelay=None, + UniDirLinkDelayABit=None, + UniDirLinkDelayVariation=None, + UniDirLinkLoss=None, + UniDirLinkLossABit=None, + UniDirLinkMaxDelay=None, + UniDirLinkMinDelay=None, + UniDirResidualBw=None, + UniDirUtilizedBw=None, ): - """Base class infrastructure that gets a list of ospfPseudoTrafficEngineeringProfileList device ids encapsulated by this object. + """Base class infrastructure that gets a list of ospfTrafficEngineeringProfileList device ids encapsulated by this object. Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. @@ -689,34 +707,39 @@ def get_device_ids( ---- - PortNames (str): optional regex of port names - Active (str): optional regex of active - - ActiveTo (str): optional regex of activeTo - AdministratorGroup (str): optional regex of administratorGroup - - AdministratorGroupTo (str): optional regex of administratorGroupTo + - AdvMinMaxUniDiLinkDelay (str): optional regex of advMinMaxUniDiLinkDelay + - AdvUniDirAvailableBw (str): optional regex of advUniDirAvailableBw + - AdvUniDirDelayVariation (str): optional regex of advUniDirDelayVariation + - AdvUniDirLinkLoss (str): optional regex of advUniDirLinkLoss + - AdvUniDirResidualBw (str): optional regex of advUniDirResidualBw + - AdvUniDirUtilizedBw (str): optional regex of advUniDirUtilizedBw - AdvertiseExtAdminGroup (str): optional regex of advertiseExtAdminGroup + - AdvertiseUniDiLinkDelay (str): optional regex of advertiseUniDiLinkDelay - BandwidthPriority0 (str): optional regex of bandwidthPriority0 - - BandwidthPriority0To (str): optional regex of bandwidthPriority0To - BandwidthPriority1 (str): optional regex of bandwidthPriority1 - - BandwidthPriority1To (str): optional regex of bandwidthPriority1To - BandwidthPriority2 (str): optional regex of bandwidthPriority2 - - BandwidthPriority2To (str): optional regex of bandwidthPriority2To - BandwidthPriority3 (str): optional regex of bandwidthPriority3 - - BandwidthPriority3To (str): optional regex of bandwidthPriority3To - BandwidthPriority4 (str): optional regex of bandwidthPriority4 - - BandwidthPriority4To (str): optional regex of bandwidthPriority4To - BandwidthPriority5 (str): optional regex of bandwidthPriority5 - - BandwidthPriority5To (str): optional regex of bandwidthPriority5To - BandwidthPriority6 (str): optional regex of bandwidthPriority6 - - BandwidthPriority6To (str): optional regex of bandwidthPriority6To - BandwidthPriority7 (str): optional regex of bandwidthPriority7 - - BandwidthPriority7To (str): optional regex of bandwidthPriority7To - ExtAdminGroup (str): optional regex of extAdminGroup - ExtAdminGroupLength (str): optional regex of extAdminGroupLength - MaxBandwidth (str): optional regex of maxBandwidth - - MaxBandwidthTo (str): optional regex of maxBandwidthTo - MaxReservableBandwidth (str): optional regex of maxReservableBandwidth - - MaxReservableBandwidthTo (str): optional regex of maxReservableBandwidthTo - MetricLevel (str): optional regex of metricLevel - - MetricLevelTo (str): optional regex of metricLevelTo + - MinMaxUniDirLinkDelayABit (str): optional regex of minMaxUniDirLinkDelayABit + - UniDirAvailableBw (str): optional regex of uniDirAvailableBw + - UniDirLinkDelay (str): optional regex of uniDirLinkDelay + - UniDirLinkDelayABit (str): optional regex of uniDirLinkDelayABit + - UniDirLinkDelayVariation (str): optional regex of uniDirLinkDelayVariation + - UniDirLinkLoss (str): optional regex of uniDirLinkLoss + - UniDirLinkLossABit (str): optional regex of uniDirLinkLossABit + - UniDirLinkMaxDelay (str): optional regex of uniDirLinkMaxDelay + - UniDirLinkMinDelay (str): optional regex of uniDirLinkMinDelay + - UniDirResidualBw (str): optional regex of uniDirResidualBw + - UniDirUtilizedBw (str): optional regex of uniDirUtilizedBw Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py index 97e620413..7aa2fe05d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py @@ -201,13 +201,13 @@ def OspfTrafficEngineeringProfileList(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.OspfTrafficEngineeringProfileList): An instance of the OspfTrafficEngineeringProfileList class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospftrafficengineeringprofilelist_82b8711289d118f725461612d6978c01.OspfTrafficEngineeringProfileList): An instance of the OspfTrafficEngineeringProfileList class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ospftrafficengineeringprofilelist_82b8711289d118f725461612d6978c01 import ( OspfTrafficEngineeringProfileList, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py index ad748e011..6541e0142 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py @@ -643,26 +643,6 @@ def Ptprobeinstancesrv6(self): return self._properties.get("Ptprobeinstancesrv6") return Ptprobeinstancesrv6(self) - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self) - @property def Tag(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py index c1267e0a5..3c9686876 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py @@ -628,26 +628,6 @@ def Ptprobeinstancesrv6(self): return self._properties.get("Ptprobeinstancesrv6") return Ptprobeinstancesrv6(self) - @property - def Rocev2(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d.Rocev2): An instance of the Rocev2 class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.rocev2_e6429a28cce71031afb98adb612f709d import ( - Rocev2, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Rocev2", None) is not None: - return self._properties.get("Rocev2") - return Rocev2(self) - @property def Vxlan(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_41f127b75896ebfffe1628d41332bf0b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_d5a38608c1c8ea4a658a5a073c10d0a4.py similarity index 98% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_41f127b75896ebfffe1628d41332bf0b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_d5a38608c1c8ea4a658a5a073c10d0a4.py index 9062d9751..30e4408d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_41f127b75896ebfffe1628d41332bf0b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_d5a38608c1c8ea4a658a5a073c10d0a4.py @@ -82,16 +82,15 @@ class Ptp(Base): "DelayResponseDelayInsertionRate": "delayResponseDelayInsertionRate", "DescriptiveName": "descriptiveName", "Domain": "domain", + "DownloadFilePath": "downloadFilePath", "DropMalformed": "dropMalformed", "DropSignalReqAnnounce": "dropSignalReqAnnounce", "DropSignalReqDelayResp": "dropSignalReqDelayResp", "DropSignalReqSync": "dropSignalReqSync", - "EmulateNwtt": "emulateNwtt", "EnableATOITlv": "enableATOITlv", "EnableCmlds": "enableCmlds", "EnableMultipleSubnet": "enableMultipleSubnet", "EnableNegativeTesting": "enableNegativeTesting", - "EnableSib9": "enableSib9", "Errors": "errors", "FileLocation": "fileLocation", "FolderPath": "folderPath", @@ -177,9 +176,6 @@ class Ptp(Base): "SessionInfo": "sessionInfo", "SessionStatus": "sessionStatus", "SetUserDefinedUtcOffset": "setUserDefinedUtcOffset", - "Sib9DstIp": "sib9DstIp", - "Sib9DstPort": "sib9DstPort", - "Sib9SrcPort": "sib9SrcPort", "SignalInterval": "signalInterval", "SignalUnicastHandling": "signalUnicastHandling", "SignallingDropRate": "signallingDropRate", @@ -211,7 +207,6 @@ class Ptp(Base): "TimeSource": "timeSource", "TimestampOffset": "timestampOffset", "TotalTimeInaccuracy": "totalTimeInaccuracy", - "TsiOui": "tsiOui", "TxCalibration": "txCalibration", "TxTwoStepCalibration": "txTwoStepCalibration", "UpdateTime": "updateTime", @@ -914,6 +909,16 @@ def Domain(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Domain"])) + @property + def DownloadFilePath(self): + # type: () -> str + """ + Returns + ------- + - str: Download Path + """ + return self._get_attribute(self._SDM_ATT_MAP["DownloadFilePath"]) + @property def DropMalformed(self): # type: () -> 'Multivalue' @@ -968,18 +973,6 @@ def DropSignalReqSync(self): self, self._get_attribute(self._SDM_ATT_MAP["DropSignalReqSync"]) ) - @property - def EmulateNwtt(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Enable NWTT Emulation to send TSi in Sync and discard PDelay messages. This will use software timestamp - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EmulateNwtt"])) - @property def EnableATOITlv(self): # type: () -> bool @@ -1040,18 +1033,6 @@ def EnableNegativeTesting(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EnableNegativeTesting"], value) - @property - def EnableSib9(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Enable Sib9 message transmission. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EnableSib9"])) - @property def Errors(self): """ @@ -2185,42 +2166,6 @@ def SetUserDefinedUtcOffset(self): self, self._get_attribute(self._SDM_ATT_MAP["SetUserDefinedUtcOffset"]) ) - @property - def Sib9DstIp(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination IP of SIB9 Messages. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9DstIp"])) - - @property - def Sib9DstPort(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Destination Port of SIB9 messages. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9DstPort"])) - - @property - def Sib9SrcPort(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port of SIB9 messages. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9SrcPort"])) - @property def SignalInterval(self): # type: () -> 'Multivalue' @@ -2634,18 +2579,6 @@ def TotalTimeInaccuracy(self): self, self._get_attribute(self._SDM_ATT_MAP["TotalTimeInaccuracy"]) ) - @property - def TsiOui(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): This field indicates the value of the Organizational Unique Identifier (OUI) assigned to 3GPP by the IEEE, coded in binary over 3 octets. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TsiOui"])) - @property def TxCalibration(self): # type: () -> 'Multivalue' @@ -2822,6 +2755,7 @@ def find( ConnectedVia=None, Count=None, DescriptiveName=None, + DownloadFilePath=None, EnableATOITlv=None, EnableCmlds=None, EnableMultipleSubnet=None, @@ -2856,6 +2790,7 @@ def find( - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - DownloadFilePath (str): Download Path - EnableATOITlv (bool): Enable ATOI TLV - EnableCmlds (bool): Enable Cmlds - EnableMultipleSubnet (bool): If this field is enabled user can configure slaves of multiple subnet. @@ -3246,8 +3181,6 @@ def get_device_ids( DropSignalReqAnnounce=None, DropSignalReqDelayResp=None, DropSignalReqSync=None, - EmulateNwtt=None, - EnableSib9=None, FileLocation=None, FolderPath=None, FollowUpBadCrcRate=None, @@ -3323,9 +3256,6 @@ def get_device_ids( SendInterfaceRateTlv=None, SendMulticastAnnounce=None, SetUserDefinedUtcOffset=None, - Sib9DstIp=None, - Sib9DstPort=None, - Sib9SrcPort=None, SignalInterval=None, SignalUnicastHandling=None, SignallingDropRate=None, @@ -3353,7 +3283,6 @@ def get_device_ids( TimeSource=None, TimestampOffset=None, TotalTimeInaccuracy=None, - TsiOui=None, TxCalibration=None, TxTwoStepCalibration=None, UpdateTime=None, @@ -3408,8 +3337,6 @@ def get_device_ids( - DropSignalReqAnnounce (str): optional regex of dropSignalReqAnnounce - DropSignalReqDelayResp (str): optional regex of dropSignalReqDelayResp - DropSignalReqSync (str): optional regex of dropSignalReqSync - - EmulateNwtt (str): optional regex of emulateNwtt - - EnableSib9 (str): optional regex of enableSib9 - FileLocation (str): optional regex of fileLocation - FolderPath (str): optional regex of folderPath - FollowUpBadCrcRate (str): optional regex of followUpBadCrcRate @@ -3485,9 +3412,6 @@ def get_device_ids( - SendInterfaceRateTlv (str): optional regex of sendInterfaceRateTlv - SendMulticastAnnounce (str): optional regex of sendMulticastAnnounce - SetUserDefinedUtcOffset (str): optional regex of setUserDefinedUtcOffset - - Sib9DstIp (str): optional regex of sib9DstIp - - Sib9DstPort (str): optional regex of sib9DstPort - - Sib9SrcPort (str): optional regex of sib9SrcPort - SignalInterval (str): optional regex of signalInterval - SignalUnicastHandling (str): optional regex of signalUnicastHandling - SignallingDropRate (str): optional regex of signallingDropRate @@ -3515,7 +3439,6 @@ def get_device_ids( - TimeSource (str): optional regex of timeSource - TimestampOffset (str): optional regex of timestampOffset - TotalTimeInaccuracy (str): optional regex of totalTimeInaccuracy - - TsiOui (str): optional regex of tsiOui - TxCalibration (str): optional regex of txCalibration - TxTwoStepCalibration (str): optional regex of txTwoStepCalibration - UpdateTime (str): optional regex of updateTime diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/roce6v2_83b8c158db88fd2dab26f3dc3d5e8aec.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/roce6v2_83b8c158db88fd2dab26f3dc3d5e8aec.py deleted file mode 100644 index 761b8e465..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/roce6v2_83b8c158db88fd2dab26f3dc3d5e8aec.py +++ /dev/null @@ -1,690 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Roce6v2(Base): - """RoCEv2 over IPv6 - The Roce6v2 class encapsulates a list of roce6v2 resources that are managed by the user. - A list of resources can be retrieved from the server using the Roce6v2.find() method. - The list can be managed by using the Roce6v2.add() and Roce6v2.remove() methods. - """ - - __slots__ = () - _SDM_NAME = "roce6v2" - _SDM_ATT_MAP = { - "ConnectedVia": "connectedVia", - "Count": "count", - "DescriptiveName": "descriptiveName", - "Errors": "errors", - "Multiplier": "multiplier", - "MvPeerSetGroup": "mvPeerSetGroup", - "Name": "name", - "QPAllocated": "qPAllocated", - "QpCount": "qpCount", - "SessionStatus": "sessionStatus", - "StackedLayers": "stackedLayers", - "StateCounts": "stateCounts", - "Status": "status", - } - _SDM_ENUM_MAP = { - "status": [ - "configured", - "error", - "mixed", - "notStarted", - "started", - "starting", - "stopping", - ], - } - - def __init__(self, parent, list_op=False): - super(Roce6v2, self).__init__(parent, list_op) - - @property - def EndOfLoad(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.endofload_b6e74aef3bc2fccf17638eff0566c52a.EndOfLoad): An instance of the EndOfLoad class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.endofload_b6e74aef3bc2fccf17638eff0566c52a import ( - EndOfLoad, - ) - - if len(self._object_properties) > 0: - if self._properties.get("EndOfLoad", None) is not None: - return self._properties.get("EndOfLoad") - return EndOfLoad(self) - - @property - def Flows(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.flows_b3774dad14019b0d75bf50968cf1c22d.Flows): An instance of the Flows class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.flows_b3774dad14019b0d75bf50968cf1c22d import ( - Flows, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Flows", None) is not None: - return self._properties.get("Flows") - return Flows(self) - - @property - def Oldflows(self): - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.oldflows_b9695c5a20e12ec985c8ed67a629dd06.Oldflows): An instance of the Oldflows class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.oldflows_b9695c5a20e12ec985c8ed67a629dd06 import ( - Oldflows, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Oldflows", None) is not None: - return self._properties.get("Oldflows") - return Oldflows(self) - - @property - def ConnectedVia(self): - # type: () -> List[str] - """DEPRECATED - Returns - ------- - - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of layers this layer is used to connect with to the wire. - """ - return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) - - @ConnectedVia.setter - def ConnectedVia(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def Errors(self): - """ - Returns - ------- - - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred - """ - return self._get_attribute(self._SDM_ATT_MAP["Errors"]) - - @property - def Multiplier(self): - # type: () -> int - """ - Returns - ------- - - number: Number of layer instances per parent instance (multiplier) - """ - return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) - - @Multiplier.setter - def Multiplier(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) - - @property - def MvPeerSetGroup(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Peers - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MvPeerSetGroup"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def QPAllocated(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Per Device QP Share. - """ - return self._get_attribute(self._SDM_ATT_MAP["QPAllocated"]) - - @property - def QpCount(self): - # type: () -> int - """ - Returns - ------- - - number: Number of QPs configured for this Device Group - """ - return self._get_attribute(self._SDM_ATT_MAP["QpCount"]) - - @QpCount.setter - def QpCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["QpCount"], value) - - @property - def SessionStatus(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. - """ - return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) - - @property - def StackedLayers(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of secondary (many to one) child layer protocols - """ - return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) - - @StackedLayers.setter - def StackedLayers(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) - - @property - def StateCounts(self): - """ - Returns - ------- - - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up - """ - return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) - - @property - def Status(self): - # type: () -> str - """ - Returns - ------- - - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. - """ - return self._get_attribute(self._SDM_ATT_MAP["Status"]) - - def update( - self, - ConnectedVia=None, - Multiplier=None, - Name=None, - QpCount=None, - StackedLayers=None, - ): - # type: (List[str], int, str, int, List[str]) -> Roce6v2 - """Updates roce6v2 resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QpCount (number): Number of QPs configured for this Device Group - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add( - self, - ConnectedVia=None, - Multiplier=None, - Name=None, - QpCount=None, - StackedLayers=None, - ): - # type: (List[str], int, str, int, List[str]) -> Roce6v2 - """Adds a new roce6v2 resource on the server and adds it to the container. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QpCount (number): Number of QPs configured for this Device Group - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - Returns - ------- - - self: This instance with all currently retrieved roce6v2 resources using find and the newly added roce6v2 resources available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) - - def remove(self): - """Deletes all the contained roce6v2 resources in this instance from the server. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - self._delete() - - def find( - self, - ConnectedVia=None, - Count=None, - DescriptiveName=None, - Errors=None, - Multiplier=None, - Name=None, - QPAllocated=None, - QpCount=None, - SessionStatus=None, - StackedLayers=None, - StateCounts=None, - Status=None, - ): - """Finds and retrieves roce6v2 resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roce6v2 resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roce6v2 resources from the server. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QPAllocated (list(str)): Per Device QP Share. - - QpCount (number): Number of QPs configured for this Device Group - - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up - - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. - - Returns - ------- - - self: This instance with matching roce6v2 resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roce6v2 data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roce6v2 resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def Abort(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the abort operation on the server. - - Abort CPF control plane (equals to demote to kUnconfigured state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - abort(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - abort(SessionIndices=list, async_operation=bool) - ------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - abort(SessionIndices=string, async_operation=bool) - -------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("abort", payload=payload, response_object=None) - - def AddDeleteTags(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDeleteTags operation on the server. - - addDeleteTags(Arg2=bool, async_operation=bool) - ---------------------------------------------- - - Arg2 (bool): - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("addDeleteTags", payload=payload, response_object=None) - - def AddDestinationPeers(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDestinationPeers operation on the server. - - Adds destination peers. - - addDestinationPeers(Arg2=list, async_operation=bool) - ---------------------------------------------------- - - Arg2 (list(str[None | /api/v1/sessions/1/ixnetwork/])): list of peers - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "addDestinationPeers", payload=payload, response_object=None - ) - - def AddFlowsForAllDestinations(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addFlowsForAllDestinations operation on the server. - - Add Flows For All Destinations. - - addFlowsForAllDestinations(async_operation=bool) - ------------------------------------------------ - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "addFlowsForAllDestinations", payload=payload, response_object=None - ) - - def RemoveDestinationPeers(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the removeDestinationPeers operation on the server. - - Removes destination peers. - - removeDestinationPeers(Arg2=list, async_operation=bool) - ------------------------------------------------------- - - Arg2 (list(str[None | /api/v1/sessions/1/ixnetwork/])): list of peers - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "removeDestinationPeers", payload=payload, response_object=None - ) - - def RemoveFlowsForAllDestinations(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the removeFlowsForAllDestinations operation on the server. - - Remove Flows For All Destinations. - - removeFlowsForAllDestinations(async_operation=bool) - --------------------------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "removeFlowsForAllDestinations", payload=payload, response_object=None - ) - - def RestartDown(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the restartDown operation on the server. - - Stop and start interfaces and sessions that are in Down state. - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - restartDown(async_operation=bool) - --------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - restartDown(SessionIndices=list, async_operation=bool) - ------------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - restartDown(SessionIndices=string, async_operation=bool) - -------------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("restartDown", payload=payload, response_object=None) - - def Start(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the start operation on the server. - - Start CPF control plane (equals to promote to negotiated state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - start(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - start(SessionIndices=list, async_operation=bool) - ------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - start(SessionIndices=string, async_operation=bool) - -------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("start", payload=payload, response_object=None) - - def Stop(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the stop operation on the server. - - Stop CPF control plane (equals to demote to PreValidated-DoDDone state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - stop(async_operation=bool) - -------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - stop(SessionIndices=list, async_operation=bool) - ----------------------------------------------- - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - stop(SessionIndices=string, async_operation=bool) - ------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("stop", payload=payload, response_object=None) - - def get_device_ids(self, PortNames=None, MvPeerSetGroup=None): - """Base class infrastructure that gets a list of roce6v2 device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - MvPeerSetGroup (str): optional regex of mvPeerSetGroup - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rocev2_e6429a28cce71031afb98adb612f709d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rocev2_e6429a28cce71031afb98adb612f709d.py deleted file mode 100644 index fd9d6a3b0..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rocev2_e6429a28cce71031afb98adb612f709d.py +++ /dev/null @@ -1,690 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class Rocev2(Base): - """RoCEv2 (Device) level Configuration - The Rocev2 class encapsulates a list of rocev2 resources that are managed by the user. - A list of resources can be retrieved from the server using the Rocev2.find() method. - The list can be managed by using the Rocev2.add() and Rocev2.remove() methods. - """ - - __slots__ = () - _SDM_NAME = "rocev2" - _SDM_ATT_MAP = { - "ConnectedVia": "connectedVia", - "Count": "count", - "DescriptiveName": "descriptiveName", - "Errors": "errors", - "Multiplier": "multiplier", - "MvPeerSetGroup": "mvPeerSetGroup", - "Name": "name", - "QPAllocated": "qPAllocated", - "QpCount": "qpCount", - "SessionStatus": "sessionStatus", - "StackedLayers": "stackedLayers", - "StateCounts": "stateCounts", - "Status": "status", - } - _SDM_ENUM_MAP = { - "status": [ - "configured", - "error", - "mixed", - "notStarted", - "started", - "starting", - "stopping", - ], - } - - def __init__(self, parent, list_op=False): - super(Rocev2, self).__init__(parent, list_op) - - @property - def EndOfLoad(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.endofload_b6e74aef3bc2fccf17638eff0566c52a.EndOfLoad): An instance of the EndOfLoad class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.endofload_b6e74aef3bc2fccf17638eff0566c52a import ( - EndOfLoad, - ) - - if len(self._object_properties) > 0: - if self._properties.get("EndOfLoad", None) is not None: - return self._properties.get("EndOfLoad") - return EndOfLoad(self) - - @property - def Flows(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.flows_b3774dad14019b0d75bf50968cf1c22d.Flows): An instance of the Flows class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.flows_b3774dad14019b0d75bf50968cf1c22d import ( - Flows, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Flows", None) is not None: - return self._properties.get("Flows") - return Flows(self) - - @property - def Oldflows(self): - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.oldflows_b9695c5a20e12ec985c8ed67a629dd06.Oldflows): An instance of the Oldflows class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.oldflows_b9695c5a20e12ec985c8ed67a629dd06 import ( - Oldflows, - ) - - if len(self._object_properties) > 0: - if self._properties.get("Oldflows", None) is not None: - return self._properties.get("Oldflows") - return Oldflows(self) - - @property - def ConnectedVia(self): - # type: () -> List[str] - """DEPRECATED - Returns - ------- - - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of layers this layer is used to connect with to the wire. - """ - return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) - - @ConnectedVia.setter - def ConnectedVia(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) - - @property - def Count(self): - # type: () -> int - """ - Returns - ------- - - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Count"]) - - @property - def DescriptiveName(self): - # type: () -> str - """ - Returns - ------- - - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - """ - return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) - - @property - def Errors(self): - """ - Returns - ------- - - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred - """ - return self._get_attribute(self._SDM_ATT_MAP["Errors"]) - - @property - def Multiplier(self): - # type: () -> int - """ - Returns - ------- - - number: Number of layer instances per parent instance (multiplier) - """ - return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) - - @Multiplier.setter - def Multiplier(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) - - @property - def MvPeerSetGroup(self): - # type: () -> 'Multivalue' - """DEPRECATED - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Destination Peers - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["MvPeerSetGroup"]) - ) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: Name of NGPF element, guaranteed to be unique in Scenario - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def QPAllocated(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str): Per Device QP Share. - """ - return self._get_attribute(self._SDM_ATT_MAP["QPAllocated"]) - - @property - def QpCount(self): - # type: () -> int - """ - Returns - ------- - - number: Number of QPs configured for this Device Group - """ - return self._get_attribute(self._SDM_ATT_MAP["QpCount"]) - - @QpCount.setter - def QpCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["QpCount"], value) - - @property - def SessionStatus(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. - """ - return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) - - @property - def StackedLayers(self): - # type: () -> List[str] - """ - Returns - ------- - - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of secondary (many to one) child layer protocols - """ - return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) - - @StackedLayers.setter - def StackedLayers(self, value): - # type: (List[str]) -> None - self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) - - @property - def StateCounts(self): - """ - Returns - ------- - - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up - """ - return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) - - @property - def Status(self): - # type: () -> str - """ - Returns - ------- - - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. - """ - return self._get_attribute(self._SDM_ATT_MAP["Status"]) - - def update( - self, - ConnectedVia=None, - Multiplier=None, - Name=None, - QpCount=None, - StackedLayers=None, - ): - # type: (List[str], int, str, int, List[str]) -> Rocev2 - """Updates rocev2 resource on the server. - - This method has some named parameters with a type: obj (Multivalue). - The Multivalue class has documentation that details the possible values for those named parameters. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QpCount (number): Number of QPs configured for this Device Group - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add( - self, - ConnectedVia=None, - Multiplier=None, - Name=None, - QpCount=None, - StackedLayers=None, - ): - # type: (List[str], int, str, int, List[str]) -> Rocev2 - """Adds a new rocev2 resource on the server and adds it to the container. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QpCount (number): Number of QPs configured for this Device Group - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - Returns - ------- - - self: This instance with all currently retrieved rocev2 resources using find and the newly added rocev2 resources available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) - - def remove(self): - """Deletes all the contained rocev2 resources in this instance from the server. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - self._delete() - - def find( - self, - ConnectedVia=None, - Count=None, - DescriptiveName=None, - Errors=None, - Multiplier=None, - Name=None, - QPAllocated=None, - QpCount=None, - SessionStatus=None, - StackedLayers=None, - StateCounts=None, - Status=None, - ): - """Finds and retrieves rocev2 resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve rocev2 resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all rocev2 resources from the server. - - Args - ---- - - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. - - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred - - Multiplier (number): Number of layer instances per parent instance (multiplier) - - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - - QPAllocated (list(str)): Per Device QP Share. - - QpCount (number): Number of QPs configured for this Device Group - - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. - - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols - - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up - - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. - - Returns - ------- - - self: This instance with matching rocev2 resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of rocev2 data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the rocev2 resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def Abort(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the abort operation on the server. - - Abort CPF control plane (equals to demote to kUnconfigured state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - abort(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - abort(SessionIndices=list, async_operation=bool) - ------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - abort(SessionIndices=string, async_operation=bool) - -------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("abort", payload=payload, response_object=None) - - def AddDeleteTags(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDeleteTags operation on the server. - - addDeleteTags(Arg2=bool, async_operation=bool) - ---------------------------------------------- - - Arg2 (bool): - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("addDeleteTags", payload=payload, response_object=None) - - def AddDestinationPeers(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addDestinationPeers operation on the server. - - Adds destination peers. - - addDestinationPeers(Arg2=list, async_operation=bool) - ---------------------------------------------------- - - Arg2 (list(str[None | /api/v1/sessions/1/ixnetwork/])): list of peers - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "addDestinationPeers", payload=payload, response_object=None - ) - - def AddFlowsForAllDestinations(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addFlowsForAllDestinations operation on the server. - - Add Flows For All Destinations. - - addFlowsForAllDestinations(async_operation=bool) - ------------------------------------------------ - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "addFlowsForAllDestinations", payload=payload, response_object=None - ) - - def RemoveDestinationPeers(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the removeDestinationPeers operation on the server. - - Removes destination peers. - - removeDestinationPeers(Arg2=list, async_operation=bool) - ------------------------------------------------------- - - Arg2 (list(str[None | /api/v1/sessions/1/ixnetwork/])): list of peers - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "removeDestinationPeers", payload=payload, response_object=None - ) - - def RemoveFlowsForAllDestinations(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the removeFlowsForAllDestinations operation on the server. - - Remove Flows For All Destinations. - - removeFlowsForAllDestinations(async_operation=bool) - --------------------------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "removeFlowsForAllDestinations", payload=payload, response_object=None - ) - - def RestartDown(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the restartDown operation on the server. - - Stop and start interfaces and sessions that are in Down state. - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - restartDown(async_operation=bool) - --------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - restartDown(SessionIndices=list, async_operation=bool) - ------------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - restartDown(SessionIndices=string, async_operation=bool) - -------------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("restartDown", payload=payload, response_object=None) - - def Start(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the start operation on the server. - - Start CPF control plane (equals to promote to negotiated state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - start(async_operation=bool) - --------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - start(SessionIndices=list, async_operation=bool) - ------------------------------------------------ - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - start(SessionIndices=string, async_operation=bool) - -------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("start", payload=payload, response_object=None) - - def Stop(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the stop operation on the server. - - Stop CPF control plane (equals to demote to PreValidated-DoDDone state). - - The IxNetwork model allows for multiple method Signatures with the same name while python does not. - - stop(async_operation=bool) - -------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - stop(SessionIndices=list, async_operation=bool) - ----------------------------------------------- - - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - stop(SessionIndices=string, async_operation=bool) - ------------------------------------------------- - - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("stop", payload=payload, response_object=None) - - def get_device_ids(self, PortNames=None, MvPeerSetGroup=None): - """Base class infrastructure that gets a list of rocev2 device ids encapsulated by this object. - - Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. - - Args - ---- - - PortNames (str): optional regex of port names - - MvPeerSetGroup (str): optional regex of mvPeerSetGroup - - Returns - ------- - - list(int): A list of device ids that meets the regex criteria provided in the method parameters - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_1fc553ada89d0fcad13e14f944ba6854.py similarity index 90% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_1fc553ada89d0fcad13e14f944ba6854.py index 12b9633af..4e55ea542 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_1fc553ada89d0fcad13e14f944ba6854.py @@ -57,12 +57,18 @@ class StaticMacsec(Base): "EndStation": "endStation", "Errors": "errors", "ExcludedProtocols": "excludedProtocols", + "FirstPn": "firstPn", "FixedPn": "fixedPn", "IncludeSci": "includeSci", + "IncrementingPn": "incrementingPn", + "LastPn": "lastPn", "Multiplier": "multiplier", + "MvFirstXpn": "mvFirstXpn", "MvFixedXpn": "mvFixedXpn", + "MvLastXpn": "mvLastXpn", "Name": "name", "OverrideTciSetting": "overrideTciSetting", + "PacketCountPn": "packetCountPn", "PeriodicRekeyAttempts": "periodicRekeyAttempts", "PeriodicRekeyInterval": "periodicRekeyInterval", "PortId": "portId", @@ -482,6 +488,21 @@ def ExcludedProtocols(self): self, self._get_attribute(self._SDM_ATT_MAP["ExcludedProtocols"]) ) + @property + def FirstPn(self): + # type: () -> int + """ + Returns + ------- + - number: First Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["FirstPn"]) + + @FirstPn.setter + def FirstPn(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FirstPn"], value) + @property def FixedPn(self): # type: () -> int @@ -509,6 +530,31 @@ def IncludeSci(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSci"])) + @property + def IncrementingPn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Determines whether MACsec packets will be sent out by single device with an incrementing PN or XPN. If Incrementing PN-XPN, is disabled then all MACsec packets will be sent out with the configured Fixed PN or lower half of configured Fixed XPN. + """ + return self._get_attribute(self._SDM_ATT_MAP["IncrementingPn"]) + + @IncrementingPn.setter + def IncrementingPn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncrementingPn"], value) + + @property + def LastPn(self): + # type: () -> int + """ + Returns + ------- + - number: Last Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["LastPn"]) + @property def Multiplier(self): # type: () -> int @@ -524,6 +570,18 @@ def Multiplier(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + @property + def MvFirstXpn(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): First 8 bytes PN of the PN range with which first MACsec packet of single device of the device group will be sent out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MvFirstXpn"])) + @property def MvFixedXpn(self): # type: () -> 'Multivalue' @@ -536,6 +594,18 @@ def MvFixedXpn(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MvFixedXpn"])) + @property + def MvLastXpn(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Last 8 bytes PN of the PN range with which last MACsec packet of single device of the device group will be sent out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MvLastXpn"])) + @property def Name(self): # type: () -> str @@ -565,6 +635,21 @@ def OverrideTciSetting(self): self, self._get_attribute(self._SDM_ATT_MAP["OverrideTciSetting"]) ) + @property + def PacketCountPn(self): + # type: () -> int + """ + Returns + ------- + - number: Number of Packets of defined PN range which MACsec packets will be sent out by single device of the Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketCountPn"]) + + @PacketCountPn.setter + def PacketCountPn(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketCountPn"], value) + @property def PeriodicRekeyAttempts(self): # type: () -> int @@ -853,9 +938,12 @@ def update( EncryptedTrafficType=None, EncryptedVlanCount=None, EncryptionEngine=None, + FirstPn=None, FixedPn=None, + IncrementingPn=None, Multiplier=None, Name=None, + PacketCountPn=None, PeriodicRekeyAttempts=None, PeriodicRekeyInterval=None, RekeyBehaviour=None, @@ -865,7 +953,7 @@ def update( StackedLayers=None, TxSakPoolSize=None, ): - # type: (List[str], bool, str, int, str, int, int, str, int, int, str, int, bool, List[str], List[str], int) -> StaticMacsec + # type: (List[str], bool, str, int, str, int, int, bool, int, str, int, int, int, str, int, bool, List[str], List[str], int) -> StaticMacsec """Updates staticMacsec resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -878,9 +966,12 @@ def update( - EncryptedTrafficType (str(statefulL47 | statelessL23)): Determines the set of MACsec functionalities supported by a Device Group. Stateless L2-3 enables encryption of stateless L2-3 traffic at line rate, Stateful L4-7 enables encryption and live decryption of stateful L4-7 traffic at lower throughput. Separate Device Groups need to be configured to get both the options on the same port. - EncryptedVlanCount (number): Denotes the number of VLANs to be sent as encrypted VLANs. Maximum 6 VLANs can be configured as encrypted VLANs. - EncryptionEngine (str(softwareBased | hardwareBased)): Obsolete field. Replaced by Encrypted Traffic Type. Value is always same as Encrypted Traffic Type. + - FirstPn (number): First Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. - FixedPn (number): Packet Number with which all MACsec packets will be sent out by all the devices of the Device Group. + - IncrementingPn (bool): Determines whether MACsec packets will be sent out by single device with an incrementing PN or XPN. If Incrementing PN-XPN, is disabled then all MACsec packets will be sent out with the configured Fixed PN or lower half of configured Fixed XPN. - Multiplier (number): Number of layer instances per parent instance (multiplier) - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - PacketCountPn (number): Number of Packets of defined PN range which MACsec packets will be sent out by single device of the Device Group. - PeriodicRekeyAttempts (number): Determines the number of times Rekey will happen after MACsec is started. - PeriodicRekeyInterval (number): Determines the time interval between two subsequent Rekey events. The timer starts with the first MACsec packet transmission from a device. - RekeyBehaviour (str(dontRekey | rekeyContinuous | rekeyFixedCount)): Determines the Rekey behavior. @@ -903,9 +994,12 @@ def add( EncryptedTrafficType=None, EncryptedVlanCount=None, EncryptionEngine=None, + FirstPn=None, FixedPn=None, + IncrementingPn=None, Multiplier=None, Name=None, + PacketCountPn=None, PeriodicRekeyAttempts=None, PeriodicRekeyInterval=None, RekeyBehaviour=None, @@ -915,7 +1009,7 @@ def add( StackedLayers=None, TxSakPoolSize=None, ): - # type: (List[str], bool, str, int, str, int, int, str, int, int, str, int, bool, List[str], List[str], int) -> StaticMacsec + # type: (List[str], bool, str, int, str, int, int, bool, int, str, int, int, int, str, int, bool, List[str], List[str], int) -> StaticMacsec """Adds a new staticMacsec resource on the server and adds it to the container. Args @@ -925,9 +1019,12 @@ def add( - EncryptedTrafficType (str(statefulL47 | statelessL23)): Determines the set of MACsec functionalities supported by a Device Group. Stateless L2-3 enables encryption of stateless L2-3 traffic at line rate, Stateful L4-7 enables encryption and live decryption of stateful L4-7 traffic at lower throughput. Separate Device Groups need to be configured to get both the options on the same port. - EncryptedVlanCount (number): Denotes the number of VLANs to be sent as encrypted VLANs. Maximum 6 VLANs can be configured as encrypted VLANs. - EncryptionEngine (str(softwareBased | hardwareBased)): Obsolete field. Replaced by Encrypted Traffic Type. Value is always same as Encrypted Traffic Type. + - FirstPn (number): First Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. - FixedPn (number): Packet Number with which all MACsec packets will be sent out by all the devices of the Device Group. + - IncrementingPn (bool): Determines whether MACsec packets will be sent out by single device with an incrementing PN or XPN. If Incrementing PN-XPN, is disabled then all MACsec packets will be sent out with the configured Fixed PN or lower half of configured Fixed XPN. - Multiplier (number): Number of layer instances per parent instance (multiplier) - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - PacketCountPn (number): Number of Packets of defined PN range which MACsec packets will be sent out by single device of the Device Group. - PeriodicRekeyAttempts (number): Determines the number of times Rekey will happen after MACsec is started. - PeriodicRekeyInterval (number): Determines the time interval between two subsequent Rekey events. The timer starts with the first MACsec packet transmission from a device. - RekeyBehaviour (str(dontRekey | rekeyContinuous | rekeyFixedCount)): Determines the Rekey behavior. @@ -967,9 +1064,13 @@ def find( EncryptedVlanCount=None, EncryptionEngine=None, Errors=None, + FirstPn=None, FixedPn=None, + IncrementingPn=None, + LastPn=None, Multiplier=None, Name=None, + PacketCountPn=None, PeriodicRekeyAttempts=None, PeriodicRekeyInterval=None, RekeyBehaviour=None, @@ -998,9 +1099,13 @@ def find( - EncryptedVlanCount (number): Denotes the number of VLANs to be sent as encrypted VLANs. Maximum 6 VLANs can be configured as encrypted VLANs. - EncryptionEngine (str(softwareBased | hardwareBased)): Obsolete field. Replaced by Encrypted Traffic Type. Value is always same as Encrypted Traffic Type. - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - FirstPn (number): First Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. - FixedPn (number): Packet Number with which all MACsec packets will be sent out by all the devices of the Device Group. + - IncrementingPn (bool): Determines whether MACsec packets will be sent out by single device with an incrementing PN or XPN. If Incrementing PN-XPN, is disabled then all MACsec packets will be sent out with the configured Fixed PN or lower half of configured Fixed XPN. + - LastPn (number): Last Packet Number of defined PN range with which MACsec packets will be sent out by single device of the Device Group. - Multiplier (number): Number of layer instances per parent instance (multiplier) - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - PacketCountPn (number): Number of Packets of defined PN range which MACsec packets will be sent out by single device of the Device Group. - PeriodicRekeyAttempts (number): Determines the number of times Rekey will happen after MACsec is started. - PeriodicRekeyInterval (number): Determines the time interval between two subsequent Rekey events. The timer starts with the first MACsec packet transmission from a device. - RekeyBehaviour (str(dontRekey | rekeyContinuous | rekeyFixedCount)): Determines the Rekey behavior. @@ -1214,7 +1319,9 @@ def get_device_ids( EndStation=None, ExcludedProtocols=None, IncludeSci=None, + MvFirstXpn=None, MvFixedXpn=None, + MvLastXpn=None, OverrideTciSetting=None, PortId=None, SourceIp=None, @@ -1248,7 +1355,9 @@ def get_device_ids( - EndStation (str): optional regex of endStation - ExcludedProtocols (str): optional regex of excludedProtocols - IncludeSci (str): optional regex of includeSci + - MvFirstXpn (str): optional regex of mvFirstXpn - MvFixedXpn (str): optional regex of mvFixedXpn + - MvLastXpn (str): optional regex of mvLastXpn - OverrideTciSetting (str): optional regex of overrideTciSetting - PortId (str): optional regex of portId - SourceIp (str): optional regex of sourceIp diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2dcqcnparams/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2dcqcnparams/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2dcqcnparams/rocev2dcqcnparams.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2dcqcnparams/rocev2dcqcnparams.py deleted file mode 100644 index 83d4af039..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2dcqcnparams/rocev2dcqcnparams.py +++ /dev/null @@ -1,378 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class RoceV2DcqcnParams(Base): - """This object provides different options for the DCQCN settings for Tx Port. - The RoceV2DcqcnParams class encapsulates a required roceV2DcqcnParams resource which will be retrieved from the server every time the property is accessed. - """ - - __slots__ = () - _SDM_NAME = "roceV2DcqcnParams" - _SDM_ATT_MAP = { - "AdditiveIncrRate": "additiveIncrRate", - "AlphaG": "alphaG", - "AlphaUpdatePeriod": "alphaUpdatePeriod", - "ByteResetCount": "byteResetCount", - "Enabled": "enabled", - "HyperIncrRate": "hyperIncrRate", - "InitAlpha": "initAlpha", - "InitRateOnFirstCnpReceived": "initRateOnFirstCnpReceived", - "MaxFlowRateDecrPerStep": "maxFlowRateDecrPerStep", - "MinRateLimit": "minRateLimit", - "RateIncrTimerResetPeriod": "rateIncrTimerResetPeriod", - "RateReduceMonitorPeriod": "rateReduceMonitorPeriod", - "StageThreshold": "stageThreshold", - "TargetRateClamp": "targetRateClamp", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(RoceV2DcqcnParams, self).__init__(parent, list_op) - - @property - def AdditiveIncrRate(self): - # type: () -> int - """ - Returns - ------- - - number: additiveIncrRate - """ - return self._get_attribute(self._SDM_ATT_MAP["AdditiveIncrRate"]) - - @AdditiveIncrRate.setter - def AdditiveIncrRate(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["AdditiveIncrRate"], value) - - @property - def AlphaG(self): - # type: () -> int - """ - Returns - ------- - - number: alphaG - """ - return self._get_attribute(self._SDM_ATT_MAP["AlphaG"]) - - @AlphaG.setter - def AlphaG(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["AlphaG"], value) - - @property - def AlphaUpdatePeriod(self): - # type: () -> int - """ - Returns - ------- - - number: alphaUpdatePeriod - """ - return self._get_attribute(self._SDM_ATT_MAP["AlphaUpdatePeriod"]) - - @AlphaUpdatePeriod.setter - def AlphaUpdatePeriod(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["AlphaUpdatePeriod"], value) - - @property - def ByteResetCount(self): - # type: () -> int - """ - Returns - ------- - - number: byteResetCount - """ - return self._get_attribute(self._SDM_ATT_MAP["ByteResetCount"]) - - @ByteResetCount.setter - def ByteResetCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["ByteResetCount"], value) - - @property - def Enabled(self): - # type: () -> bool - """ - Returns - ------- - - bool: - """ - return self._get_attribute(self._SDM_ATT_MAP["Enabled"]) - - @Enabled.setter - def Enabled(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["Enabled"], value) - - @property - def HyperIncrRate(self): - # type: () -> int - """ - Returns - ------- - - number: hyperIncrRate - """ - return self._get_attribute(self._SDM_ATT_MAP["HyperIncrRate"]) - - @HyperIncrRate.setter - def HyperIncrRate(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["HyperIncrRate"], value) - - @property - def InitAlpha(self): - # type: () -> int - """ - Returns - ------- - - number: Initial Alpha - """ - return self._get_attribute(self._SDM_ATT_MAP["InitAlpha"]) - - @InitAlpha.setter - def InitAlpha(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["InitAlpha"], value) - - @property - def InitRateOnFirstCnpReceived(self): - # type: () -> int - """ - Returns - ------- - - number: initRateOnFirstCnpReceived - """ - return self._get_attribute(self._SDM_ATT_MAP["InitRateOnFirstCnpReceived"]) - - @InitRateOnFirstCnpReceived.setter - def InitRateOnFirstCnpReceived(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["InitRateOnFirstCnpReceived"], value) - - @property - def MaxFlowRateDecrPerStep(self): - # type: () -> int - """ - Returns - ------- - - number: maxFlowRateDecrPerStep - """ - return self._get_attribute(self._SDM_ATT_MAP["MaxFlowRateDecrPerStep"]) - - @MaxFlowRateDecrPerStep.setter - def MaxFlowRateDecrPerStep(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["MaxFlowRateDecrPerStep"], value) - - @property - def MinRateLimit(self): - # type: () -> int - """ - Returns - ------- - - number: minRateLimit - """ - return self._get_attribute(self._SDM_ATT_MAP["MinRateLimit"]) - - @MinRateLimit.setter - def MinRateLimit(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["MinRateLimit"], value) - - @property - def RateIncrTimerResetPeriod(self): - # type: () -> int - """ - Returns - ------- - - number: rateIncrTimerResetPeriod - """ - return self._get_attribute(self._SDM_ATT_MAP["RateIncrTimerResetPeriod"]) - - @RateIncrTimerResetPeriod.setter - def RateIncrTimerResetPeriod(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["RateIncrTimerResetPeriod"], value) - - @property - def RateReduceMonitorPeriod(self): - # type: () -> int - """ - Returns - ------- - - number: rateReduceMonitorPeriod - """ - return self._get_attribute(self._SDM_ATT_MAP["RateReduceMonitorPeriod"]) - - @RateReduceMonitorPeriod.setter - def RateReduceMonitorPeriod(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["RateReduceMonitorPeriod"], value) - - @property - def StageThreshold(self): - # type: () -> int - """ - Returns - ------- - - number: stageThreshold - """ - return self._get_attribute(self._SDM_ATT_MAP["StageThreshold"]) - - @StageThreshold.setter - def StageThreshold(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["StageThreshold"], value) - - @property - def TargetRateClamp(self): - # type: () -> bool - """ - Returns - ------- - - bool: - """ - return self._get_attribute(self._SDM_ATT_MAP["TargetRateClamp"]) - - @TargetRateClamp.setter - def TargetRateClamp(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["TargetRateClamp"], value) - - def update( - self, - AdditiveIncrRate=None, - AlphaG=None, - AlphaUpdatePeriod=None, - ByteResetCount=None, - Enabled=None, - HyperIncrRate=None, - InitAlpha=None, - InitRateOnFirstCnpReceived=None, - MaxFlowRateDecrPerStep=None, - MinRateLimit=None, - RateIncrTimerResetPeriod=None, - RateReduceMonitorPeriod=None, - StageThreshold=None, - TargetRateClamp=None, - ): - # type: (int, int, int, int, bool, int, int, int, int, int, int, int, int, bool) -> RoceV2DcqcnParams - """Updates roceV2DcqcnParams resource on the server. - - Args - ---- - - AdditiveIncrRate (number): additiveIncrRate - - AlphaG (number): alphaG - - AlphaUpdatePeriod (number): alphaUpdatePeriod - - ByteResetCount (number): byteResetCount - - Enabled (bool): - - HyperIncrRate (number): hyperIncrRate - - InitAlpha (number): Initial Alpha - - InitRateOnFirstCnpReceived (number): initRateOnFirstCnpReceived - - MaxFlowRateDecrPerStep (number): maxFlowRateDecrPerStep - - MinRateLimit (number): minRateLimit - - RateIncrTimerResetPeriod (number): rateIncrTimerResetPeriod - - RateReduceMonitorPeriod (number): rateReduceMonitorPeriod - - StageThreshold (number): stageThreshold - - TargetRateClamp (bool): - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find( - self, - AdditiveIncrRate=None, - AlphaG=None, - AlphaUpdatePeriod=None, - ByteResetCount=None, - Enabled=None, - HyperIncrRate=None, - InitAlpha=None, - InitRateOnFirstCnpReceived=None, - MaxFlowRateDecrPerStep=None, - MinRateLimit=None, - RateIncrTimerResetPeriod=None, - RateReduceMonitorPeriod=None, - StageThreshold=None, - TargetRateClamp=None, - ): - # type: (int, int, int, int, bool, int, int, int, int, int, int, int, int, bool) -> RoceV2DcqcnParams - """Finds and retrieves roceV2DcqcnParams resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roceV2DcqcnParams resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roceV2DcqcnParams resources from the server. - - Args - ---- - - AdditiveIncrRate (number): additiveIncrRate - - AlphaG (number): alphaG - - AlphaUpdatePeriod (number): alphaUpdatePeriod - - ByteResetCount (number): byteResetCount - - Enabled (bool): - - HyperIncrRate (number): hyperIncrRate - - InitAlpha (number): Initial Alpha - - InitRateOnFirstCnpReceived (number): initRateOnFirstCnpReceived - - MaxFlowRateDecrPerStep (number): maxFlowRateDecrPerStep - - MinRateLimit (number): minRateLimit - - RateIncrTimerResetPeriod (number): rateIncrTimerResetPeriod - - RateReduceMonitorPeriod (number): rateReduceMonitorPeriod - - StageThreshold (number): stageThreshold - - TargetRateClamp (bool): - - Returns - ------- - - self: This instance with matching roceV2DcqcnParams resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roceV2DcqcnParams data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roceV2DcqcnParams resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2portconfig.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2portconfig.py deleted file mode 100644 index edf794a44..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2portconfig/rocev2portconfig.py +++ /dev/null @@ -1,247 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class RoceV2PortConfig(Base): - """RoCEv2 Port Configurations which effects all the RoCEv2 Flowgroups for Tx Port Configuration. - The RoceV2PortConfig class encapsulates a list of roceV2PortConfig resources that are managed by the system. - A list of resources can be retrieved from the server using the RoceV2PortConfig.find() method. - """ - - __slots__ = () - _SDM_NAME = "roceV2PortConfig" - _SDM_ATT_MAP = { - "InterBatchPeriodUnits": "interBatchPeriodUnits", - "InterBatchPeriodValue": "interBatchPeriodValue", - "TargetLineRateInPercent": "targetLineRateInPercent", - "TxCtrlParam": "txCtrlParam", - "TxPort": "txPort", - } - _SDM_ENUM_MAP = { - "interBatchPeriodUnits": [ - "microseconds", - "milliseconds", - "nanoseconds", - "seconds", - ], - "txCtrlParam": ["interBatchPeriod", "targetLineRate"], - } - - def __init__(self, parent, list_op=False): - super(RoceV2PortConfig, self).__init__(parent, list_op) - - @property - def RoceV2DcqcnParams(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2portconfig.rocev2dcqcnparams.rocev2dcqcnparams.RoceV2DcqcnParams): An instance of the RoceV2DcqcnParams class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2portconfig.rocev2dcqcnparams.rocev2dcqcnparams import ( - RoceV2DcqcnParams, - ) - - if len(self._object_properties) > 0: - if self._properties.get("RoceV2DcqcnParams", None) is not None: - return self._properties.get("RoceV2DcqcnParams") - return RoceV2DcqcnParams(self)._select() - - @property - def InterBatchPeriodUnits(self): - # type: () -> str - """ - Returns - ------- - - str(microseconds | milliseconds | nanoseconds | seconds): Specifies the unit for Inter Batch Period while transmitting batches. - """ - return self._get_attribute(self._SDM_ATT_MAP["InterBatchPeriodUnits"]) - - @InterBatchPeriodUnits.setter - def InterBatchPeriodUnits(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["InterBatchPeriodUnits"], value) - - @property - def InterBatchPeriodValue(self): - # type: () -> int - """ - Returns - ------- - - number: Inter Batch Period between batch transmit, unit is to be set - """ - return self._get_attribute(self._SDM_ATT_MAP["InterBatchPeriodValue"]) - - @InterBatchPeriodValue.setter - def InterBatchPeriodValue(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["InterBatchPeriodValue"], value) - - @property - def TargetLineRateInPercent(self): - # type: () -> int - """ - Returns - ------- - - number: Target Line Rate In Percent. - """ - return self._get_attribute(self._SDM_ATT_MAP["TargetLineRateInPercent"]) - - @TargetLineRateInPercent.setter - def TargetLineRateInPercent(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["TargetLineRateInPercent"], value) - - @property - def TxCtrlParam(self): - # type: () -> str - """ - Returns - ------- - - str(interBatchPeriod | targetLineRate): The Transmission Control types. - """ - return self._get_attribute(self._SDM_ATT_MAP["TxCtrlParam"]) - - @TxCtrlParam.setter - def TxCtrlParam(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["TxCtrlParam"], value) - - @property - def TxPort(self): - # type: () -> str - """ - Returns - ------- - - str: The Transmitting Port Name - """ - return self._get_attribute(self._SDM_ATT_MAP["TxPort"]) - - def update( - self, - InterBatchPeriodUnits=None, - InterBatchPeriodValue=None, - TargetLineRateInPercent=None, - TxCtrlParam=None, - ): - # type: (str, int, int, str) -> RoceV2PortConfig - """Updates roceV2PortConfig resource on the server. - - Args - ---- - - InterBatchPeriodUnits (str(microseconds | milliseconds | nanoseconds | seconds)): Specifies the unit for Inter Batch Period while transmitting batches. - - InterBatchPeriodValue (number): Inter Batch Period between batch transmit, unit is to be set - - TargetLineRateInPercent (number): Target Line Rate In Percent. - - TxCtrlParam (str(interBatchPeriod | targetLineRate)): The Transmission Control types. - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add( - self, - InterBatchPeriodUnits=None, - InterBatchPeriodValue=None, - TargetLineRateInPercent=None, - TxCtrlParam=None, - ): - # type: (str, int, int, str) -> RoceV2PortConfig - """Adds a new roceV2PortConfig resource on the json, only valid with batch add utility - - Args - ---- - - InterBatchPeriodUnits (str(microseconds | milliseconds | nanoseconds | seconds)): Specifies the unit for Inter Batch Period while transmitting batches. - - InterBatchPeriodValue (number): Inter Batch Period between batch transmit, unit is to be set - - TargetLineRateInPercent (number): Target Line Rate In Percent. - - TxCtrlParam (str(interBatchPeriod | targetLineRate)): The Transmission Control types. - - Returns - ------- - - self: This instance with all currently retrieved roceV2PortConfig resources using find and the newly added roceV2PortConfig resources available through an iterator or index - - Raises - ------ - - Exception: if this function is not being used with config assistance - """ - return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find( - self, - InterBatchPeriodUnits=None, - InterBatchPeriodValue=None, - TargetLineRateInPercent=None, - TxCtrlParam=None, - TxPort=None, - ): - # type: (str, int, int, str, str) -> RoceV2PortConfig - """Finds and retrieves roceV2PortConfig resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roceV2PortConfig resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roceV2PortConfig resources from the server. - - Args - ---- - - InterBatchPeriodUnits (str(microseconds | milliseconds | nanoseconds | seconds)): Specifies the unit for Inter Batch Period while transmitting batches. - - InterBatchPeriodValue (number): Inter Batch Period between batch transmit, unit is to be set - - TargetLineRateInPercent (number): Target Line Rate In Percent. - - TxCtrlParam (str(interBatchPeriod | targetLineRate)): The Transmission Control types. - - TxPort (str): The Transmitting Port Name - - Returns - ------- - - self: This instance with matching roceV2PortConfig resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roceV2PortConfig data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roceV2PortConfig resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2stream/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2stream/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2stream/rocev2stream.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2stream/rocev2stream.py deleted file mode 100644 index ce2ac646c..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2stream/rocev2stream.py +++ /dev/null @@ -1,313 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class RoceV2Stream(Base): - """A Flow Group that is generated from the RoCEv2 Traffic Item. Each RoCEv2 Traffic Item generates one or more Flow Groups, which in turn map to hardware streams on the port. Each Flow Group/roceV2Stream picks up its Rate, Frame size properties/attributes from its corresponding RoCEv2 configuration under the Traffic Item. - The RoceV2Stream class encapsulates a list of roceV2Stream resources that are managed by the system. - A list of resources can be retrieved from the server using the RoceV2Stream.find() method. - """ - - __slots__ = () - _SDM_NAME = "roceV2Stream" - _SDM_ATT_MAP = { - "BurstCount": "burstCount", - "DestIpv4": "destIpv4", - "DestMac": "destMac", - "DestQP": "destQP", - "Enabled": "enabled", - "FrameSizeInBytes": "frameSizeInBytes", - "Name": "name", - "Packets": "packets", - "RxPort": "rxPort", - "SourceIpv4": "sourceIpv4", - "SourceMac": "sourceMac", - "TxPort": "txPort", - "Type": "type", - } - _SDM_ENUM_MAP = { - "type": ["continuous", "fixed"], - } - - def __init__(self, parent, list_op=False): - super(RoceV2Stream, self).__init__(parent, list_op) - - @property - def BurstCount(self): - # type: () -> int - """ - Returns - ------- - - number: Burst Count when Tx Mode is Fixed mode. - """ - return self._get_attribute(self._SDM_ATT_MAP["BurstCount"]) - - @BurstCount.setter - def BurstCount(self, value): - # type: (int) -> None - self._set_attribute(self._SDM_ATT_MAP["BurstCount"], value) - - @property - def DestIpv4(self): - # type: () -> str - """ - Returns - ------- - - str: Destination IPv4 - """ - return self._get_attribute(self._SDM_ATT_MAP["DestIpv4"]) - - @property - def DestMac(self): - # type: () -> str - """ - Returns - ------- - - str: Destination MAC - """ - return self._get_attribute(self._SDM_ATT_MAP["DestMac"]) - - @property - def DestQP(self): - # type: () -> int - """ - Returns - ------- - - number: Destination QP - """ - return self._get_attribute(self._SDM_ATT_MAP["DestQP"]) - - @property - def Enabled(self): - # type: () -> bool - """ - Returns - ------- - - bool: - """ - return self._get_attribute(self._SDM_ATT_MAP["Enabled"]) - - @Enabled.setter - def Enabled(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["Enabled"], value) - - @property - def FrameSizeInBytes(self): - # type: () -> str - """ - Returns - ------- - - str: The FrameSize Details for this Flowgroup - """ - return self._get_attribute(self._SDM_ATT_MAP["FrameSizeInBytes"]) - - @property - def Name(self): - # type: () -> str - """ - Returns - ------- - - str: An alphanumeric string that returns the name of the flow group. - """ - return self._get_attribute(self._SDM_ATT_MAP["Name"]) - - @Name.setter - def Name(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Name"], value) - - @property - def Packets(self): - # type: () -> str - """ - Returns - ------- - - str: The RDMA Packets in this Flowgroup - """ - return self._get_attribute(self._SDM_ATT_MAP["Packets"]) - - @property - def RxPort(self): - # type: () -> str - """ - Returns - ------- - - str: The Receiving Port Name - """ - return self._get_attribute(self._SDM_ATT_MAP["RxPort"]) - - @property - def SourceIpv4(self): - # type: () -> str - """ - Returns - ------- - - str: Source IPv4 - """ - return self._get_attribute(self._SDM_ATT_MAP["SourceIpv4"]) - - @property - def SourceMac(self): - # type: () -> str - """ - Returns - ------- - - str: Source MAC - """ - return self._get_attribute(self._SDM_ATT_MAP["SourceMac"]) - - @property - def TxPort(self): - # type: () -> str - """ - Returns - ------- - - str: The Transmitting Port Name - """ - return self._get_attribute(self._SDM_ATT_MAP["TxPort"]) - - @property - def Type(self): - # type: () -> str - """ - Returns - ------- - - str(continuous | fixed): The Transmission Control types. - """ - return self._get_attribute(self._SDM_ATT_MAP["Type"]) - - @Type.setter - def Type(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["Type"], value) - - def update(self, BurstCount=None, Enabled=None, Name=None, Type=None): - # type: (int, bool, str, str) -> RoceV2Stream - """Updates roceV2Stream resource on the server. - - Args - ---- - - BurstCount (number): Burst Count when Tx Mode is Fixed mode. - - Enabled (bool): - - Name (str): An alphanumeric string that returns the name of the flow group. - - Type (str(continuous | fixed)): The Transmission Control types. - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def add(self, BurstCount=None, Enabled=None, Name=None, Type=None): - # type: (int, bool, str, str) -> RoceV2Stream - """Adds a new roceV2Stream resource on the json, only valid with batch add utility - - Args - ---- - - BurstCount (number): Burst Count when Tx Mode is Fixed mode. - - Enabled (bool): - - Name (str): An alphanumeric string that returns the name of the flow group. - - Type (str(continuous | fixed)): The Transmission Control types. - - Returns - ------- - - self: This instance with all currently retrieved roceV2Stream resources using find and the newly added roceV2Stream resources available through an iterator or index - - Raises - ------ - - Exception: if this function is not being used with config assistance - """ - return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find( - self, - BurstCount=None, - DestIpv4=None, - DestMac=None, - DestQP=None, - Enabled=None, - FrameSizeInBytes=None, - Name=None, - Packets=None, - RxPort=None, - SourceIpv4=None, - SourceMac=None, - TxPort=None, - Type=None, - ): - # type: (int, str, str, int, bool, str, str, str, str, str, str, str, str) -> RoceV2Stream - """Finds and retrieves roceV2Stream resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roceV2Stream resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roceV2Stream resources from the server. - - Args - ---- - - BurstCount (number): Burst Count when Tx Mode is Fixed mode. - - DestIpv4 (str): Destination IPv4 - - DestMac (str): Destination MAC - - DestQP (number): Destination QP - - Enabled (bool): - - FrameSizeInBytes (str): The FrameSize Details for this Flowgroup - - Name (str): An alphanumeric string that returns the name of the flow group. - - Packets (str): The RDMA Packets in this Flowgroup - - RxPort (str): The Receiving Port Name - - SourceIpv4 (str): Source IPv4 - - SourceMac (str): Source MAC - - TxPort (str): The Transmitting Port Name - - Type (str(continuous | fixed)): The Transmission Control types. - - Returns - ------- - - self: This instance with matching roceV2Stream resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roceV2Stream data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roceV2Stream resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2traffic.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2traffic.py deleted file mode 100644 index f4b2b7719..000000000 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/rocev2traffic.py +++ /dev/null @@ -1,196 +0,0 @@ -# MIT LICENSE -# -# Copyright 1997 - 2020 by IXIA Keysight -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -import sys -from ixnetwork_restpy.base import Base -from ixnetwork_restpy.files import Files - -if sys.version_info >= (3, 5): - from typing import List, Any, Union - - -class RoceV2Traffic(Base): - """This object specifies the particular RoCEv2 Traffic item related properties. - The RoceV2Traffic class encapsulates a required roceV2Traffic resource which will be retrieved from the server every time the property is accessed. - """ - - __slots__ = () - _SDM_NAME = "roceV2Traffic" - _SDM_ATT_MAP = { - "Enabled": "enabled", - } - _SDM_ENUM_MAP = {} - - def __init__(self, parent, list_op=False): - super(RoceV2Traffic, self).__init__(parent, list_op) - - @property - def RoceV2PortConfig(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2portconfig.rocev2portconfig.RoceV2PortConfig): An instance of the RoceV2PortConfig class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2portconfig.rocev2portconfig import ( - RoceV2PortConfig, - ) - - if len(self._object_properties) > 0: - if self._properties.get("RoceV2PortConfig", None) is not None: - return self._properties.get("RoceV2PortConfig") - return RoceV2PortConfig(self) - - @property - def RoceV2Stream(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2stream.rocev2stream.RoceV2Stream): An instance of the RoceV2Stream class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2stream.rocev2stream import ( - RoceV2Stream, - ) - - if len(self._object_properties) > 0: - if self._properties.get("RoceV2Stream", None) is not None: - return self._properties.get("RoceV2Stream") - return RoceV2Stream(self) - - @property - def Enabled(self): - # type: () -> bool - """ - Returns - ------- - - bool: If true, this enables the selected RoCEv2 traffic item. - """ - return self._get_attribute(self._SDM_ATT_MAP["Enabled"]) - - @Enabled.setter - def Enabled(self, value): - # type: (bool) -> None - self._set_attribute(self._SDM_ATT_MAP["Enabled"], value) - - def update(self, Enabled=None): - # type: (bool) -> RoceV2Traffic - """Updates roceV2Traffic resource on the server. - - Args - ---- - - Enabled (bool): If true, this enables the selected RoCEv2 traffic item. - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - - def find(self, Enabled=None): - # type: (bool) -> RoceV2Traffic - """Finds and retrieves roceV2Traffic resources from the server. - - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve roceV2Traffic resources from the server. - To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all roceV2Traffic resources from the server. - - Args - ---- - - Enabled (bool): If true, this enables the selected RoCEv2 traffic item. - - Returns - ------- - - self: This instance with matching roceV2Traffic resources retrieved from the server available through an iterator or index - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) - - def read(self, href): - """Retrieves a single instance of roceV2Traffic data from the server. - - Args - ---- - - href (str): An href to the instance to be retrieved - - Returns - ------- - - self: This instance with the roceV2Traffic resources from the server available through an iterator or index - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - return self._read(href) - - def DeleteAllStreams(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the deleteAllStreams operation on the server. - - Deletes all RoCEv2 streams. - - deleteAllStreams(async_operation=bool) - -------------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("deleteAllStreams", payload=payload, response_object=None) - - def Generate(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the generate operation on the server. - - Generate traffic for a specific traffic item. - - generate(async_operation=bool) - ------------------------------ - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute("generate", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py index 2a7cacccd..92e57498c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py @@ -60,7 +60,6 @@ class Traffic(Base): "EnableLagRebalanceOnPortUp": "enableLagRebalanceOnPortUp", "EnableMinFrameSize": "enableMinFrameSize", "EnableMulticastScalingFactor": "enableMulticastScalingFactor", - "EnablePortLevelMisdirectedRoCEv2": "enablePortLevelMisdirectedRoCEv2", "EnableSequenceChecking": "enableSequenceChecking", "EnableStaggeredStartDelay": "enableStaggeredStartDelay", "EnableStaggeredTransmit": "enableStaggeredTransmit", @@ -213,26 +212,6 @@ def ProtocolTemplate(self): return self._properties.get("ProtocolTemplate") return ProtocolTemplate(self) - @property - def RoceV2Traffic(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2traffic.RoceV2Traffic): An instance of the RoceV2Traffic class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.rocev2traffic.rocev2traffic import ( - RoceV2Traffic, - ) - - if len(self._object_properties) > 0: - if self._properties.get("RoceV2Traffic", None) is not None: - return self._properties.get("RoceV2Traffic") - return RoceV2Traffic(self)._select() - @property def Statistics(self): """ @@ -667,25 +646,6 @@ def EnableMulticastScalingFactor(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EnableMulticastScalingFactor"], value) - @property - def EnablePortLevelMisdirectedRoCEv2(self): - # type: () -> bool - """ - Returns - ------- - - bool: Check this option to enable port level misdirection handling for RoCEv2 traffic - """ - return self._get_attribute( - self._SDM_ATT_MAP["EnablePortLevelMisdirectedRoCEv2"] - ) - - @EnablePortLevelMisdirectedRoCEv2.setter - def EnablePortLevelMisdirectedRoCEv2(self, value): - # type: (bool) -> None - self._set_attribute( - self._SDM_ATT_MAP["EnablePortLevelMisdirectedRoCEv2"], value - ) - @property def EnableSequenceChecking(self): # type: () -> bool @@ -1092,7 +1052,6 @@ def update( EnableLagRebalanceOnPortUp=None, EnableMinFrameSize=None, EnableMulticastScalingFactor=None, - EnablePortLevelMisdirectedRoCEv2=None, EnableSequenceChecking=None, EnableStaggeredStartDelay=None, EnableStaggeredTransmit=None, @@ -1116,7 +1075,7 @@ def update( UseTxRxSync=None, WaitTime=None, ): - # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, int, int, int, int, bool, int, int, int, int, bool, bool, bool, bool, bool, int) -> Traffic + # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, int, int, int, int, bool, int, int, int, int, bool, bool, bool, bool, bool, int) -> Traffic """Updates traffic resource on the server. Args @@ -1145,7 +1104,6 @@ def update( - EnableLagRebalanceOnPortUp (bool): - EnableMinFrameSize (bool): If true, IxNetwork allows the stream to use smaller packet sizes. (In the case of IPv4 and Ethernet, 64 bytes are allowed.) This is achieved by reducing the size of the instrumentation tag, which is identified by the receiving ports. - EnableMulticastScalingFactor (bool): If true, traffic items with the Merged Destination Ranges option selected have be to manually regenerated by the user. - - EnablePortLevelMisdirectedRoCEv2 (bool): Check this option to enable port level misdirection handling for RoCEv2 traffic - EnableSequenceChecking (bool): If true, this field enables sequence checking. The default is false. - EnableStaggeredStartDelay (bool): If checked, enables the staggered start delay function. - EnableStaggeredTransmit (bool): If true, the start of transmit is staggered across ports. A 25-30 ms delay is introduced between the time one port begins transmitting and the time next port begins transmitting. @@ -1202,7 +1160,6 @@ def find( EnableLagRebalanceOnPortUp=None, EnableMinFrameSize=None, EnableMulticastScalingFactor=None, - EnablePortLevelMisdirectedRoCEv2=None, EnableSequenceChecking=None, EnableStaggeredStartDelay=None, EnableStaggeredTransmit=None, @@ -1231,7 +1188,7 @@ def find( UseTxRxSync=None, WaitTime=None, ): - # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, bool, bool, bool, int, int, int, int, bool, int, int, int, int, bool, bool, str, int, bool, bool, bool, int) -> Traffic + # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, bool, bool, bool, int, int, int, int, bool, int, int, int, int, bool, bool, str, int, bool, bool, bool, int) -> Traffic """Finds and retrieves traffic resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve traffic resources from the server. @@ -1265,7 +1222,6 @@ def find( - EnableLagRebalanceOnPortUp (bool): - EnableMinFrameSize (bool): If true, IxNetwork allows the stream to use smaller packet sizes. (In the case of IPv4 and Ethernet, 64 bytes are allowed.) This is achieved by reducing the size of the instrumentation tag, which is identified by the receiving ports. - EnableMulticastScalingFactor (bool): If true, traffic items with the Merged Destination Ranges option selected have be to manually regenerated by the user. - - EnablePortLevelMisdirectedRoCEv2 (bool): Check this option to enable port level misdirection handling for RoCEv2 traffic - EnableSequenceChecking (bool): If true, this field enables sequence checking. The default is false. - EnableStaggeredStartDelay (bool): If checked, enables the staggered start delay function. - EnableStaggeredTransmit (bool): If true, the start of transmit is staggered across ports. A 25-30 ms delay is introduced between the time one port begins transmitting and the time next port begins transmitting. @@ -1322,30 +1278,6 @@ def read(self, href): """ return self._read(href) - def AddRoCEv2FlowGroups(self, *args, **kwargs): - # type: (*Any, **Any) -> None - """Executes the addRoCEv2FlowGroups operation on the server. - - Generate traffic for a RoCEv2 traffic flow groups. - - addRoCEv2FlowGroups(async_operation=bool) - ----------------------------------------- - - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - - Raises - ------ - - NotFoundError: The requested resource does not exist on the server - - ServerError: The server has encountered an uncategorized error condition - """ - payload = {"Arg1": self.href} - for i in range(len(args)): - payload["Arg%s" % (i + 2)] = args[i] - for item in kwargs.items(): - payload[item[0]] = item[1] - return self._execute( - "addRoCEv2FlowGroups", payload=payload, response_object=None - ) - def Apply(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the apply operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/transmissioncontrol/transmissioncontrol.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/transmissioncontrol/transmissioncontrol.py index 159adab51..ab07751df 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/transmissioncontrol/transmissioncontrol.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/transmissioncontrol/transmissioncontrol.py @@ -35,6 +35,8 @@ class TransmissionControl(Base): __slots__ = () _SDM_NAME = "transmissionControl" _SDM_ATT_MAP = { + "BurstDuration": "burstDuration", + "BurstModeUnits": "burstModeUnits", "BurstPacketCount": "burstPacketCount", "Duration": "duration", "EnableInterBurstGap": "enableInterBurstGap", @@ -43,7 +45,6 @@ class TransmissionControl(Base): "InterBurstGap": "interBurstGap", "InterBurstGapUnits": "interBurstGapUnits", "InterStreamGap": "interStreamGap", - "InterStreamGapUnits": "interStreamGapUnits", "IterationCount": "iterationCount", "MinGapBytes": "minGapBytes", "RepeatBurst": "repeatBurst", @@ -52,14 +53,15 @@ class TransmissionControl(Base): "Type": "type", } _SDM_ENUM_MAP = { - "interBurstGapUnits": [ + "burstModeUnits": [ "bytes", "microseconds", "milliseconds", "nanoseconds", + "packetCount", "seconds", ], - "interStreamGapUnits": [ + "interBurstGapUnits": [ "bytes", "microseconds", "milliseconds", @@ -87,6 +89,36 @@ class TransmissionControl(Base): def __init__(self, parent, list_op=False): super(TransmissionControl, self).__init__(parent, list_op) + @property + def BurstDuration(self): + # type: () -> int + """ + Returns + ------- + - number: Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + """ + return self._get_attribute(self._SDM_ATT_MAP["BurstDuration"]) + + @BurstDuration.setter + def BurstDuration(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BurstDuration"], value) + + @property + def BurstModeUnits(self): + # type: () -> str + """ + Returns + ------- + - str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds): Specifies unit of Burst, whether it is packet count or a duration. + """ + return self._get_attribute(self._SDM_ATT_MAP["BurstModeUnits"]) + + @BurstModeUnits.setter + def BurstModeUnits(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["BurstModeUnits"], value) + @property def BurstPacketCount(self): # type: () -> int @@ -207,21 +239,6 @@ def InterStreamGap(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["InterStreamGap"], value) - @property - def InterStreamGapUnits(self): - # type: () -> str - """ - Returns - ------- - - str(bytes | microseconds | milliseconds | nanoseconds | seconds): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - """ - return self._get_attribute(self._SDM_ATT_MAP["InterStreamGapUnits"]) - - @InterStreamGapUnits.setter - def InterStreamGapUnits(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["InterStreamGapUnits"], value) - @property def IterationCount(self): # type: () -> int @@ -314,6 +331,8 @@ def Type(self, value): def update( self, + BurstDuration=None, + BurstModeUnits=None, BurstPacketCount=None, Duration=None, EnableInterBurstGap=None, @@ -322,7 +341,6 @@ def update( InterBurstGap=None, InterBurstGapUnits=None, InterStreamGap=None, - InterStreamGapUnits=None, IterationCount=None, MinGapBytes=None, RepeatBurst=None, @@ -330,11 +348,13 @@ def update( StartDelayUnits=None, Type=None, ): - # type: (int, int, bool, bool, int, int, str, int, str, int, int, int, int, str, str) -> TransmissionControl + # type: (int, str, int, int, bool, bool, int, int, str, int, int, int, int, int, str, str) -> TransmissionControl """Updates transmissionControl resource on the server. Args ---- + - BurstDuration (number): Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + - BurstModeUnits (str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds)): Specifies unit of Burst, whether it is packet count or a duration. - BurstPacketCount (number): Specifies the number of packets per burst. - Duration (number): Indicates the time duration. - EnableInterBurstGap (bool): Enables the inter-burst gap of a frame. @@ -343,7 +363,6 @@ def update( - InterBurstGap (number): Specifies the gap between any two consecutive burst. - InterBurstGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Burst Gap either in bytes or nanoseconds. - InterStreamGap (number): Specifies the gap between any two consecutive Flow Groups when Transmission Mode is Sequential. - - InterStreamGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - IterationCount (number): Specifies the number of iterations the Flow Group can have when Transmission Mode is Interleaved. - MinGapBytes (number): Specifies the minimum gap between any 2 packets or frames in term of bytes. - RepeatBurst (number): Specifies number of times a burst can be repeated when Transmission Mode is Sequential. @@ -359,6 +378,8 @@ def update( def find( self, + BurstDuration=None, + BurstModeUnits=None, BurstPacketCount=None, Duration=None, EnableInterBurstGap=None, @@ -367,7 +388,6 @@ def find( InterBurstGap=None, InterBurstGapUnits=None, InterStreamGap=None, - InterStreamGapUnits=None, IterationCount=None, MinGapBytes=None, RepeatBurst=None, @@ -375,7 +395,7 @@ def find( StartDelayUnits=None, Type=None, ): - # type: (int, int, bool, bool, int, int, str, int, str, int, int, int, int, str, str) -> TransmissionControl + # type: (int, str, int, int, bool, bool, int, int, str, int, int, int, int, int, str, str) -> TransmissionControl """Finds and retrieves transmissionControl resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve transmissionControl resources from the server. @@ -384,6 +404,8 @@ def find( Args ---- + - BurstDuration (number): Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + - BurstModeUnits (str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds)): Specifies unit of Burst, whether it is packet count or a duration. - BurstPacketCount (number): Specifies the number of packets per burst. - Duration (number): Indicates the time duration. - EnableInterBurstGap (bool): Enables the inter-burst gap of a frame. @@ -392,7 +414,6 @@ def find( - InterBurstGap (number): Specifies the gap between any two consecutive burst. - InterBurstGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Burst Gap either in bytes or nanoseconds. - InterStreamGap (number): Specifies the gap between any two consecutive Flow Groups when Transmission Mode is Sequential. - - InterStreamGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - IterationCount (number): Specifies the number of iterations the Flow Group can have when Transmission Mode is Interleaved. - MinGapBytes (number): Specifies the minimum gap between any 2 packets or frames in term of bytes. - RepeatBurst (number): Specifies number of times a burst can be repeated when Transmission Mode is Sequential. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/highlevelstream/transmissioncontrol/transmissioncontrol.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/highlevelstream/transmissioncontrol/transmissioncontrol.py index 159adab51..ab07751df 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/highlevelstream/transmissioncontrol/transmissioncontrol.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/highlevelstream/transmissioncontrol/transmissioncontrol.py @@ -35,6 +35,8 @@ class TransmissionControl(Base): __slots__ = () _SDM_NAME = "transmissionControl" _SDM_ATT_MAP = { + "BurstDuration": "burstDuration", + "BurstModeUnits": "burstModeUnits", "BurstPacketCount": "burstPacketCount", "Duration": "duration", "EnableInterBurstGap": "enableInterBurstGap", @@ -43,7 +45,6 @@ class TransmissionControl(Base): "InterBurstGap": "interBurstGap", "InterBurstGapUnits": "interBurstGapUnits", "InterStreamGap": "interStreamGap", - "InterStreamGapUnits": "interStreamGapUnits", "IterationCount": "iterationCount", "MinGapBytes": "minGapBytes", "RepeatBurst": "repeatBurst", @@ -52,14 +53,15 @@ class TransmissionControl(Base): "Type": "type", } _SDM_ENUM_MAP = { - "interBurstGapUnits": [ + "burstModeUnits": [ "bytes", "microseconds", "milliseconds", "nanoseconds", + "packetCount", "seconds", ], - "interStreamGapUnits": [ + "interBurstGapUnits": [ "bytes", "microseconds", "milliseconds", @@ -87,6 +89,36 @@ class TransmissionControl(Base): def __init__(self, parent, list_op=False): super(TransmissionControl, self).__init__(parent, list_op) + @property + def BurstDuration(self): + # type: () -> int + """ + Returns + ------- + - number: Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + """ + return self._get_attribute(self._SDM_ATT_MAP["BurstDuration"]) + + @BurstDuration.setter + def BurstDuration(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BurstDuration"], value) + + @property + def BurstModeUnits(self): + # type: () -> str + """ + Returns + ------- + - str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds): Specifies unit of Burst, whether it is packet count or a duration. + """ + return self._get_attribute(self._SDM_ATT_MAP["BurstModeUnits"]) + + @BurstModeUnits.setter + def BurstModeUnits(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["BurstModeUnits"], value) + @property def BurstPacketCount(self): # type: () -> int @@ -207,21 +239,6 @@ def InterStreamGap(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["InterStreamGap"], value) - @property - def InterStreamGapUnits(self): - # type: () -> str - """ - Returns - ------- - - str(bytes | microseconds | milliseconds | nanoseconds | seconds): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - """ - return self._get_attribute(self._SDM_ATT_MAP["InterStreamGapUnits"]) - - @InterStreamGapUnits.setter - def InterStreamGapUnits(self, value): - # type: (str) -> None - self._set_attribute(self._SDM_ATT_MAP["InterStreamGapUnits"], value) - @property def IterationCount(self): # type: () -> int @@ -314,6 +331,8 @@ def Type(self, value): def update( self, + BurstDuration=None, + BurstModeUnits=None, BurstPacketCount=None, Duration=None, EnableInterBurstGap=None, @@ -322,7 +341,6 @@ def update( InterBurstGap=None, InterBurstGapUnits=None, InterStreamGap=None, - InterStreamGapUnits=None, IterationCount=None, MinGapBytes=None, RepeatBurst=None, @@ -330,11 +348,13 @@ def update( StartDelayUnits=None, Type=None, ): - # type: (int, int, bool, bool, int, int, str, int, str, int, int, int, int, str, str) -> TransmissionControl + # type: (int, str, int, int, bool, bool, int, int, str, int, int, int, int, int, str, str) -> TransmissionControl """Updates transmissionControl resource on the server. Args ---- + - BurstDuration (number): Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + - BurstModeUnits (str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds)): Specifies unit of Burst, whether it is packet count or a duration. - BurstPacketCount (number): Specifies the number of packets per burst. - Duration (number): Indicates the time duration. - EnableInterBurstGap (bool): Enables the inter-burst gap of a frame. @@ -343,7 +363,6 @@ def update( - InterBurstGap (number): Specifies the gap between any two consecutive burst. - InterBurstGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Burst Gap either in bytes or nanoseconds. - InterStreamGap (number): Specifies the gap between any two consecutive Flow Groups when Transmission Mode is Sequential. - - InterStreamGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - IterationCount (number): Specifies the number of iterations the Flow Group can have when Transmission Mode is Interleaved. - MinGapBytes (number): Specifies the minimum gap between any 2 packets or frames in term of bytes. - RepeatBurst (number): Specifies number of times a burst can be repeated when Transmission Mode is Sequential. @@ -359,6 +378,8 @@ def update( def find( self, + BurstDuration=None, + BurstModeUnits=None, BurstPacketCount=None, Duration=None, EnableInterBurstGap=None, @@ -367,7 +388,6 @@ def find( InterBurstGap=None, InterBurstGapUnits=None, InterStreamGap=None, - InterStreamGapUnits=None, IterationCount=None, MinGapBytes=None, RepeatBurst=None, @@ -375,7 +395,7 @@ def find( StartDelayUnits=None, Type=None, ): - # type: (int, int, bool, bool, int, int, str, int, str, int, int, int, int, str, str) -> TransmissionControl + # type: (int, str, int, int, bool, bool, int, int, str, int, int, int, int, int, str, str) -> TransmissionControl """Finds and retrieves transmissionControl resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve transmissionControl resources from the server. @@ -384,6 +404,8 @@ def find( Args ---- + - BurstDuration (number): Indicates the duration of the burst. Use this attribute when configuring burst as a duration instead of packet count. + - BurstModeUnits (str(bytes | microseconds | milliseconds | nanoseconds | packetCount | seconds)): Specifies unit of Burst, whether it is packet count or a duration. - BurstPacketCount (number): Specifies the number of packets per burst. - Duration (number): Indicates the time duration. - EnableInterBurstGap (bool): Enables the inter-burst gap of a frame. @@ -392,7 +414,6 @@ def find( - InterBurstGap (number): Specifies the gap between any two consecutive burst. - InterBurstGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Burst Gap either in bytes or nanoseconds. - InterStreamGap (number): Specifies the gap between any two consecutive Flow Groups when Transmission Mode is Sequential. - - InterStreamGapUnits (str(bytes | microseconds | milliseconds | nanoseconds | seconds)): Specifies unit of Inter Stream Gap either in bytes or nanoseconds. - IterationCount (number): Specifies the number of iterations the Flow Group can have when Transmission Mode is Interleaved. - MinGapBytes (number): Specifies the minimum gap between any 2 packets or frames in term of bytes. - RepeatBurst (number): Specifies number of times a burst can be repeated when Transmission Mode is Sequential. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py index 68267d9e2..6922ee298 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py @@ -42,6 +42,7 @@ class L1Config(Base): "ethernet", "ethernetvm", "novusmini", + "novusminipro", "ethernetFcoe", "atm", "pos", @@ -74,7 +75,8 @@ class L1Config(Base): "ravenEightHundredGigLanFcoe", "aresOneEightHundredGigLanQddC", "aresOneEightHundredGigLanQddCFcoe", - "sertHundredGigLan", + "rangerHundredGigLan", + "rangerHundredGigLanFcoe", "aresOneEightHundredGigLanOsfpC", "aresOneEightHundredGigLanOsfpCFcoe", "aresOneM", @@ -446,44 +448,64 @@ def NovusHundredGigLan(self): return NovusHundredGigLan(self)._select() @property - def NovusMini(self): + def NovusTenGigLan(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusmini.novusmini.NovusMini): An instance of the NovusMini class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novustengiglan.novustengiglan.NovusTenGigLan): An instance of the NovusTenGigLan class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novustengiglan.novustengiglan import ( + NovusTenGigLan, + ) + + if len(self._object_properties) > 0: + if self._properties.get("NovusTenGigLan", None) is not None: + return self._properties.get("NovusTenGigLan") + return NovusTenGigLan(self)._select() + + @property + def Novusmini(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusmini.novusmini.Novusmini): An instance of the Novusmini class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusmini.novusmini import ( - NovusMini, + Novusmini, ) if len(self._object_properties) > 0: - if self._properties.get("NovusMini", None) is not None: - return self._properties.get("NovusMini") - return NovusMini(self)._select() + if self._properties.get("Novusmini", None) is not None: + return self._properties.get("Novusmini") + return Novusmini(self)._select() @property - def NovusTenGigLan(self): + def Novusminipro(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novustengiglan.novustengiglan.NovusTenGigLan): An instance of the NovusTenGigLan class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusminipro.novusminipro.Novusminipro): An instance of the Novusminipro class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novustengiglan.novustengiglan import ( - NovusTenGigLan, + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusminipro.novusminipro import ( + Novusminipro, ) if len(self._object_properties) > 0: - if self._properties.get("NovusTenGigLan", None) is not None: - return self._properties.get("NovusTenGigLan") - return NovusTenGigLan(self)._select() + if self._properties.get("Novusminipro", None) is not None: + return self._properties.get("Novusminipro") + return Novusminipro(self)._select() @property def PcsErrorGeneration(self): @@ -545,6 +567,26 @@ def Qbv(self): return self._properties.get("Qbv") return Qbv(self)._select() + @property + def RangerHundredGigLan(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.rangerhundredgiglan.RangerHundredGigLan): An instance of the RangerHundredGigLan class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.rangerhundredgiglan import ( + RangerHundredGigLan, + ) + + if len(self._object_properties) > 0: + if self._properties.get("RangerHundredGigLan", None) is not None: + return self._properties.get("RangerHundredGigLan") + return RangerHundredGigLan(self)._select() + @property def RavenEightHundredGigLan(self): """ @@ -585,26 +627,6 @@ def RxFilters(self): return self._properties.get("RxFilters") return RxFilters(self)._select() - @property - def SertHundredGigLan(self): - """ - Returns - ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.serthundredgiglan.serthundredgiglan.SertHundredGigLan): An instance of the SertHundredGigLan class - - Raises - ------ - - ServerError: The server has encountered an uncategorized error condition - """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.serthundredgiglan.serthundredgiglan import ( - SertHundredGigLan, - ) - - if len(self._object_properties) > 0: - if self._properties.get("SertHundredGigLan", None) is not None: - return self._properties.get("SertHundredGigLan") - return SertHundredGigLan(self)._select() - @property def StarFourHundredGigLan(self): """ @@ -711,7 +733,7 @@ def CurrentType(self): """ Returns ------- - - str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): Indicates the types of ports for configuration to choose from. + - str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): Indicates the types of ports for configuration to choose from. """ return self._get_attribute(self._SDM_ATT_MAP["CurrentType"]) @@ -726,7 +748,7 @@ def update(self, CurrentType=None): Args ---- - - CurrentType (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. + - CurrentType (str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. Raises ------ @@ -744,7 +766,7 @@ def find(self, CurrentType=None): Args ---- - - CurrentType (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. + - CurrentType (str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py index 37ea39b9c..749beae64 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py @@ -27,13 +27,13 @@ from typing import List, Any, Union -class NovusMini(Base): +class Novusmini(Base): """ - The NovusMini class encapsulates a required novusMini resource which will be retrieved from the server every time the property is accessed. + The Novusmini class encapsulates a required novusmini resource which will be retrieved from the server every time the property is accessed. """ __slots__ = () - _SDM_NAME = "novusMini" + _SDM_NAME = "novusmini" _SDM_ATT_MAP = { "AutoInstrumentation": "autoInstrumentation", "AvailableSpeeds": "availableSpeeds", @@ -46,11 +46,11 @@ class NovusMini(Base): } _SDM_ENUM_MAP = { "autoInstrumentation": ["endOfFrame", "floating"], - "speed": ["speed1000", "speed100fd"], + "speed": ["speed1000", "speed100fd", "speed10fd", "speed2.5g"], } def __init__(self, parent, list_op=False): - super(NovusMini, self).__init__(parent, list_op) + super(Novusmini, self).__init__(parent, list_op) @property def AutoInstrumentation(self): @@ -73,7 +73,7 @@ def AvailableSpeeds(self): """ Returns ------- - - list(str[speed100fd | speed1000]): Which speeds are available for the current media and AN settings. + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g]): Which speeds are available for the current media and AN settings. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) @@ -128,7 +128,7 @@ def SelectedSpeeds(self): """ Returns ------- - - list(str[speed100fd | speed1000]): Which speeds are selected for the current media and AN settings. + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g]): Which speeds are selected for the current media and AN settings. """ return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) @@ -143,7 +143,7 @@ def Speed(self): """ Returns ------- - - str(speed1000 | speed100fd): Select one of the enums to set the speed of the port. + - str(speed1000 | speed100fd | speed10fd | speed2.5g): Select one of the enums to set the speed of the port. """ return self._get_attribute(self._SDM_ATT_MAP["Speed"]) @@ -155,15 +155,15 @@ def Speed(self, value): def update( self, AutoInstrumentation=None, Mtu=None, SelectedSpeeds=None, Speed=None ): - # type: (str, int, List[str], str) -> NovusMini - """Updates novusMini resource on the server. + # type: (str, int, List[str], str) -> Novusmini + """Updates novusmini resource on the server. Args ---- - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. - Mtu (number): - - SelectedSpeeds (list(str[speed100fd | speed1000])): Which speeds are selected for the current media and AN settings. - - Speed (str(speed1000 | speed100fd)): Select one of the enums to set the speed of the port. + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed2.5g)): Select one of the enums to set the speed of the port. Raises ------ @@ -182,27 +182,27 @@ def find( SelectedSpeeds=None, Speed=None, ): - # type: (str, List[str], bool, bool, bool, int, List[str], str) -> NovusMini - """Finds and retrieves novusMini resources from the server. + # type: (str, List[str], bool, bool, bool, int, List[str], str) -> Novusmini + """Finds and retrieves novusmini resources from the server. - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve novusMini resources from the server. + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve novusmini resources from the server. To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all novusMini resources from the server. + By default the find method takes no parameters and will retrieve all novusmini resources from the server. Args ---- - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. - - AvailableSpeeds (list(str[speed100fd | speed1000])): Which speeds are available for the current media and AN settings. + - AvailableSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are available for the current media and AN settings. - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. - Mtu (number): - - SelectedSpeeds (list(str[speed100fd | speed1000])): Which speeds are selected for the current media and AN settings. - - Speed (str(speed1000 | speed100fd)): Select one of the enums to set the speed of the port. + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed2.5g)): Select one of the enums to set the speed of the port. Returns ------- - - self: This instance with matching novusMini resources retrieved from the server available through an iterator or index + - self: This instance with matching novusmini resources retrieved from the server available through an iterator or index Raises ------ @@ -211,7 +211,7 @@ def find( return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) def read(self, href): - """Retrieves a single instance of novusMini data from the server. + """Retrieves a single instance of novusmini data from the server. Args ---- @@ -219,7 +219,7 @@ def read(self, href): Returns ------- - - self: This instance with the novusMini resources from the server available through an iterator or index + - self: This instance with the novusmini resources from the server available through an iterator or index Raises ------ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/roce6v2/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusminipro/__init__.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/roce6v2/__init__.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusminipro/__init__.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusminipro/novusminipro.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusminipro/novusminipro.py new file mode 100644 index 000000000..02dd6f8b9 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusminipro/novusminipro.py @@ -0,0 +1,229 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Novusminipro(Base): + """ + The Novusminipro class encapsulates a required novusminipro resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "novusminipro" + _SDM_ATT_MAP = { + "AutoInstrumentation": "autoInstrumentation", + "AvailableSpeeds": "availableSpeeds", + "CanModifySpeed": "canModifySpeed", + "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "Loopback": "loopback", + "Mtu": "mtu", + "SelectedSpeeds": "selectedSpeeds", + "Speed": "speed", + } + _SDM_ENUM_MAP = { + "autoInstrumentation": ["endOfFrame", "floating"], + "speed": ["speed1000", "speed100fd", "speed10fd", "speed2.5g"], + } + + def __init__(self, parent, list_op=False): + super(Novusminipro, self).__init__(parent, list_op) + + @property + def AutoInstrumentation(self): + # type: () -> str + """ + Returns + ------- + - str(endOfFrame | floating): The auto instrumentation mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoInstrumentation"]) + + @AutoInstrumentation.setter + def AutoInstrumentation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoInstrumentation"], value) + + @property + def AvailableSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g]): Which speeds are available for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) + + @property + def CanModifySpeed(self): + # type: () -> bool + """ + Returns + ------- + - bool: Returns true/false depending upon if the port can change speed for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanModifySpeed"]) + + @property + def CanSetMultipleSpeeds(self): + # type: () -> bool + """ + Returns + ------- + - bool: Can this port selectmultiple speeds for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) + + @property + def Loopback(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, the port is set to internally loopback from transmit to receive. + """ + return self._get_attribute(self._SDM_ATT_MAP["Loopback"]) + + @property + def Mtu(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["Mtu"]) + + @Mtu.setter + def Mtu(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Mtu"], value) + + @property + def SelectedSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g]): Which speeds are selected for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) + + @SelectedSpeeds.setter + def SelectedSpeeds(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["SelectedSpeeds"], value) + + @property + def Speed(self): + # type: () -> str + """ + Returns + ------- + - str(speed1000 | speed100fd | speed10fd | speed2.5g): Select one of the enums to set the speed of the port. + """ + return self._get_attribute(self._SDM_ATT_MAP["Speed"]) + + @Speed.setter + def Speed(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Speed"], value) + + def update( + self, AutoInstrumentation=None, Mtu=None, SelectedSpeeds=None, Speed=None + ): + # type: (str, int, List[str], str) -> Novusminipro + """Updates novusminipro resource on the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - Mtu (number): + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed2.5g)): Select one of the enums to set the speed of the port. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AutoInstrumentation=None, + AvailableSpeeds=None, + CanModifySpeed=None, + CanSetMultipleSpeeds=None, + Loopback=None, + Mtu=None, + SelectedSpeeds=None, + Speed=None, + ): + # type: (str, List[str], bool, bool, bool, int, List[str], str) -> Novusminipro + """Finds and retrieves novusminipro resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve novusminipro resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all novusminipro resources from the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - AvailableSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are available for the current media and AN settings. + - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. + - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - Mtu (number): + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed2.5g)): Select one of the enums to set the speed of the port. + + Returns + ------- + - self: This instance with matching novusminipro resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of novusminipro data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the novusminipro resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/rocev2/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/__init__.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/rocev2/__init__.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/__init__.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/__init__.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/rocev2traffic/__init__.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/__init__.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py new file mode 100644 index 000000000..297c75b71 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py @@ -0,0 +1,270 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Fcoe(Base): + """ + The Fcoe class encapsulates a required fcoe resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "fcoe" + _SDM_ATT_MAP = { + "EnablePFCPauseDelay": "enablePFCPauseDelay", + "FlowControlType": "flowControlType", + "PfcPauseDelay": "pfcPauseDelay", + "PfcPriorityGroups": "pfcPriorityGroups", + "PfcQueueGroupSize": "pfcQueueGroupSize", + "PfcQueueGroups": "pfcQueueGroups", + "PriorityGroupSize": "priorityGroupSize", + "SupportDataCenterMode": "supportDataCenterMode", + } + _SDM_ENUM_MAP = { + "flowControlType": ["ieee802.1Qbb", "ieee802.3x"], + "pfcQueueGroupSize": [ + "pfcQueueGroupSize-1", + "pfcQueueGroupSize-4", + "pfcQueueGroupSize-8", + ], + "priorityGroupSize": [ + "priorityGroupSize-1", + "priorityGroupSize-4", + "priorityGroupSize-8", + ], + } + + def __init__(self, parent, list_op=False): + super(Fcoe, self).__init__(parent, list_op) + + @property + def EnablePFCPauseDelay(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, PFC pause delay is enabled. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"]) + + @EnablePFCPauseDelay.setter + def EnablePFCPauseDelay(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"], value) + + @property + def FlowControlType(self): + # type: () -> str + """ + Returns + ------- + - str(ieee802.1Qbb | ieee802.3x): The type of flow control to be selected. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlType"]) + + @FlowControlType.setter + def FlowControlType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlType"], value) + + @property + def PfcPauseDelay(self): + # type: () -> int + """ + Returns + ------- + - number: If selected, enables to increase the number of frames that is sent when a pause frame is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPauseDelay"]) + + @PfcPauseDelay.setter + def PfcPauseDelay(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPauseDelay"], value) + + @property + def PfcPriorityGroups(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"]) + + @PfcPriorityGroups.setter + def PfcPriorityGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"], value) + + @property + def PfcQueueGroupSize(self): + # type: () -> str + """ + Returns + ------- + - str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8): Max PFC queue group size + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"]) + + @PfcQueueGroupSize.setter + def PfcQueueGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"], value) + + @property + def PfcQueueGroups(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroups"]) + + @PfcQueueGroups.setter + def PfcQueueGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroups"], value) + + @property + def PriorityGroupSize(self): + # type: () -> str + """DEPRECATED + Returns + ------- + - str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8): The maximum size of a Priority Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["PriorityGroupSize"]) + + @PriorityGroupSize.setter + def PriorityGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PriorityGroupSize"], value) + + @property + def SupportDataCenterMode(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, this mode automatically sets Transmit Mode to Interleaved Streams. + """ + return self._get_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"]) + + @SupportDataCenterMode.setter + def SupportDataCenterMode(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"], value) + + def update( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Updates fcoe resource on the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Finds and retrieves fcoe resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve fcoe resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all fcoe resources from the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Returns + ------- + - self: This instance with matching fcoe resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of fcoe data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the fcoe resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/serthundredgiglan/serthundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py similarity index 93% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/serthundredgiglan/serthundredgiglan.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py index 8c1101606..455237ec5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/serthundredgiglan/serthundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py @@ -27,13 +27,13 @@ from typing import List, Any, Union -class SertHundredGigLan(Base): +class RangerHundredGigLan(Base): """ - The SertHundredGigLan class encapsulates a required sertHundredGigLan resource which will be retrieved from the server every time the property is accessed. + The RangerHundredGigLan class encapsulates a required rangerHundredGigLan resource which will be retrieved from the server every time the property is accessed. """ __slots__ = () - _SDM_NAME = "sertHundredGigLan" + _SDM_NAME = "rangerHundredGigLan" _SDM_ATT_MAP = { "AutoInstrumentation": "autoInstrumentation", "AvailableSpeeds": "availableSpeeds", @@ -82,7 +82,27 @@ class SertHundredGigLan(Base): } def __init__(self, parent, list_op=False): - super(SertHundredGigLan, self).__init__(parent, list_op) + super(RangerHundredGigLan, self).__init__(parent, list_op) + + @property + def Fcoe(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.fcoe.fcoe.Fcoe): An instance of the Fcoe class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.fcoe.fcoe import ( + Fcoe, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Fcoe", None) is not None: + return self._properties.get("Fcoe") + return Fcoe(self)._select() @property def AutoInstrumentation(self): @@ -639,8 +659,8 @@ def update( TypeBOrderedSets=None, UseANResults=None, ): - # type: (str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> SertHundredGigLan - """Updates sertHundredGigLan resource on the server. + # type: (str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> RangerHundredGigLan + """Updates rangerHundredGigLan resource on the server. Args ---- @@ -722,12 +742,12 @@ def find( TypeBOrderedSets=None, UseANResults=None, ): - # type: (str, List[str], int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> SertHundredGigLan - """Finds and retrieves sertHundredGigLan resources from the server. + # type: (str, List[str], int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> RangerHundredGigLan + """Finds and retrieves rangerHundredGigLan resources from the server. - All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve sertHundredGigLan resources from the server. + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve rangerHundredGigLan resources from the server. To retrieve an exact match ensure the parameter value starts with ^ and ends with $ - By default the find method takes no parameters and will retrieve all sertHundredGigLan resources from the server. + By default the find method takes no parameters and will retrieve all rangerHundredGigLan resources from the server. Args ---- @@ -770,7 +790,7 @@ def find( Returns ------- - - self: This instance with matching sertHundredGigLan resources retrieved from the server available through an iterator or index + - self: This instance with matching rangerHundredGigLan resources retrieved from the server available through an iterator or index Raises ------ @@ -779,7 +799,7 @@ def find( return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) def read(self, href): - """Retrieves a single instance of sertHundredGigLan data from the server. + """Retrieves a single instance of rangerHundredGigLan data from the server. Args ---- @@ -787,7 +807,7 @@ def read(self, href): Returns ------- - - self: This instance with the sertHundredGigLan resources from the server available through an iterator or index + - self: This instance with the rangerHundredGigLan resources from the server available through an iterator or index Raises ------ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/serthundredgiglan/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/serthundredgiglan/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py index a2d7c060b..20b8c9370 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py @@ -122,6 +122,7 @@ class Vport(Base): "ethernet", "ethernetvm", "novusmini", + "novusminipro", "ethernetFcoe", "atm", "pos", @@ -154,7 +155,8 @@ class Vport(Base): "ravenEightHundredGigLanFcoe", "aresOneEightHundredGigLanQddC", "aresOneEightHundredGigLanQddCFcoe", - "sertHundredGigLan", + "rangerHundredGigLan", + "rangerHundredGigLanFcoe", "aresOneEightHundredGigLanOsfpC", "aresOneEightHundredGigLanOsfpCFcoe", "aresOneM", @@ -793,7 +795,7 @@ def Type(self): """ Returns ------- - - str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): The type of port selection. + - str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): The type of port selection. """ return self._get_attribute(self._SDM_ATT_MAP["Type"]) @@ -861,7 +863,7 @@ def update( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port Raises @@ -904,7 +906,7 @@ def add( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port Returns @@ -1018,7 +1020,7 @@ def find( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | sertHundredGigLan | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | novusminipro | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port - ValidTxModes (list(str[interleaved | interleavedCoarse | packetImpairment | sequential | sequentialCoarse])): diff --git a/ixnetwork_restpy/tests/fixtures/mocks.py b/ixnetwork_restpy/tests/fixtures/mocks.py index 1891183e2..66a472281 100644 --- a/ixnetwork_restpy/tests/fixtures/mocks.py +++ b/ixnetwork_restpy/tests/fixtures/mocks.py @@ -1,5 +1,6 @@ """Mocks all request/responses needed for unit tests """ + import re diff --git a/uhd_restpy/assistants/ports/portmapassistant.py b/uhd_restpy/assistants/ports/portmapassistant.py index d1cebb53d..055d68ce4 100644 --- a/uhd_restpy/assistants/ports/portmapassistant.py +++ b/uhd_restpy/assistants/ports/portmapassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify the task of virtual ports to test ports connections """ + import time import json from ixnetwork_restpy.select import Select @@ -86,9 +87,11 @@ def Map( if Name is None or len(vport) == 0: vport = self._IxNetwork.Vport.add(Name=Name) self._map[vport.Name] = { - "location": Location - if Location is not None - else "%s;%s;%s" % (IpAddress, CardId, PortId), + "location": ( + Location + if Location is not None + else "%s;%s;%s" % (IpAddress, CardId, PortId) + ), "vport": vport, } return vport diff --git a/uhd_restpy/assistants/sessions/sessionassistant.py b/uhd_restpy/assistants/sessions/sessionassistant.py index c259374fd..2efd803a9 100644 --- a/uhd_restpy/assistants/sessions/sessionassistant.py +++ b/uhd_restpy/assistants/sessions/sessionassistant.py @@ -8,6 +8,7 @@ Get a PortMapAssistant instance Get a StatViewAssistant instance """ + from ixnetwork_restpy.connection import Connection from ixnetwork_restpy.errors import * from ixnetwork_restpy.testplatform.testplatform import TestPlatform diff --git a/uhd_restpy/assistants/statistics/row.py b/uhd_restpy/assistants/statistics/row.py index 4042a76f8..5c80bc9ba 100644 --- a/uhd_restpy/assistants/statistics/row.py +++ b/uhd_restpy/assistants/statistics/row.py @@ -1,5 +1,6 @@ """Rows class to simplify access to statistics views data """ + from ixnetwork_restpy.errors import * import datetime diff --git a/uhd_restpy/assistants/statistics/statviewassistant.py b/uhd_restpy/assistants/statistics/statviewassistant.py index fb26f59bf..d64d6bb4f 100644 --- a/uhd_restpy/assistants/statistics/statviewassistant.py +++ b/uhd_restpy/assistants/statistics/statviewassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify access to statistics views """ + from ixnetwork_restpy.assistants.statistics.row import Row from ixnetwork_restpy.errors import * from ixnetwork_restpy.assistants.batch.batchupdate import BatchUpdate diff --git a/uhd_restpy/assistants/watch/watchassistant.py b/uhd_restpy/assistants/watch/watchassistant.py index 471654f9e..ec882ac4d 100644 --- a/uhd_restpy/assistants/watch/watchassistant.py +++ b/uhd_restpy/assistants/watch/watchassistant.py @@ -1,5 +1,6 @@ """ Assistant class to simplify access to statistics views """ + import json import websocket import threading diff --git a/version.txt b/version.txt index 589268e6f..e21e727f9 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.3.0 \ No newline at end of file +1.4.0 \ No newline at end of file