Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
SDK API to differentiate whether device is 7Mode or CMode
2015-01-21
01:02 AM
2,443 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Folks,
Is there a way to differentiate we are dealing with 7Mode device or Cmode device? Basically i want to differentiate in a code saying that this IP is 7Mode or Cmode. Please help me on this.
Thanks.
Viswanath
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Viswanath,
You can use the system-get-version API. It returns an in-clustered element, set to true if running cDOT, or false/missing if running 7-mode.
Note that this element is not returned for systems running ONTAP 8.0.*, even clustered. If you have such systems, you'll likely need a workaround, like sending an API that is present in 8.0.* cDOT but not 7-mode and checking if it succeeds.
-Ben
