Software Development Kit (SDK) and API Discussions

API to pull cluster switch ip's

PBRam

Hi All,

 

Is there any API to directly pull cluster switch ip's (similar to "system cluster-switch show")? I can pull it from device discovery, looking for alternative api.

 

1 REPLY 1

MikeSpencer

Not directly, and I haven't tested this, but 'net-device-discovery-get-iter' will walk you through the chain of devices the Cluster knows about. The attributes you would care about are; 'capabilities' should be "switch", and 'device-ip' would be the answer you're looking for. 

 

It's probably safe to presume that there are likely multiple switches out there, so you could check the 'port' and compare it against what you (hopefully) know the interface you need (i.e. "e0m").

 

I hope this helps!

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public