Skip to content

Commit 78313c6

Browse files
committed
"version 1.1.12"
1 parent 476942f commit 78313c6

File tree

713 files changed

+26332
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

713 files changed

+26332
-201
lines changed

RELEASENOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Release Notes
2+
### January 2024
3+
* 1.1.12
4+
* support ixnetwork version 10.00.2312.4 (10.00 EA)
5+
* fixed an issue with find() on a restpy node with href
26
### November 2023
37
* 1.1.11
48
* support ixnetwork version 9.30.2309.46 (9.30 Update-3)

ixnetwork_restpy/connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal
444444
0 : url.find("/", url.find("/sessions/") + len("/sessions/"))
445445
]
446446
url = preamble + "/ixnetwork/globals/appErrors/error"
447+
self._print_request("GET", url)
447448
error_response = self._session.request(
448449
"GET",
449450
url,
@@ -470,6 +471,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal
470471
pass
471472
# raise the appropriate error
472473
message = "\n".join(errors)
474+
logging.getLogger(__name__).debug(message)
473475
if response.status_code == 400:
474476
raise BadRequestError(message, response.status_code)
475477
elif response.status_code == 401:
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.38.127:443:linux]": true,
3+
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.38.127:443:linux]": true,
4+
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.38.127:443:linux]": true,
5+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.38.127:443:linux]": true,
6+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.38.127:443:linux]": true,
7+
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.38.127:443:linux]": true,
8+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.38.127:443:linux]": true,
9+
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.38.127:443:linux]": true
10+
}

ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids

Lines changed: 242 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import pytest
2+
3+
4+
def test_select_call_with_list_of_hrefs(ixnetwork):
5+
ixnetwork.Vport.add().add().add().add()
6+
vps = ixnetwork.Vport.find()
7+
assert len(vps) == 4
8+
9+
ixnetwork.Topology.add(Vports=vps[0:2]).add(Vports=vps[2:])
10+
tp = ixnetwork.Topology.find(Ports=vps[1].href + "|" + vps[0].href)
11+
assert len(tp) == 1
12+
tp = ixnetwork.Topology.find(Ports=vps[3].href + "|" + vps[0].href)
13+
assert len(tp) == 2
14+
15+
16+
if __name__ == "__main__":
17+
pytest.main(["-v", "-s", "--server", "localhost:11009:windows", __file__])

ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py

Lines changed: 24 additions & 7 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)