Skip to content

Commit 59267dd

Browse files
committed
"version 1.6.1"
1 parent 766a543 commit 59267dd

33 files changed

Lines changed: 2227 additions & 79 deletions

RELEASENOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Release Notes
22
### December 2024
3+
* 1.6.1
4+
* fix issue where bgpMVpnSenderSiteSpmsiV4 nodes were not being generated
35
* 1.6.0
46
* support for ixnetwork version 10.80.2412.6 (10.80 EA)
57
* new samples added

ixnetwork_restpy/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import time
2727
import json
2828
import logging
29-
import pkg_resources
29+
from importlib.metadata import distribution
3030
from requests import Session, request, utils
3131
from requests.exceptions import ConnectTimeout
3232
from io import BufferedReader
@@ -109,7 +109,7 @@ def __init__(
109109
try:
110110
logging.getLogger(__name__).info(
111111
"using ixnetwork-restpy version %s"
112-
% pkg_resources.get_distribution("ixnetwork-restpy").version
112+
% distribution("ixnetwork-restpy").version
113113
)
114114
except Exception as e:
115115
logging.getLogger(__name__).warning(
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Created by pytest automatically.
2+
*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Signature: 8a477f597d28d172789f06886806bc55
2+
# This file is a cache directory tag created by pytest.
3+
# For information about cache directory tags, see:
4+
# https://bford.info/cachedir/spec.html
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# pytest cache directory #
2+
3+
This directory contains data from the pytest's cache plugin,
4+
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5+
6+
**Do not** commit this to version control.
7+
8+
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
[
2+
"tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.47.41:11020:windows]",
3+
"tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.47.41:11020:windows]",
4+
"tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.47.41:11020:windows]",
5+
"tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.47.41:11020:windows]",
6+
"tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.47.41:11020:windows]",
7+
"tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.47.41:11020:windows]",
8+
"tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.47.41:11020:windows]",
9+
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.47.41:11020:windows]",
10+
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.47.41:11020:windows]",
11+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.47.41:11020:windows]",
12+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.47.41:11020:windows]",
13+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.47.41:11020:windows]",
14+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.47.41:11020:windows]",
15+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.47.41:11020:windows]",
16+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.47.41:11020:windows]",
17+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.47.41:11020:windows]",
18+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.47.41:11020:windows]",
19+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.47.41:11020:windows]",
20+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.47.41:11020:windows]",
21+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.47.41:11020:windows]",
22+
"tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.47.41:11020:windows]",
23+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_traffic_for_non_active_fields[10.39.47.41:11020:windows]",
24+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.47.41:11020:windows]",
25+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.47.41:11020:windows]",
26+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.47.41:11020:windows]",
27+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.47.41:11020:windows]",
28+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.47.41:11020:windows]",
29+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.47.41:11020:windows]",
30+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.47.41:11020:windows]",
31+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.47.41:11020:windows]",
32+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.47.41:11020:windows]",
33+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.47.41:11020:windows]",
34+
"tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.47.41:11020:windows]",
35+
"tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.47.41:11020:windows]",
36+
"tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.47.41:11020:windows]",
37+
"tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.47.41:11020:windows]",
38+
"tests/batch/test_batch_find.py::test_multiple_from[10.39.47.41:11020:windows]",
39+
"tests/batch/test_batch_find.py::test_required_find[10.39.47.41:11020:windows]",
40+
"tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.47.41:11020:windows]",
41+
"tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.47.41:11020:windows]",
42+
"tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.47.41:11020:windows]",
43+
"tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.47.41:11020:windows]",
44+
"tests/classic/test_classic.py::test_can_add_interfaces[10.39.47.41:11020:windows]",
45+
"tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.47.41:11020:windows]",
46+
"tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.47.41:11020:windows]",
47+
"tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.47.41:11020:windows]",
48+
"tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.47.41:11020:windows]",
49+
"tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.47.41:11020:windows]",
50+
"tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.47.41:11020:windows]",
51+
"tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.47.41:11020:windows]",
52+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.47.41:11020:windows]",
53+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.47.41:11020:windows]",
54+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.47.41:11020:windows]",
55+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.47.41:11020:windows]",
56+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.47.41:11020:windows]",
57+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.47.41:11020:windows]",
58+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.47.41:11020:windows]",
59+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.47.41:11020:windows]",
60+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.47.41:11020:windows]",
61+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.47.41:11020:windows]",
62+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.47.41:11020:windows]",
63+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.47.41:11020:windows]",
64+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.47.41:11020:windows]",
65+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.47.41:11020:windows]",
66+
"tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.47.41:11020:windows]",
67+
"tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.47.41:11020:windows]",
68+
"tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.47.41:11020:windows]",
69+
"tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.47.41:11020:windows]",
70+
"tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.47.41:11020:windows]",
71+
"tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.47.41:11020:windows]",
72+
"tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.47.41:11020:windows]",
73+
"tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.47.41:11020:windows]",
74+
"tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.47.41:11020:windows]",
75+
"tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.47.41:11020:windows]",
76+
"tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.47.41:11020:windows]",
77+
"tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.47.41:11020:windows]",
78+
"tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.47.41:11020:windows]",
79+
"tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.47.41:11020:windows]",
80+
"tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.47.41:11020:windows]",
81+
"tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.47.41:11020:windows]",
82+
"tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.47.41:11020:windows]",
83+
"tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.47.41:11020:windows]",
84+
"tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.47.41:11020:windows]",
85+
"tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.47.41:11020:windows]",
86+
"tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.47.41:11020:windows]",
87+
"tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.47.41:11020:windows]",
88+
"tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.47.41:11020:windows]",
89+
"tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.47.41:11020:windows]",
90+
"tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.47.41:11020:windows]",
91+
"tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.47.41:11020:windows]",
92+
"tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.47.41:11020:windows]",
93+
"tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.47.41:11020:windows]",
94+
"tests/test_async_operation.py::test_async_operation[10.39.47.41:11020:windows]",
95+
"tests/test_async_operation.py::test_async_operation_for_errors[10.39.47.41:11020:windows]",
96+
"tests/test_errors.py::test_operation_improper_name[10.39.47.41:11020:windows]",
97+
"tests/test_errors.py::test_operation_returns_404_error[10.39.47.41:11020:windows]",
98+
"tests/test_find.py::test_find_classic[10.39.47.41:11020:windows]",
99+
"tests/test_find.py::test_find_ngpf[10.39.47.41:11020:windows]",
100+
"tests/test_find.py::test_find_with_kwargs[10.39.47.41:11020:windows]",
101+
"tests/test_find_with_href.py::test_select_call_with_list_of_hrefs[10.39.47.41:11020:windows]",
102+
"tests/test_iterators.py::test_can_add_remove_containers[10.39.47.41:11020:windows]",
103+
"tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.47.41:11020:windows]",
104+
"tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.47.41:11020:windows]",
105+
"tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.47.41:11020:windows]",
106+
"tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.47.41:11020:windows]",
107+
"tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.47.41:11020:windows]",
108+
"tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.47.41:11020:windows]",
109+
"tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.47.41:11020:windows]",
110+
"tests/test_refresh.py::test_update[10.39.47.41:11020:windows]",
111+
"tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.47.41:11020:windows]",
112+
"tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.47.41:11020:windows]",
113+
"tests/test_update.py::test_update[10.39.47.41:11020:windows]",
114+
"tests/test_update.py::test_update_for_classic_nodes[10.39.47.41:11020:windows]",
115+
"tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.47.41:11020:windows]",
116+
"tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.47.41:11020:windows]",
117+
"tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.47.41:11020:windows]",
118+
"tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.47.41:11020:windows]",
119+
"tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.47.41:11020:windows]",
120+
"tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.47.41:11020:windows]",
121+
"tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.47.41:11020:windows]",
122+
"tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.47.41:11020:windows]"
123+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,26 @@ class BgpMVpnSenderSitesIpv4(Base):
6161
def __init__(self, parent, list_op=False):
6262
super(BgpMVpnSenderSitesIpv4, self).__init__(parent, list_op)
6363

64+
@property
65+
def BgpMVpnSenderSiteSpmsiV4(self):
66+
"""
67+
Returns
68+
-------
69+
- obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpmvpnsendersitespmsiv4_4b13597607a662131f4202b2be10d840.BgpMVpnSenderSiteSpmsiV4): An instance of the BgpMVpnSenderSiteSpmsiV4 class
70+
71+
Raises
72+
------
73+
- ServerError: The server has encountered an uncategorized error condition
74+
"""
75+
from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpmvpnsendersitespmsiv4_4b13597607a662131f4202b2be10d840 import (
76+
BgpMVpnSenderSiteSpmsiV4,
77+
)
78+
79+
if len(self._object_properties) > 0:
80+
if self._properties.get("BgpMVpnSenderSiteSpmsiV4", None) is not None:
81+
return self._properties.get("BgpMVpnSenderSiteSpmsiV4")
82+
return BgpMVpnSenderSiteSpmsiV4(self)
83+
6484
@property
6585
def CMacProperties(self):
6686
"""

ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,26 @@ class BgpMVpnSenderSitesIpv6(Base):
6262
def __init__(self, parent, list_op=False):
6363
super(BgpMVpnSenderSitesIpv6, self).__init__(parent, list_op)
6464

65+
@property
66+
def BgpMVpnSenderSiteSpmsiV6(self):
67+
"""
68+
Returns
69+
-------
70+
- obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpmvpnsendersitespmsiv6_2952dbb55deecb9e4187a6b85fc7807e.BgpMVpnSenderSiteSpmsiV6): An instance of the BgpMVpnSenderSiteSpmsiV6 class
71+
72+
Raises
73+
------
74+
- ServerError: The server has encountered an uncategorized error condition
75+
"""
76+
from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpmvpnsendersitespmsiv6_2952dbb55deecb9e4187a6b85fc7807e import (
77+
BgpMVpnSenderSiteSpmsiV6,
78+
)
79+
80+
if len(self._object_properties) > 0:
81+
if self._properties.get("BgpMVpnSenderSiteSpmsiV6", None) is not None:
82+
return self._properties.get("BgpMVpnSenderSiteSpmsiV6")
83+
return BgpMVpnSenderSiteSpmsiV6(self)
84+
6585
@property
6686
def CMacProperties(self):
6787
"""

0 commit comments

Comments
 (0)