この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
目次
サービス グラフを設定し、エンドポイント グループ(EPG)およびコントラクトにグラフをアタッチした後は、サービス グラフ インスタンスをモニタできます。 モニタリングには、グラフ インスタンスの状態、グラフ インスタンスの機能、機能に割り当てられたリソース、および機能に指定されたパラメータの表示が含まれます。
サービス グラフを設定し、EPG およびコントラクトにグラフをアタッチした後は、サービス グラフ エラーをモニタできます。
| ステップ 1 | メニュー バーで、[TENANTS] タブをクリックします。 [Tenant] ウィンドウが表示されます。 |
| ステップ 2 | サブメニュー バーで、サービス グラフをモニタするテナントのタブをクリックします。 選択したテナントの [Tenant] ウィンドウが [Work] ペインに表示されます。 |
| ステップ 3 | [Navigation] ペインで、テナントのブランチを展開します。 |
| ステップ 4 | [L4-L7 Services] ブランチを展開します。 |
| ステップ 5 | [Graphs Instances] ブランチを展開します。 アクティブなサービス グラフ インスタンスがこのブランチの下にリストされます。 |
| ステップ 6 | エラーを表示するグラフ インスタンスのブランチを展開します。 グラフ インスタンスの機能は、インスタンスの下に表示されます。 |
| ステップ 7 | 機能のいずれかをクリックします。 デフォルトで、[Work] ペインはその機能のポリシーを示します。 |
| ステップ 8 | [Work] ペインの [FAULTS] タブをクリックします。 [Work] ペインが機能ノードのエラーを表示します。 エラーおよびその解決策については、サービス グラフ エラーの解決を参照してください。 |
1 つ以上のサービス グラフ エラーを発見した場合、問題の解決はエラーによって異なります。 次の表は、エラーの説明とエラーを解決する方法を説明しています。
| エラー | CLI ラベル | 説明と解決法 |
|---|---|---|
| missing-connection | connection associated with a connector not found | グラフ コネクタの設定が無効です。 コネクタに関連付けられた接続が見つかりませんでした。 |
| missing-nodeinst | NodeInst associated with a connector not found | グラフ コネクタの設定が無効です。 コネクタに関連付けられた NodeInst が見つかりませんでした。 |
| conn-nonrenderable | Graph connector could not be rendered. | グラフ コネクタの設定が無効です。 グラフをレンダリングできませんでした。 |
| invalid-bd | BD associated with a connector is not valid | グラフ コネクタの設定が無効です。 コネクタの関連ブリッジ ドメインが無効です。 |
| invalid-ctx | Ctx associated with a connector is not valid. | グラフ コネクタの設定が無効です。 コネクタの関連する Ctx が無効です。 |
| missing-peer-conn | Peer connector associated with a connector not found. | グラフ コネクタの設定が無効です。 接続のピア コネクタが見つかりませんでした。 |
| エラー | CLI ラベル | 説明と解決法 |
|---|---|---|
| invalid-abstract-graph-config | invalid abstract graph config | 抽象グラフ設定が無効です。 |
| missing-mandatory-param | mandatory param not found | 必要な設定パラメータが解決できませんでした。 パッケージの必須パラメータをチェックし、AbsGraph にパラメータがあることを確認します。 |
| param-cardinality-error | invalid param cardinality | コンフィギュレーション パラメータは、濃度の要件を満たしていません。 cardinality=n を指定しないでパラメータの複数のインスタンスが指定されているかどうかを確認します。 |
| epp-download-failure | epp download failure | グラフ ポリシーがスイッチのダウンロードに失敗しました。 |
| param-duplicate-name-failure | duplicate param name | 同じ名前のパラメータの複数の同一コピーが検出されました。 |
| id-allocation-failure | id allocation failure | 一意のネットワーク リソース(VLAN VXLAN)を割り当てることができませんでした。 |
| missing-ldev | No cluster found | クラスタが見つかりませんでした。 |
| context-cardinality-violation-failure | invalid cluster context cardinality | クラスタは必要なテナント機能(マルチテナントまたはシングル テナント)をサポートしていません。 |
| function-type-mismatch-failure | invalid function type | 機能タイプは、選択したデバイス クラスタでサポートされません。 AbsNode 機能タイプと解決された LDevVip 機能タイプが一致するか確認します。 |
| invalid-abstract-graph-config-param | invalid abstract graph config param | 抽象グラフ コンフィギュレーション パラメータが無効です。 |
| missing-mparam | No parameter definition found | 必要なパラメータ定義が見つかりませんでした。 |
| missing-abs-graph | no abs graph found | 抽象グラフ設定がグラフ インスタンスにありません。 |
| invalid-param-config | invalid param config | パラメータ設定が無効です。 |
| invalid-param-scope | invalid parameter scope | パラメータ スコープが無効です。 AbsGraph の vnsRsScopeToTerm パラメータが正しいかどうか確認します。 |
| invalid-ldev | Invalid cluster | クラスタ設定が無効です。 解決した LDevVip のステータスを確認して、エラーを解決します。 |
| missing-tenant | no tenant found | グラフに対してテナントが見つかりませんでした。 |
| internal-error | internal error | 内部エラーがグラフ処理中に発生しました。 |
| resource-allocation-failure | resource allocation failure | グラフ処理中に必要なリソースを割り当てることができませんでした。 |
| missing-abs-function | no abstract function found | 抽象機能の定義が見つかりません。 |
| param-validation-failed | param validation failure | コンフィギュレーション パラメータ値が無効です。 |
| missing-mconn | No connector found | 必要なコネクタが見つかりませんでした。 |
| cdev-missing-mgmt-ip | no mgmt ip found for cdev | 具象デバイスに対して管理 IP アドレスが見つかりませんでした。 vnsCMgmt が解決する vnsCDev に存在するかどうかを確認します。 |
| invalid-graphinst | invalid graphinst config | グラフ インスタンスが無効です。 |
| missing-interface | no interface found | インターフェイスが見つかりませんでした。 |
| missing-bd | no bd found | ブリッジ ドメインが見つかりませんでした。 |
| missing-terminal | Terminal node is missing a terminal | 端末ノードに端末がありません。 端末ノードの設定を確認してください。 |
| missing-namespace | no vlan/vxlan namespace found | VLAN または VXLAN の割り当てに必要なネームスペースが見つかりません。 解決された fvnsVlanInstp と関係がある phyDomp パラメータまたは vmmDomp パラメータが解決された vnsLDevVip に設定されていることを確認します。 |
| missing-mfunc | No function found in device package | デバイス パッケージで必要な機能が見つかりません。 パッケージ内にすべての AbsNode 機能タイプがあることを確認します。 |
| missing-lif | no cluster interface found | 必要なクラスタ インターフェイスが見つかりませんでした。 vnsLDevVip の vnsLIf パラメータが正しく設定されていることを確認します。 |
| invalid-absfunc-profile | Abstract Function Profile config is invalid | 抽象機能のプロファイル設定が無効です。 このエラーは、プロファイルで指定されている無効なコンフィギュレーション パラメータが要因として考えられます。 |
| missing-cdev | No device found | 具象デバイスがクラスタ内に見つかりませんでした。 有効な vnsCDev が解決された vnsLDevVip の下に存在することを確認してください。 |
| inappropriate-devfolder | Illegal folder in configuration | 対応するフォルダがデバイス パッケージで見つかりませんでした。 |
| invalid-devctx | Device context is not legal for this folder | デバイス パッケージではこのフォルダにデバイス コンテキストを指定することはできません。 |
| insufficient-devctx | Folder must have one value for each associated CDev | フォルダは具象デバイスに固有です。 フォルダは、各具象デバイスに対して少なくとも 1 つの値を持つ必要があります。 |
| cdev-missing-cif | No interface defined | 具象デバイスには少なくとも 1 つのインターフェイスを定義する必要があります。 |
| cdev-missing-pathinfo | Missing path for interface | 物理サービス アプライアンスでは、インターフェイスがどのリーフ ポートに接続されているかを把握する必要があります。 vnsCifPathAtt パラメータが、解決された vnsCDev の下のすべての vnsCIf に存在することを確認します。 |
| missing-cif | Device interfaces does not match cluster | デバイス インターフェイスは、クラスタに設定されているインターフェイスに一致させる必要があります。 vnsCIf パラメータおよび vnsLIf パラメータが、解決された vnsLDevVip の下に存在することを確認します。 |
| ldevvip-missing-mgmt-ip | No Mgmt ip found for LDevVip | LDevVip に対して管理 IP アドレスが見つかりませんでした。 |
| lif-invalid-MIf | LIf has an invalid MifLbl | LIf に含まれる MIfLbl がデバイス パッケージに存在しません。 |
| lif-invalid-CIf | LIf has an invalid CIf | LIf に含まれる CIf がありません。 具象デバイスおよび CIf の設定を確認します。 |
| missing-function-node | Abstract graph missing function node | 抽象グラフには、少なくとも 1 つの機能ノードが存在する必要があります。 |
| graph-loop-detected | Abstract graph config has a loop | 抽象グラフ設定が無効です。 設定にループがあります。 |
| gothrough-routing-enabled-both | Both the legs of go through node has routing enabled | 通過ノードの両方のレッグでルーティングが有効になっています。 |
| invalid-terminal-nodes | Abstract graph has invalid number of terminal nodes | 抽象グラフは少なくとも 2 つの端末ノードを持つ必要があります。 |
| missing-ldev-ctx | No device context found for LDev | デバイス クラスタのデバイス コンテキストが見つかりませんでした。 vnsLDevCtx にコントラクト、グラフおよびノードに一致する値があることを確認します。 |
| arp-flood-enabled | ARP flood is enabled on the management end point group | ARP フラッディングは管理エンドポイントのグループに対して無効です。 |
| folderinst-validation-failed | FolderInst has key, that is not found in MFolder | FolderInst のキーおよび値は MFolder 仕様を尊重する必要があります。 |
| paraminst-validation-failed | ParamInst has key and/or value, that are not found in MParam | ParamInst のキーおよび値は MParam 仕様を尊重する必要があります。 |
| invalid-mfolder | FolderInst points to an invalid MFolder | FolderInst は有効な MFolder をポイントする必要があります。 |
| invalid-mparam | ParamInst points to an invalid MParam | ParamInst は有効な MParam をポイントする必要があります。 |
| devfolder-validation-failed | DevFolder has key, that is not found in MFolder | DevFolders のキーおよび値は MFolder 仕様を尊重する必要があります。 |
| devparam-validation-failed | DevParam has key and/or value, that are not found in MParam | DevParam のキーおよび値は MParam 仕様を尊重する必要があります。 |
| cdev-missing-virtual-info | Virtual Object Info is missing in CDev | LDevVip のタイプが Virtual の場合は仮想オブジェクト情報を指定する必要があります。 |
サービス グラフを設定し、エンドポイント グループ(EPG)およびコントラクトにグラフをアタッチした後は、テナントの仮想デバイスをモニタできます。 仮想デバイスをモニタリングすると、どのデバイス クラスタが使用中か、どの VLAN がデバイス クラスタ用に設定されているか、デバイス クラスタ内でデバイスに渡されるパラメータ、デバイス クラスタ内のデバイスの統計、およびデバイス クラスタ内のデバイスの健全性を確認できます。
| ステップ 1 | メニュー バーで、[TENANTS] タブをクリックします。 [Tenant] ウィンドウが表示されます。 | ||||||||
| ステップ 2 | サブメニュー バーで、サービス グラフをモニタするテナントのタブをクリックします。 選択したテナントの [Tenant] ウィンドウが [Work] ペインに表示されます。 | ||||||||
| ステップ 3 | [Navigation] ペインで、テナントのブランチを展開します。 | ||||||||
| ステップ 4 | [L4-L7 Services] ブランチを展開します。 | ||||||||
| ステップ 5 | [Virtual Devices] ブランチを展開します。 仮想デバイスが、このブランチの下に表示されます。 | ||||||||
| ステップ 6 |
仮想デバイスのいずれかをクリックします。 デフォルトで、[Work] ペインはその仮想デバイスのポリシーを示します。 ビューを変更するには、[Work] ペインのタブをクリックします。 タブは、仮想デバイスに関する以下の情報を表示します。
|
サービス グラフの場合:
# l4-l7-service-graph cd '/aci/tenants/acme/l4-l7-services/service-graphs' mocreate 'WebGraph' moconfig commit # consumer-terminal-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes' mocreate 'Output1' moconfig commit # terminal-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1' mocreate terminal-connector cd 'terminal-connector' moset name 'C6' moconfig commit # provider-terminal-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes' mocreate 'Input1' moconfig commit # terminal-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1' mocreate terminal-connector cd 'terminal-connector' moset name 'C1' moconfig commit # function-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes' mocreate 'FW' cd 'FW' moset function-type 'gothrough' moset function-name 'l4-l7-services/packages/CISCO-ASA-1.0.1.8/functions/Firewall' moconfig commit # device-config cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate device-config moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'ExIntfCfg' cd 'ExIntfCfg' moset cardinality 'n' moset faultcode '0' moset key 'InterfaceConfig' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/ExIntfCfg' mocreate param 'mask2' cd 'param-mask2' moset value '255.255.255.0' moset faultcode '0' moset key 'Mask' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/ExIntfCfg' mocreate param 'address2' cd 'param-address2' moset value '30.30.30.201' moset faultcode '0' moset key 'Address' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'access-list-foo' cd 'access-list-foo' moset faultcode '0' moset key 'AccessList' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo' mocreate folder 'entry1' cd 'folder-entry1' moset faultcode '0' moset key 'AccessControlEntry' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'ip' cd 'param-ip' moset value 'ip' moset faultcode '0' moset key 'protocol' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'order1' cd 'param-order1' moset value '10' moset faultcode '0' moset key 'order' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'action-permit' cd 'param-action-permit' moset value 'permit' moset faultcode '0' moset key 'action' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'InIntfCfg' cd 'InIntfCfg' moset cardinality 'n' moset faultcode '0' moset key 'InterfaceConfig' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/InIntfCfg' mocreate param 'mask1' cd 'param-mask1' moset value '255.255.255.0' moset faultcode '0' moset key 'Mask' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/InIntfCfg' mocreate param 'address1' cd 'param-address1' moset value '40.40.40.102' moset faultcode '0' moset key 'Address' moconfig commit # function-config cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-config moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'InIntfCfgRelFolder' cd 'InIntfCfgRelFolder' moset faultcode '0' moset key 'InIntfConfigRelFolder' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/InIntfCfgRelFolder' mocreate cfg-rel 'InIntfCfgRel' cd 'cfg-rel-InIntfCfgRel' moset faultcode '0' moset key 'InIntfConfigRel' moset targetname 'InIntfCfg' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'ExIntfCfgRelFolder' cd 'ExIntfCfgRelFolder' moset faultcode '0' moset key 'ExIntfConfigRelFolder' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/ExIntfCfgRelFolder' mocreate cfg-rel 'ExIntfCfgRel' cd 'cfg-rel-ExIntfCfgRel' moset faultcode '0' moset key 'ExIntfConfigRel' moset targetname 'ExIntfCfg' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'access-group-foo' cd 'access-group-foo' moset faultcode '0' moset key 'AccessGroup' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate param 'dir' cd 'param-dir' moset value 'in' moset faultcode '0' moset key 'direction' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate param 'con1' cd 'param-con1' moset value 'external' moset faultcode '0' moset key 'connector' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate cfg-rel 'access-list-foo-rel' cd 'cfg-rel-access-list-foo-rel' moset faultcode '0' moset key 'access_list_name' moset targetname 'access-list-foo' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-connector 'external' cd 'function-connector-external' moset ctx-terms 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeProv-Input1/intmnl' moset meta-connector 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mFunc-Firewall/mConn-external' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-connector 'internal' cd 'function-connector-internal' moset ctx-terms 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeCon-Output1/outtmnl' moset meta-connector 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mFunc-Firewall/mConn-internal' moconfig commit # default-scope-to-term cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate default-scope-to-term cd 'default-scope-to-term' moset target-dn 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeCon-Output1/outtmnl' moconfig commit # function-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes' mocreate 'LoadBalancing' cd 'LoadBalancing' moset function-name 'l4-l7-services/packages/Citrix-NetScaler-10.5/functions/LoadBalancing' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing' mocreate function-connector 'inside' cd 'function-connector-inside' moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-internal' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing' mocreate function-connector 'outside' cd 'function-connector-outside' moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON2' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-outside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON3' cd 'CON3' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-internal' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1/terminal-connector' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON1' cd 'CON1' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-inside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1/terminal-connector' moconfig commit admin@apic1:WebGraph> moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON2' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-outside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON3' cd 'CON3' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-internal' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1/terminal-connector' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON1' cd 'CON1' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-inside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1/terminal-connector' moconfig commit
デバイス クラスタの場合:
# device-cluster cd '/aci/tenants/acme/l4-l7-services/device-clusters' mocreate 'Firewall' cd 'Firewall' moset function-type 'gothrough' moset faultcode '0' moset device-package 'l4-l7-services/packages/CISCO-ASA-1.0.1.8' moset physical-domain 'fabric/access-policies/physical-and-external-domains/physical-domains/phys' moset virtual-ip-address '172.23.49.195' moset port '443' moset username 'admin' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters' mocreate folder 'Timeouts' 'Timeouts' cd 'folder-Timeouts-Timeouts' moset faultcode '0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters/folder-Timeouts-Timeouts' mocreate param 'Udp' 'Udp' cd 'param-Udp-Udp' moset faultcode '0' moset value '0:35:0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters/folder-Timeouts-Timeouts' mocreate param 'Connection' 'Connection' cd 'param-Connection-Connection' moset faultcode '0' moset value '0:10:0' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces' mocreate 'external' cd 'external' moset type 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mIfLbl-external' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces/external/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces/Gig0_0' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces' mocreate 'internal' cd 'internal' moset type 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mIfLbl-internal' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces/internal/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces/Gig0_1' moconfig commit # concrete-device cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices' mocreate 'ASA' cd 'ASA' moset faultcode '0' moset management-address '172.23.49.195' moset management-port '443' moset username 'admin' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/parameters' mocreate folder 'appInsp' 'ApplicationInspection' cd 'folder-appInsp-ApplicationInspection' moset faultcode '0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/parameters/folder-appInsp-ApplicationInspection' mocreate param 'icmp' 'icmp' cd 'param-icmp-icmp' moset faultcode '0' moset value 'enable' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces' mocreate 'Gig0_0' cd 'Gig0_0' moset path 'topology/pod-1/paths-101/pathep-[eth1/23]' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces' mocreate 'Gig0_1' cd 'Gig0_1' moset path 'topology/pod-1/paths-101/pathep-[eth1/25]' moconfig commit # device-cluster cd '/aci/tenants/acme/l4-l7-services/device-clusters' mocreate 'ADCCluster1' cd 'ADCCluster1' moset device-type 'virtual' moset faultcode '0' moset device-package 'l4-l7-services/packages/Citrix-NetScaler-10.5' moset vmm-domain 'vm-networking/policies/vmware/vmm-domains/mininet' moset virtual-ip-address '172.23.49.175' moset port '80' moset username 'nsroot' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces' mocreate 'outside' cd 'outside' moset type 'uni/infra/mDev-Citrix-NetScaler-10.5/mIfLbl-outside' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces/outside/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces/1_1' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces' mocreate 'inside' cd 'inside' moset type 'uni/infra/mDev-Citrix-NetScaler-10.5/mIfLbl-inside' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces/inside/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces/1_2' moconfig commit # concrete-device cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices' mocreate 'ADC1' cd 'ADC1' moset context-label 'C1' moset vm-name 'NSVPX-ESX-OVF' moset vcenter-name 'vcenter1' moset faultcode '0' moset management-address '172.23.49.175' moset management-port '80' moset username 'nsroot' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces' mocreate '1_1' cd '1_1' moset vnic 'Network adapter 1' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces' mocreate '1_2' cd '1_2' moset vnic 'Network adapter 2' moconfig commit
目次
サービス グラフを設定し、エンドポイント グループ(EPG)およびコントラクトにグラフをアタッチした後は、サービス グラフ インスタンスをモニタできます。 モニタリングには、グラフ インスタンスの状態、グラフ インスタンスの機能、機能に割り当てられたリソース、および機能に指定されたパラメータの表示が含まれます。
| ステップ 1 | メニュー バーで、[TENANTS] タブをクリックします。 [Tenant] ウィンドウが表示されます。 | ||||||||||||||||||
| ステップ 2 | サブメニュー バーで、サービス グラフをモニタするテナントのタブをクリックします。 選択したテナントの [Tenant] ウィンドウが [Work] ペインに表示されます。 | ||||||||||||||||||
| ステップ 3 | [Navigation] ペインで、テナントのブランチを展開します。 | ||||||||||||||||||
| ステップ 4 | [Navigation] ペインで、[L4-L7 Services] ブランチを展開します。 | ||||||||||||||||||
| ステップ 5 |
[Navigation] ペインで、[Deployed Service Graphs] をクリックします。 [Work] ペインは、アクティブなサービス グラフ インスタンスに関する次の情報を表示します。
|
||||||||||||||||||
| ステップ 6 | [Deployed Service Graphs] ブランチを展開します。 アクティブなサービス グラフ インスタンスがブランチの下にリストされます。 | ||||||||||||||||||
| ステップ 7 | サービス グラフ インスタンスをクリックして、[Work] ペインにそのインスタンスに関する追加情報を表示します。 デフォルト ビューはグラフのトポロジです。 [Work] ペインのタブのいずれかをクリックして、そのグラフのビューを変更できます。 | ||||||||||||||||||
| ステップ 8 | グラフ インスタンスのいずれかのブランチを展開します。 グラフ インスタンスの機能は、インスタンスの下に表示されます。 | ||||||||||||||||||
| ステップ 9 |
機能をクリックして、[Work] ペインにその機能に関する追加情報を表示します。 デフォルト ビューはその機能のポリシーです。 [Work] ペインのタブのいずれかをクリックして、その機能のビューを変更できます。 [Work] ペインには、ポリシーに関する次の情報が表示されます。
|
||||||||||||||||||
| ステップ 10 | [Navigation] ペインで、[Deployed Device Cluster] をクリックします。 [Work] ペインにデバイスのインスタンスに関する情報が表示されます。 |
| ステップ 1 | メニュー バーで、[TENANTS] タブをクリックします。 [Tenant] ウィンドウが表示されます。 |
| ステップ 2 | サブメニュー バーで、サービス グラフをモニタするテナントのタブをクリックします。 選択したテナントの [Tenant] ウィンドウが [Work] ペインに表示されます。 |
| ステップ 3 | [Navigation] ペインで、テナントのブランチを展開します。 |
| ステップ 4 | [L4-L7 Services] ブランチを展開します。 |
| ステップ 5 | [Graphs Instances] ブランチを展開します。 アクティブなサービス グラフ インスタンスがこのブランチの下にリストされます。 |
| ステップ 6 | エラーを表示するグラフ インスタンスのブランチを展開します。 グラフ インスタンスの機能は、インスタンスの下に表示されます。 |
| ステップ 7 | 機能のいずれかをクリックします。 デフォルトで、[Work] ペインはその機能のポリシーを示します。 |
| ステップ 8 | [Work] ペインの [FAULTS] タブをクリックします。 [Work] ペインが機能ノードのエラーを表示します。 エラーおよびその解決策については、サービス グラフ エラーの解決を参照してください。 |
1 つ以上のサービス グラフ エラーを発見した場合、問題の解決はエラーによって異なります。 次の表は、エラーの説明とエラーを解決する方法を説明しています。
| エラー | CLI ラベル | 説明と解決法 |
|---|---|---|
| missing-connection | connection associated with a connector not found | グラフ コネクタの設定が無効です。 コネクタに関連付けられた接続が見つかりませんでした。 |
| missing-nodeinst | NodeInst associated with a connector not found | グラフ コネクタの設定が無効です。 コネクタに関連付けられた NodeInst が見つかりませんでした。 |
| conn-nonrenderable | Graph connector could not be rendered. | グラフ コネクタの設定が無効です。 グラフをレンダリングできませんでした。 |
| invalid-bd | BD associated with a connector is not valid | グラフ コネクタの設定が無効です。 コネクタの関連ブリッジ ドメインが無効です。 |
| invalid-ctx | Ctx associated with a connector is not valid. | グラフ コネクタの設定が無効です。 コネクタの関連する Ctx が無効です。 |
| missing-peer-conn | Peer connector associated with a connector not found. | グラフ コネクタの設定が無効です。 接続のピア コネクタが見つかりませんでした。 |
| エラー | CLI ラベル | 説明と解決法 |
|---|---|---|
| invalid-abstract-graph-config | invalid abstract graph config | 抽象グラフ設定が無効です。 |
| missing-mandatory-param | mandatory param not found | 必要な設定パラメータが解決できませんでした。 パッケージの必須パラメータをチェックし、AbsGraph にパラメータがあることを確認します。 |
| param-cardinality-error | invalid param cardinality | コンフィギュレーション パラメータは、濃度の要件を満たしていません。 cardinality=n を指定しないでパラメータの複数のインスタンスが指定されているかどうかを確認します。 |
| epp-download-failure | epp download failure | グラフ ポリシーがスイッチのダウンロードに失敗しました。 |
| param-duplicate-name-failure | duplicate param name | 同じ名前のパラメータの複数の同一コピーが検出されました。 |
| id-allocation-failure | id allocation failure | 一意のネットワーク リソース(VLAN VXLAN)を割り当てることができませんでした。 |
| missing-ldev | No cluster found | クラスタが見つかりませんでした。 |
| context-cardinality-violation-failure | invalid cluster context cardinality | クラスタは必要なテナント機能(マルチテナントまたはシングル テナント)をサポートしていません。 |
| function-type-mismatch-failure | invalid function type | 機能タイプは、選択したデバイス クラスタでサポートされません。 AbsNode 機能タイプと解決された LDevVip 機能タイプが一致するか確認します。 |
| invalid-abstract-graph-config-param | invalid abstract graph config param | 抽象グラフ コンフィギュレーション パラメータが無効です。 |
| missing-mparam | No parameter definition found | 必要なパラメータ定義が見つかりませんでした。 |
| missing-abs-graph | no abs graph found | 抽象グラフ設定がグラフ インスタンスにありません。 |
| invalid-param-config | invalid param config | パラメータ設定が無効です。 |
| invalid-param-scope | invalid parameter scope | パラメータ スコープが無効です。 AbsGraph の vnsRsScopeToTerm パラメータが正しいかどうか確認します。 |
| invalid-ldev | Invalid cluster | クラスタ設定が無効です。 解決した LDevVip のステータスを確認して、エラーを解決します。 |
| missing-tenant | no tenant found | グラフに対してテナントが見つかりませんでした。 |
| internal-error | internal error | 内部エラーがグラフ処理中に発生しました。 |
| resource-allocation-failure | resource allocation failure | グラフ処理中に必要なリソースを割り当てることができませんでした。 |
| missing-abs-function | no abstract function found | 抽象機能の定義が見つかりません。 |
| param-validation-failed | param validation failure | コンフィギュレーション パラメータ値が無効です。 |
| missing-mconn | No connector found | 必要なコネクタが見つかりませんでした。 |
| cdev-missing-mgmt-ip | no mgmt ip found for cdev | 具象デバイスに対して管理 IP アドレスが見つかりませんでした。 vnsCMgmt が解決する vnsCDev に存在するかどうかを確認します。 |
| invalid-graphinst | invalid graphinst config | グラフ インスタンスが無効です。 |
| missing-interface | no interface found | インターフェイスが見つかりませんでした。 |
| missing-bd | no bd found | ブリッジ ドメインが見つかりませんでした。 |
| missing-terminal | Terminal node is missing a terminal | 端末ノードに端末がありません。 端末ノードの設定を確認してください。 |
| missing-namespace | no vlan/vxlan namespace found | VLAN または VXLAN の割り当てに必要なネームスペースが見つかりません。 解決された fvnsVlanInstp と関係がある phyDomp パラメータまたは vmmDomp パラメータが解決された vnsLDevVip に設定されていることを確認します。 |
| missing-mfunc | No function found in device package | デバイス パッケージで必要な機能が見つかりません。 パッケージ内にすべての AbsNode 機能タイプがあることを確認します。 |
| missing-lif | no cluster interface found | 必要なクラスタ インターフェイスが見つかりませんでした。 vnsLDevVip の vnsLIf パラメータが正しく設定されていることを確認します。 |
| invalid-absfunc-profile | Abstract Function Profile config is invalid | 抽象機能のプロファイル設定が無効です。 このエラーは、プロファイルで指定されている無効なコンフィギュレーション パラメータが要因として考えられます。 |
| missing-cdev | No device found | 具象デバイスがクラスタ内に見つかりませんでした。 有効な vnsCDev が解決された vnsLDevVip の下に存在することを確認してください。 |
| inappropriate-devfolder | Illegal folder in configuration | 対応するフォルダがデバイス パッケージで見つかりませんでした。 |
| invalid-devctx | Device context is not legal for this folder | デバイス パッケージではこのフォルダにデバイス コンテキストを指定することはできません。 |
| insufficient-devctx | Folder must have one value for each associated CDev | フォルダは具象デバイスに固有です。 フォルダは、各具象デバイスに対して少なくとも 1 つの値を持つ必要があります。 |
| cdev-missing-cif | No interface defined | 具象デバイスには少なくとも 1 つのインターフェイスを定義する必要があります。 |
| cdev-missing-pathinfo | Missing path for interface | 物理サービス アプライアンスでは、インターフェイスがどのリーフ ポートに接続されているかを把握する必要があります。 vnsCifPathAtt パラメータが、解決された vnsCDev の下のすべての vnsCIf に存在することを確認します。 |
| missing-cif | Device interfaces does not match cluster | デバイス インターフェイスは、クラスタに設定されているインターフェイスに一致させる必要があります。 vnsCIf パラメータおよび vnsLIf パラメータが、解決された vnsLDevVip の下に存在することを確認します。 |
| ldevvip-missing-mgmt-ip | No Mgmt ip found for LDevVip | LDevVip に対して管理 IP アドレスが見つかりませんでした。 |
| lif-invalid-MIf | LIf has an invalid MifLbl | LIf に含まれる MIfLbl がデバイス パッケージに存在しません。 |
| lif-invalid-CIf | LIf has an invalid CIf | LIf に含まれる CIf がありません。 具象デバイスおよび CIf の設定を確認します。 |
| missing-function-node | Abstract graph missing function node | 抽象グラフには、少なくとも 1 つの機能ノードが存在する必要があります。 |
| graph-loop-detected | Abstract graph config has a loop | 抽象グラフ設定が無効です。 設定にループがあります。 |
| gothrough-routing-enabled-both | Both the legs of go through node has routing enabled | 通過ノードの両方のレッグでルーティングが有効になっています。 |
| invalid-terminal-nodes | Abstract graph has invalid number of terminal nodes | 抽象グラフは少なくとも 2 つの端末ノードを持つ必要があります。 |
| missing-ldev-ctx | No device context found for LDev | デバイス クラスタのデバイス コンテキストが見つかりませんでした。 vnsLDevCtx にコントラクト、グラフおよびノードに一致する値があることを確認します。 |
| arp-flood-enabled | ARP flood is enabled on the management end point group | ARP フラッディングは管理エンドポイントのグループに対して無効です。 |
| folderinst-validation-failed | FolderInst has key, that is not found in MFolder | FolderInst のキーおよび値は MFolder 仕様を尊重する必要があります。 |
| paraminst-validation-failed | ParamInst has key and/or value, that are not found in MParam | ParamInst のキーおよび値は MParam 仕様を尊重する必要があります。 |
| invalid-mfolder | FolderInst points to an invalid MFolder | FolderInst は有効な MFolder をポイントする必要があります。 |
| invalid-mparam | ParamInst points to an invalid MParam | ParamInst は有効な MParam をポイントする必要があります。 |
| devfolder-validation-failed | DevFolder has key, that is not found in MFolder | DevFolders のキーおよび値は MFolder 仕様を尊重する必要があります。 |
| devparam-validation-failed | DevParam has key and/or value, that are not found in MParam | DevParam のキーおよび値は MParam 仕様を尊重する必要があります。 |
| cdev-missing-virtual-info | Virtual Object Info is missing in CDev | LDevVip のタイプが Virtual の場合は仮想オブジェクト情報を指定する必要があります。 |
サービス グラフを設定し、エンドポイント グループ(EPG)およびコントラクトにグラフをアタッチした後は、テナントの仮想デバイスをモニタできます。 仮想デバイスをモニタリングすると、どのデバイス クラスタが使用中か、どの VLAN がデバイス クラスタ用に設定されているか、デバイス クラスタ内でデバイスに渡されるパラメータ、デバイス クラスタ内のデバイスの統計、およびデバイス クラスタ内のデバイスの健全性を確認できます。
| ステップ 1 | メニュー バーで、[TENANTS] タブをクリックします。 [Tenant] ウィンドウが表示されます。 | ||||||||
| ステップ 2 | サブメニュー バーで、サービス グラフをモニタするテナントのタブをクリックします。 選択したテナントの [Tenant] ウィンドウが [Work] ペインに表示されます。 | ||||||||
| ステップ 3 | [Navigation] ペインで、テナントのブランチを展開します。 | ||||||||
| ステップ 4 | [L4-L7 Services] ブランチを展開します。 | ||||||||
| ステップ 5 | [Virtual Devices] ブランチを展開します。 仮想デバイスが、このブランチの下に表示されます。 | ||||||||
| ステップ 6 |
仮想デバイスのいずれかをクリックします。 デフォルトで、[Work] ペインはその仮想デバイスのポリシーを示します。 ビューを変更するには、[Work] ペインのタブをクリックします。 タブは、仮想デバイスに関する以下の情報を表示します。
|
サービス グラフの場合:
# l4-l7-service-graph cd '/aci/tenants/acme/l4-l7-services/service-graphs' mocreate 'WebGraph' moconfig commit # consumer-terminal-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes' mocreate 'Output1' moconfig commit # terminal-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1' mocreate terminal-connector cd 'terminal-connector' moset name 'C6' moconfig commit # provider-terminal-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes' mocreate 'Input1' moconfig commit # terminal-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1' mocreate terminal-connector cd 'terminal-connector' moset name 'C1' moconfig commit # function-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes' mocreate 'FW' cd 'FW' moset function-type 'gothrough' moset function-name 'l4-l7-services/packages/CISCO-ASA-1.0.1.8/functions/Firewall' moconfig commit # device-config cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate device-config moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'ExIntfCfg' cd 'ExIntfCfg' moset cardinality 'n' moset faultcode '0' moset key 'InterfaceConfig' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/ExIntfCfg' mocreate param 'mask2' cd 'param-mask2' moset value '255.255.255.0' moset faultcode '0' moset key 'Mask' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/ExIntfCfg' mocreate param 'address2' cd 'param-address2' moset value '30.30.30.201' moset faultcode '0' moset key 'Address' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'access-list-foo' cd 'access-list-foo' moset faultcode '0' moset key 'AccessList' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo' mocreate folder 'entry1' cd 'folder-entry1' moset faultcode '0' moset key 'AccessControlEntry' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'ip' cd 'param-ip' moset value 'ip' moset faultcode '0' moset key 'protocol' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'order1' cd 'param-order1' moset value '10' moset faultcode '0' moset key 'order' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/access-list-foo/folder-entry1' mocreate param 'action-permit' cd 'param-action-permit' moset value 'permit' moset faultcode '0' moset key 'action' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config' mocreate 'InIntfCfg' cd 'InIntfCfg' moset cardinality 'n' moset faultcode '0' moset key 'InterfaceConfig' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/InIntfCfg' mocreate param 'mask1' cd 'param-mask1' moset value '255.255.255.0' moset faultcode '0' moset key 'Mask' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/device-config/InIntfCfg' mocreate param 'address1' cd 'param-address1' moset value '40.40.40.102' moset faultcode '0' moset key 'Address' moconfig commit # function-config cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-config moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'InIntfCfgRelFolder' cd 'InIntfCfgRelFolder' moset faultcode '0' moset key 'InIntfConfigRelFolder' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/InIntfCfgRelFolder' mocreate cfg-rel 'InIntfCfgRel' cd 'cfg-rel-InIntfCfgRel' moset faultcode '0' moset key 'InIntfConfigRel' moset targetname 'InIntfCfg' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'ExIntfCfgRelFolder' cd 'ExIntfCfgRelFolder' moset faultcode '0' moset key 'ExIntfConfigRelFolder' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/ExIntfCfgRelFolder' mocreate cfg-rel 'ExIntfCfgRel' cd 'cfg-rel-ExIntfCfgRel' moset faultcode '0' moset key 'ExIntfConfigRel' moset targetname 'ExIntfCfg' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config' mocreate 'access-group-foo' cd 'access-group-foo' moset faultcode '0' moset key 'AccessGroup' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate param 'dir' cd 'param-dir' moset value 'in' moset faultcode '0' moset key 'direction' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate param 'con1' cd 'param-con1' moset value 'external' moset faultcode '0' moset key 'connector' moconfig commit # cfg-rel cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-config/access-group-foo' mocreate cfg-rel 'access-list-foo-rel' cd 'cfg-rel-access-list-foo-rel' moset faultcode '0' moset key 'access_list_name' moset targetname 'access-list-foo' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-connector 'external' cd 'function-connector-external' moset ctx-terms 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeProv-Input1/intmnl' moset meta-connector 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mFunc-Firewall/mConn-external' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate function-connector 'internal' cd 'function-connector-internal' moset ctx-terms 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeCon-Output1/outtmnl' moset meta-connector 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mFunc-Firewall/mConn-internal' moconfig commit # default-scope-to-term cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW' mocreate default-scope-to-term cd 'default-scope-to-term' moset target-dn 'uni/tn-acme/AbsGraph-WebGraph/AbsTermNodeCon-Output1/outtmnl' moconfig commit # function-node cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes' mocreate 'LoadBalancing' cd 'LoadBalancing' moset function-name 'l4-l7-services/packages/Citrix-NetScaler-10.5/functions/LoadBalancing' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing' mocreate function-connector 'inside' cd 'function-connector-inside' moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-internal' moconfig commit # function-connector cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing' mocreate function-connector 'outside' cd 'function-connector-outside' moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON2' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-outside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON3' cd 'CON3' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-internal' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1/terminal-connector' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON1' cd 'CON1' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-inside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1/terminal-connector' moconfig commit admin@apic1:WebGraph> moset meta-connector 'uni/infra/mDev-Citrix-NetScaler-10.5/mFunc-LoadBalancing/mConn-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON2' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-outside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON2' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-external' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON3' cd 'CON3' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/FW/function-connector-internal' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON3' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/consumer-terminal-nodes/Output1/terminal-connector' moconfig commit # connection cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections' mocreate 'CON1' cd 'CON1' moset unicast-routing 'no' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/function-nodes/LoadBalancing/function-connector-inside' moconfig commit # relation-from-abstract-connection-to-abstract-connectors cd '/aci/tenants/acme/l4-l7-services/service-graphs/WebGraph/connections/CON1' mocreate 'tenants/acme/l4-l7-services/service-graphs/WebGraph/provider-terminal-nodes/Input1/terminal-connector' moconfig commit
デバイス クラスタの場合:
# device-cluster cd '/aci/tenants/acme/l4-l7-services/device-clusters' mocreate 'Firewall' cd 'Firewall' moset function-type 'gothrough' moset faultcode '0' moset device-package 'l4-l7-services/packages/CISCO-ASA-1.0.1.8' moset physical-domain 'fabric/access-policies/physical-and-external-domains/physical-domains/phys' moset virtual-ip-address '172.23.49.195' moset port '443' moset username 'admin' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters' mocreate folder 'Timeouts' 'Timeouts' cd 'folder-Timeouts-Timeouts' moset faultcode '0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters/folder-Timeouts-Timeouts' mocreate param 'Udp' 'Udp' cd 'param-Udp-Udp' moset faultcode '0' moset value '0:35:0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/parameters/folder-Timeouts-Timeouts' mocreate param 'Connection' 'Connection' cd 'param-Connection-Connection' moset faultcode '0' moset value '0:10:0' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces' mocreate 'external' cd 'external' moset type 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mIfLbl-external' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces/external/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces/Gig0_0' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces' mocreate 'internal' cd 'internal' moset type 'uni/infra/mDev-CISCO-ASA-1.0.1.8/mIfLbl-internal' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/logical-interfaces/internal/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces/Gig0_1' moconfig commit # concrete-device cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices' mocreate 'ASA' cd 'ASA' moset faultcode '0' moset management-address '172.23.49.195' moset management-port '443' moset username 'admin' moconfig commit # folder cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/parameters' mocreate folder 'appInsp' 'ApplicationInspection' cd 'folder-appInsp-ApplicationInspection' moset faultcode '0' moconfig commit # param cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/parameters/folder-appInsp-ApplicationInspection' mocreate param 'icmp' 'icmp' cd 'param-icmp-icmp' moset faultcode '0' moset value 'enable' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces' mocreate 'Gig0_0' cd 'Gig0_0' moset path 'topology/pod-1/paths-101/pathep-[eth1/23]' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/Firewall/devices/ASA/interfaces' mocreate 'Gig0_1' cd 'Gig0_1' moset path 'topology/pod-1/paths-101/pathep-[eth1/25]' moconfig commit # device-cluster cd '/aci/tenants/acme/l4-l7-services/device-clusters' mocreate 'ADCCluster1' cd 'ADCCluster1' moset device-type 'virtual' moset faultcode '0' moset device-package 'l4-l7-services/packages/Citrix-NetScaler-10.5' moset vmm-domain 'vm-networking/policies/vmware/vmm-domains/mininet' moset virtual-ip-address '172.23.49.175' moset port '80' moset username 'nsroot' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces' mocreate 'outside' cd 'outside' moset type 'uni/infra/mDev-Citrix-NetScaler-10.5/mIfLbl-outside' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces/outside/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces/1_1' moconfig commit # logical-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces' mocreate 'inside' cd 'inside' moset type 'uni/infra/mDev-Citrix-NetScaler-10.5/mIfLbl-inside' moconfig commit # vns-rscifatt cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/logical-interfaces/inside/concrete-interfaces' mocreate 'tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces/1_2' moconfig commit # concrete-device cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices' mocreate 'ADC1' cd 'ADC1' moset context-label 'C1' moset vm-name 'NSVPX-ESX-OVF' moset vcenter-name 'vcenter1' moset faultcode '0' moset management-address '172.23.49.175' moset management-port '80' moset username 'nsroot' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces' mocreate '1_1' cd '1_1' moset vnic 'Network adapter 1' moconfig commit # concrete-interface cd '/aci/tenants/acme/l4-l7-services/device-clusters/ADCCluster1/devices/ADC1/interfaces' mocreate '1_2' cd '1_2' moset vnic 'Network adapter 2' moconfig commit