<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic flexgroup-msid missing in REST API? in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452765#M676</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST API returns "msid" for each reported volume, but how do I get the "flexgroup-msid" which can be displayed via CLI? My goal is to find the flexgroup volume for a given "flexgroup-msid" and I would expect that the "flexgroup-msid" is the same as the "msid" of the flexgroup itself, but this seems not to be the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;dg.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 09:18:43 GMT</pubDate>
    <dc:creator>PoINT_dg</dc:creator>
    <dc:date>2024-05-17T09:18:43Z</dc:date>
    <item>
      <title>flexgroup-msid missing in REST API?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452765#M676</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST API returns "msid" for each reported volume, but how do I get the "flexgroup-msid" which can be displayed via CLI? My goal is to find the flexgroup volume for a given "flexgroup-msid" and I would expect that the "flexgroup-msid" is the same as the "msid" of the flexgroup itself, but this seems not to be the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;dg.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 09:18:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452765#M676</guid>
      <dc:creator>PoINT_dg</dc:creator>
      <dc:date>2024-05-17T09:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: flexgroup-msid missing in REST API?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452809#M677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I did some more testing with ONTAP 9.14.1 simulator and found that this seems to be an issue in REST API: The "msid" returned for flexgroup volumes is the one of the first constituent and not that of the flexgroup itself. My above expectation is correct, that "msid" and "flexgroup-msid" are the same for flexgroup volumes which can be confirmed via CLI:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cluster::volume*&amp;gt; show -fields flexgroup-msid, msid -volume-style-extended flexgroup
vserver volume msid       flexgroup-msid
------- ------ ---------- --------------
svm0    flex1  2150247878 2150247878&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the msid returned by REST API for this same volume is 2150247879, which is the first constituent in my case:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    {
      "uuid": "387a6e6e-174c-11ef-8b43-000c2966c17d",
      "name": "flex1",
      "style": "flexgroup",
      "type": "rw",
      "msid": 2150247879,
      "_links": {
        "self": {
          "href": "/api/storage/volumes/387a6e6e-174c-11ef-8b43-000c2966c17d"
        }
      }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The legacy ONTAPI returns correct information on the same system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone from NetApp confirm my observation or tell me where I am wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 09:37:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452809#M677</guid>
      <dc:creator>PoINT_dg</dc:creator>
      <dc:date>2024-05-21T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: flexgroup-msid missing in REST API?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452924#M678</link>
      <description>&lt;P&gt;More input from my side. This only happens when using SVM tunneling. The returned msid is incorrect:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X GET "https://192.168.202.190/api/storage/volumes?fields=name,style,type,msid" -H "X-Dot-SVM-Name: svm0"
{
  "records": [
    {
    },
    {
      "uuid": "387a6e6e-174c-11ef-8b43-000c2966c17d",
      "name": "flex1",
      "style": "flexgroup",
      "type": "rw",
      "msid": 2150247879,
      "_links": {
        "self": {
          "href": "/api/storage/volumes/387a6e6e-174c-11ef-8b43-000c2966c17d"
        }
      }
    }
  ],
  "num_records": 2,
  "_links": {
    "self": {
      "href": "/api/storage/volumes?fields=name,style,type,msid"
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Without tunneling, the msid is correct:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X GET "https://192.168.202.190/api/storage/volumes?fields=name,style,type,msid"
{
  "records": [
    {
    },
    {
      "uuid": "387a6e6e-174c-11ef-8b43-000c2966c17d",
      "name": "flex1",
      "style": "flexgroup",
      "type": "rw",
      "msid": 2150247878,
      "_links": {
        "self": {
          "href": "/api/storage/volumes/387a6e6e-174c-11ef-8b43-000c2966c17d"
        }
      }
    }
  ],
  "num_records": 2,
  "_links": {
    "self": {
      "href": "/api/storage/volumes?fields=name,style,type,msid"
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, there seems to be some caching causing inconsistent results.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 07:48:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/flexgroup-msid-missing-in-REST-API/m-p/452924#M678</guid>
      <dc:creator>PoINT_dg</dc:creator>
      <dc:date>2024-05-27T07:48:09Z</dc:date>
    </item>
  </channel>
</rss>

