メインコンテンツへスキップ

REST API 経由での LIF 作成エラー

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

環境

  • REST API
  • ONTAP 9

問題

 
  • REST APIを使用して"vip = true"でLIFを作成中にエラーが発生しました:

curl -H "Content-type:application/json" -d @payload.json -X POST  https://${USER}:${PASSWORD}@netapp_ip/api/network/ip/interfaces


payload.json = {
"name": "test_vip",
"ip": {
"address": "1.2.3.4"
},
"svm": {
"name": "svm01"
},
"service_policy": "default-data-files",
"location": {
"auto_revert": false,
"failover": "default",
"broadcast_domain": {
"name": "bgp"
}
},
"vip": "true"
}


"error": {
  "message": "VIP LIFs must use a home port of type \"vip\". Use the command \"network port show -type vip\" to review available VIP ports, or try the command again without the \"home-port\" argument.",
  "code": "1966782"
  }

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.