REST API 経由での LIF 作成エラー
環境
- 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" }