Versa Networks vendor logo

Vendor

Versa Networks

Product

Versa Director

Category

SD-WAN (SASE)

Project Type

Workflow Project


View Repository
Workflow

Versa - Modular Workflows

Overview

The integration of Itential and the Versa Networks solution enables network teams to utilize its REST API to build automations that can include common tasks for organization and device management. This is a library of related automations that can be used as modular components in your own larger, end-to-end workflows.

Workflows

NameOverview
Check Director Version - Versa Director - RESTRetrieve the version of the Versa Director Software Package for compliance checking
Check Organization - Versa Director - RESTCheck if an organization is present in the Versa Director
Create Device Group - Versa Director - RESTCreate a new device group in Versa Director
Create New Organization - Versa Director - RESTCreate a new organization in Versa Director
Create Spoke Group - Versa Director - RESTCreate a new spoke group in Versa Director
Deploy Device - Versa Director - RESTDeploy a device in Versa Director

For further technical details on how to install and use this Workflow Project, please click the Technical Documentation tab.

Table of Contents

Getting Started

This section is helpful for deployments as it provides you with pertinent information on prerequisites and properties.

Helpful Background Information

Workflows often include logic that varies from business to business. As a result, we often find that our Workflow Projects are more useful as modular components that can be incorporated into a larger process. In addition, they often can add value as a learning tool on how we integrate with other systems and how we do things within the Itential Automation Platform.

While these can be utilized, you may find more value in using them as a starting point to build around.

Prerequisites

Itential Workflow Projects are built and tested on particular versions of IAP. In addition, Workflow Projects are often dependent on external systems and as such, these Workflow Projects will have dependencies on these other systems. This version of Versa - REST has been tested with:

  • IAP 2023.2

External Dependencies

No external dependencies required to run this Workflow Project.

Adapters

NameVersionConfiguration Notes
adapter-versa_director0.11.4

How to Install

To install the Workflow Project:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Supported IAP Versions section in order to install the Example Project.
  • Import the Example Project in Admin Essentials.

Testing

Cypress is generally used to test all Itential Example Projects. While Cypress is an opensource tool, at Itential we have internal libraries that have been built around Cypress to allow us to test with a deployed IAP.

When certifying our Example Projects for a release of IAP we run these tests against the particular version of IAP and create a release branch in GitLab. If you do not see the Example Project available in your version of IAP please contact Itential.

While Itential tests this Example Project and its capabilities, it is often the case the customer environments offer their own unique circumstances. Therefore, it is our recommendation that you deploy this Example Project into a development/testing environment in which you can test the Example Project.

Using this Workflow Project

Workflow Projects contain 1 or more workflows. Each of these workflows have different inputs and outputs.

Check Director Version - Versa Director - REST

Retrieve the version of the Versa Director Software Package for compliance checking

Capabilities include:

  • Retrieve the version of the Versa Director Software Package
  • Check version compliance

Entry Point IAP Component

The primary IAP component to run Check Director Version - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Check Director Version - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Check Director Version - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
versionstringyesSource IP address in path lookup
20.2.2
allowNewerbooleanyesWhether versions newer than the specified version are consider compliant
true
adapterIdstringyesVersa Director adapter instance to be used
Versa

Outputs

The following table lists the outputs for Check Director Version - Versa Director - REST:

NameTypeDescriptionExample Value
complybooleanWhether the version complies
false

Query Output

The following items show how to query successful results from the output of Check Director Version - Versa Director - REST:

Compliance Check Result

comply

Example Inputs and Outputs

Example 1

Input:

{
  "adapterId": "versa",
  "version": "20.2.1",
  "allowNewer": true
} 

Output:

{
  "requestedVersionLength": 3,
  "comply": true
} 
Example 2

Input:

{
  "adapterId": "versa",
  "version": "20.3.2",
  "allowNewer": true
} 

Output:

{
  "requestedVersionLength": 3,
  "comply": false
} 

API Links

No API Links provided.


Check Organization - Versa Director - REST

Check if an organization is present in the Versa Director

Capabilities include:

  • Retrieve organization list and check if the provided organization is present in Versa Dirctor

Entry Point IAP Component

The primary IAP component to run Check Organization - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Check Organization - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Check Organization - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
organizationNamestringyesName of the organization to check for existence
orgA
adapterIdstringyesVersa Director adapter instance to be used
Versa

Outputs

The following table lists the outputs for Check Organization - Versa Director - REST:

NameTypeDescriptionExample Value
orgNameExistsbooleanWhether the organization exists in Versa
false

Query Output

The following items show how to query successful results from the output of Check Organization - Versa Director - REST:

Organization Check Result

orgNameExists

Example Inputs and Outputs

Example 1

Input:

{
  "organizationName": "orgA",
  "adapterId": "versa"
} 

Output:

{
  "orgNameExists": true
} 
Example 2

Input:

{
  "organizationName": "orgC",
  "adapterId": "versa"
} 

Output:

{
  "orgNameExists": false
} 

API Links

No API Links provided.


Create Device Group - Versa Director - REST

Create a new device group in Versa Director

Capabilities include:

  • Check existence of a provided device group and create one if none exists

Entry Point IAP Component

The primary IAP component to run Create Device Group - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Create Device Group - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Create Device Group - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
deviceGroupNamestringyesName of the device group to be created
Multi_Tenant_DeviceGroup
descriptionstringnoA brief description or additional info about the device group
Device Group having multi tenant branches
organizationNamestringyesName of the organization associated with the device group
Tenant1
emailstringyesEmail
admin@versa-networks.com
phonestringyesPhone number
408-480-4800
postStagingTemplatestringyesThe template used for post-staging configurations
controller1poststaging
stagingTypestringyesType of staging used
pre_staging
stagingControllerstringyesThe controller that manages the staging process for devices in a device group
Controller1
vnpProfileNamestringyesName of the VPN profile
wan1-staging1-StagingIpSec
caConfigOnBranchNotificationbooleanyesWhether to configure CA on branch notification
true
enableStagingUrlbooleanyesWhether staging URL is enabled
true
enable2FactorAuthbooleanyesWhether Two-Factor Authentication is enabled
true
enableOneTimePasswordbooleanyesWhether one-time passwword is enabled
true
adapterIdstringyesVersa Director adapter instance to be used
versa

Outputs

The following table lists the outputs for Create Device Group - Versa Director - REST:

NameTypeDescriptionExample Value
createdDGobjectCreated device group result

Query Output

There are no query output examples for Create Device Group - Versa Director - REST.

Example Inputs and Outputs

Example 1

Input:

{
  "deviceGroupName": "Multi_Tenant_DeviceGroup",
  "adapterId": "versa",
  "organizationName": "Tenant1",
  "email": "admin@versa-networks.com",
  "phone": "408-480-4800",
  "postStagingTemplate": "controller1poststaging",
  "stagingType": "pre_statging",
  "stagingController": "Controller1",
  "vnpProfileName": "wan1-staging1-StagingIpSec",
  "caConfigOnBranchNotification": true,
  "enableStagingUrl": true,
  "enable2FactorAuth": true,
  "enableOneTimePassword": true,
  "description": "Device Group having multi tenant branches"
} 

API Links

No API Links provided.


Create New Organization - Versa Director - REST

Create a new organization in Versa Director

Capabilities include:

  • Create a new organization in Versa Director

Entry Point IAP Component

The primary IAP component to run Create New Organization - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Create New Organization - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Create New Organization - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
ikeAuthTypestringyesAuthentication type used for IKE (Internet Key Exchange) protocol
PSK
vrfsarrayyesList of Virtual Routing and Forwarding (VRF) instances configured for the organization. Each object within the "vrfs" array contains "name", "id", "description", "enableVPN", and "mode"
supportedRolearrayyesList of the roles supported within the organization
analyticsClustersarrayyesA list of names of analytics clusters associated with the organization
cmsConnectorsarrayyesList of CMS connectors
parentOrganizationstringyesParent organization to which the organization being created belongs
organizationNamestringyesName of the organization being created
orgA
cpeDeploymentTypestringyesType of CPE (Customer Premises Equipment) deployment for the organization
controllersarrayyesList of the controllers
sharedControlPlanebooleanyesWhether the organization shares a control plane with other organizations
true
adapterIdstringyesVersa Director adapter instance to be used
Versa

Outputs

There are no outputs for Create New Organization - Versa Director - REST.

Query Output

There are no query output examples for Create New Organization - Versa Director - REST.

Example Inputs and Outputs

No example inputs or outputs found.

API Links

No API Links provided.


Create Spoke Group - Versa Director - REST

Create a new spoke group in Versa Director

Capabilities include:

  • Create a new spoke group in Versa Director

Entry Point IAP Component

The primary IAP component to run Create Spoke Group - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Create Spoke Group - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Create Spoke Group - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
spokeGroupNamestringyesThe Name of the Spoke Group being created
SG1
organizationstringyesThe Organization for which the Spoke Group is being created
orgA
hubTypestringyesType of hub
hub
regionstringyesRegion to which the spoke group belongs
west
vrfsarrayyesList of Virtual Routing and Forwarding (VRF) instances. Each object within the "vrfs" array contains "name", "groupType", "communityRef", and "hubs"
[
  {
    "communityRef": 5,
    "groupType": "HubAndSpoke",
    "hubs": [
      {
        "name": "hub34",
        "priority": 3
      }
    ],
    "name": "provider-org-vr"
  }
]
adapterIdstringyesVersa Director adapter instance to be used
Versa

Outputs

There are no outputs for Create Spoke Group - Versa Director - REST.

Query Output

There are no query output examples for Create Spoke Group - Versa Director - REST.

Example Inputs and Outputs

Example 1

Input:

{
  "spokeGroupName": "SpokeGroup1",
  "adapterId": "versa",
  "organization": "orgA",
  "hubType": "hub",
  "region": "west",
  "vrfs": [
    {
      "communityRef": "5",
      "groupType": "HubAndSpoke",
      "hubs": [
        {
          "name": "hub34",
          "priority": 3
        }
      ],
      "name": "provider-org-vr"
    }
  ]
} 

API Links

No API Links provided.


Deploy Device - Versa Director - REST

Deploy a device in Versa Director

Capabilities include:

  • Deploy a device in Versa Director

Entry Point IAP Component

The primary IAP component to run Deploy Device - Versa Director - REST is listed below:

IAP Component NameIAP Component Type
Deploy Device - Versa Director - RESTWorkflow

Inputs

The following table lists the inputs for Deploy Device - Versa Director - REST:

NameTypeRequiredDescriptionExample Value
devicestringyesName of the device to be deployed
Device01
adapterIdstringyesVersa Director adapter instance to be used
Versa

Outputs

The following table lists the outputs for Deploy Device - Versa Director - REST:

NameTypeDescriptionExample Value
statusstringDeploy device result
FAILED

Query Output

The following items show how to query successful results from the output of Deploy Device - Versa Director - REST:

Deploy Device Result

status

Example Inputs and Outputs

Example 1

Input:

{
  "device": "device01",
  "adapterId": "versa"
} 

Output:

{
  "status": "SUCCESS"
} 

API Links

No API Links provided.


Additional Information

Support

Please use your Itential Customer Success account if you need support when using this Workflow Project.