Skip to content

Commit ed6243d

Browse files
committed
"version 1.7.0"
1 parent 59267dd commit ed6243d

File tree

670 files changed

+20075
-3135
lines changed

Some content is hidden

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

670 files changed

+20075
-3135
lines changed

RELEASENOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Release Notes
2+
### May 2025
3+
* 1.7.0
4+
* support for ixnetwork version 11.00.2504.10 (11.00 EA)
25
### December 2024
36
* 1.6.1
47
* fix issue where bgpMVpnSenderSiteSpmsiV4 nodes were not being generated

ixnetwork_restpy/connection.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@
2626
import time
2727
import json
2828
import logging
29-
from importlib.metadata import distribution
3029
from requests import Session, request, utils
3130
from requests.exceptions import ConnectTimeout
3231
from io import BufferedReader
3332
from ixnetwork_restpy.errors import *
3433
from ixnetwork_restpy.files import Files
3534

35+
if sys.version_info < (3, 8):
36+
from importlib_metadata import distribution
37+
else:
38+
from importlib.metadata import distribution
39+
3640

3741
try:
3842
basestring

ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG

Lines changed: 0 additions & 4 deletions
This file was deleted.

ixnetwork_restpy/pytest_tests/.pytest_cache/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 0 additions & 123 deletions
This file was deleted.

ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
def test_gen_nodes_for_bgp_vpn_spms(ixnetwork):
2+
try:
3+
# pcc group should be generated
4+
spms_v4 = (
5+
ixnetwork.Topology.DeviceGroup.NetworkGroup.Ipv4PrefixPools.BgpMVpnSenderSitesIpv4
6+
)
7+
print(spms_v4.BgpMVpnSenderSiteSpmsiV4.__dir__())
8+
print(spms_v4.EvpnIPv4PrefixRange.__dir__())
9+
print(spms_v4.EvpnIPv6PrefixRange.__dir__())
10+
print(spms_v4.CMacProperties.__dir__())
11+
spms_v6 = (
12+
ixnetwork.Topology.DeviceGroup.NetworkGroup.Ipv6PrefixPools.BgpMVpnSenderSitesIpv6
13+
)
14+
print(spms_v6.BgpMVpnSenderSiteSpmsiV6.__dir__())
15+
print(spms_v6.EvpnIPv4PrefixRange.__dir__())
16+
print(spms_v6.EvpnIPv6PrefixRange.__dir__())
17+
print(spms_v6.CMacProperties.__dir__())
18+
except Exception as e:
19+
err_msg = (
20+
"pcc_group and all nodes related to learnedInfo should be generated, \nexception: "
21+
+ str(e)
22+
)
23+
raise Exception(err_msg)

ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/availablehardware.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,6 @@ def Chassis(self):
6464
return self._properties.get("Chassis")
6565
return Chassis(self)
6666

67-
@property
68-
def VirtualChassis(self):
69-
"""
70-
Returns
71-
-------
72-
- obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.availablehardware.virtualchassis.virtualchassis.VirtualChassis): An instance of the VirtualChassis class
73-
74-
Raises
75-
------
76-
- ServerError: The server has encountered an uncategorized error condition
77-
"""
78-
from ixnetwork_restpy.testplatform.sessions.ixnetwork.availablehardware.virtualchassis.virtualchassis import (
79-
VirtualChassis,
80-
)
81-
82-
if len(self._object_properties) > 0:
83-
if self._properties.get("VirtualChassis", None) is not None:
84-
return self._properties.get("VirtualChassis")
85-
return VirtualChassis(self)._select()
86-
8767
@property
8868
def IsLocked(self):
8969
# type: () -> bool

ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/virtualchassis/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)