{
  "metadata": {
    "name": "@itentialopensource/device-pre-post-check-execution",
    "version": "0.4.6-2022.1.1",
    "description": "A device pre post check execution demo for Itential Automation Platform (IAP)",
    "license": "Apache-2.0",
    "repository": {
      "type": "gitlab",
      "hostname": "gitlab.com",
      "path": "itentialopensource/pre-built-automations"
    },
    "keywords": [
      "IAP",
      "artifacts",
      "Itential",
      "Pronghorn",
      "Network",
      "Automation",
      "MOP",
      "Pre-Post checks",
      "NSO",
      "Cisco-IOS",
      "Ansible"
    ],
    "author": "Itential Artifacts",
    "IAPDependencies": {
      "@itential/app-workflow_engine": "5.1.10 - 6",
      "@itential/app-mop": "5.12.2 - 6",
      "configuration_manager": {
        "@itential/app-configuration_manager": "3.16.9 - 3",
        "@itential/app-configuration_manager-maintenance": "3.16.9 - 3"
      }
    },
    "gitlabId": 12213851
  },
  "manifest": {
    "bundleName": "Device Pre-Post Check Execution",
    "fingerprint": "Some verifiable token",
    "createdEpoch": "1554836984020",
    "artifacts": [
      {
        "id": "Device pre post execution workflow",
        "name": "Device pre post execution workflow",
        "type": "workflow",
        "location": "/bundles/workflows/Device pre post execution workflow.json",
        "description": "Main entry point to artifact",
        "properties": {
          "entryPoint": true,
          "entryPointObj": {
            "options": {
              "description": "Device Pre-Post check execution started from App-Artifact",
              "variables": {}
            }
          }
        }
      },
      {
        "id": "Device Pre Post Execution Device Select JSON Form",
        "name": "Device Pre Post Execution Device Select JSON Form",
        "type": "json-forms",
        "location": "/bundles/json_forms/Device Pre Post Execution Device Select JSON Form.json",
        "properties": {
          "entryPoint": false
        }
      },
      {
        "id": "Itential-Artifacts pre post execution",
        "name": "Itential-Artifacts pre post execution",
        "type": "mop-analytic-template",
        "location": "/bundles/mop_analytic_templates/Itential-Artifacts pre post execution.json",
        "description": "MOP Analytic Template"
      },
      {
        "id": "Itential-Artifacts pre post execution",
        "name": "Itential-Artifacts pre post execution",
        "type": "mop-template",
        "location": "/bundles/mop_templates/Itential-Artifacts pre post execution.json",
        "description": "MOP Command Template"
      }
    ]
  },
  "bundles": [
    {
      "type": "workflow",
      "data": {
        "name": "Device pre post execution workflow",
        "tasks": {
          "6562": {
            "name": "evaluation",
            "summary": "Run Evaluation",
            "description": "Run an evaluation",
            "location": "Application",
            "locationType": null,
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "all_true_flag": false,
                "evaluation_groups": [
                  {
                    "all_true_flag": false,
                    "evaluations": [
                      {
                        "query": "",
                        "operand_1": {
                          "variable": "status",
                          "task": "18d6"
                        },
                        "operator": "==",
                        "operand_2": {
                          "variable": true,
                          "task": "static"
                        }
                      },
                      {
                        "query": ".response",
                        "operand_1": {
                          "variable": "status",
                          "task": "18d6"
                        },
                        "operator": "==",
                        "operand_2": {
                          "variable": true,
                          "task": "static"
                        }
                      }
                    ]
                  }
                ]
              },
              "outgoing": {
                "return_value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": 0.14536340852130325,
            "y": 0.6364922206506365
          },
          "9354": {
            "name": "newVariable",
            "summary": "Create a Job Variable",
            "description": "Create a new Job variable by Job ID and assign it a value.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "name": "STUB",
                "value": false
              },
              "outgoing": {
                "value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": -0.171201061712011,
            "y": 0.621586475942783
          },
          "workflow_start": {
            "name": "workflow_start",
            "groups": [],
            "x": -0.46123260437375746,
            "y": 0.4421841541755889
          },
          "workflow_end": {
            "name": "workflow_end",
            "groups": [],
            "x": 1.6110006626905236,
            "y": 0.41220556745182013
          },
          "d1ef": {
            "name": "newVariable",
            "summary": "Create a Job Variable",
            "description": "Create a new Job variable by Job ID and assign it a value.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "name": "STUB",
                "value": true
              },
              "outgoing": {
                "value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": -0.171201061712011,
            "y": 0.266579973992198
          },
          "c68d": {
            "name": "runAnalyticsTemplate",
            "summary": "Run an Analytics Template",
            "description": "Run an Analytic Template.",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "automatic",
            "variables": {
              "incoming": {
                "pre": "$var.job.PRE",
                "post": "$var.job.POST",
                "analytic_template_name": "Itential-Artifacts pre post execution",
                "variables": {}
              },
              "outgoing": {
                "analytic_template_results": "$var.job.ANALYTIC"
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "actor": "Pronghorn",
            "x": 1.337972166998012,
            "y": 0.4089935760171306,
            "scheduled": false
          },
          "dedb": {
            "name": "RunCommand",
            "summary": "Run a Command against a Device",
            "description": "Run a command against a device.",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "automatic",
            "variables": {
              "incoming": {
                "command": "show ?",
                "variables": {},
                "device": "$var.job.device"
              },
              "outgoing": {
                "result": null
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "actor": "Pronghorn",
            "x": 0.258792302587923,
            "y": 0.642392717815345,
            "scheduled": false
          },
          "d086": {
            "name": "RunCommandTemplate",
            "summary": "Run Command Template Demo (PRE)",
            "description": "Run Command Template Demo (PRE)",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "automatic",
            "variables": {
              "incoming": {
                "template": "Itential-Artifacts pre post execution",
                "variables": {
                  "VARIABLE": "?"
                },
                "devices": "$var.job.device"
              },
              "outgoing": {
                "mop_template_results": "$var.job.PRE"
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "actor": "Pronghorn",
            "x": 0.4967213114754098,
            "y": 0.5911485774499473,
            "scheduled": false
          },
          "d03f": {
            "name": "runTemplatesDiff",
            "summary": "View Pre/Post Diff",
            "description": "View Pre/Post Diff",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "manual",
            "variables": {
              "incoming": {
                "pre": "$var.job.PRE",
                "post": "$var.job.POST"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/mop/task/runTemplatesDiff",
            "deprecated": false,
            "groups": [],
            "x": 1.1895294897282969,
            "y": 0.4132762312633833,
            "scheduled": false
          },
          "c52a": {
            "name": "viewTemplateResults",
            "summary": "View MOP Analytic Results",
            "description": "Pre Vs. Post",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "manual",
            "variables": {
              "incoming": {
                "mop_template_results": "$var.job.ANALYTIC"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/mop/task/viewTemplateResults",
            "deprecated": false,
            "groups": [],
            "x": 1.487740225314778,
            "y": 0.4068522483940043,
            "scheduled": false
          },
          "c713": {
            "name": "viewTemplateResults",
            "summary": "View PRE results",
            "description": "View PRE results",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "manual",
            "variables": {
              "incoming": {
                "mop_template_results": "$var.job.PRE"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/mop/task/viewTemplateResults",
            "deprecated": false,
            "groups": [],
            "x": 0.5864811133200796,
            "y": 0.39721627408993576,
            "scheduled": false
          },
          "8f88": {
            "name": "RunCommandTemplate",
            "summary": "Run Command Template Demo (POST)",
            "description": "Run Command Template Demo (POST)",
            "location": "Application",
            "app": "MOP",
            "displayName": "MOP",
            "type": "automatic",
            "variables": {
              "incoming": {
                "template": "Itential-Artifacts pre post execution",
                "variables": {
                  "VARIABLE": "log"
                },
                "devices": "$var.job.device"
              },
              "outgoing": {
                "mop_template_results": "$var.job.POST"
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "actor": "Pronghorn",
            "x": 1.0894632206759443,
            "y": 0.6541755888650964,
            "scheduled": false
          },
          "1d77": {
            "name": "newVariable",
            "summary": "Create a Job Variable",
            "description": "Create a new Job variable by Job ID and assign it a value.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "name": "PRE",
                "value": {
                  "all_pass_flag": true,
                  "result": true,
                  "commands_results": [
                    {
                      "raw": "show clock",
                      "all_pass_flag": true,
                      "evaluated": "show clock",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show clock\r\n21:38:38.936 UTC Mon Mar 11 2019\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show running",
                      "all_pass_flag": true,
                      "evaluated": "show running",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1661 bytes\r\n!\r\n! Last configuration change at 20:27:38 UTC Wed Feb 27 2019 by admin\r\n!\r\nversion 15.3\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.02.S\r\n!\r\nboot-start-marker\r\nboot system bootflash:csr1000v-universalk9.03.10.02.S.153-3.S2-ext.SPA.bin\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$BN.t$iovYmaRNXlBHmCgTebZoV/\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\nclock calendar-valid\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\nip name-server 8.8.8.8\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 2\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.208 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\nip route 0.0.0.0 0.0.0.0 192.168.0.1\r\nip route 8.8.8.8 255.255.255.255 192.168.0.1\r\nip route 45.33.48.4 255.255.255.255 GigabitEthernet1\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0\r\n transport input telnet\r\nline vty 1\r\n length 0\r\n transport input telnet\r\nline vty 2 4\r\n transport input telnet\r\nline vty 5 9\r\nline vty 10 20\r\n transport input ssh\r\n!\r\nntp server 172.20.100.10\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show version",
                      "all_pass_flag": true,
                      "evaluated": "show version",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "configuration register is 0x2102",
                          "eval": "contains",
                          "severity": "error",
                          "flags": {
                            "case": true
                          },
                          "raw": "configuration register is 0x2102",
                          "result": true
                        },
                        {
                          "rule": "cisco ios",
                          "eval": "contains",
                          "severity": "warning",
                          "flags": {
                            "case": true
                          },
                          "raw": "cisco ios",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show version\r\nCisco IOS XE Software, Version 03.10.02.S - Extended Support Release\r\nCisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S2, RELEASE SOFTWARE (fc3)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Fri 31-Jan-14 20:10 by mcpre\r\n\r\n\r\nCisco IOS-XE software, Copyright (c) 2005-2014 by cisco Systems, Inc.\r\nAll rights reserved.  Certain components of Cisco IOS-XE software are\r\nlicensed under the GNU General Public License (\"GPL\") Version 2.0.  The\r\nsoftware code licensed under GPL Version 2.0 is free software that comes\r\nwith ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such\r\nGPL code under the terms of GPL Version 2.0.  For more details, see the\r\ndocumentation or \"License Notice\" file accompanying the IOS-XE software,\r\nor the applicable URL provided on the flyer accompanying the IOS-XE\r\nsoftware.\r\n\r\n\r\nROM: IOS-XE ROMMON\r\n\r\nIOS_03.10.02.S uptime is 1 week, 5 days, 2 hours, 13 minutes\r\nUptime for this control processor is 1 week, 5 days, 2 hours, 18 minutes\r\nSystem returned to ROM by reload at 19:12:27 UTC Wed Feb 27 2019\r\nSystem restarted at 19:25:15 UTC Wed Feb 27 2019\r\nSystem image file is \"bootflash:csr1000v-universalk9.03.10.02.S.153-3.S2-ext.SPA.bin\"\r\nLast reload reason: Reload Command\r\n\r\n\r\n\r\nThis product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and\r\nuse. Delivery of Cisco cryptographic products does not imply\r\nthird-party authority to import, export, distribute or use encryption.\r\nImporters, exporters, distributors and users are responsible for\r\ncompliance with U.S. and local country laws. By using this product you\r\nagree to comply with applicable laws and regulations. If you are unable\r\nto comply with U.S. and local laws, return this product immediately.\r\n\r\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\r\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\r\n\r\nIf you require further assistance please contact us by sending email to\r\nexport@cisco.com.\r\n\r\nLicense Level: limited\r\nLicense Type: Default. No valid license found.\r\nNext reload license Level: limited\r\n\r\ncisco CSR1000V (VXE) processor with 821388K/6147K bytes of memory.\r\nProcessor board ID 9LW57Q25AIB\r\n2 Gigabit Ethernet interfaces\r\n32768K bytes of non-volatile configuration memory.\r\n3145728K bytes of physical memory.\r\n7774207K bytes of virtual hard disk at bootflash:.\r\n\r\nConfiguration register is 0x2102\r\n\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show <!VARIABLE!>",
                      "all_pass_flag": true,
                      "evaluated": "show ?",
                      "command": "show ?",
                      "parameters": {
                        "VARIABLE": "?"
                      },
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show ?\r\n  aaa                Show AAA values\r\n  access-expression  List access expression\r\n  access-lists       List access lists\r\n  accounting         Show accounting\r\n  adjacency          Adjacent nodes\r\n  aliases            Display alias commands\r\n  alignment          Show alignment information\r\n  alps               Alps information\r\n  ancp               ANCP information\r\n  application        Application Routing\r\n  archive            Archive functions\r\n  arp                ARP table\r\n  async              Information on terminal lines used as router interfaces\r\n  auto               Show Automation Template\r\n  backup             Backup status\r\n  beep               Show BEEP information\r\n  bgp                BGP information\r\n  bootflash:         display information about bootflash: file system\r\n  bootlog            Show bootlog contents\r\n  bootvar            Boot and related environment variable\r\n  bridge             Bridge Forwarding/Filtering Database [verbose]\r\n  bridge-domain      Bridge-domain\r\n  bsc                BSC interface information\r\n  bstun              BSTUN interface information\r\n  buffers            Buffer pool statistics\r\n  bulkstat           Bulkstat show commands\r\n  cache              Shows Device-Sensor Cache Informations \r\n  call               Show call\r\n  call-home          Show command for call home\r\n  capability         Capability Information\r\n  cca                CCA information\r\n  cce                Common Classification Engine (CCE)\r\n  cdp                CDP information\r\n  cef                CEF address family independent status\r\n  class-map          Show CPL Class Map\r\n  clns               CLNS network information\r\n  clock              Display the system clock\r\n  cls                DLC user information\r\n  cns                CNS agents\r\n  compress           Show compression statistics\r\n  configuration      Contents of Non-Volatile memory\r\n  connection         Show Connection\r\n  controllers        Interface controller status\r\n  cops               COPS information\r\n  crypto             Encryption module\r\n  cts                Cisco Trusted Security information\r\n  dampening          Display dampening information \r\n  data-corruption    Show data errors\r\n  database           Show Database\r\n  dcm                Data Collection Manager Core Details\r\n  debugging          State of each debugging option\r\n  derived-config     Derived operating configuration\r\n  device-sensor      Shows Device Sensor Information \r\n  dhcp               Dynamic Host Configuration Protocol status\r\n  diag               Show diagnostic and eeprom information\r\n  diagnostic         Show command for diagnostic\r\n  dialer             Dialer parameters and statistics\r\n  dlsw               Data Link Switching information\r\n  dnsix              Shows Dnsix/DMDP information\r\n  drip               DRiP DB\r\n  dwnld_mgr          Download Manager\r\n  dxi                atm-dxi information\r\n  eap                Shows EAP registration/session information\r\n  eigrp              EIGRP show commands\r\n  entry              Queued terminal entries\r\n  eobc               Cat 6000 out of band (EOBC) interface show commands\r\n  etherchannel       EtherChannel Parameters\r\n  ethernet           Ethernet parameters\r\n  event              Embedded event related commands\r\n  event-manager      Event manager information\r\n  exception          exception informations\r\n  facility-alarm     Show Facility Alarms\r\n  fhrp               FHRP information\r\n  file               Show filesystem information\r\n  flash:             display information about flash: file system\r\n  flow               Flow information\r\n  format             Show format information\r\n  frame-relay        Frame-Relay information\r\n  fras               FRAS Information\r\n  fras-host          FRAS Host Information\r\n  glbp               GLBP information\r\n  history            Display the session command history\r\n  hosts              IP domain-name, lookup style, nameservers, and host table\r\n  html               HTML helper commands\r\n  hw-module          Show hardware module commands\r\n  hw-programmable    Show hw-programmable information\r\n  id-manager         ID pool manager\r\n  idb                List of Interface Descriptor Blocks\r\n  idmgr              IDMGR interaction\r\n  if-mgr             if-mgr information\r\n  ifnum              IDB Interface Index (Number)\r\n  interfaces         Interface status and configuration\r\n  inventory          Show the physical inventory\r\n  ip                 IP information\r\n  ipam               IP Addr Mgr (IPAM) information\r\n  ipc                Interprocess communications commands\r\n  ipv6               IPv6 information\r\n  isis               IS-IS routing information\r\n  kerberos           Show Kerberos Values\r\n  key                Key information\r\n  kron               Kron Subsystem\r\n  lacp               Port channel information\r\n  ldap               Shows LDAP information\r\n  license            Show license information\r\n  line               TTY line information\r\n  llc2               IBM LLC2 circuit information\r\n  lldp               LLDP information\r\n  lnm                IBM LAN manager\r\n  local-ack          Local Acknowledgement virtual circuits\r\n  location           Display the system location\r\n  logging            Show the contents of logging buffers\r\n  login              Display Secure Login Configurations and State\r\n  macdb              show MAC database\r\n  management         Display the management applications\r\n  mdns               MDNS feature\r\n  memory             Memory statistics\r\n  mfib               MFIB address family independent status\r\n  modemcap           Show Modem Capabilities database\r\n  monitor            Monitoring different system events\r\n  mtm                MTM\r\n  nat64              NAT64 information\r\n  ncia               Native Client Interface Architecture\r\n  netbios-cache      NetBIOS name cache contents\r\n  netconf            Show NETCONF information\r\n  nhrp               Display NHRP related information\r\n  nmsp               nmsp show commands\r\n  ntp                Network time protocol\r\n  object-group       List object groups\r\n  odm-format         Show the schema used for ODM input file\r\n  onep               ONEP related commands\r\n  ospfv3             OSPFv3 information\r\n  parser             Display parser information\r\n  persistent         Show persistent information\r\n  platform           Show platform information\r\n  pnp                Display PNP information\r\n  policy-manager     Policy Manager\r\n  policy-map         Show Policy Map\r\n  ppp                PPP parameters and statistics\r\n  pppatm             PPP over ATM\r\n  pppoe              PPPoE information\r\n  privilege          Show current privilege level\r\n  processes          Active process statistics\r\n  protocols          Active network routing protocols\r\n  qbm                QoS Bandwidth Manager information\r\n  qllc               Display qllc-llc2 and qllc-sdlc conversion information\r\n  radius             Shows radius information\r\n  radius-proxy       Shows radius-proxy client/session information\r\n  rbscp              RBSCP information\r\n  redirect           Show L4 redirect information\r\n  redundancy         Redundancy Facility (RF) information\r\n  region             Region Manager Status\r\n  registry           Function registry information\r\n  reload             Scheduled reload information\r\n  resource           Display Resource Usage/Relations and more details\r\n  resource-group     Resource group statistics\r\n  rhosts             Remote-host+user equivalences\r\n  rib                Routing Information Base\r\n  rif                RIF cache entries\r\n  rmon               rmon statistics\r\n  rom-monitor        Show ROMMON version information\r\n  romvar             All ROMMON environment variables\r\n  route-map          route-map information\r\n  route-tag          route-tag information\r\n  running-config     Current operating configuration\r\n  sampler            Sampler information\r\n  sasl               show SASL information\r\n  sdllc              Display sdlc - llc2 conversion information\r\n  service-routing    Service-Routing show commands\r\n  sessions           Information about Telnet connections\r\n  smf                Software MAC filter\r\n  sna                Display SNA host information\r\n  snapshot           Snapshot parameters and statistics\r\n  snmp               snmp statistics\r\n  sntp               Simple network time protocol\r\n  sockets            Socket Details\r\n  software           List software information\r\n  source-bridge      Source-bridge parameters and statistics\r\n  spanning-tree      Spanning tree topology\r\n  ssh                Status of SSH server connections\r\n  ssm                Segment Switching Manager Status\r\n  stacks             Process stack utilization\r\n  standby            Hot Standby Router Protocol (HSRP) information\r\n  startup-config     Contents of startup configuration\r\n  stun               STUN status and configuration\r\n  subscriber         Subscriber Service Switch Information\r\n  subscriber-policy  Subscriber policy\r\n  subsys             Show subsystem information\r\n  tacacs             Shows tacacs+ server statistics \r\n  tcp                Status of TCP connections\r\n  tech-support       Show system information for Tech-Support\r\n  template           Template information\r\n  terminal           Display terminal configuration parameters\r\n  test_rib_access    RIB_ACCESS TEST info\r\n  time-range         Time range\r\n  topology           Topology instance information\r\n  track              Tracking information\r\n  transport-map      Transport map information\r\n  tunnel             Show configured tunnels\r\n  udp                UDP Details\r\n  upgrade            Show upgrade information\r\n  usb-devices        System USB devices\r\n  users              Display information about terminal lines\r\n  version            System hardware and software status\r\n  virtual-service    Virtual service and infrastructure related commands\r\n  vlan-range         VLAN Range\r\n  vlans              Virtual LANs Information\r\n  vnet               Virtual NETwork instance information\r\n  vpdn               VPDN information\r\n  vrf                VPN Routing/Forwarding instance information\r\n  vrrp               VRRP information\r\n  vrrs               VRRS information\r\n  vtemplate          Virtual Template interface information\r\n  wccp               WCCP information\r\n  wsma               Show Web Services Management Agents information\r\n  x25                X.25 information\r\n  x29                X.29 information\r\n  xdr                Show details about XDR\r\n  xos                Cross-OS Library Information and Traces\r\n  xsd-format         Show the ODM XSD for the command\r\n\r\nIOS_03.10.02.S#show ",
                      "result": true
                    }
                  ],
                  "name": "Itential-Artifacts pre post execution"
                }
              },
              "outgoing": {
                "value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": 0.4605614973262032,
            "y": 0.2812051649928264
          },
          "ec4c": {
            "name": "evaluation",
            "summary": "Check if in stub mode",
            "description": "Check if in stub mode",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "all_true_flag": false,
                "evaluation_groups": [
                  {
                    "all_true_flag": false,
                    "evaluations": [
                      {
                        "query": "",
                        "operand_1": {
                          "variable": "STUB",
                          "task": "job"
                        },
                        "operator": "==",
                        "operand_2": {
                          "variable": false,
                          "task": "static"
                        }
                      }
                    ]
                  }
                ]
              },
              "outgoing": {
                "return_value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": 1.002650762094102,
            "y": 0.3993576017130621
          },
          "57c2": {
            "name": "newVariable",
            "summary": "Create a Job Variable",
            "description": "Create a new Job variable by Job ID and assign it a value.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "name": "POST",
                "value": {
                  "all_pass_flag": true,
                  "result": true,
                  "commands_results": [
                    {
                      "raw": "show clock",
                      "all_pass_flag": true,
                      "evaluated": "show clock",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show clock\r\n21:38:55.896 UTC Mon Mar 11 2019\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show running",
                      "all_pass_flag": true,
                      "evaluated": "show running",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1661 bytes\r\n!\r\n! Last configuration change at 20:27:38 UTC Wed Feb 27 2019 by admin\r\n!\r\nversion 15.3\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.02.S\r\n!\r\nboot-start-marker\r\nboot system bootflash:csr1000v-universalk9.03.10.02.S.153-3.S2-ext.SPA.bin\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$BN.t$iovYmaRNXlBHmCgTebZoV/\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\nclock calendar-valid\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\nip name-server 8.8.8.8\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 2\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.208 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\nip route 0.0.0.0 0.0.0.0 192.168.0.1\r\nip route 8.8.8.8 255.255.255.255 192.168.0.1\r\nip route 45.33.48.4 255.255.255.255 GigabitEthernet1\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0\r\n transport input telnet\r\nline vty 1\r\n length 0\r\n transport input telnet\r\nline vty 2 4\r\n transport input telnet\r\nline vty 5 9\r\nline vty 10 20\r\n transport input ssh\r\n!\r\nntp server 172.20.100.10\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show version",
                      "all_pass_flag": true,
                      "evaluated": "show version",
                      "parameters": {},
                      "rules": [
                        {
                          "rule": "configuration register is 0x2102",
                          "eval": "contains",
                          "severity": "error",
                          "flags": {
                            "case": true
                          },
                          "raw": "configuration register is 0x2102",
                          "result": true
                        },
                        {
                          "rule": "cisco ios",
                          "eval": "contains",
                          "severity": "warning",
                          "flags": {
                            "case": true
                          },
                          "raw": "cisco ios",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show version\r\nCisco IOS XE Software, Version 03.10.02.S - Extended Support Release\r\nCisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S2, RELEASE SOFTWARE (fc3)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Fri 31-Jan-14 20:10 by mcpre\r\n\r\n\r\nCisco IOS-XE software, Copyright (c) 2005-2014 by cisco Systems, Inc.\r\nAll rights reserved.  Certain components of Cisco IOS-XE software are\r\nlicensed under the GNU General Public License (\"GPL\") Version 2.0.  The\r\nsoftware code licensed under GPL Version 2.0 is free software that comes\r\nwith ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such\r\nGPL code under the terms of GPL Version 2.0.  For more details, see the\r\ndocumentation or \"License Notice\" file accompanying the IOS-XE software,\r\nor the applicable URL provided on the flyer accompanying the IOS-XE\r\nsoftware.\r\n\r\n\r\nROM: IOS-XE ROMMON\r\n\r\nIOS_03.10.02.S uptime is 1 week, 5 days, 2 hours, 13 minutes\r\nUptime for this control processor is 1 week, 5 days, 2 hours, 18 minutes\r\nSystem returned to ROM by reload at 19:12:27 UTC Wed Feb 27 2019\r\nSystem restarted at 19:25:16 UTC Wed Feb 27 2019\r\nSystem image file is \"bootflash:csr1000v-universalk9.03.10.02.S.153-3.S2-ext.SPA.bin\"\r\nLast reload reason: Reload Command\r\n\r\n\r\n\r\nThis product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and\r\nuse. Delivery of Cisco cryptographic products does not imply\r\nthird-party authority to import, export, distribute or use encryption.\r\nImporters, exporters, distributors and users are responsible for\r\ncompliance with U.S. and local country laws. By using this product you\r\nagree to comply with applicable laws and regulations. If you are unable\r\nto comply with U.S. and local laws, return this product immediately.\r\n\r\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\r\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\r\n\r\nIf you require further assistance please contact us by sending email to\r\nexport@cisco.com.\r\n\r\nLicense Level: limited\r\nLicense Type: Default. No valid license found.\r\nNext reload license Level: limited\r\n\r\ncisco CSR1000V (VXE) processor with 821388K/6147K bytes of memory.\r\nProcessor board ID 9LW57Q25AIB\r\n2 Gigabit Ethernet interfaces\r\n32768K bytes of non-volatile configuration memory.\r\n3145728K bytes of physical memory.\r\n7774207K bytes of virtual hard disk at bootflash:.\r\n\r\nConfiguration register is 0x2102\r\n\r\nIOS_03.10.02.S#",
                      "result": true
                    },
                    {
                      "raw": "show <!VARIABLE!>",
                      "all_pass_flag": true,
                      "evaluated": "show log",
                      "command": "show log",
                      "parameters": {
                        "VARIABLE": "log"
                      },
                      "rules": [
                        {
                          "rule": "",
                          "eval": "contains",
                          "severity": "error",
                          "raw": "",
                          "result": true
                        }
                      ],
                      "device": "csr100v-03.10.02S",
                      "response": "\n> show log\r\nSyslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)\r\n\r\nNo Active Message Discriminator.\r\n\r\n\r\n\r\nNo Inactive Message Discriminator.\r\n\r\n\r\n    Console logging: level debugging, 39 messages logged, xml disabled,\r\n                     filtering disabled\r\n    Monitor logging: level debugging, 0 messages logged, xml disabled,\r\n                     filtering disabled\r\n    Buffer logging:  level debugging, 39 messages logged, xml disabled,\r\n                    filtering disabled\r\n    Exception Logging: size (4096 bytes)\r\n    Count and timestamp logging messages: disabled\r\n    Persistent logging: disabled\r\n\r\nNo active filter modules.\r\n\r\n    Trap logging: level informational, 42 message lines logged\r\n        Logging Source-Interface:       VRF Name:\r\n\r\nLog Buffer (4096 bytes):\r\n\r\n*Feb 27 19:18:49.234: %VUDI-6-EVENT: [serial number: 9LW57Q25AIB], [vUDI: ], vUDI is successfully retrieved from license file\r\n*Feb 27 19:18:49.937: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = csr1000v Next reboot level = limited and License = No valid license found\r\n*Feb 27 19:18:54.809: %VXE_THROUGHPUT-6-LEVEL: Throughput level has been set to 2500 kbps\r\n*Feb 27 19:18:57.758: %LINK-3-UPDOWN: Interface Lsmpi0, changed state to up\r\n*Feb 27 19:18:57.907: %LINK-3-UPDOWN: Interface EOBC0, changed state to up\r\n*Feb 27 19:18:58.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface Lsmpi0, changed state to up\r\n*Feb 27 19:18:58.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface EOBC0, changed state to up\r\n*Feb 27 19:18:59.034: dev_pluggable_optics_selftest attribute table internally inconsistent @ 0x121\r\n\r\n*Feb 27 19:18:59.063: %VUDI-6-EVENT: [serial number: 9LW57Q25AIB], [vUDI: CSR1000V:9LW57Q25AIB], vUDI initialization is now complete\r\n*Feb 27 19:19:04.615: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to down\r\n*Feb 27 19:19:04.642: %LINK-3-UPDOWN: Interface LIIN0, changed state to up\r\n*Feb 27 19:19:04.648: %LINK-3-UPDOWN: Interface GigabitEthernet1, changed state to down\r\n*Feb 27 19:19:04.649: %LINK-3-UPDOWN: Interface GigabitEthernet2, changed state to down\r\n*Feb 27 19:19:05.424: %IOSXE_MGMTVRF-6-CREATE_SUCCESS_INFO: Management vrf Mgmt-intf created with ID 1, ipv4 table-id 0x1, ipv6 table-id 0x1E000001\r\n*Feb 27 19:19:05.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down\r\n*Feb 27 19:19:05.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface LIIN0, changed state to up\r\n*Feb 27 19:19:05.648: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1, changed state to down\r\n*Feb 27 19:19:05.680: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2, changed state to down\r\n*Feb 27 19:19:06.070: %SYS-5-CONFIG_I: Configured from memory by console\r\n*Feb 27 19:19:06.114: %IOSXE_OIR-6-INSCARD: Card (rp) inserted in slot R1\r\n*Feb 27 19:19:06.117: %IOSXE_OIR-6-INSCARD: Card (fp) inserted in slot F0\r\n*Feb 27 19:19:06.117: %IOSXE_OIR-6-ONLINECARD: Card (fp) online in slot F0\r\n*Feb 27 19:19:06.481: %SYS-5-RESTART: System restarted --\r\nCisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S2, RELEASE SOFTWARE (fc3)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Fri 31-Jan-14 20:10 by mcpre\r\n*Feb 27 19:19:06.583: %SSH-5-ENABLED: SSH 1.99 has been enabled\r\n*Feb 27 19:19:07.396: %LINK-5-CHANGED: Interface GigabitEthernet0, changed state to administratively down\r\n*Feb 27 19:19:07.921: %LINK-5-CHANGED: Interface GigabitEthernet2, changed state to administratively down\r\n*Feb 27 19:19:09.973: %SYS-6-BOOTTIME: Time taken to reboot after reload =  402 seconds\r\n*Feb 27 19:19:11.266: %LINK-3-UPDOWN: Interface GigabitEthernet1, changed state to up\r\n*Feb 27 19:19:12.290: %VIRT_SERVICE-5-INSTALL_STATE: Successfully installed virtual service csr_mgmt\r\n*Feb 27 19:19:12.337: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1, changed state to up\r\n*Feb 27 19:19:17.514: %VIRT_SERVICE-5-ACTIVATION_STATE: Successfully activated virtual service csr_mgmt\r\n*Feb 27 19:19:17.494: %VMAN-5-VIRT_INST: F0: vman:  LOG FROM VIRTUAL SERVICE csr_mgmt: \r\n*Feb 27 19:50:22.610: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\n*Feb 27 20:01:42.870: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\nFeb 27 20:03:31.534: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\nFeb 27 20:18:34.656: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\nFeb 27 20:20:07.110: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\nFeb 27 20:27:38.163: %SYS-5-CONFIG_I: Configured from console by admin on vty5 (192.168.1.212)\r\nFeb 27 20:58:50.092: %IOSXE-4-PLATFORM: R0/0: kernel: hrtimer: interrupt took 3319655 ns\r\nIOS_03.10.02.S#",
                      "result": true
                    }
                  ],
                  "name": "Itential-Artifacts pre post execution"
                }
              },
              "outgoing": {
                "value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": 1.074884029158383,
            "y": 0.20235546038543897
          },
          "8ac7": {
            "name": "ViewData",
            "summary": "Device is unreachable",
            "description": "Displays a message and runtime data to an operator. This can be used to request a decision, or used for acknowledgement only.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Device is unreachable",
                "message": "",
                "body": "The selected device failed the ping test, please verify connectivity to the device then press either <b>Try Again</b> to perform connectivity test to the same device, or <b>Back</b> to return to the mode selection task.",
                "variables": {},
                "btn_success": "Try Again",
                "btn_failure": "Back"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 0.0902455209024552,
            "y": 0.942782834850455,
            "scheduled": false,
            "canvasName": "View Data"
          },
          "18d6": {
            "name": "isAlive",
            "summary": "Ping Device",
            "description": "Get connection status of device",
            "location": "Application",
            "locationType": null,
            "app": "ConfigurationManager",
            "displayName": "ConfigurationManager",
            "type": "automatic",
            "variables": {
              "incoming": {
                "name": "$var.b3de.return_data"
              },
              "outgoing": {
                "status": null
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "actor": "Pronghorn",
            "x": 0.07184628237259816,
            "y": 0.6393210749646393,
            "scheduled": false
          },
          "e1cc": {
            "name": "ViewData",
            "summary": "Communication error",
            "description": "Displays a message and runtime data to an operator. This can be used to request a decision, or used for acknowledgement only.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Error executing commands on device",
                "message": "",
                "body": "Error executing commands on  device<br>Please check connectivity, and press proceed when ready to try again.",
                "variables": {},
                "btn_success": "",
                "btn_failure": ""
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 1.094102054340623,
            "y": 0.9603854389721628,
            "scheduled": false,
            "canvasName": "View Data"
          },
          "a9c9": {
            "name": "ViewData",
            "summary": "Communication error",
            "description": "Displays a message and runtime data to an operator. This can be used to request a decision, or used for acknowledgement only.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Error executing commands on device",
                "message": "",
                "body": "Error executing commands on  device<br>Please check connectivity, and press proceed when ready to try again.",
                "variables": {},
                "btn_success": "",
                "btn_failure": ""
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 0.264828738512949,
            "y": 0.9476661951909476,
            "scheduled": false,
            "canvasName": "View Data"
          },
          "6d3a": {
            "name": "ViewData",
            "summary": "Communication error",
            "description": "Displays a message and runtime data to an operator. This can be used to request a decision, or used for acknowledgement only.",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Error executing commands on device",
                "message": "",
                "body": "Error executing commands on  device<br>Please check connectivity, and press proceed when ready to try again.",
                "variables": {},
                "btn_success": "",
                "btn_failure": ""
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 0.4653299916457811,
            "y": 0.9448373408769448,
            "scheduled": false,
            "canvasName": "View Data"
          },
          "dbeb": {
            "name": "ViewData",
            "canvasName": "ViewData",
            "summary": "Choose mode",
            "description": "View data in a pretty format",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Choose mode of operation",
                "message": "Would you like to choose a <b>LIVE</b> device to run this workflow on, or use the <b>SIMULATED</b> mode?<br>Please notice that the commands specified in this workflow are meant to be run against Cisco-IOS devices.",
                "body": "",
                "variables": {},
                "btn_success": "LIVE",
                "btn_failure": "SIMULATED"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": -0.314777998674619,
            "y": 0.4475374732334047,
            "scheduled": false
          },
          "ab0": {
            "name": "ViewData",
            "canvasName": "ViewData",
            "summary": "Confirm",
            "description": "View data in a pretty format",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Confirm",
                "message": "",
                "body": "Next, we're going to run the post.",
                "variables": {},
                "btn_success": "Continue",
                "btn_failure": ""
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 0.8807157057654076,
            "y": 0.3961456102783726,
            "scheduled": false
          },
          "2b5b": {
            "name": "evaluation",
            "canvasName": "evaluation",
            "summary": "Run Evaluation Task",
            "description": "Run an evaluation",
            "location": "Application",
            "locationType": null,
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "all_true_flag": false,
                "evaluation_groups": [
                  {
                    "all_true_flag": false,
                    "evaluations": [
                      {
                        "query": "commands_results[2].result",
                        "operand_1": {
                          "variable": "PRE",
                          "task": "job"
                        },
                        "operator": "contains",
                        "operand_2": {
                          "variable": true,
                          "task": "static"
                        }
                      }
                    ]
                  }
                ]
              },
              "outgoing": {
                "return_value": null
              }
            },
            "deprecated": false,
            "groups": [],
            "x": 0.7342611000662691,
            "y": 0.3929336188436831
          },
          "78fd": {
            "name": "ViewData",
            "canvasName": "ViewData",
            "summary": "Missing configuration register",
            "description": "View data in a pretty format",
            "location": "Application",
            "app": "WorkFlowEngine",
            "displayName": "Tools",
            "type": "manual",
            "variables": {
              "incoming": {
                "header": "Missing configuration register",
                "message": "The configuration register (when running <b>show version</b>) is expected to be <br>0x2102</b><br>Please choose to <b>RETRY</b> or <b>SKIP</b> to ignore this failure.\nshow version actual output:",
                "body": "$var.80dd.return_data",
                "variables": {},
                "btn_success": "RETRY",
                "btn_failure": "SKIP"
              },
              "outgoing": {},
              "error": ""
            },
            "view": "/workflow_engine/task/ViewData",
            "deprecated": false,
            "groups": [],
            "x": 0.7395626242544732,
            "y": 0.702355460385439,
            "scheduled": false
          },
          "80dd": {
            "name": "query",
            "canvasName": "query",
            "summary": "get show version output",
            "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
            "location": "Application",
            "locationType": null,
            "app": "WorkFlowEngine",
            "displayName": "WorkFlowEngine",
            "type": "operation",
            "variables": {
              "incoming": {
                "pass_on_null": true,
                "query": "commands_results[2].response",
                "obj": "$var.job.PRE"
              },
              "outgoing": {
                "return_data": null
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "x": 0.7415506958250497,
            "y": 0.5267665952890792,
            "scheduled": false
          },
          "b8ed": {
            "name": "ShowJsonForm",
            "canvasName": "ShowJsonForm",
            "summary": "Choose Device",
            "description": "Show Json Form",
            "location": "Application",
            "app": "JsonForms",
            "displayName": "JsonForms",
            "type": "manual",
            "variables": {
              "incoming": {
                "form_id": "Device Pre Post Execution Device Select JSON Form",
                "instance_data": {}
              },
              "outgoing": {
                "export": null
              },
              "error": ""
            },
            "view": "/json-forms/task/ShowJsonForm",
            "deprecated": false,
            "groups": [],
            "x": -0.05245901639344262,
            "y": 0.6280295047418335,
            "scheduled": false
          },
          "b3de": {
            "name": "query",
            "canvasName": "query",
            "summary": "Query Data Using 'json-query' Format",
            "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
            "location": "Application",
            "locationType": null,
            "app": "WorkFlowEngine",
            "type": "operation",
            "displayName": "WorkFlowEngine",
            "variables": {
              "incoming": {
                "pass_on_null": false,
                "query": "device",
                "obj": "$var.b8ed.export"
              },
              "outgoing": {
                "return_data": "$var.job.device"
              },
              "error": ""
            },
            "deprecated": false,
            "groups": [],
            "x": -0.001639344262295082,
            "y": 0.512118018967334,
            "scheduled": false
          }
        },
        "transitions": {
          "6562": {
            "dedb": {
              "type": "standard",
              "state": "success"
            },
            "8ac7": {
              "type": "standard",
              "state": "failure"
            }
          },
          "9354": {
            "b8ed": {
              "type": "standard",
              "state": "success"
            }
          },
          "workflow_start": {
            "dbeb": {
              "type": "standard",
              "state": "success"
            }
          },
          "workflow_end": {},
          "7c30": {},
          "d1ef": {
            "1d77": {
              "type": "standard",
              "state": "success"
            }
          },
          "a4db": {},
          "c68d": {
            "c52a": {
              "type": "standard",
              "state": "success"
            }
          },
          "dedb": {
            "d086": {
              "type": "standard",
              "state": "success"
            },
            "a9c9": {
              "type": "standard",
              "state": "error"
            }
          },
          "d086": {
            "c713": {
              "type": "standard",
              "state": "success"
            },
            "6d3a": {
              "type": "standard",
              "state": "error"
            }
          },
          "d03f": {
            "c68d": {
              "type": "standard",
              "state": "success"
            }
          },
          "c52a": {
            "workflow_end": {
              "type": "standard",
              "state": "success"
            },
            "c68d": {
              "type": "revert",
              "state": "failure"
            }
          },
          "c713": {
            "dbeb": {
              "type": "revert",
              "state": "failure"
            },
            "2b5b": {
              "type": "standard",
              "state": "success"
            }
          },
          "8f88": {
            "d03f": {
              "type": "standard",
              "state": "success"
            },
            "e1cc": {
              "type": "standard",
              "state": "error"
            }
          },
          "1d77": {
            "c713": {
              "type": "standard",
              "state": "success"
            }
          },
          "ec4c": {
            "8f88": {
              "type": "standard",
              "state": "success"
            },
            "57c2": {
              "type": "standard",
              "state": "failure"
            }
          },
          "57c2": {
            "d03f": {
              "type": "standard",
              "state": "success"
            }
          },
          "8ac7": {
            "18d6": {
              "type": "revert",
              "state": "success"
            },
            "dbeb": {
              "type": "revert",
              "state": "failure"
            }
          },
          "18d6": {
            "6562": {
              "type": "standard",
              "state": "success"
            },
            "8ac7": {
              "type": "standard",
              "state": "failure"
            }
          },
          "e1cc": {
            "8f88": {
              "type": "revert",
              "state": "success"
            }
          },
          "a9c9": {
            "dedb": {
              "type": "revert",
              "state": "success"
            }
          },
          "6d3a": {
            "d086": {
              "type": "revert",
              "state": "success"
            }
          },
          "dbeb": {
            "9354": {
              "type": "standard",
              "state": "success"
            },
            "d1ef": {
              "type": "standard",
              "state": "failure"
            }
          },
          "ab0": {
            "ec4c": {
              "type": "standard",
              "state": "success"
            }
          },
          "2b5b": {
            "ab0": {
              "type": "standard",
              "state": "success"
            },
            "80dd": {
              "type": "standard",
              "state": "failure"
            }
          },
          "78fd": {
            "dbeb": {
              "type": "revert",
              "state": "success"
            },
            "ab0": {
              "type": "standard",
              "state": "failure"
            }
          },
          "80dd": {
            "78fd": {
              "type": "standard",
              "state": "success"
            }
          },
          "e176": {},
          "b8ed": {
            "b3de": {
              "type": "standard",
              "state": "success"
            }
          },
          "b3de": {
            "18d6": {
              "type": "standard",
              "state": "success"
            }
          }
        },
        "font_size": 12,
        "created": "2019-02-11T20:32:22.516Z",
        "created_by": {
          "provenance": "Local AAA",
          "username": "Itential Artifacts",
          "firstname": "admin",
          "inactive": true,
          "email": ""
        },
        "createdVersion": "5.5.9-2019.3.0.0",
        "last_updated": "2023-02-07T14:04:50.854Z",
        "last_updated_by": {
          "provenance": "local_aaa",
          "username": "admin@pronghorn",
          "firstname": "admin",
          "inactive": false
        },
        "lastUpdatedVersion": "5.44.64-2022.1.25.0",
        "type": "automation",
        "description": null,
        "inputSchema": {
          "type": "object",
          "properties": {}
        },
        "outputSchema": {
          "type": "object",
          "properties": {
            "_id": {
              "type": "string",
              "pattern": "^[0-9a-f]{24}$"
            },
            "initiator": {
              "type": "string"
            },
            "STUB": {
              "type": "boolean"
            },
            "PRE": {
              "type": "object",
              "properties": {
                "all_pass_flag": {
                  "type": "boolean"
                },
                "result": {
                  "type": "boolean"
                },
                "commands_results": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "raw": {
                        "type": "string"
                      },
                      "all_pass_flag": {
                        "type": "boolean"
                      },
                      "evaluated": {
                        "type": "string"
                      },
                      "parameters": {
                        "type": "object",
                        "properties": {}
                      },
                      "rules": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "rule": {
                              "type": "string"
                            },
                            "eval": {
                              "type": "string"
                            },
                            "severity": {
                              "type": "string"
                            },
                            "raw": {
                              "type": "string"
                            },
                            "result": {
                              "type": "boolean"
                            }
                          }
                        }
                      },
                      "device": {
                        "type": "string"
                      },
                      "response": {
                        "type": "string"
                      },
                      "result": {
                        "type": "boolean"
                      }
                    }
                  }
                },
                "name": {
                  "type": "string"
                }
              }
            },
            "POST": {
              "type": "object",
              "properties": {
                "all_pass_flag": {
                  "type": "boolean"
                },
                "result": {
                  "type": "boolean"
                },
                "commands_results": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "raw": {
                        "type": "string"
                      },
                      "all_pass_flag": {
                        "type": "boolean"
                      },
                      "evaluated": {
                        "type": "string"
                      },
                      "parameters": {
                        "type": "object",
                        "properties": {}
                      },
                      "rules": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "rule": {
                              "type": "string"
                            },
                            "eval": {
                              "type": "string"
                            },
                            "severity": {
                              "type": "string"
                            },
                            "raw": {
                              "type": "string"
                            },
                            "result": {
                              "type": "boolean"
                            }
                          }
                        }
                      },
                      "device": {
                        "type": "string"
                      },
                      "response": {
                        "type": "string"
                      },
                      "result": {
                        "type": "boolean"
                      }
                    }
                  }
                },
                "name": {
                  "type": "string"
                }
              }
            },
            "ANALYTIC": {
              "type": [
                "array",
                "boolean",
                "null",
                "number",
                "object",
                "string"
              ]
            },
            "device": {
              "title": "return_data",
              "type": [
                "string",
                "number",
                "object",
                "integer",
                "array",
                "boolean",
                "null"
              ],
              "examples": [
                "value"
              ]
            }
          }
        },
        "canvasVersion": 1,
        "preAutomationTime": 0,
        "sla": 0,
        "tags": [],
        "groups": [],
        "migrationVersion": 1
      }
    },
    {
      "type": "json-forms",
      "data": {
        "id": "60008529411ec601078be839",
        "created": "2021-01-14T17:53:45.595Z",
        "createdBy": "admin@pronghorn",
        "lastUpdated": "2021-01-14T18:02:10.157Z",
        "lastUpdatedBy": "admin@pronghorn",
        "name": "Device Pre Post Execution Device Select JSON Form",
        "description": null,
        "struct": {
          "type": "object",
          "description": "",
          "items": [
            {
              "nodeId": "a2bdd385-f425-4be9-9d14-ce01905603b0",
              "type": "string",
              "title": "Device",
              "description": "",
              "placeholder": "Select an item",
              "required": true,
              "enum": [],
              "binding": true,
              "rel": "collection",
              "targetPointer": "/enum",
              "method": "POST",
              "body": {
                "options": {
                  "start": 0,
                  "limit": 200,
                  "order": "ascending",
                  "sort": [
                    {
                      "name": 1
                    }
                  ],
                  "filter": {
                    "name": ""
                  }
                }
              },
              "base": "/configuration_manager",
              "href": "/devices",
              "sourcePointer": "/list",
              "sourceKeyPointer": "/name"
            }
          ]
        },
        "schema": {
          "title": "Device Pre Post Execution Device Select JSON Form",
          "description": "",
          "type": "object",
          "required": [],
          "properties": {
            "device": {
              "type": "string",
              "title": "Device",
              "description": "",
              "enum": []
            }
          }
        },
        "uiSchema": {
          "device": {
            "ui:placeholder": "Select an item"
          }
        },
        "bindingSchema": {
          "properties": {
            "device": {
              "binding:method": "POST",
              "binding:link": {
                "$ref": "/links",
                "rel": "collection"
              },
              "binding:body": {
                "options": {
                  "start": 0,
                  "limit": 200,
                  "order": "ascending",
                  "sort": [
                    {
                      "name": 1
                    }
                  ],
                  "filter": {
                    "name": ""
                  }
                }
              },
              "binding:target": {
                "propertyPointer": "/enum"
              },
              "binding:hyperSchema": {
                "type": "object",
                "base": "/configuration_manager",
                "links": [
                  {
                    "rel": "collection",
                    "href": "/devices",
                    "targetMediaType": "application/json",
                    "targetSchema": {
                      "$ref": "#"
                    }
                  }
                ]
              },
              "binding:source": {
                "propertyPointer": "/list",
                "keyPointer": "/name"
              }
            }
          }
        },
        "validationSchema": {},
        "version": "2020.1"
      }
    },
    {
      "type": "mop-analytic-template",
      "data": {
        "_id": "Itential-Artifacts pre post execution",
        "name": "Itential-Artifacts pre post execution",
        "passRule": true,
        "prepostCommands": [
          {
            "preRawCommand": "show clock",
            "postRawCommand": "show clock",
            "passRule": true,
            "rules": [
              {
                "type": "matches",
                "preRegex": "",
                "postRegex": "",
                "evaluator": "=",
                "severity": "error",
                "flags": {
                  "case": true,
                  "multiline": true,
                  "global": true
                },
                "ignorePattern": "\\d\\d:\\d\\d\\.\\d\\d\\d"
              }
            ],
            "preCommandResHTML": "\n> show clock\r\n*21:06:55.077 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "postCommandResHTML": "\n> show clock\r\n*21:06:56.139 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "preCommandValue": "show clock",
            "postCommandValue": "show clock",
            "preCommandRes": "\n> show clock\r\n*21:06:55.077 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "postCommandRes": "\n> show clock\r\n*21:06:56.139 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#"
          },
          {
            "preRawCommand": "show running",
            "postRawCommand": "show running",
            "passRule": true,
            "rules": [
              {
                "type": "matches",
                "preRegex": "",
                "postRegex": "",
                "evaluator": "=",
                "severity": "error"
              }
            ],
            "preCommandResHTML": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "postCommandResHTML": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "preCommandValue": "show running",
            "postCommandValue": "show running",
            "preCommandRes": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "postCommandRes": "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#"
          }
        ],
        "created": 1552338796284,
        "createdBy": "admin@pronghorn",
        "lastUpdated": 1552339836273,
        "lastUpdatedBy": "admin@pronghorn",
        "evaluation": 0
      }
    },
    {
      "type": "mop-template",
      "data": {
        "_id": "Itential-Artifacts pre post execution",
        "name": "Itential-Artifacts pre post execution",
        "os": "",
        "passRule": true,
        "ignoreWarnings": false,
        "commands": [
          {
            "command": "show clock",
            "passRule": true,
            "rules": [
              {
                "rule": "",
                "eval": "contains",
                "severity": "error"
              }
            ]
          },
          {
            "command": "show running",
            "passRule": true,
            "rules": [
              {
                "rule": "",
                "eval": "contains",
                "severity": "error"
              }
            ]
          },
          {
            "command": "show version",
            "passRule": true,
            "rules": [
              {
                "rule": "configuration register is 0x2102",
                "eval": "contains",
                "severity": "error",
                "flags": {
                  "case": true
                }
              },
              {
                "rule": "cisco ios",
                "eval": "contains",
                "severity": "warning",
                "flags": {
                  "case": true
                }
              }
            ]
          },
          {
            "command": "show <!VARIABLE!>",
            "passRule": true,
            "rules": [
              {
                "rule": "",
                "eval": "contains",
                "severity": "error"
              }
            ]
          }
        ],
        "created": 1552338390525,
        "createdBy": "admin@pronghorn",
        "lastUpdated": 1552338788585,
        "lastUpdatedBy": "admin@pronghorn"
      }
    }
  ],
  "readme": "- [Device Pre-Post Check Execution](#device-pre-post-check-execution)\n  - [Requirements](#requirements)\n  - [How to install](#how-to-install)\n  - [How to run](#how-to-run)\n  - [Additional Information](#additional-information)\n\n# Device Pre-Post Check Execution\n\nThe Device Pre-Post Check Execution artifact demonstrates an end-to-end usage of the MOP-app and Workflow in Itential Automation Platform (IAP).\n\n<table><tr><td>\n  <img src=\"https://gitlab.com/itentialopensource/pre-built-automations/device-pre-post-check-execution/-/raw/release/2022.1/img/wf_shot.png\" alt=\"workflow shot\" width=\"800px\">\n</td></tr></table>\n\nThis artifact allows users to run the workflow `Device pre post execution workflow` in either **Simulated** or **Real-Time** mode.\n\nFor **Simulated** mode, this workflow doesn't have any prerequisites, and all responses are hard coded in the workflow.\nIn order to run this artifact in **real-time** mode, a Cisco-IOS device needs to be on-boarded on either Cisco-NSO or Ansible.\n\n## Requirements\n\nThe following is required to run Artifact Wizard, and is compatible with the following versions:\n\n- Itential Automation Platform\n  - `^2022.1`\n\n## How to install\n\nIn order to install this artifact, please use the App-Artifact (Available for Itential customers via Nexus repo)\n\n## How to run\n\nAfter installing (via App-Artifacts) click the start button on the artifact card or navigate to workflow builder and press the play button next to the MOP demo workflow.\n\nOnce started, the workflow will present the user with a question to either run in simulated or real-time mode:\n\n<table><tr><td>\n  <img src=\"https://gitlab.com/itentialopensource/pre-built-automations/device-pre-post-check-execution/-/raw/release/2022.1/img/simulated-decision.png\" alt=\"simulated question\" width=\"600px\">\n</td></tr></table>\n\nIn **simulated mode**, this artifact works out of the box without any other dependencies. All device responses that are presented to the user are from a recorded session that were hard coded:\n\n<table><tr><td>\n  <img src=\"https://gitlab.com/itentialopensource/pre-built-automations/device-pre-post-check-execution/-/raw/release/2022.1/img/pre-results.png\" alt=\"Pre Checks Results\" width=\"600px\">\n</td></tr></table>\n\n<table><tr><td>\n  <img src=\"https://gitlab.com/itentialopensource/pre-built-automations/device-pre-post-check-execution/-/raw/release/2022.1/img/diff-results.png\" alt=\"Diff Results\" width=\"600px\">\n</td></tr></table>\n\nIn the **real-time mode**, the artifact will ask the user to pick a live device from their inventory of NSO or Ansible devices, it will then execute the commands on the selected device:\n\n<table><tr><td>\n  <img src=\"https://gitlab.com/itentialopensource/pre-built-automations/device-pre-post-check-execution/-/raw/release/2022.1/img/device-picker.png\" alt=\"Device Picker\" width=\"600px\">\n</td></tr></table>\n\n## Additional Information\nPlease use your Itential Customer Success account if you need support when using this artifact. \n"
}