即使值无效、ONTAP API也会返回200 OK
适用场景
ONTAP API
问题描述
由于 客户端匹配的IP地址已被调用、以下命令将失败、如下所示。
::> vserver export-policy rule remove-clientmatches -vserver Test009 -policyname luxin -ruleindex 10000 -clientmatches 1.1.1.1
Warning: Not removing any strings from the clientmatch field for ruleindex 10000 in export policy "luxin", vserver "Test009". None of the match strings were found in the clientmatch list.
但是、按如下所示使用REST API将获得 200个OK状态代码。