-
Hey, I have a device that has 6 interfaces, with IP addresses assigned to each. Using a for loop, I am trying to render each interface in an IOS configuration manner in the config context. However trying to access the information using:
or
either returns a TypeError ('method' object is not iterable) for the former, or TypeError ('RelatedManager' object is not iterable) for the latter. Is this a bug in the API - not returning any interface information for the device, a missing feature, or am I doing this the wrong way? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
device.interfaces.all() |
Beta Was this translation helpful? Give feedback.
device.interfaces.all()