サービス注文をYAMLとして表示
構文
組織で生成されたすべてのサービス注文をYAML形式で配列として表示するには:show service order as-yaml
特定のサービス注文をYAML形式で表示するには:
show service order as-yaml <service-order-name>
Paragon Automationクラスター内でサービス注文をYAML形式で保存するには:
show service order as-json <service-order-name> | save <directory-path>/<file-name>.json
形容
特定のサービス注文の詳細をYAML形式で表示します。詳細を表示するための名前を指定しない場合、組織で生成されたすべてのサービス注文の詳細が配列として表示されます。保存するディレクトリとファイル名を指定することで、サービス注文の詳細をYAML形式でParagon Automationクラスターに保存できます。
オプション
service-order-name |
YAML 形式で表示するサービス注文。 |
directory-path |
Paragon Automationクラスター内のYAMLファイルを保存するパス。 たとえば、/var/tmp です。 |
file-name |
Paragon Automationクラスターにファイルを保存するときにYAMLファイルに割り当てるファイル名。 |
サンプル出力
- "customer_id": "ebd5a8bf-e2bf-11ee-a392-f6e61c3d4879" "design_id": "routing" "design_version": "0.1.0" "fh_config": "edited-by": "3pic.t3st3r@gmail.com" "status": "network resources updated" "instance_id": "l3vpn-routing-iid" "operation": "create" "order_id": "cc198caf-e2c1-11ee-a392-f6e61c3d4879" "org_id": "3c97990f-8446-4fa5-9b88-edd3ddad6cb0" "routing": "autonomous_system": - "count": !!int "1024" "name": !!int "65001" "route_reflector": "clusters": - "cluster": "1.1.1.1" - "cluster": "2.2.2.2" - "cluster": "3.3.3.3" "spring": "sids": "size": !!int "1000" "upload_time": "2024-03-15T11:47:38Z" "version": "1.0.0" "workflow_run_id": "manual__2024-03-15T11:47:35.218599+00:00" - "customer_id": "ebd5a8bf-e2bf-11ee-a392-f6e61c3d4879" "design_id": "vpn" "design_version": "0.3.0" "fh_config": "edited-by": "3pic.t3st3r@gmail.com" "status": "network resources updated" "instance_id": "l3vpn-vpn-iid" "operation": "create" "order_id": "d66e57c1-e2c1-11ee-a392-f6e61c3d4879" "org_id": "3c97990f-8446-4fa5-9b88-edd3ddad6cb0" "upload_time": "2024-03-15T11:47:53Z" "version": "1.0.0" "vpn": "route_distinguisher": - "count": !!int "1024" "name": !!int "1234" - "count": !!int "1024" "name": !!int "1235" "route_target": - "count": !!int "1024" "name": !!int "1234" - "count": !!int "1024" "name": !!int "1235" "workflow_run_id": "manual__2024-03-15T11:47:49.885346+00:00" - "customer_id": "ebd5a8bf-e2bf-11ee-a392-f6e61c3d4879" "design_id": "topo" "design_version": "0.5.4" "fh_config": "edited-by": "3pic.t3st3r@gmail.com" "status": "network resources updated" "instance_id": "l3vpn-topology-iid" "operation": "create" "order_id": "6f80e20e-e2c2-11ee-a392-f6e61c3d4879" "org_id": "3c97990f-8446-4fa5-9b88-edd3ddad6cb0" "topo": "pop": - "name": "f883d678-c42f-4ddc-9476-ba30a1a2ef45" "pe": - "access": - "ce": "ce1" "name": "xe-1/0/3" "speed": !!int "10000" "type": "ethernet" "bandwidth": !!int "40000000" "mac_addrs": !!int "1000000" "name": "00000000-0000-0000-1000-d4996c636668" "routes": !!int "100000" "postal_code": "10321" "postal_code_matches": - "name": "SVL" "regex": "10..." - "name": "f2d77dde-682b-4e16-94a2-97cff5e30fc7" "pe": - "access": - "ce": "ce2" "name": "xe-1/0/3" "speed": !!int "10000" "type": "ethernet" "bandwidth": !!int "40000000" "mac_addrs": !!int "1000000" "name": "00000000-0000-0000-1000-d4996c4c2ac0" "routes": !!int "100000" "postal_code": "20321" "postal_code_matches": - "name": "BNG" "regex": "20..." "upload_time": "2024-03-15T11:52:12Z" "version": "1.0.0" "workflow_run_id": "manual__2024-03-15T11:52:07.069486+00:00"
リリース情報
Paragon Automationリリース2.0.0で導入されたコマンド。