You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Folks,
I remember in one of the deep dive sessions provided to us we went through an example that describes my query below. But I can't seem to recollect the solution. Would someone be able to provide the answer or point to an implementation.
What I basically need is a class based query for a specific class that is the input to the function, without having to derive the tree of parent Objects.
What I need to work: IxNetwork.Topology.DeviceGroup.Ethernet.Ipv4.find(Name='1/7/11_ethernet_t0:ctx1_b4_sepg5_ 1')
Right now the above command typed as is results in the following error.
IxNetwork.Topology.DeviceGroup.Ethernet.Ipv4.find(Name='1/7/11_ethernet_t0:ctx1_b4_sepg5_ 1')
Traceback (most recent call last):
File "", line 1, in
File "/local/vamuthal/Ixia_RestPy/RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4.py", line 690, in find
return self._select(locals())
File "/local/vamuthal/Ixia_RestPy/RestPy/ixnetwork_restpy/base.py", line 342, in _select
end = len(self._parent.href)
File "/local/vamuthal/Ixia_RestPy/RestPy/ixnetwork_restpy/base.py", line 102, in href
return self._get_attribute('href')
File "/local/vamuthal/Ixia_RestPy/RestPy/ixnetwork_restpy/base.py", line 122, in _get_attribute
raise NotFoundError('The attribute %s is not in the internal list of object dicts. (%s)' % (name, e))
NotFoundError: The attribute href is not in the internal list of object dicts. (list index out of range)
The text was updated successfully, but these errors were encountered:
We currently do not support this methodology for finding instances as parent instances are required at this time.
We are looking at implementing a solution that does not require parent instances.
Hi Folks,
I remember in one of the deep dive sessions provided to us we went through an example that describes my query below. But I can't seem to recollect the solution. Would someone be able to provide the answer or point to an implementation.
What I basically need is a class based query for a specific class that is the input to the function, without having to derive the tree of parent Objects.
What works now:
What I need to work: IxNetwork.Topology.DeviceGroup.Ethernet.Ipv4.find(Name='1/7/11_ethernet_t0:ctx1_b4_sepg5_ 1')
Right now the above command typed as is results in the following error.
The text was updated successfully, but these errors were encountered: