Different data services assigned after creating an SVM using REST APIs than CLI
Applies to
- ONTAP 9.8 and later
- REST API
Issue
- SVM created using REST API with POST /svm/svms:
{
"name": "svm_API"
}
- SVM created using ONTAP CLI (Command line interface):
cluster1::> vserver create -vserver svm_CLI
[Job 204] Job succeeded:
Vserver creation completed.
- The default data-services are not the same on both the SVMs.
cluster1::> vserver show -vserver svm_CLI -fields data-services
vserver data-services
------- --------------------------------------------
svm_CLI data-nfs,data-cifs,data-flexcache,data-iscsi
cluster1::> vserver show -vserver svm_API -fields data-services
vserver data-services
------- -------------
svm_API -