REST API を使用した不要な _ui_ オブジェクトの削除
Cisco APIC GUI を使用する前に Cisco NX OS スタイル CLI で変更を行い、名前の先頭に _ui_ が付加されたオブジェクトが表示された場合は、API に対して次を含む REST API 要求を実行することでこれらのオブジェクトを削除できます。
-
クラス名(例:infraAccPortGrp)
-
Dn 属性(例:dn="uni/infra/funcprof/accportgrp-__ui_l101_eth1--31"
-
status="deleted" に設定したステータス属性
次の手順で API に POST を実行します。
手順
ステップ 1 |
削除するオブジェクトへの書き込みアクセス権を持つユーザ アカウントにログインします。 |
ステップ 2 |
API に次の例のような POST を送信します。
|