show service order as-json
Syntax
To view all service orders generated for an organization in the JSON format, as an array:show service order as-json
To view a specific service order in the JSON format:
show service order as-json <service-order-name>
To save a service order in the JSON format within the Paragon Automation cluster:
show service order as-json <service-order-name> | save <directory-path>/<file-name>.json
Description
Displays details of a specific order in the JSON format. If you do not specify a name for viewing details, details of all the service orders generated in an organization is displayed as an array. You can save the service order details in the JSON format in the Paragon Automation cluster by providing the directory and filename to save.
You can use the downloaded service order JSON files as sample templates, edit the values on the files, and upload the files to create new service orders by using the Paragon Automation GUI, service orchestration cMGD CLI, or REST API.
Options
service-order-name |
The service order that you want to view in the JSON format. |
directory-path |
Path where you want to save the JSON file in the Paragon Automation cluster. For example, /var/tmp. |
file-name |
File name you assign to the JSON file when you are saving the file in the Paragon Automation cluster. |
Sample Output
[ { "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": 1024, "name": 65001 } ], "route_reflector": { "clusters": [ { "cluster": "1.1.1.1" }, { "cluster": "2.2.2.2" }, { "cluster": "3.3.3.3" } ] }, "spring": { "sids": { "size": 1000 } } }, "upload_time": "2024-03-15T11:47:38Z", "version": "1.0.0", "workflow_run_id": "manual__2024-03-15T11:47:35.218599+00:00" } ]
Release Information
Command introduced in Paragon Automation Release 2.0.0.