NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

how to tell what an IP is?

ehudk
2,998 Views

Is there a ZAPI command i can use generically, to find if it is a 7mode system, cDOT or vServer? i know i can do system-get-version and parse the cluster part, but is there a way to find if the IP i got is a vServer? i'm asking as zexplore has a category for vServer api...

1 REPLY 1

richard_payne
2,906 Views

I don't think there is a generic API call that returns what the destiantin IP 'is'. I've only connected to the cluster mgmt interface so far, and from there you can get/set the vserver you're connected to. I would imagine if you connect to a vserver management interface you're only going to be able to 'see' the current vserver context (but again I haven't tested this). There are API calls that only make sense in the vserver context.

 

--rdp

Public