Hello, Im trying to get my secondary ip's configured from the api('ipinterfaces').get(interface) function, however it only returns the first it finds as per the def _parse_address function.
Or is there another way to get all actual ip's configured via api and not parse the configuration with the client enable('show running-config') function?
Can it perhaps be changed to also return a key with a list of secondary ip-addresses if one exists?
Actual config:
interface Loopback0
mtu 1554
ip address 10.128.6.1/32
ip address 10.255.255.1/24 secondary
the api call:
arista_device.api('ipinterfaces').get(name='Loopback0')
{'name': 'Loopback0', 'address': '10.128.6.1/32', 'mtu': 1554}