Cisco Systems vendor logo

Vendor

Cisco Systems

Product

Viptela

Method

REST

Category

SD-WAN (SASE)

Project Type

Adapter


Download Adapter
Adapter

Adapter for Integration to Cisco Viptela

Overview

This adapter is used to integrate the Itential Automation Platform (IAP) with the Viptela System. The API that was used to build the adapter for Viptela is usually available in the report directory of this adapter. The adapter utilizes the Viptela API to provide the integrations that are deemed pertinent to IAP. The ReadMe file is intended to provide information on this adapter it is generated from various other Markdown files.

Details

The Cisco Viptela adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Cisco’s Viptela controller to offer a cloud-scalable SD-WAN solution for configuration, orchestration and monitoring of an overlay network. Viptela fits within the overall Cisco Digital Network Architecture (Cisco DNA) to complement its platform for WAN optimization, automation, virtualization and analytics.

With this adapter you have the ability to perform operations with Cisco Viptela such as:

  • Configure and Manage Cisco Devices in the Cloud.
  • Add and Remove Devices to Inventory: Through IAP, a new device can be added to the network inventory so that it can be managed by Ansible Manger. A device that is no longer utilized from the network inventory can also be removed through IAP.
  • Perform Pre and Post Checks: IAP allows for the ability to perform pre and post checks of a device configuration when making modifications to the device.
  • Device Configuration Assurance: IAP can back up the configuration on the device in a native format that can be restored to the device if there are issues.

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

Cisco Viptela

Table of Contents

Getting Started

These instructions will help you get a copy of the project on your local machine for development and testing. Reading this section is also helpful for deployments as it provides you with pertinent information on prerequisites and properties.

Helpful Background Information

There is Adapter documentation available on the Itential Documentation Site. This documentation includes information and examples that are helpful for:

Authentication
IAP Service Instance Configuration
Code Files
Endpoint Configuration (Action & Schema)
Mock Data
Adapter Generic Methods
Headers
Security
Linting and Testing
Build an Adapter
Troubleshooting an Adapter

Others will be added over time. Want to build a new adapter? Use the Itential Adapter Builder

Prerequisites

The following is a list of required packages for installation on the system the adapter will run on:

Node.js
npm
Git

The following list of packages are required for Itential opensource adapters or custom adapters that have been built utilizing the Itential Adapter Builder. You can install these packages by running npm install inside the adapter directory.

PackageDescription
@itentialopensource/adapter-utilsRuntime library classes for all adapters; includes request handling, connection, authentication throttling, and translation.
ajvRequired for validation of adapter properties to integrate with Viptela.
axiosUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
commanderUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
dns-lookup-promiseUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
fs-extraUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
mochaTesting library that is utilized by some of the node scripts that are included with the adapter.
mocha-paramTesting library that is utilized by some of the node scripts that are included with the adapter.
mongodbUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
nycTesting coverage library that is utilized by some of the node scripts that are included with the adapter.
pingUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
readline-syncUtilized by the node script that comes with the adapter; helps to test unit and integration functionality.
semverUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.
winstonUtilized by the node scripts that are included with the adapter; helps to build and extend the functionality.

If you are developing and testing a custom adapter, or have testing capabilities on an Itential opensource adapter, you will need to install these packages as well.

chai
eslint
eslint-config-airbnb-base
eslint-plugin-import
eslint-plugin-json
testdouble

How to Install

  1. Set up the name space location in your IAP node_modules.
cd /opt/pronghorn/current/node_modules (* could be in a different place)
if the @itentialopensource directory does not exist, create it:
    mkdir @itentialopensource
  1. Clone/unzip/tar the adapter into your IAP environment.
cd \@itentialopensource
git clone git@gitlab.com:\@itentialopensource/adapters/adapter-viptela
or
unzip adapter-viptela.zip
or
tar -xvf adapter-viptela.tar
  1. Run the adapter install script.
cd adapter-viptela
npm install
npm run lint:errors
npm run test
  1. Restart IAP
systemctl restart pronghorn
  1. Create an adapter service instance configuration in IAP Admin Essentials GUI

  2. Copy the properties from the sampleProperties.json and paste them into the service instance configuration in the inner/second properties field.

  3. Change the adapter service instance configuration (host, port, credentials, etc) in IAP Admin Essentials GUI

For an easier install of the adapter use npm run adapter:install, it will install the adapter in IAP. Please note that it can be dependent on where the adapter is installed and on the version of IAP so it is subject to fail. If using this, you can replace step 3-5 above with these:

  1. Install adapter dependencies and check the adapter.
cd adapter-viptela
npm run adapter:install
  1. Restart IAP
systemctl restart pronghorn
  1. Change the adapter service instance configuration (host, port, credentials, etc) in IAP Admin Essentials GUI

Testing

Mocha is generally used to test all Itential Opensource Adapters. There are unit tests as well as integration tests performed. Integration tests can generally be run as standalone using mock data and running the adapter in stub mode, or as integrated. When running integrated, every effort is made to prevent environmental failures, however there is still a possibility.

Unit Testing

Unit Testing includes testing basic adapter functionality as well as error conditions that are triggered in the adapter prior to any integration. There are two ways to run unit tests. The prefered method is to use the testRunner script; however, both methods are provided here.

node utils/testRunner --unit

npm run test:unit
npm run test:baseunit

To add new unit tests, edit the test/unit/adapterTestUnit.js file. The tests that are already in this file should provide guidance for adding additional tests.

Integration Testing - Standalone

Standalone Integration Testing requires mock data to be provided with the entities. If this data is not provided, standalone integration testing will fail. When the adapter is set to run in stub mode (setting the stub property to true), the adapter will run through its code up to the point of making the request. It will then retrieve the mock data and return that as if it had received that data as the response from Viptela. It will then translate the data so that the adapter can return the expected response to the rest of the Itential software. Standalone is the default integration test.

Similar to unit testing, there are two ways to run integration tests. Using the testRunner script is better because it prevents you from having to edit the test script; it will also resets information after testing is complete so that credentials are not saved in the file.

node utils/testRunner
  answer no at the first prompt

npm run test:integration

To add new integration tests, edit the test/integration/adapterTestIntegration.js file. The tests that are already in this file should provide guidance for adding additional tests.

Integration Testing

Integration Testing requires connectivity to Viptela. By using the testRunner script it prevents you from having to edit the integration test. It also resets the integration test after the test is complete so that credentials are not saved in the file.

Note: These tests have been written as a best effort to make them work in most environments. However, the Adapter Builder often does not have the necessary information that is required to set up valid integration tests. For example, the order of the requests can be very important and data is often required for creates and updates. Hence, integration tests may have to be enhanced before they will work (integrate) with Viptela. Even after tests have been set up properly, it is possible there are environmental constraints that could result in test failures. Some examples of possible environmental issues are customizations that have been made within Viptela which change order dependencies or required data.

node utils/testRunner
answer yes at the first prompt
answer all other questions on connectivity and credentials

Test should also be written to clean up after themselves. However, it is important to understand that in some cases this may not be possible. In addition, whenever exceptions occur, test execution may be stopped, which will prevent cleanup actions from running. It is recommended that tests be utilized in dev and test labs only.

Reminder: Do not check in code with actual credentials to systems.

Configuration

This section defines all the properties that are available for the adapter, including detailed information on what each property is for. If you are not using certain capabilities with this adapter, you do not need to define all of the properties. An example of how the properties for this adapter can be used with tests or IAP are provided in the sampleProperties.

Example Properties

  "properties": {
    "host": "localhost",
    "port": 443,
    "choosepath": "",
    "base_path": "/dataservice",
    "version": "",
    "cache_location": "none",
    "encode_pathvars": true,
    "encode_queryvars": true,
    "save_metric": false,
    "stub": true,
    "protocol": "https",
    "authentication": {
      "auth_method": "request_token",
      "username": "exampleUsername",
      "password": "examplePassword",
      "token": "",
      "token_timeout": 180000,
      "token_cache": "local",
      "invalid_token_error": 401,
      "auth_field": [
        "header.headers.Cookie",
        "header.headers.X-XSRF-TOKEN",
        "header.headers.Authorization"
      ],
      "auth_field_format": [
        "JSESSIONID={token}",
        "{tokenp2}",
        "Basic {b64}{username}:{password}{/b64}"
      ],
      "auth_logging": false,
      "client_id": "",
      "client_secret": "",
      "grant_type": "",
      "sensitive": [],
      "sso": {
        "protocol": "",
        "host": "",
        "port": 0
      },
      "multiStepAuthCalls": [
        {
          "name": "",
          "requestFields": {},
          "responseFields": {},
          "successfullResponseCode": 200
        }
      ]
    },
    "healthcheck": {
      "type": "none",
      "frequency": 60000,
      "query_object": {},
      "addlHeaders": {}
    },
    "throttle": {
      "throttle_enabled": false,
      "number_pronghorns": 1,
      "sync_async": "sync",
      "max_in_queue": 1000,
      "concurrent_max": 1,
      "expire_timeout": 0,
      "avg_runtime": 200,
      "priorities": [
        {
          "value": 0,
          "percent": 100
        }
      ]
    },
    "request": {
      "number_redirects": 0,
      "number_retries": 3,
      "limit_retry_error": 0,
      "failover_codes": [],
      "attempt_timeout": 10000,
      "global_request": {
        "payload": {},
        "uriOptions": {},
        "addlHeaders": {},
        "authData": {}
      },
      "healthcheck_on_timeout": false,
      "return_raw": false,
      "archiving": false,
      "return_request": false
    },
    "proxy": {
      "enabled": false,
      "host": "",
      "port": 1,
      "protocol": "http",
      "username": "",
      "password": ""
    },
    "ssl": {
      "ecdhCurve": "",
      "enabled": true,
      "accept_invalid_cert": true,
      "ca_file": "",
      "key_file": "",
      "cert_file": "",
      "secure_protocol": "",
      "ciphers": ""
    },
    "mongo": {
      "host": "",
      "port": 0,
      "database": "",
      "username": "",
      "password": "",
      "replSet": "",
      "db_ssl": {
        "enabled": false,
        "accept_invalid_cert": false,
        "ca_file": "",
        "key_file": "",
        "cert_file": ""
      }
    },
    "devicebroker": {
      "enabled": true,
      "getDevice": [
        {
          "path": "/device",
          "method": "GET",
          "query": {},
          "body": {},
          "headers": {},
          "handleFailure": "ignore",
          "requestFields": {},
          "responseDatakey": "data",
          "responseFields": {
            "name": "{host-name}",
            "ostype": "{device-type}",
            "ostypePrefix": "viptela-",
            "port": "{platform}",
            "ipaddress": "{system-ip}"
          }
        }
      ],
      "getDevicesFiltered": [
        {
          "path": "/device",
          "method": "GET",
          "pagination": {
            "offsetVar": "",
            "limitVar": "",
            "incrementBy": "limit",
            "requestLocation": "query"
          },
          "query": {},
          "body": {},
          "headers": {},
          "handleFailure": "ignore",
          "requestFields": {},
          "responseDatakey": "data",
          "responseFields": {
            "name": "{host-name}",
            "ostype": "{device-type}",
            "ostypePrefix": "viptela-",
            "port": "{platform}",
            "ipaddress": "{system-ip}",
            "id": "{deviceId}"
          }
        }
      ],
      "isAlive": [
        {
          "path": "/device",
          "method": "GET",
          "query": {},
          "body": {},
          "headers": {},
          "handleFailure": "ignore",
          "requestFields": {},
          "responseDatakey": "data",
          "responseFields": {
            "status": "{reachability}",
            "statusValue": "reachable"
          }
        }
      ],
      "getConfig": [
        {
          "path": "/device/config",
          "method": "GET",
          "query": {
            "deviceId": "{id}"
          },
          "body": {},
          "headers": {
            "Accept": "*/*"
          },
          "handleFailure": "ignore",
          "requestFields": {
            "id": "{id}"
          },
          "responseDatakey": "",
          "responseFields": {}
        }
      ],
      "getCount": [
        {
          "path": "/device",
          "method": "GET",
          "query": {},
          "body": {},
          "headers": {},
          "handleFailure": "ignore",
          "requestFields": {},
          "responseDatakey": "data",
          "responseFields": {}
        }
      ]
    },
    "cache": {
      "enabled": false,
      "entities": [
        {
          "entityType": "device",
          "frequency": 3600,
          "flushOnFail": false,
          "limit": 1000,
          "retryAttempts": 5,
          "sort": true,
          "populate": [
            {
              "path": "/device",
              "method": "GET",
              "pagination": {
                "offsetVar": "",
                "limitVar": "",
                "incrementBy": "limit",
                "requestLocation": "query"
              },
              "query": {},
              "body": {},
              "headers": {},
              "handleFailure": "ignore",
              "requestFields": {},
              "responseDatakey": "data",
              "responseFields": {
                "name": "{host-name}",
                "ostype": "{device-type}",
                "ostypePrefix": "viptela-",
                "port": "{platform}",
                "ipaddress": "{system-ip}",
                "id": "{deviceId}"
              }
            }
          ],
          "cachedTasks": [
            {
              "name": "",
              "filterField": "",
              "filterLoc": ""
            }
          ]
        }
      ]
    }
  }

Connection Properties

These base properties are used to connect to Viptela upon the adapter initially coming up. It is important to set these properties appropriately.

PropertyDescription
hostRequired. A fully qualified domain name or IP address.
portRequired. Used to connect to the server.
base_pathOptional. Used to define part of a path that is consistent for all or most endpoints. It makes the URIs easier to use and maintain but can be overridden on individual calls. An example **base_path** might be `/rest/api`. Default is ``.
versionOptional. Used to set a global version for action endpoints. This makes it faster to update the adapter when endpoints change. As with the base-path, version can be overridden on individual endpoints. Default is ``.
cache_locationOptional. Used to define where the adapter cache is located. The cache is used to maintain an entity list to improve performance. Storage locally is lost when the adapter is restarted. Storage in Redis is preserved upon adapter restart. Default is none which means no caching of the entity list.
encode_pathvarsOptional. Used to tell the adapter to encode path variables or not. The default behavior is to encode them so this property can be used to stop that behavior.
encode_queryvarsOptional. Used to tell the adapter to encode query parameters or not. The default behavior is to encode them so this property can be used to stop that behavior.
save_metricOptional. Used to tell the adapter to save metric information (this does not impact metrics returned on calls). This allows the adapter to gather metrics over time. Metric data can be stored in a database or on the file system.
stubOptional. Indicates whether the stub should run instead of making calls to Viptela (very useful during basic testing). Default is false (which means connect to Viptela).
protocolOptional. Notifies the adapter whether to use HTTP or HTTPS. Default is HTTP.

A connectivity check tells IAP the adapter has loaded successfully.

Authentication Properties

The following properties are used to define the authentication process to Viptela.

Note: Depending on the method that is used to authenticate with Viptela, you may not need to set all of the authentication properties.

PropertyDescription
auth_methodRequired. Used to define the type of authentication currently supported. Authentication methods currently supported are: `basic user_password`, `static_token`, `request_token`, and `no_authentication`.
usernameUsed to authenticate with Viptela on every request or when pulling a token that will be used in subsequent requests.
passwordUsed to authenticate with Viptela on every request or when pulling a token that will be used in subsequent requests.
tokenDefines a static token that can be used on all requests. Only used with `static_token` as an authentication method (auth\_method).
invalid_token_errorDefines the HTTP error that is received when the token is invalid. Notifies the adapter to pull a new token and retry the request. Default is 401.
token_timeoutDefines how long a token is valid. Measured in milliseconds. Once a dynamic token is no longer valid, the adapter has to pull a new token. If the token_timeout is set to -1, the adapter will pull a token on every request to Viptela. If the timeout_token is 0, the adapter will use the expiration from the token response to determine when the token is no longer valid.
token_cacheUsed to determine where the token should be stored (local memory or in Redis).
auth_fieldDefines the request field the authentication (e.g., token are basic auth credentials) needs to be placed in order for the calls to work.
auth_field_formatDefines the format of the auth\_field. See examples below. Items enclosed in {} inform the adapter to perofrm an action prior to sending the data. It may be to replace the item with a value or it may be to encode the item.
auth_loggingSetting this true will add some additional logs but this should only be done when trying to debug an issue as certain credential information may be logged out when this is true.
client_idProvide a client id when needed, this is common on some types of OAuth.
client_secretProvide a client secret when needed, this is common on some types of OAuth.
grant_typeProvide a grant type when needed, this is common on some types of OAuth.

Examples of authentication field format

"{token}"
"Token {token}"
"{username}:{password}"
"Basic {b64}{username}:{password}{/b64}"

Healthcheck Properties

The healthcheck properties defines the API that runs the healthcheck to tell the adapter that it can reach Viptela. There are currently three types of healthchecks.

  • None - Not recommended. Adapter will not run a healthcheck. Consequently, unable to determine before making a request if the adapter can reach Viptela.
  • Startup - Adapter will check for connectivity when the adapter initially comes up, but it will not check afterwards.
  • Intermittent - Adapter will check connectivity to Viptela at a frequency defined in the frequency property.
PropertyDescription
typeRequired. The type of health check to run.
frequencyRequired if intermittent. Defines how often the health check should run. Measured in milliseconds. Default is 300000.
query_objectQuery parameters to be added to the adapter healthcheck call.

Request Properties

The request section defines properties to help handle requests.

PropertyDescription
number_redirectsOptional. Tells the adapter that the request may be redirected and gives it a maximum number of redirects to allow before returning an error. Default is 0 - no redirects.
number_retriesTells the adapter how many times to retry a request that has either aborted or reached a limit error before giving up and returning an error.
limit_retry_errorOptional. Can be either an integer or an array. Indicates the http error status number to define that no capacity was available and, after waiting a short interval, the adapter can retry the request. If an array is provvided, the array can contain integers or strings. Strings in the array are used to define ranges (e.g. "502-506"). Default is [0].
failover_codesAn array of error codes for which the adapter will send back a failover flag to IAP so that the Platform can attempt the action in another adapter.
attempt_timeoutOptional. Tells how long the adapter should wait before aborting the attempt. On abort, the adapter will do one of two things: 1) return the error; or 2) if **healthcheck\_on\_timeout** is set to true, it will abort the request and run a Healthcheck until it re-establishes connectivity to Viptela, and then will re-attempt the request that aborted. Default is 5000 milliseconds.
global_requestOptional. This is information that the adapter can include in all requests to the other system. This is easier to define and maintain than adding this information in either the code (adapter.js) or the action files.
global_request -> payloadOptional. Defines any information that should be included on all requests sent to the other system that have a payload/body.
global_request -> uriOptionsOptional. Defines any information that should be sent as untranslated query options (e.g. page, size) on all requests to the other system.
global_request -> addlHeadersOptioonal. Defines any headers that should be sent on all requests to the other system.
global_request -> authDataOptional. Defines any additional authentication data used to authentice with the other system. This authData needs to be consistent on every request.
healthcheck_on_timeoutRequired. Defines if the adapter should run a health check on timeout. If set to true, the adapter will abort the request and run a health check until it re-establishes connectivity and then it will re-attempt the request.
return_rawOptional. Tells the adapter whether the raw response should be returned as well as the IAP response. This is helpful when running integration tests to save mock data. It does add overhead to the response object so it is not ideal from production.
archivingOptional flag. Default is false. It archives the request, the results and the various times (wait time, Viptela time and overall time) in the `adapterid_results` collection in MongoDB. Although archiving might be desirable, be sure to develop a strategy before enabling this capability. Consider how much to archive and what strategy to use for cleaning up the collection in the database so that it does not become too large, especially if the responses are large.
return_requestOptional flag. Default is false. Will return the actual request that is made including headers. This should only be used during debugging issues as there could be credentials in the actual request.

SSL Properties

The SSL section defines the properties utilized for ssl authentication with Viptela. SSL can work two different ways: set the accept\_invalid\_certs flag to true (only recommended for lab environments), or provide a ca\_file.

PropertyDescription
enabledIf SSL is required, set to true.
accept_invalid_certsDefines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false.
ca_fileDefines the path name to the CA file used for SSL. If SSL is enabled and the accept invalid certifications is false, then ca_file is required.
key_fileDefines the path name to the Key file used for SSL. The key_file may be needed for some systems but it is not required for SSL.
cert_fileDefines the path name to the Certificate file used for SSL. The cert_file may be needed for some systems but it is not required for SSL.
secure_protocolDefines the protocol (e.g., SSLv3_method) to use on the SSL request.
ciphersRequired if SSL enabled. Specifies a list of SSL ciphers to use.
ecdhCurveDuring testing on some Node 8 environments, you need to set `ecdhCurve` to auto. If you do not, you will receive PROTO errors when attempting the calls. This is the only usage of this property and to our knowledge it only impacts Node 8 and 9.

Throttle Properties

The throttle section is used when requests to Viptela must be queued (throttled). All of the properties in this section are optional.

PropertyDescription
throttle_enabledDefault is false. Defines if the adapter should use throttling or not.
number_pronghornsDefault is 1. Defines if throttling is done in a single Itential instance or whether requests are being throttled across multiple Itential instances (minimum = 1, maximum = 20). Throttling in a single Itential instance uses an in-memory queue so there is less overhead. Throttling across multiple Itential instances requires placing the request and queue information into a shared resource (e.g. database) so that each instance can determine what is running and what is next to run. Throttling across multiple instances requires additional I/O overhead.
sync-asyncThis property is not used at the current time (it is for future expansion of the throttling engine).
max_in_queueRepresents the maximum number of requests the adapter should allow into the queue before rejecting requests (minimum = 1, maximum = 5000). This is not a limit on what the adapter can handle but more about timely responses to requests. The default is currently 1000.
concurrent_maxDefines the number of requests the adapter can send to Viptela at one time (minimum = 1, maximum = 1000). The default is 1 meaning each request must be sent to Viptela in a serial manner.
expire_timeoutDefault is 0. Defines a graceful timeout of the request session. After a request has completed, the adapter will wait additional time prior to sending the next request. Measured in milliseconds (minimum = 0, maximum = 60000).
average_runtimeRepresents the approximate average of how long it takes Viptela to handle each request. Measured in milliseconds (minimum = 50, maximum = 60000). Default is 200. This metric has performance implications. If the runtime number is set too low, it puts extra burden on the CPU and memory as the requests will continually try to run. If the runtime number is set too high, requests may wait longer than they need to before running. The number does not need to be exact but your throttling strategy depends heavily on this number being within reason. If averages range from 50 to 250 milliseconds you might pick an average run-time somewhere in the middle so that when Viptela performance is exceptional you might run a little slower than you might like, but when it is poor you still run efficiently.
prioritiesAn array of priorities and how to handle them in relation to the throttle queue. Array of objects that include priority value and percent of queue to put the item ex { value: 1, percent: 10 }

Proxy Properties

The proxy section defines the properties to utilize when Viptela is behind a proxy server.

PropertyDescription
enabledRequired. Default is false. If Viptela is behind a proxy server, set enabled flag to true.
hostHost information for the proxy server. Required if `enabled` is true.
portPort information for the proxy server. Required if `enabled` is true.
protocolThe protocol (i.e., http, https, etc.) used to connect to the proxy. Default is http.
usernameIf there is authentication for the proxy, provide the username here.
passwordIf there is authentication for the proxy, provide the password here.

Mongo Properties

The mongo section defines the properties used to connect to a Mongo database. Mongo can be used for throttling as well as to persist metric data. If not provided, metrics will be stored in the file system.

PropertyDescription
hostOptional. Host information for the mongo server.
portOptional. Port information for the mongo server.
databaseOptional. The database for the adapter to use for its data.
usernameOptional. If credentials are required to access mongo, this is the user to login as.
passwordOptional. If credentials are required to access mongo, this is the password to login with.
replSetOptional. If the database is set up to use replica sets, define it here so it can be added to the database connection.
db_sslOptional. Contains information for SSL connectivity to the database.
db_ssl -> enabledIf SSL is required, set to true.
db_ssl -> accept_invalid_certDefines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false.
db_ssl -> ca_fileDefines the path name to the CA file used for SSL. If SSL is enabled and the accept invalid certifications is false, then ca_file is required.
db_ssl -> key_fileDefines the path name to the Key file used for SSL. The key_file may be needed for some systems but it is not required for SSL.
db_ssl -> cert_fileDefines the path name to the Certificate file used for SSL. The cert_file may be needed for some systems but it is not required for SSL.

Device Broker Properties

The device broker section defines the properties used integrate Viptela to the device broker. Each broker call is represented and has an array of calls that can be used to build the response. This describes the calls and then the fields which are available in the calls.

PropertyDescription
getDeviceThe array of calls used to get device details for the broker
getDevicesFilteredThe array of calls used to get devices for the broker
isAliveThe array of calls used to get device status for the broker
getConfigThe array of calls used to get device configuration for the broker
getCountThe array of calls used to get device configuration for the broker
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> pathThe path, not including the base_path and version, for making this call
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> methodThe rest method for making this call
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> queryQuery object containing and query parameters and their values for this call
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> bodyBody object containing the payload for this call
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> headersHeader object containing the headers for this call.
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> handleFailureTells the adapter whether to "fail" or "ignore" failures if they occur.
isAlive -> statusValueTells the adapter what value to look for in the status field to determine if the device is alive.
getDevice/getDevicesFiltered/isAlive/getConfig -> requestFieldsObject containing fields the adapter should send on the request and where it should get the data. The where can be from a response to a getDevicesFiltered or a static value.
getDevice/getDevicesFiltered/isAlive/getConfig -> responseFieldsObject containing fields the adapter should set to send back to iap and where the value should come from in the response or request data.

Using this Adapter

The adapter.js file contains the calls the adapter makes available to the rest of the Itential Platform. The API detailed for these calls should be available through JSDOC. The following is a brief summary of the calls.

Generic Adapter Calls

These are adapter methods that IAP or you might use. There are some other methods not shown here that might be used for internal adapter functionality.

Method SignatureDescriptionWorkflow?
connect()This call is run when the Adapter is first loaded by he Itential Platform. It validates the properties have been provided correctly.No
healthCheck(callback)This call ensures that the adapter can communicate with Adapter for Viptela. The actual call that is used is defined in the adapter properties and .system entities action.json file.No
refreshProperties(properties)This call provides the adapter the ability to accept property changes without having to restart the adapter.No
encryptProperty(property, technique, callback)This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for Viptela.No
iapUpdateAdapterConfiguration(configFile, changes, entity, type, action, callback)This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.Yes
iapSuspendAdapter(mode, callback)This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.Yes
iapUnsuspendAdapter(callback)This call provides the ability to resume a suspended adapter. Any requests in queue will be processed before new requests.Yes
iapGetAdapterQueue(callback)This call will return the requests that are waiting in the queue if throttling is enabled.Yes
iapFindAdapterPath(apiPath, callback)This call provides the ability to see if a particular API path is supported by the adapter.Yes
iapTroubleshootAdapter(props, persistFlag, adapter, callback)This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.Yes
iapRunAdapterHealthcheck(adapter, callback)This call will return the results of a healthcheck.Yes
iapRunAdapterConnectivity(callback)This call will return the results of a connectivity check.Yes
iapRunAdapterBasicGet(callback)This call will return the results of running basic get API calls.Yes
iapMoveAdapterEntitiesToDB(callback)This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.Yes
iapDeactivateTasks(tasks, callback)This call provides the ability to remove tasks from the adapter.Yes
iapActivateTasks(tasks, callback)This call provides the ability to add deactivated tasks back into the adapter.Yes
iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.Yes
genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.Yes
genericAdapterRequestNoBasePath(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)This call is the same as the genericAdapterRequest only it does not add a base_path or version to the call.Yes
iapRunAdapterLint(callback)Runs lint on the addapter and provides the information back.Yes
iapRunAdapterTests(callback)Runs baseunit and unit tests on the adapter and provides the information back.Yes
iapGetAdapterInventory(callback)This call provides some inventory related information about the adapter.Yes

Adapter Cache Calls

These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.

Method SignatureDescriptionWorkflow?
iapPopulateEntityCache(entityTypes, callback)This call populates the adapter cache.Yes
iapRetrieveEntitiesCache(entityType, options, callback)This call retrieves the specific items from the adapter cache.Yes

Adapter Broker Calls

These are adapter methods that are used to integrate to IAP Brokers. This adapter currently supports the following broker calls.

Method SignatureDescriptionWorkflow?
hasEntities(entityType, entityList, callback)This call is utilized by the IAP Device Broker to determine if the adapter has a specific entity and item of the entity.No
getDevice(deviceName, callback)This call returns the details of the requested device.No
getDevicesFiltered(options, callback)This call returns the list of devices that match the criteria provided in the options filter.No
isAlive(deviceName, callback)This call returns whether the device status is activeNo
getConfig(deviceName, format, callback)This call returns the configuration for the selected device.No
iapGetDeviceCount(callback)This call returns the count of devices.No

Specific Adapter Calls

Specific adapter calls are built based on the API of the Viptela. The Adapter Builder creates the proper method comments for generating JS-DOC for the adapter. This is the best way to get information on the calls.

Method SignatureDescriptionPathWorkflow?
getStatisticsinterface(query, callback)Get raw data{base_path}/{version}/statistics/interface?{query}Yes
postStatisticsinterface(body, callback)Get raw data{base_path}/{version}/statistics/interface?{query}Yes
getStatisticsinterfaceaggregation(query, callback)Get raw data{base_path}/{version}/statistics/interface/aggregation?{query}Yes
postStatisticsinterfaceaggregation(body, callback)Get raw data{base_path}/{version}/statistics/interface/aggregation?{query}Yes
getStatisticsinterfacecsv(query, callback)Get raw data as CSV{base_path}/{version}/statistics/interface/csv?{query}Yes
getStatisticsinterfacedoccount(query, callback)Get response count of a query{base_path}/{version}/statistics/interface/doccount?{query}Yes
postStatisticsinterfacedoccount(body, callback)Get response count of a query{base_path}/{version}/statistics/interface/doccount?{query}Yes
getStatisticsinterfacefields(callback)Get fields and type{base_path}/{version}/statistics/interface/fields?{query}Yes
getStatisticsinterfacepage(query, scrollId, count, callback)Get raw data{base_path}/{version}/statistics/interface/page?{query}Yes
postStatisticsinterfacepage(body, scrollId, count, callback)Get raw data{base_path}/{version}/statistics/interface/page?{query}Yes
getStatisticsinterfacequeryfields(callback)Get query fields{base_path}/{version}/statistics/interface/query/fields?{query}Yes
getDatadevicestatestateDataType(stateDataType, startId, count, callback)Retrieve device state data{base_path}/{version}/data/device/state/{pathv1}?{query}Yes
getDatadevicestatestateDataTypefields(stateDataType, callback)Retrieve device state data fileds{base_path}/{version}/data/device/state/{pathv1}/fields?{query}Yes
getDatadevicestatestateDataTypequery(stateDataType, callback)Retrieve device state data fileds{base_path}/{version}/data/device/state/{pathv1}/query?{query}Yes
getDevices(callback)Retrieve list of all devices{base_path}/{version}/device?{query}Yes
getDeviceconfig(deviceId, callback)Retrieve device running configuration{base_path}/{version}/device/config?{query}Yes
getDeviceconfightml(deviceId, callback)Retrieve device running configuration in HTML{base_path}/{version}/device/config/html?{query}Yes
getDevicecounters(callback)Retrieve device counters{base_path}/{version}/device/counters?{query}Yes
getDevicedevicestatus(callback)Retrieve device status{base_path}/{version}/device/devicestatus?{query}Yes
getDevicehardwarehealthdetail(callback)Retrieve detailed hardware health{base_path}/{version}/device/hardwarehealth/detail?{query}Yes
getDevicehardwarehealthsummary(isCached, callback)Retrieve hardware health summary{base_path}/{version}/device/hardwarehealth/summary?{query}Yes
getDevicekeyvalue(callback)Retrieve device list as key/value pairs{base_path}/{version}/device/keyvalue?{query}Yes
getDevicemodels(list, callback)Retrieve all device models{base_path}/{version}/device/models?{query}Yes
getDevicemodelsuuid(uuid, callback)Retrieve the device model for the device{base_path}/{version}/device/models/{pathv1}?{query}Yes
getDevicemonitor(callback)Retrieve all device monitoring details{base_path}/{version}/device/monitor?{query}Yes
getDevicequeues(callback)Retrieve synchronized queue information{base_path}/{version}/device/queues?{query}Yes
getDevicereachable(callback)Retrieve list of reachable devices{base_path}/{version}/device/reachable?{query}Yes
getDevicestats(callback)Retrieve synchronized queue information{base_path}/{version}/device/stats?{query}Yes
getDevicestatus(callback)Retrieve device status{base_path}/{version}/device/status?{query}Yes
getDevicesyncStatus(groupId, callback)Retrieve list of currently syncing devices{base_path}/{version}/device/sync_status?{query}Yes
postDevicesyncallmemorydb(callback)Synchronize memory database for all devices{base_path}/{version}/device/syncall/memorydb?{query}Yes
getDevicetloc(callback)Retrieve TLOC status{base_path}/{version}/device/tloc?{query}Yes
getDevicetlocutil(callback)Retrieve TLOC list{base_path}/{version}/device/tlocutil?{query}Yes
getDevicetlocutildetail(callback)Retrieve detailed TLOC list{base_path}/{version}/device/tlocutil/detail?{query}Yes
getDeviceunreachable(callback)Retrieve list of unreachable devices{base_path}/{version}/device/unreachable?{query}Yes
deleteDeviceunreachabledeviceIP(deviceIP, callback)Delete unreachable device{base_path}/{version}/device/unreachable/{pathv1}?{query}Yes
getDevicevedgeinventorydetail(callback)Retrieve detailed vEdge inventory{base_path}/{version}/device/vedgeinventory/detail?{query}Yes
getDevicevedgeinventorysummary(callback)Retrieve vEdge inventory{base_path}/{version}/device/vedgeinventory/summary?{query}Yes
getDevicevmanage(callback)Retrieve vManage configuration{base_path}/{version}/device/vmanage?{query}Yes
getDeviceactionchangepartition(deviceId, callback)Retrieve change partition information{base_path}/{version}/device/action/changepartition?{query}Yes
postDeviceactionchangepartition(body, callback)Process change partition operation{base_path}/{version}/device/action/changepartition?{query}Yes
postDeviceactiondefaultpartition(body, callback)Process marking default partition operation{base_path}/{version}/device/action/defaultpartition?{query}Yes
getDeviceactionfiltervpn(callback)Create VPN list{base_path}/{version}/device/action/filter/vpn?{query}Yes
getDeviceactioninstall(deviceId, callback)Generate install info{base_path}/{version}/device/action/install?{query}Yes
postDeviceactioninstall(body, callback)Process an installation operation{base_path}/{version}/device/action/install?{query}Yes
getDeviceactioninstalldevicesdeviceType(deviceType, groupId, callback)Retrieve list of installed devices{base_path}/{version}/device/action/install/devices/{pathv1}?{query}Yes
getDeviceactionlist(callback)Retrieve list of device actions{base_path}/{version}/device/action/list?{query}Yes
getDeviceactionreboot(deviceId, callback)Retrieve reboot information{base_path}/{version}/device/action/reboot?{query}Yes
postDeviceactionreboot(body, callback)Process a reboot operation{base_path}/{version}/device/action/reboot?{query}Yes
getDeviceactionrebootdevicesdeviceType(deviceType, groupId, callback)Retrieve list of rebooted devices{base_path}/{version}/device/action/reboot/devices/{pathv1}?{query}Yes
getDeviceactionrediscover(callback)Retrieve rediscover operation information{base_path}/{version}/device/action/rediscover?{query}Yes
postDeviceactionrediscover(body, callback)Rediscover device{base_path}/{version}/device/action/rediscover?{query}Yes
postDeviceactionrediscoverall(callback)Rediscover device{base_path}/{version}/device/action/rediscoverall?{query}Yes
getDeviceactionremovepartition(deviceId, callback)Retrieve remove partition information{base_path}/{version}/device/action/removepartition?{query}Yes
postDeviceactionremovepartition(body, callback)Process remove partition operation{base_path}/{version}/device/action/removepartition?{query}Yes
getDeviceactionstartmonitor(callback)Triggers global monitoring thread{base_path}/{version}/device/action/startmonitor?{query}Yes
postDeviceactionuniquevpnlist(body, callback)Create VPN list{base_path}/{version}/device/action/uniquevpnlist?{query}Yes
getDeviceactionvpn(callback)Create VPN list{base_path}/{version}/device/action/vpn?{query}Yes
getDeviceactionztpupgrade(body, callback)Process ZTP upgrade configuration.{base_path}/{version}/device/action/ztp/upgrade?{query}Yes
postDeviceactionztpupgrade(body, callback)Process ZTP upgrade configuration.{base_path}/{version}/device/action/ztp/upgrade?{query}Yes
getDeviceactionztpupgradesetting(body, callback)Process ZTP upgrade configuration.{base_path}/{version}/device/action/ztp/upgrade/setting?{query}Yes
postDeviceactionztpupgradesetting(body, callback)Process ZTP upgrade configuration.{base_path}/{version}/device/action/ztp/upgrade/setting?{query}Yes
activateVsmartPolicy(policyId, body, callback)Activate a vSmart controller policy by policy ID{base_path}/{version}/template/policy/vsmart/activate/{pathv1}?{query}Yes
deactivateVsmartPolicy(policyId, callback)Deactivate a vSmart controller policy by policy ID{base_path}/{version}/template/policy/vsmart/deactivate/{pathv1}?{query}Yes
getDeviceVsmartStatus(policyId, callback)Display the status of device vSmart policy{base_path}/{version}/device/action/status/{pathv1}?{query}Yes
getVsmartPolicyList(callback)Display the vSmart policy list{base_path}/{version}/template/policy/vsmart?{query}Yes
generateDeviceTemplateInput(body, callback)Get raw data{base_path}/{version}/template/device/config/input?{query}Yes
previewDeviceTemplateConfiguration(body, callback)Get raw data{base_path}/{version}/template/device/config/config?{query}Yes
attachDeviceTemplateCli(body, callback)Get raw data{base_path}/{version}/template/device/config/attachcli?{query}Yes
attachDeviceTemplateFeature(body, callback)Get raw data{base_path}/{version}/template/device/config/attachfeature?{query}Yes
detachDeviceTemplateCli(body, callback)Get raw data{base_path}/{version}/template/config/device/mode/cli?{query}Yes
getDeviceList(masterTemplateId, callback)getDeviceList{base_path}/{version}/template/device/config/available/{pathv1}?{query}Yes
pushMixTemplate(body, callback)pushMixTemplate{base_path}/{version}/template/device/config/attachment?{query}Yes
getAttachedConfigToDevice(deviceId, callback)getAttachedConfigToDevice{base_path}/{version}/template/device/config/attachedconfig?{query}Yes
pushMasterTemplate(body, callback)pushMasterTemplate{base_path}/{version}/template/device/config/attachfeature?{query}Yes
getAttachedDeviceList(masterTemplateId, callback)getAttachedDeviceList{base_path}/{version}/template/device/config/attached/{pathv1}?{query}Yes
createInputWithoutDevice(body, callback)createInputWithoutDevice{base_path}/{version}/template/device/config/exportcsv?{query}Yes
getDeviceConfigurationPreview(body, callback)getDeviceConfigurationPreview{base_path}/{version}/template/device/config/config?{query}Yes
processInputCommaSepFile(callback)processInputCommaSepFile{base_path}/{version}/template/device/config/process/input/file?{query}Yes
validateTemplate(body, callback)validateTemplate{base_path}/{version}/template/device/config/verify?{query}Yes
pushCloudxConfig(body, callback)pushCloudxConfig{base_path}/{version}/template/device/config/attachcloudx?{query}Yes
editCloudxConfig(body, callback)editCloudxConfig{base_path}/{version}/template/device/config/attachcloudx?{query}Yes
detachSites(body, callback)detachSites{base_path}/{version}/template/device/config/detachcloudx?{query}Yes
getDevicesWithDuplicateIP(body, callback)getDevicesWithDuplicateIP{base_path}/{version}/template/device/config/duplicateip?{query}Yes
pushCLITemplate(body, callback)pushCLITemplate{base_path}/{version}/template/device/config/attachcli?{query}Yes
detachDeviceTemplate(body, callback)detachDeviceTemplate{base_path}/{version}/template/device/config/detach?{query}Yes
createDeviceInput(body, callback)createDeviceInput{base_path}/{version}/template/device/config/input?{query}Yes
checkVbond(callback)checkVbond{base_path}/{version}/template/device/config/vbond?{query}Yes
generateTemplateList(summary, callback)generateTemplateList{base_path}/{version}/template/feature?{query}Yes
createTemplate(body, callback)createTemplate{base_path}/{version}/template/feature?{query}Yes
getTemplate(templateId, callback)getTemplate{base_path}/{version}/template/feature/object/{pathv1}?{query}Yes
editTemplate(templateId, body, callback)editTemplate{base_path}/{version}/template/feature/{pathv1}?{query}Yes
deleteTemplate(templateId, callback)deleteTemplate{base_path}/{version}/template/feature/{pathv1}?{query}Yes
editLITemplate(templateId, body, callback)editLITemplate{base_path}/{version}/template/feature/li/{pathv1}?{query}Yes
createLITemplate(body, callback)createLITemplate{base_path}/{version}/template/feature/li?{query}Yes
listLITemplate(callback)listLITemplate{base_path}/{version}/template/feature/li?{query}Yes
generateTemplateByDeviceType(deviceType, callback)generateTemplateByDeviceType{base_path}/{version}/template/feature/{pathv1}?{query}Yes
getTemplateDefinition(templateId, callback)getTemplateDefinition{base_path}/{version}/template/feature/definition/{pathv1}?{query}Yes
generateTemplateTypes(callback)generateTemplateTypes{base_path}/{version}/template/feature/types?{query}Yes
generateTemplateTypeDefinition(typeName, version, callback)generateTemplateTypeDefinition{base_path}/{version}/template/feature/types/definition/{pathv1}/{pathv2}?{query}Yes
generateMasterTemplateDefinition(typeName, callback)generateMasterTemplateDefinition{base_path}/{version}/template/feature/master/{pathv1}?{query}Yes
getDeviceTemplatesAttachedToFeature(templateId, callback)getDeviceTemplatesAttachedToFeature{base_path}/{version}/template/feature/devicetemplates/{pathv1}?{query}Yes
generateMasterTemplateList(feature, callback)generateMasterTemplateList{base_path}/{version}/template/device?{query}Yes
editMasterTemplate(templateId, body, callback)editMasterTemplate{base_path}/{version}/template/device/{pathv1}?{query}Yes
createVSmartTemplate(body, callback)createVSmartTemplate{base_path}/{version}/template/policy/vsmart?{query}Yes
getTemplateByPolicyId(policyId, callback)getTemplateByPolicyId{base_path}/{version}/template/policy/vsmart/definition/{pathv1}?{query}Yes
editVSmartTemplate(policyId, body, callback)editVSmartTemplate{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}Yes
deleteVSmartTemplate(policyId, callback)deleteVSmartTemplate{base_path}/{version}/template/policy/vsmart/{pathv1}?{query}Yes
resetVedgeCloud(uuid, callback)resetVedgeCloud{base_path}/{version}/system/device/reset/{pathv1}?{query}Yes
generateBootstrapConfigForVedges(body, callback)generateBootstrapConfigForVedges{base_path}/{version}/system/device/bootstrap/devices?{query}Yes
decommissionVedgeCloud(uuid, callback)decommissionVedgeCloud{base_path}/{version}/system/device/decommission/{pathv1}?{query}Yes
generateBootstrapConfigForVedge(uuid, configtype = 'cloudinit', callback)generateBootstrapConfigForVedge{base_path}/{version}/system/device/bootstrap/device/{pathv1}?{query}Yes
getBootstrapConfigZip(id, callback)getBootstrapConfigZip{base_path}/{version}/system/device/bootstrap/download/{pathv1}?{query}Yes
formPost(callback)formPost{base_path}/{version}/system/device/fileupload?{query}Yes
getDevicesDetails(deviceCategory = 'vedges', model, state = 'tokengenerated', uuid, deviceIP, validity = 'valid', callback)getDevicesDetails{base_path}/{version}/system/device/{pathv1}?{query}Yes
createDevice(body, callback)createDevice{base_path}/{version}/system/device?{query}Yes
getManagementSystemIPInfo(callback)getManagementSystemIPInfo{base_path}/{version}/system/device/management/systemip?{query}Yes
deleteDevice(uuid, callback)deleteDevice{base_path}/{version}/system/device/{pathv1}?{query}Yes
editDevice(uuid, body, callback)editDevice{base_path}/{version}/system/device/{pathv1}?{query}Yes
getControllerVEdgeSyncStatus(callback)getControllerVEdgeSyncStatus{base_path}/{version}/system/device/controllers/vedge/status?{query}Yes
getRootCertStatusAll(state = 'pending', callback)getRootCertStatusAll{base_path}/{version}/system/device/rootcertchain/status?{query}Yes
syncDevices(body, callback)syncDevices{base_path}/{version}/system/device/smartaccount/sync?{query}Yes
getCloudDockDataBasedOnDeviceType(deviceCategory = 'vedges', callback)getCloudDockDataBasedOnDeviceType{base_path}/{version}/system/device/type/{pathv1}?{query}Yes
getOutOfSyncTemplates(callback)getOutOfSyncTemplates{base_path}/{version}/template/device/syncstatus?{query}Yes
getOutOfSyncDevices(templateId, callback)getOutOfSyncDevices{base_path}/{version}/template/device/syncstatus/{pathv1}?{query}Yes
createMasterTemplate(body, callback)createMasterTemplate{base_path}/{version}/template/device/feature?{query}Yes
createCLITemplate(body, callback)createCLITemplate{base_path}/{version}/template/device/cli?{query}Yes
getMasterTemplateDefinition(templateId, callback)getMasterTemplateDefinition{base_path}/{version}/template/device/object/{pathv1}?{query}Yes
getRunningConfig(deviceUUID, callback)getRunningConfig{base_path}/{version}/template/config/running/{pathv1}?{query}Yes
uploadConfig(deviceUUID, body, callback)uploadConfig{base_path}/{version}/template/config/attach/{pathv1}?{query}Yes
getAttachedConfig(deviceUUID, type, callback)getAttachedConfig{base_path}/{version}/template/config/attached/{pathv1}?{query}Yes
getConfigDiff(deviceUUID, callback)getConfigDiff{base_path}/{version}/template/config/diff/{pathv1}?{query}Yes
generateCLIModeDevices(type = 'vedge', callback)generateCLIModeDevices{base_path}/{version}/template/config/device/mode/cli?{query}Yes
updateDeviceToCLIMode(body, callback)updateDeviceToCLIMode{base_path}/{version}/template/config/device/mode/cli?{query}Yes
generatevManageModeDevices(type = 'vedge', callback)generatevManageModeDevices{base_path}/{version}/template/config/device/mode/vmanage?{query}Yes
getCompatibleDevices(oldDeviceUUID, callback)getCompatibleDevices{base_path}/{version}/template/config/rmalist/{pathv1}?{query}Yes
getVpnForDevice(uuid, callback)getVpnForDevice{base_path}/{version}/template/config/vpn/{pathv1}?{query}Yes
rmaUpdate(body, callback)rmaUpdate{base_path}/{version}/template/config/rmaupdate?{query}Yes
deActivatePolicy(policyId, callback)deActivatePolicy{base_path}/{version}/template/policy/vsmart/deactivate/{pathv1}?{query}Yes
activatePolicy(policyId, body, callback)activatePolicy{base_path}/{version}/template/policy/vsmart/activate/{pathv1}?{query}Yes
checkVSmartConnectivityStatus(callback)checkVSmartConnectivityStatus{base_path}/{version}/template/policy/vsmart/connectivity/status?{query}Yes
applicationAwareRoutingStatistics(body, callback)applicationAwareRoutingStatistics{base_path}/{version}/statistics/approute/fec/aggregation?{query}Yes
getColoGroups(callback)Get COLO groups{base_path}/{version}/admin/cologroup?{query}Yes
createColoGroup(body, callback)Add COLO group{base_path}/{version}/admin/cologroup?{query}Yes
editColoGroup(id, body, callback)Update COLO group{base_path}/{version}/admin/cologroup/{pathv1}?{query}Yes
deleteColoGroup(id, callback)Delete COLO group{base_path}/{version}/admin/cologroup/{pathv1}?{query}Yes
findUsers(callback)Get all users{base_path}/{version}/admin/user?{query}Yes
createUser(body, callback)Create a user{base_path}/{version}/admin/user?{query}Yes
getActiveSessions(callback)Get active sessions{base_path}/{version}/admin/user/activeSessions?{query}Yes
validatePassword(body, callback)Validate user password{base_path}/{version}/admin/user/password/validate?{query}Yes
updatePassword(userName, body, callback)Update user password{base_path}/{version}/admin/user/password/{pathv1}?{query}Yes
updateProfilePassword(body, callback)Update profile password{base_path}/{version}/admin/user/profile/password?{query}Yes
removeSessions(body, callback)Remove sessions{base_path}/{version}/admin/user/removeSessions?{query}Yes
resetUser(body, callback)Unlock a user{base_path}/{version}/admin/user/reset?{query}Yes
findUserRole(callback)Check whether a user has admin role{base_path}/{version}/admin/user/role?{query}Yes
findUserAuthType(callback)Find user authentication type, whether it is SAML enabled{base_path}/{version}/admin/user/userAuthType?{query}Yes
updateUser(userName, body, callback)Update user{base_path}/{version}/admin/user/{pathv1}?{query}Yes
deleteUser(userName, callback)Delete user{base_path}/{version}/admin/user/{pathv1}?{query}Yes
findUserGroups(callback)Get all user groups{base_path}/{version}/admin/usergroup?{query}Yes
createUserGroup(body, callback)Create user group{base_path}/{version}/admin/usergroup?{query}Yes
createGroupGridColumns(callback)Get user groups in a grid table{base_path}/{version}/admin/usergroup/definition?{query}Yes
findUserGroupsAsKeyValue(callback)Get user groups as key value map{base_path}/{version}/admin/usergroup/keyvalue?{query}Yes
updateUserGroup(userGroupId, body, callback)Update user group{base_path}/{version}/admin/usergroup/{pathv1}?{query}Yes
deleteUserGroup(userGroupId, callback)Delete user group{base_path}/{version}/admin/usergroup/{pathv1}?{query}Yes
getVpnGroups(callback)Get VPN groups{base_path}/{version}/admin/vpngroup?{query}Yes
createVpnGroup(body, callback)Add VPN group{base_path}/{version}/admin/vpngroup?{query}Yes
editVpnGroup(id, body, callback)Update VPN group{base_path}/{version}/admin/vpngroup/{pathv1}?{query}Yes
deleteVpnGroup(id, callback)Delete VPN group{base_path}/{version}/admin/vpngroup/{pathv1}?{query}Yes
getAlarms(query, callback)Get alarms for last 30min if vManage query is not specified{base_path}/{version}/alarms?{query}Yes
getRawAlarmData(body, callback)Gets lists of alarms along with the raw alarm data of each.{base_path}/{version}/alarms?{query}Yes
getAlarmAggregationData(query, callback)Gets aggregated list of alarms along with the raw alarm data of each aggregation{base_path}/{version}/alarms/aggregation?{query}Yes
getPostAlarmAggregationData(body, callback)Gets aggregated list of alarms along with the raw alarm data of each aggregation{base_path}/{version}/alarms/aggregation?{query}Yes
clearStaleAlarm(body, callback)Clears specific stale alarm{base_path}/{version}/alarms/clear?{query}Yes
getNonViewedActiveAlarmsCount(callback)Get count of the alarms which are active and acknowledged by the user{base_path}/{version}/alarms/count?{query}Yes
listDisabledAlarm(callback)List all disabled alarms{base_path}/{version}/alarms/disabled?{query}Yes
disableEnableAlarm(eventName, disable, time, body, callback)Enable/Disable a specific alarm{base_path}/{version}/alarms/disabled?{query}Yes
getCount1(query, callback)Get response count of a query{base_path}/{version}/alarms/doccount?{query}Yes
getCountPost1(body, callback)Get response count of a query{base_path}/{version}/alarms/doccount?{query}Yes
getStatDataFields1(callback)Get fields and type{base_path}/{version}/alarms/fields?{query}Yes
markAllAlarmsAsViewed(type, body, callback)Mark all larms as acknowledged by the user{base_path}/{version}/alarms/markallasviewed?{query}Yes
markAlarmsAsViewed(body, callback)Mark alarms as acknowledged by the user{base_path}/{version}/alarms/markviewed?{query}Yes
getNonViewedAlarms(callback)Get alarms which are active and acknowledged by the user{base_path}/{version}/alarms/notviewed?{query}Yes
getStatBulkAlarmRawData(query, scrollId, count, callback)Get paginated alarm raw data{base_path}/{version}/alarms/page?{query}Yes
getPostStatBulkAlarmRawData(scrollId, count, body, callback)Get paginated alarm raw data{base_path}/{version}/alarms/page?{query}Yes
setPeriodicPurgeTimer(interval, activeTime, callback)Set alarm purge timer{base_path}/{version}/alarms/purgefrequency?{query}Yes
getStatQueryFields1(callback)Get query fields{base_path}/{version}/alarms/query/fields?{query}Yes
createAlarmQueryConfig(callback)Get query configuration{base_path}/{version}/alarms/query/input?{query}Yes
correlAntiEntropy(callback)Reset correlation engine data{base_path}/{version}/alarms/reset?{query}Yes
restartCorrelationEngine(callback)Restart correlation engine{base_path}/{version}/alarms/restart?{query}Yes
getAlarmTypesAsKeyValue(callback)Gets alarm type as key value pair{base_path}/{version}/alarms/rulenamedisplay/keyvalue?{query}Yes
getAlarmsBySeverity(severityLevel = 'major', deviceId, query, callback)Get alarm by severity{base_path}/{version}/alarms/severity?{query}Yes
getAlarmSeverityCustomHistogram(query, callback)Get alarm severity histogram{base_path}/{version}/alarms/severity/summary?{query}Yes
getAlarmSeverityMappings(callback)Gets alarm severity mappings{base_path}/{version}/alarms/severitymappings?{query}Yes
startTracking(testName, callback)Start tracking events{base_path}/{version}/alarms/starttracking/{pathv1}?{query}Yes
getStats(callback)Get alarm statistics{base_path}/{version}/alarms/stats?{query}Yes
stopTracking(testName, callback)Stop tracking events{base_path}/{version}/alarms/stoptracking/{pathv1}?{query}Yes
getAlarmDetails(alarmUuid, callback)Get alarm detail{base_path}/{version}/alarms/uuid/{pathv1}?{query}Yes
updateNotificationRule(ruleId, body, callback)Update notification rule{base_path}/{version}/notifications/rule?{query}Yes
createNotificationRule(body, callback)Add notification rule{base_path}/{version}/notifications/rule?{query}Yes
getNotificationRule(ruleId, callback)Get all rules or specific notification rule by its Id{base_path}/{version}/notifications/rules?{query}Yes
deleteNotificationRule(ruleId, callback)Delete notification rule{base_path}/{version}/notifications/rules?{query}Yes
getStatDataRawAuditLogData(inputQuery, callback)Get stat raw data{base_path}/{version}/auditlog?{query}Yes
getRawPropertyData(body, callback)Get raw property data with post action{base_path}/{version}/auditlog?{query}Yes
getPropertyAggregationData(inputQuery, callback)Get raw property data aggregated{base_path}/{version}/auditlog/aggregation?{query}Yes
getPostPropertyAggregationData(body, callback)Get raw property data aggregated with post action{base_path}/{version}/auditlog/aggregation?{query}Yes
getAuditCount(query, callback)Get response count of a query{base_path}/{version}/auditlog/doccount?{query}Yes
getAuditCountPost(body, callback)Get response count of a query{base_path}/{version}/auditlog/doccount?{query}Yes
getStatDataFields(callback)Get fields and type{base_path}/{version}/auditlog/fields?{query}Yes
getStatBulkRawPropertyData(inputQuery, scrollId, count, callback)Get raw property data in bulk{base_path}/{version}/auditlog/page?{query}Yes
getPostStatBulkRawPropertyData(scrollId, count, body, callback)Get raw property data in bulk with post action{base_path}/{version}/auditlog/page?{query}Yes
getStatQueryFields(callback)Get query fields{base_path}/{version}/auditlog/query/fields?{query}Yes
generateAuditLog(query, callback)Get audit logs for last 3 hours{base_path}/{version}/auditlog/severity?{query}Yes
getAuditSeverityCustomHistogram(query, callback)Get audit log severity histogram{base_path}/{version}/auditlog/severity/summary?{query}Yes
deleteSchduledBackup(taskId, backupInfoId, callback)Delete all or a specific backup file stored in vManage{base_path}/{version}/backup/backupinfo?{query}Yes
getLocalBackupInfo(localBackupInfoId, callback)Get a localBackupInfo record by localBackupInfoId{base_path}/{version}/backup/backupinfo/{pathv1}?{query}Yes
downloadBackupFile(pathParam, callback)Download a Backup File that is already stored in vManage{base_path}/{version}/backup/download/{pathv1}?{query}Yes
listBackup(size, callback)List all backup files of a tenant stored in vManage{base_path}/{version}/backup/list?{query}Yes
importScheduledBackup(callback)Submit a previously backed up file and import the data and apply it to the configuraion database{base_path}/{version}/restore/import?{query}Yes
remoteImportBackup(body, callback)Remote import backup from a remote URL and import the data and apply it to the configuraion database{base_path}/{version}/restore/remoteimport?{query}Yes
listSchedules(limit, callback)Get a schedule record for backup by scheduler id{base_path}/{version}/schedule/list?{query}Yes
getScheduleRecordForBackup(schedulerId, callback)Get a schedule record for backup by scheduler id{base_path}/{version}/schedule/{pathv1}?{query}Yes
deleteSchedule(schedulerId, callback)Delete a schedule record for backup in vManage by scheduler id{base_path}/{version}/schedule/{pathv1}?{query}Yes
exportBackup(body, callback)Trigger a backup of configuration database and statstics database and store it in vManage{base_path}/{version}/backup/export?{query}Yes
getCertDetails(body, callback)Get cert details{base_path}/{version}/certificate/certdetails?{query}Yes
getCSRViewRightMenus(callback)Get CSR detail view{base_path}/{version}/certificate/csr/details?{query}Yes
getDeviceViewRightMenus(callback)Get device detail view{base_path}/{version}/certificate/device/details?{query}Yes
getDevicesList(callback)Get vEdge list{base_path}/{version}/certificate/device/list?{query}Yes
forceSyncRootCert(body, callback)Force sync root certificate Note: In a multitenant vManage system, this API is only available in{base_path}/{version}/certificate/forcesync/rootCert?{query}Yes
generateCSR(body, callback)Generate CSR Note: In a multitenant vManage system, this API is only available in the Provider an{base_path}/{version}/certificate/generate/csr?{query}Yes
generateEnterpriseCSR(body, callback)Generate CSR Note: In a multitenant vManage system, this API is only available in the Provider an{base_path}/{version}/certificate/generate/enterprise/csr/vedge?{query}Yes
installCertificate(body, callback)Install singed certificate Note: In a multitenant vManage system, this API is only available in t{base_path}/{version}/certificate/install/signedCert?{query}Yes
getListStatus(callback)get certificate{base_path}/{version}/certificate/list/status?{query}Yes
getCertificateData(callback)Get certificate chain{base_path}/{version}/certificate/record?{query}Yes
resetRSA(body, callback)Register CSR Note: In a multitenant vManage system, this API is only available in the Provider an{base_path}/{version}/certificate/reset/rsa?{query}Yes
decommissionEnterpriseCSRForVedge(body, callback)Revoking enterprise CSR for hardware vEdge Note: In a multitenant vManage system, this API is onl{base_path}/{version}/certificate/revoke/enterprise/certificate?{query}Yes
getRootCertChains(action = 'get', callback)Get root cert chain{base_path}/{version}/certificate/rootcertchains?{query}Yes
saveRootCertChain(body, callback)Save root cert chain Note: In a multitenant vManage system, this API is only available in the Pro{base_path}/{version}/certificate/rootcertchains?{query}Yes
getRootCertificate(callback)Get device root certificate detail view{base_path}/{version}/certificate/rootcertificate?{query}Yes
saveVEdgeList(body, callback)Save vEdge device list{base_path}/{version}/certificate/save/vedge/list?{query}Yes
getCertificateDetail(callback)Get certificate detail{base_path}/{version}/certificate/stats/detail?{query}Yes
getCertificateStats(callback)Get certificate expiration status{base_path}/{version}/certificate/stats/summary?{query}Yes
syncvBond(callback)sync vManage UUID to all vBond{base_path}/{version}/certificate/syncvbond?{query}Yes
getvEdgeList(model = 'vedge-cloud', state, callback)Get vEdge list{base_path}/{version}/certificate/vedge/list?{query}Yes
setvEdgeList(body, callback)Save vEdge list{base_path}/{version}/certificate/vedge/list?{query}Yes
getView(callback)Get certificate UI view{base_path}/{version}/certificate/view?{query}Yes
getvSmartList(callback)Get vSmart list Note: In a multitenant vManage system, this API is only available in the Provider{base_path}/{version}/certificate/vsmart/list?{query}Yes
setvSmartList(callback)Save vSmart list{base_path}/{version}/certificate/vsmart/list?{query}Yes
deleteConfiguration(uuid, replaceController, deviceId, callback)Invalidate device Note: In a multitenant vManage system, this API is only available in the Provid{base_path}/{version}/certificate/{pathv1}?{query}Yes
getSelfSignedCert(callback)get self signed certificate{base_path}/{version}/certificate/vmanage/selfsignedcert?{query}Yes
getProxyCertOfEdge(deviceId, callback)Get edge proxy certificate{base_path}/{version}/sslproxy/certificate?{query}Yes
updateCertificate(body, callback)Upload device certificate{base_path}/{version}/sslproxy/certificate?{query}Yes
addWANEdge(deviceId, body, callback)Add SSL proxy wan edge{base_path}/{version}/sslproxy/certificate/wanedge/{pathv1}?{query}Yes
uploadCertificiates(bodyFormData, callback)Upload device certificates{base_path}/{version}/sslproxy/certificates?{query}Yes
getSslProxyCSR(deviceId, callback)Get SSL proxy CSR{base_path}/{version}/sslproxy/csr?{query}Yes
getAllDeviceCertificates(body, callback)Get certificate for all cEdges{base_path}/{version}/sslproxy/devicecertificates?{query}Yes
getAllDeviceCSR(body, callback)Get CSR for all cEdges{base_path}/{version}/sslproxy/devicecsr?{query}Yes
generateSslProxyCSR(body, callback)CSR request SSL proxy for edge{base_path}/{version}/sslproxy/generate/csr/sslproxy?{query}Yes
generateSSLProxyCSR(body, callback)Generate CSR{base_path}/{version}/sslproxy/generate/vmanage/csr?{query}Yes
getSslProxyList(callback)Get SSL proxy certificate list{base_path}/{version}/sslproxy/list?{query}Yes
renewCertificate(body, callback)Renew device certificate{base_path}/{version}/sslproxy/renew?{query}Yes
revokeCertificate(body, callback)Revoke device certificate{base_path}/{version}/sslproxy/revoke?{query}Yes
revokeRenewCertificate(body, callback)Revoke and renew device certificate{base_path}/{version}/sslproxy/revokerenew?{query}Yes
getCertificateState(callback)Get certificate state{base_path}/{version}/sslproxy/settings/certificate?{query}Yes
getEnterpriseCertificate(callback)Get enterprise certificate{base_path}/{version}/sslproxy/settings/enterprise/certificate?{query}Yes
setEnterpriseCert(body, callback)Configure enterprise certificate{base_path}/{version}/sslproxy/settings/enterprise/certificate?{query}Yes
getVManageEnterpriseRootCertificate(callback)Get vManage enterprise root certificate{base_path}/{version}/sslproxy/settings/enterprise/rootca?{query}Yes
setEnterpriseRootCaCert(body, callback)Set vManage enterprise root certificate{base_path}/{version}/sslproxy/settings/enterprise/rootca?{query}Yes
getvManageCertificate(callback)Get vManage intermediate certificate{base_path}/{version}/sslproxy/settings/vmanage/certificate?{query}Yes
setvManageintermediateCert(body, callback)Set vManage root certificate{base_path}/{version}/sslproxy/settings/vmanage/certificate?{query}Yes
getvManageCSR(callback)Get vManage CSR{base_path}/{version}/sslproxy/settings/vmanage/csr?{query}Yes
getvManageRootCA(callback)Get vManage root certificate{base_path}/{version}/sslproxy/settings/vmanage/rootca?{query}Yes
setvManageRootCA(body, callback)Set vManage root certificate{base_path}/{version}/sslproxy/settings/vmanage/rootca?{query}Yes
getAccessTokenforDevice(callback)getAccessTokenforDevice{base_path}/{version}/cloudservices/accesstoken?{query}Yes
getAzureToken(body, callback)Get Azure token{base_path}/{version}/cloudservices/authtoken?{query}Yes
systemconnect(callback)Telemetry Opt In{base_path}/{version}/cloudservices/connect?{query}Yes
getCloudCredentials(callback)Get cloud service credentials{base_path}/{version}/cloudservices/credentials?{query}Yes
addCloudCredentials(body, callback)Get cloud service settings{base_path}/{version}/cloudservices/credentials?{query}Yes
getDeviceCode(callback)Get Azure device code{base_path}/{version}/cloudservices/devicecode?{query}Yes
isStaging(callback)Check if testbed or production{base_path}/{version}/cloudservices/staging?{query}Yes
getTelemetryState(callback)Get Telemetry state{base_path}/{version}/cloudservices/telemetry?{query}Yes
optIn(body, callback)Telemetry Opt In{base_path}/{version}/cloudservices/telemetry/optin?{query}Yes
optOut(body, callback)Telemetry Opt Out{base_path}/{version}/cloudservices/telemetry/optout?{query}Yes
getCloudSettings(callback)Get cloud service settings{base_path}/{version}/dca/cloudservices?{query}Yes
getOTP(callback)Get cloud service OTP value{base_path}/{version}/dca/cloudservices/otp?{query}Yes
updatetOTP(body, callback)Update cloud service OTP value{base_path}/{version}/dca/cloudservices/otp?{query}Yes
listEntityOwnershipInfo(callback)List all entity ownership info{base_path}/{version}/entityownership/list?{query}Yes
entityOwnershipInfo(callback)Entity ownership info grouped by buckets{base_path}/{version}/entityownership/tree?{query}Yes
checkIfClusterLocked(callback)Check whether cluster is locked Note: In a multitenant vManage system, this API is only available{base_path}/{version}/clusterManagement/clusterLocked?{query}Yes
configureVmanage(body, callback)Configure vManage Note: In a multitenant vManage system, this API is only available in the Provid{base_path}/{version}/clusterManagement/configure?{query}Yes
getConnectedDevices(vmanageIP, callback)Get connected device for vManage Note: In a multitenant vManage system, this API is only availabl{base_path}/{version}/clusterManagement/connectedDevices/{pathv1}?{query}Yes
enableSDAVC(callback)Enable SDAVC Note: In a multitenant vManage system, this API is only available in the Provider vi{base_path}/{version}/clusterManagement/enableSDAVC?{query}Yes
healthDetails(callback)Get cluster health check details Note: In a multitenant vManage system, this API is only availabl{base_path}/{version}/clusterManagement/health/details?{query}Yes
healthStatusInfo(callback)Get cluster health check details Note: In a multitenant vManage system, this API is only availabl{base_path}/{version}/clusterManagement/health/status?{query}Yes
healthSummary(isCached, callback)Get cluster health check summary Note: In a multitenant vManage system, this API is only availabl{base_path}/{version}/clusterManagement/health/summary?{query}Yes
getConfiguredIPList(vmanageID, callback)Get configured IP addresses Note: In a multitenant vManage system, this API is only available in{base_path}/{version}/clusterManagement/iplist/{pathv1}?{query}Yes
isClusterReady(callback)Is cluster ready Note: In a multitenant vManage system, this API is only available in the Provide{base_path}/{version}/clusterManagement/isready?{query}Yes
listVmanages(callback)List vManages in the cluster Note: In a multitenant vManage system, this API is only available in{base_path}/{version}/clusterManagement/list?{query}Yes
nodeProperties(callback)Get properties of vManage being added to cluster Note: In a multitenant vManage system, this API{base_path}/{version}/clusterManagement/nodeProperties?{query}Yes
removeVmanage(body, callback)Remove vManage from cluster Note: In a multitenant vManage system, this API is only available in{base_path}/{version}/clusterManagement/remove?{query}Yes
performReplicationAndRebalanceOfKafkaPartitions(callback)Initiate replication and rebalance of kafka topics Note: In a multitenant vManage system, this AP{base_path}/{version}/clusterManagement/replicateAndRebalance?{query}Yes
resetSDAVCNode(body, callback)Reset SDAVC on the vManage node Note: In a multitenant vManage system, this API is only available{base_path}/{version}/clusterManagement/resetSDAVC?{query}Yes
editVmanage(body, callback)Update vManage cluster info Note: In a multitenant vManage system, this API is only available in{base_path}/{version}/clusterManagement/setup?{query}Yes
addVmanage(body, callback)Add vManage to cluster{base_path}/{version}/clusterManagement/setup?{query}Yes
getTenancyMode(callback)Get vManage tenancy mode Note: In a multitenant vManage system, this API is only available in the{base_path}/{version}/clusterManagement/tenancy/mode?{query}Yes
setTenancyMode(body, callback)Update vManage tenancy mode{base_path}/{version}/clusterManagement/tenancy/mode?{query}Yes
getTenantsList(callback)Get tenant list Note: In a multitenant vManage system, this API is only available in the Provider{base_path}/{version}/clusterManagement/tenantList?{query}Yes
updateReplicationFactorForKafkaTopics(callback)Update replication factor for each kakfa topic Note: In a multitenant vManage system, this API is{base_path}/{version}/clusterManagement/updateReplicationFactor?{query}Yes
addOrUpdateUserCredentials(body, callback)Add or update user credentials for cluster operations Note: In a multitenant vManage system, this{base_path}/{version}/clusterManagement/userCreds?{query}Yes
getVManageDetails(vmanageIP, callback)Get vManage detail Note: In a multitenant vManage system, this API is only available in the Provi{base_path}/{version}/clusterManagement/vManage/details/{pathv1}?{query}Yes
getConnectedDevicesPerTenant(tenantId, vmanageIP, callback)Get connected device for vManage for a tenant Note: In a multitenant vManage system, this API is{base_path}/{version}/clusterManagement/{pathv1}/connectedDevices/{pathv2}?{query}Yes
getCloudDockClusterDetail(clusterName, callback)Get details of all existing Clusters{base_path}/{version}/colocation/cluster?{query}Yes
updateCloudDockCluster(body, callback)Update a existing cluster{base_path}/{version}/colocation/cluster?{query}Yes
createCloudDockCluster(body, callback)Add a new cluster{base_path}/{version}/colocation/cluster?{query}Yes
acitvateCloudDockCluster(clusterName, callback)Activate a cluster{base_path}/{version}/colocation/cluster/activate?{query}Yes
dummyccm(clusterName, callback)Activate dummp cluster{base_path}/{version}/colocation/cluster/activateClusterDummy?{query}Yes
dummycspState(clusterName, state, callback)Activate cluster in a state{base_path}/{version}/colocation/cluster/activateClusterDummyState?{query}Yes
updateCspToCluster(body, callback)Update attached csp to cluster{base_path}/{version}/colocation/cluster/attached/csp?{query}Yes
cloudDockClusterPreview(serialNumber, callback)Clouddock cluster preview{base_path}/{version}/colocation/cluster/config?{query}Yes
deAcitvateCloudDockCluster(clusterId, callback)Deactivate clouddock cluster{base_path}/{version}/colocation/cluster/deactivate?{query}Yes
getCloudDockClusterDetailById(clusterId, callback)Get cluster by Id{base_path}/{version}/colocation/cluster/id?{query}Yes
deleteCloudDockClusterByName(clustername, callback)Delete cluster by name{base_path}/{version}/colocation/cluster/{pathv1}?{query}Yes
getClusterDetailsByClusterId(clusterId, callback)Provide details of ids of existing clusters{base_path}/{version}/colocation/monitor/cluster?{query}Yes
getClusterConfigByClusterId(clusterId, callback)Provide details of devices of clusters{base_path}/{version}/colocation/monitor/cluster/config?{query}Yes
getClusterPortMappingByClusterId(clusterId, callback)Provide details of port mappings in the cluster{base_path}/{version}/colocation/monitor/cluster/portView?{query}Yes
getDeviceDetailByDeviceId(deviceId, callback)List details for Device{base_path}/{version}/colocation/monitor/device?{query}Yes
getSystemStatusByDeviceId(deviceId, callback)List all connected VNF to a device{base_path}/{version}/colocation/monitor/device/system?{query}Yes
getvnfByDeviceId(deviceId, callback)List all VNF attached with Device{base_path}/{version}/colocation/monitor/device/vnf?{query}Yes
listNetworkFunctionMap(callback)Retrieve network function listing{base_path}/{version}/colocation/monitor/networkfunction/listmap?{query}Yes
getpnfDetails(clusterId, callback)List all PNF by cluster Id{base_path}/{version}/colocation/monitor/pnf?{query}Yes
getPNFConfig(pnfSerialNumber, clusterId, callback)List configuration of PNF{base_path}/{version}/colocation/monitor/pnf/configuration?{query}Yes
getServiceChainDetails(clusterId, userGroupName, callback)List all service chain or service chains by Id{base_path}/{version}/colocation/monitor/servicechain?{query}Yes
getServiceGroupByClusterId(clusterId, callback)List all attached serviceGroups to cluster{base_path}/{version}/colocation/monitor/servicegroup?{query}Yes
getvnfDetails(clusterId, userGroupName, callback)Provide details of all existing VNF{base_path}/{version}/colocation/monitor/vnf?{query}Yes
vnfActions(vmName, action, callback)VNF action{base_path}/{version}/colocation/monitor/vnf/action?{query}Yes
getVNFEventsCountDetail(userGroup, callback)Get event detail of VNF{base_path}/{version}/colocation/monitor/vnf/alarms?{query}Yes
getVNFAlarmCount(userGroup, callback)Get event detail of VNF{base_path}/{version}/colocation/monitor/vnf/alarms/count?{query}Yes
getVNFEventsDetail(vnfName, callback)Get event detail of VNF{base_path}/{version}/colocation/monitor/vnf/events?{query}Yes
getVNFInterfaceDetail(vnfName, deviceIp, deviceClass, callback)Get interface detail of VNF{base_path}/{version}/colocation/monitor/vnf/interface?{query}Yes
attachServiceChain(body, callback)Attach service chain to cluster{base_path}/{version}/colocation/servicechain/attach?{query}Yes
detachServiceChain(body, callback)Detach service chain{base_path}/{version}/colocation/servicechain/detach?{query}Yes
getEdgeDevices(callback)Get edge devices{base_path}/{version}/colocation/servicechain/edge/devices?{query}Yes
getpnfDevices(pnfDeviceType, callback)Get PNF edge devices{base_path}/{version}/colocation/servicechain/edge/pnfdevices?{query}Yes
getServiceChain(serviceGroupName, callback)Get service chain by name{base_path}/{version}/colocation/servicegroup?{query}Yes
updateServiceGroupCluster(body, callback)Update service group{base_path}/{version}/colocation/servicegroup?{query}Yes
createServiceGroupCluster(body, callback)Add new service group{base_path}/{version}/colocation/servicegroup?{query}Yes
getServiceGroupInCluster(clusterId, userGroupName, callback)Get service chains in cluster{base_path}/{version}/colocation/servicegroup/attached?{query}Yes
getDefaultChain(callback)Get default service chains{base_path}/{version}/colocation/servicegroup/servicechain/default?{query}Yes
getAvailableChains(callback)Get all service chains{base_path}/{version}/colocation/servicegroup/servicechains?{query}Yes
deleteServiceGroupCluster(name, callback)Delete service group{base_path}/{version}/colocation/servicegroup/{pathv1}?{query}Yes
activateContainerOnRemoteHost(containerName, url, hostIp, checksum, callback)Activate container on remote host{base_path}/{version}/container-manager/activate/{pathv1}?{query}Yes
deActivateContainer(containerName, hostIp, callback)Deactivate container on remote host{base_path}/{version}/container-manager/deactivate/{pathv1}?{query}Yes
doesValidImageExist(containerName, callback)Get container image checksum{base_path}/{version}/container-manager/doesValidImageExist/{pathv1}?{query}Yes
getContainerInspectData(containerName, hostIp, callback)Get container inspect data{base_path}/{version}/container-manager/inspect/{pathv1}?{query}Yes
getContainerSettings(containerName, hostIp, callback)Get container settings{base_path}/{version}/container-manager/settings/{pathv1}?{query}Yes
getChecksum(callback)Get container image checksum{base_path}/{version}/sdavc/checksum?{query}Yes
getCustomApp(callback)Displays the user-defined applications{base_path}/{version}/sdavc/customapps?{query}Yes
activateContainer(taskId, body, callback)Activate container{base_path}/{version}/sdavc/task/{pathv1}?{query}Yes
testLoadBalancer(callback)Test SD_AVC load balancer{base_path}/{version}/sdavc/test?{query}Yes
setBlockSync(blockSync, callback)Set collection manager block set flag{base_path}/{version}/device/blockSync?{query}Yes
enableSDAVCOnDevice(deviceIP, enable, callback)Enable/Disable SDAVC on device{base_path}/{version}/device/enableSDAVC/{pathv1}/{pathv2}?{query}Yes
getStatisticsType(callback)Get statistics types{base_path}/{version}/data/device/statistics?{query}Yes
getActiveAlarms(scrollId, startDate, endDate, count, timeZone, callback)Get active alarms{base_path}/{version}/data/device/statistics/alarm/active?{query}Yes
generateDeviceStatisticsData(stateDataType, scrollId, startDate, endDate, count, timeZone, callback)Get device statistics data{base_path}/{version}/data/device/statistics/{pathv1}?{query}Yes
getCountWithStateDataType(stateDataType, startDate, endDate, timeZone, callback)Get response count of a query{base_path}/{version}/data/device/statistics/{pathv1}/doccount?{query}Yes
getStatDataFieldsByStateDataType(stateDataType, callback)Get statistics fields and types{base_path}/{version}/data/device/statistics/{pathv1}/fields?{query}Yes
createStats(body, callback)Get statistics data{base_path}/{version}/dca/analytics?{query}Yes
getAllStatsDataDCA(body, callback)Get all statistics setting data{base_path}/{version}/dca/analytics/all?{query}Yes
getAccessToken(callback)Get DCA access token{base_path}/{version}/dca/cloudservices/accesstoken?{query}Yes
storeAccessToken(body, callback)Set DCA access token{base_path}/{version}/dca/cloudservices/accesstoken?{query}Yes
generateAlarm(body, callback)Generate DCA alarms{base_path}/{version}/dca/cloudservices/alarm?{query}Yes
getIdToken(callback)Get DCA Id token{base_path}/{version}/dca/cloudservices/idtoken?{query}Yes
storeIdToken(body, callback)Set DCA Id token{base_path}/{version}/dca/cloudservices/idtoken?{query}Yes
getTelemetrySettings(callback)Get DCA telemetry settings{base_path}/{version}/dca/cloudservices/telemetry?{query}Yes
generateDCADeviceStateData(stateDataType, body, callback)Get device state data{base_path}/{version}/dca/data/device/state/{pathv1}?{query}Yes
generateDCADeviceStatisticsData(statsDataType, body, callback)Get device statistics data{base_path}/{version}/dca/data/device/statistics/{pathv1}?{query}Yes
getDCATenantOwners(callback)Get DCA tenant owners{base_path}/{version}/dca/dcatenantowners?{query}Yes
listAllDevicesDCA(body, callback)Get all devices{base_path}/{version}/dca/device?{query}Yes
getCrashLogs(body, callback)Get crash log{base_path}/{version}/dca/device/crashlog/details?{query}Yes
getCrashLogsSynced(deviceId, callback)Get device crash log{base_path}/{version}/dca/device/crashlog/synced?{query}Yes
getCloudServicesConfigurationDCA(callback)Get DCA cloud service configuration{base_path}/{version}/dca/settings/configuration/cloudservices/dca?{query}Yes
createDCAAnalyticsDataFile(type = 'analytics', body, callback)Create analytics config data{base_path}/{version}/dca/settings/configuration/{pathv1}/dca?{query}Yes
getStatsDBIndexStatus(body, callback)Get statistics setting status{base_path}/{version}/dca/statistics/settings/status?{query}Yes
getDevicesDetailsDCA(body, callback)Get device details{base_path}/{version}/dca/system/device?{query}Yes
getDCAAttachedConfigToDevice(body, callback)Get attached config to device{base_path}/{version}/dca/template/device/config/attachedconfig?{query}Yes
getTemplatePolicyDefinitionsDCA(body, callback)Get template policy definitions{base_path}/{version}/dca/template/policy/definition/approute?{query}Yes
getVPNListsDCA(body, callback)Get VPN details{base_path}/{version}/dca/template/policy/list/vpn?{query}Yes
getVedgeTemplateListDCA(body, callback)Get vEdge template list{base_path}/{version}/dca/template/policy/vedge?{query}Yes
getVsmartTemplateListDCA(body, callback)Get vSmart template list{base_path}/{version}/dca/template/policy/vsmart?{query}Yes
getAAAUsers(deviceId, callback)Get AAA users from device (Real Time){base_path}/{version}/device/aaa/users?{query}Yes
getACLMatchCounterUsers(deviceId, callback)Get ACL match counters from device (Real Time){base_path}/{version}/device/acl/matchcounter?{query}Yes
getUnclaimedVedges(deviceId, callback)Get unclaimed vEdges from vbond{base_path}/{version}/device/unclaimed/vedges?{query}Yes
getUsersFromDevice(deviceId, callback)Get users from device (Real Time){base_path}/{version}/device/users?{query}Yes
getAllDeviceUsers(deviceId, callback)Get all users from device{base_path}/{version}/device/users/list?{query}Yes
processLxcActivate(body, callback)Process an activation operation{base_path}/{version}/device/action/lxcactivate?{query}Yes
processLxcDelete(body, callback)Process a delete operation{base_path}/{version}/device/action/lxcdelete?{query}Yes
processLxcInstall(body, callback)Process an installation operation{base_path}/{version}/device/action/lxcinstall?{query}Yes
processLxcReload(body, callback)Process a reload operation{base_path}/{version}/device/action/lxcreload?{query}Yes
processLxcReset(body, callback)Process a reset operation{base_path}/{version}/device/action/lxcreset?{query}Yes
processLxcUpgrade(body, callback)Process an upgrade operation{base_path}/{version}/device/action/lxcupgrade?{query}Yes
processDeleteAmpApiKey(uuid, callback)Process amp api key deletion operation{base_path}/{version}/device/action/security/amp/apikey/{pathv1}?{query}Yes
processAmpApiReKey(body, callback)Process amp api re-key operation{base_path}/{version}/device/action/security/amp/rekey?{query}Yes
testApiKey(uuid, callback)Get API key from device{base_path}/{version}/device/action/security/apikey/{pathv1}?{query}Yes
generateSecurityDevicesList(policyType = 'zoneBasedFW', groupId, callback)Get list of devices by security policy type{base_path}/{version}/device/action/security/devices/{pathv1}?{query}Yes
testIoxConfig(deviceIP, callback)testIoxConfig{base_path}/{version}/device/action/test/ioxconfig/{pathv1}?{query}Yes
processVnfInstall(body, callback)Process an installation operation{base_path}/{version}/device/action/vnfinstall?{query}Yes
findSoftwareImages(callback)Get software images{base_path}/{version}/device/action/software?{query}Yes
createImageURL(body, callback)Create software image URL{base_path}/{version}/device/action/software?{query}Yes
getImageProperties(versionId, callback)Get Image Properties{base_path}/{version}/device/action/software/imageProperties/{pathv1}?{query}Yes
findSoftwareImagesWithFilters(imageType, vnfType, callback)Get software images{base_path}/{version}/device/action/software/images?{query}Yes
getPnfProperties(pnfType, callback)Get PNF Properties{base_path}/{version}/device/action/software/pnfproperties/{pathv1}?{query}Yes
findVEdgeSoftwareVersion(callback)Get vEdge software version{base_path}/{version}/device/action/software/vedge/version?{query}Yes
findSoftwareVersion(callback)Get software version{base_path}/{version}/device/action/software/version?{query}Yes
getVnfProperties(versionId, callback)Get VNF Properties{base_path}/{version}/device/action/software/vnfproperties/{pathv1}?{query}Yes
findZtpSoftwareVersion(callback)Get ZTP software version{base_path}/{version}/device/action/software/ztp/version?{query}Yes
updateImageURL(versionId, body, callback)Update software image URL{base_path}/{version}/device/action/software/{pathv1}?{query}Yes
deleteImageURL(versionId, callback)Delete software image URL{base_path}/{version}/device/action/software/{pathv1}?{query}Yes
installPkg(callback)Install software package{base_path}/{version}/device/action/software/package?{query}Yes
getUploadImagesCount(imageType, callback)Number of software image presented in vManage repository{base_path}/{version}/device/action/software/package/imageCount?{query}Yes
downloadPackageFile(fileName, imageType, callback)Download software package file{base_path}/{version}/device/action/software/package/{pathv1}?{query}Yes
processSoftwareImage(imageType, callback)Install software image package{base_path}/{version}/device/action/software/package/{pathv1}?{query}Yes
getFileContents(uuid, callback)Get bootstrap file contents{base_path}/{version}/device/action/software/package/custom/file/{pathv1}?{query}Yes
editConfigFile(uuid, body, callback)Edit bootstrap file{base_path}/{version}/device/action/software/package/custom/file/{pathv1}?{query}Yes
uploadImageFile(type = 'image', callback)Upload virtual image/bootstrap file{base_path}/{version}/device/action/software/package/custom/uploads/{pathv1}?{query}Yes
createVnfPackage(body, callback)Create VNF custom package{base_path}/{version}/device/action/software/package/custom/vnfPackage?{query}Yes
cancelPendingTasks(processId, callback)Bulk cancel task status{base_path}/{version}/device/action/status/cancel/{pathv1}?{query}Yes
cleanStatus(cleanStatus, callback)Delete task and status vertex{base_path}/{version}/device/action/status/clean?{query}Yes
deleteStatus(processId, callback)Delete status of action{base_path}/{version}/device/action/status/clear?{query}Yes
findRunningTasks(callback)Find running tasks{base_path}/{version}/device/action/status/tasks?{query}Yes
getActiveTaskCount(callback)Get active task count{base_path}/{version}/device/action/status/tasks/activeCount?{query}Yes
getCleanStatus(processId, callback)Delete task and status vertex{base_path}/{version}/device/action/status/tasks/clean?{query}Yes
getFeatureList(deviceId, callback)Get feature lists from device (Real Time){base_path}/{version}/device/featurelist?{query}Yes
getSyncedFeatureList(deviceId, callback)Get feature lists synchronously from device{base_path}/{version}/device/featurelist/synced?{query}Yes
getStatDataRawData16(query, callback)Get stats raw data{base_path}/{version}/device/history?{query}Yes
getStatsRawData16(body, callback)Get stats raw data{base_path}/{version}/device/history?{query}Yes
getAggregationDataByQuery16(query, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/device/history/aggregation?{query}Yes
getPostAggregationDataByQuery15(body, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/device/history/aggregation?{query}Yes
getLastThousandConfigList(deviceId, query, callback)Get device config history{base_path}/{version}/device/history/config?{query}Yes
getDeviceConfig(configId, callback)Get device config{base_path}/{version}/device/history/config/{pathv1}?{query}Yes
getStatDataRawDataAsCSV16(query, callback)Get raw data with optional query as CSV{base_path}/{version}/device/history/csv?{query}Yes
getCount18(query, callback)Get response count of a query{base_path}/{version}/device/history/doccount?{query}Yes
getCountPost18(body, callback)Get response count of a query{base_path}/{version}/device/history/doccount?{query}Yes
getStatDataFields18(callback)Get fields and type{base_path}/{version}/device/history/fields?{query}Yes
getStatBulkRawData16(query, scrollId, count, callback)Get stats raw data{base_path}/{version}/device/history/page?{query}Yes
getPostStatBulkRawData16(scrollId, count, body, callback)Get stats raw data{base_path}/{version}/device/history/page?{query}Yes
getStatQueryFields18(callback)Get query fields{base_path}/{version}/device/history/query/fields?{query}Yes
createAdminTech(body, callback)Generate admin tech logs{base_path}/{version}/device/tools/admintech?{query}Yes
downloadAdminTechFile(filename, callback)Download admin tech logs{base_path}/{version}/device/tools/admintech/download/{pathv1}?{query}Yes
deleteAdminTechFile(requestID, callback)Delete admin tech logs{base_path}/{version}/device/tools/admintech/{pathv1}?{query}Yes
listAdminTechs(callback)Get device admin-tech information{base_path}/{version}/device/tools/admintechs?{query}Yes
npingDevice(deviceIP, body, callback)NPing device{base_path}/{version}/device/tools/nping/{pathv1}?{query}Yes
pingDevice(deviceIP, body, callback)Ping device{base_path}/{version}/device/tools/ping/{pathv1}?{query}Yes
processPortHopColor(deviceIP, body, callback)Request port hop color{base_path}/{version}/device/tools/porthopcolor/{pathv1}?{query}Yes
processInterfaceReset(deviceIP, body, callback)Reset device interface{base_path}/{version}/device/tools/reset/interface/{pathv1}?{query}Yes
processResetUser(deviceIP, body, callback)Request reset user{base_path}/{version}/device/tools/resetuser/{pathv1}?{query}Yes
servicePath(deviceIP, body, callback)Service path{base_path}/{version}/device/tools/servicepath/{pathv1}?{query}Yes
tracerouteDevice(deviceIP, body, callback)Traceroute{base_path}/{version}/device/tools/traceroute/{pathv1}?{query}Yes
tunnelPath(deviceIP, body, callback)TunnelPath{base_path}/{version}/device/tools/tunnelpath/{pathv1}?{query}Yes
getControlConnections(uuid, callback)Troubleshoot control connections{base_path}/{version}/troubleshooting/control/{pathv1}?{query}Yes
getDeviceConfiguration(uuid, callback)Debug device bring up{base_path}/{version}/troubleshooting/devicebringup?{query}Yes
getDBSchema(callback)Get the current database schema{base_path}/{version}/diagnostics/dbschema?{query}Yes
getThreadPools(callback)Get information on the threadpools{base_path}/{version}/diagnostics/threadpools?{query}Yes
getStatDataRawData23(query, callback)Get stats raw data{base_path}/{version}/statistics/speedtest?{query}Yes
getStatsRawData23(body, callback)Get stats raw data{base_path}/{version}/statistics/speedtest?{query}Yes
getAggregationDataByQuery23(query, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/statistics/speedtest/aggregation?{query}Yes
getPostAggregationDataByQuery22(body, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/statistics/speedtest/aggregation?{query}Yes
getStatDataRawDataAsCSV23(query, callback)Get raw data with optional query as CSV{base_path}/{version}/statistics/speedtest/csv?{query}Yes
getCount25(query, callback)Get response count of a query{base_path}/{version}/statistics/speedtest/doccount?{query}Yes
getCountPost25(body, callback)Get response count of a query{base_path}/{version}/statistics/speedtest/doccount?{query}Yes
getStatDataFields25(callback)Get fields and type{base_path}/{version}/statistics/speedtest/fields?{query}Yes
getStatBulkRawData23(query, scrollId, count, callback)Get stats raw data{base_path}/{version}/statistics/speedtest/page?{query}Yes
getPostStatBulkRawData23(scrollId, count, body, callback)Get stats raw data{base_path}/{version}/statistics/speedtest/page?{query}Yes
getStatQueryFields25(callback)Get query fields{base_path}/{version}/statistics/speedtest/query/fields?{query}Yes
getSessionInfoCapture(body, callback)getSessionInfoCapture{base_path}/{version}/stream/device/capture?{query}Yes
disablePacketCaptureSession(sessionId, callback)disablePacketCaptureSession{base_path}/{version}/stream/device/capture/disable/{pathv1}?{query}Yes
downloadFile(sessionId, callback)downloadFile{base_path}/{version}/stream/device/capture/download/{pathv1}?{query}Yes
forceStopPcapSession(sessionId, callback)forceStopPcapSession{base_path}/{version}/stream/device/capture/forcedisbale/{pathv1}?{query}Yes
startPcapSession(sessionId, callback)startPcapSession{base_path}/{version}/stream/device/capture/start/{pathv1}?{query}Yes
getFileDownloadStatus(sessionId, callback)getFileDownloadStatus{base_path}/{version}/stream/device/capture/status/{pathv1}?{query}Yes
stopPcapSession(sessionId, callback)stopPcapSession{base_path}/{version}/stream/device/capture/stop/{pathv1}?{query}Yes
formPostPacketCapture(deviceUUID, sessionId, callback)formPostPacketCapture{base_path}/{version}/stream/device/capture/{pathv1}/{pathv2}?{query}Yes
getSessionInfoLog(body, callback)getSessionInfoLog{base_path}/{version}/stream/device/log?{query}Yes
disableDeviceLog(sessionId, callback)disableDeviceLog{base_path}/{version}/stream/device/log/disable/{pathv1}?{query}Yes
downloadDebugLog(sessionId, callback)downloadDebugLog{base_path}/{version}/stream/device/log/download/{pathv1}?{query}Yes
renewSessionInfo(sessionId, callback)renewSessionInfo{base_path}/{version}/stream/device/log/renew/{pathv1}?{query}Yes
searchDeviceLog(sessionId, body, callback)searchDeviceLog{base_path}/{version}/stream/device/log/search/{pathv1}?{query}Yes
getSessions(callback)getSessions{base_path}/{version}/stream/device/log/sessions?{query}Yes
clearSession(sessionId, callback)clearSession{base_path}/{version}/stream/device/log/sessions/clear/{pathv1}?{query}Yes
getLogType(uuid, callback)getLogType{base_path}/{version}/stream/device/log/type?{query}Yes
streamLog(logType, deviceUUID, sessionId, body, callback)streamLog{base_path}/{version}/stream/device/log/{pathv1}/{pathv2}/{pathv3}?{query}Yes
getDeviceLog(sessionId, logId, callback)getDeviceLog{base_path}/{version}/stream/device/log/{pathv1}?{query}Yes
getNwpiDscp(callback)getNwpiDscp{base_path}/{version}/stream/device/nwpi/nwpiDSCP?{query}Yes
getNwpiProtocol(callback)getNwpiProtocol{base_path}/{version}/stream/device/nwpi/nwpiProtocol?{query}Yes
getPacketFeatures(traceId, timestamp, flowId, callback)getPacketFeatures{base_path}/{version}/stream/device/nwpi/packetFeatures?{query}Yes
traceStart(body, callback)Trace Action - Start{base_path}/{version}/stream/device/nwpi/trace/start?{query}Yes
traceStop(traceId, callback)Trace Action - Stop{base_path}/{version}/stream/device/nwpi/trace/stop/{pathv1}?{query}Yes
getTraceFlow(traceId, timestamp, state, callback)getTraceFlow{base_path}/{version}/stream/device/nwpi/traceFlow?{query}Yes
getTraceHistory(callback)getTraceHistory{base_path}/{version}/stream/device/nwpi/traceHistory?{query}Yes
getSession(body, callback)getSession{base_path}/{version}/stream/device/speed?{query}Yes
disableSpeedTestSession(sessionId, callback)disableSpeedTestSession{base_path}/{version}/stream/device/speed/disable/{pathv1}?{query}Yes
getInterfaceBandwidth(circuit, deviceUUID, callback)getInterfaceBandwidth{base_path}/{version}/stream/device/speed/interface/bandwidth?{query}Yes
startSpeedTest(sessionId, callback)startSpeedTest{base_path}/{version}/stream/device/speed/start/{pathv1}?{query}Yes
getSpeedTestStatus(sessionId, callback)getSpeedTestStatus{base_path}/{version}/stream/device/speed/status/{pathv1}?{query}Yes
stopSpeedTest(sessionId, callback)stopSpeedTest{base_path}/{version}/stream/device/speed/stop/{pathv1}?{query}Yes
saveSpeedTestResults(deviceUUID, sessionId, body, callback)saveSpeedTestResults{base_path}/{version}/stream/device/speed/{pathv1}/{pathv2}?{query}Yes
getSpeedTest(sessionId, logId, callback)getSpeedTest{base_path}/{version}/stream/device/speed/{pathv1}?{query}Yes
processDeviceStatus(deviceUUID, body, callback)processDeviceStatus{base_path}/{version}/stream/device/status/{pathv1}?{query}Yes
activate(callback)Activate cluster to start working as primary{base_path}/{version}/disasterrecovery/activate?{query}Yes
getClusterInfo(callback)Get disaster recovery cluster info{base_path}/{version}/disasterrecovery/clusterInfo?{query}Yes
deleteLocalDC(callback)Delete local data center{base_path}/{version}/disasterrecovery/deleteLocalDataCenter?{query}Yes
deleteDC(callback)Delete data center{base_path}/{version}/disasterrecovery/deleteRemoteDataCenter?{query}Yes
delete(callback)Delete disaster recovery{base_path}/{version}/disasterrecovery/deregister?{query}Yes
getDetails(callback)Get disaster recovery details{base_path}/{version}/disasterrecovery/details?{query}Yes
downloadReplicationData(token, fileName, callback)Download replication data{base_path}/{version}/disasterrecovery/download/{pathv1}/{pathv2}?{query}Yes
getDisasterRecoveryStatus(callback)Disaster recovery status{base_path}/{version}/disasterrecovery/drstatus?{query}Yes
getHistory(callback)Get disaster recovery switchover history{base_path}/{version}/disasterrecovery/history?{query}Yes
getLocalHistory(callback)Get disaster recovery local switchover history{base_path}/{version}/disasterrecovery/localLatestHistory?{query}Yes
getLocalDataCenterState(callback)Get local data center details{base_path}/{version}/disasterrecovery/localdc?{query}Yes
pauseDR(callback)Pause DR{base_path}/{version}/disasterrecovery/pause?{query}Yes
pauseLocalArbitrator(callback)Pause DR for Local Arbitrator{base_path}/{version}/disasterrecovery/pauseLocalArbitrator?{query}Yes
pauseLocalDCForDR(callback)Pause DR for Local datacenter{base_path}/{version}/disasterrecovery/pauseLocalDC?{query}Yes
pauseLocalDCReplication(callback)Pause DR replication for Local datacenter{base_path}/{version}/disasterrecovery/pauseLocalReplication?{query}Yes
disasterRecoveryPauseReplication(callback)Pause DR data replication{base_path}/{version}/disasterrecovery/pausereplication?{query}Yes
update(body, callback)Update data centers for disaster recovery{base_path}/{version}/disasterrecovery/register?{query}Yes
register(body, callback)Register data centers for disaster recovery{base_path}/{version}/disasterrecovery/register?{query}Yes
getRemoteDCMembersState(callback)Gets remote data center member state{base_path}/{version}/disasterrecovery/remoteDcState?{query}Yes
getRemoteDataCenterState(callback)Get remote data center details{base_path}/{version}/disasterrecovery/remotedc?{query}Yes
updateDisasterRecoveryState(body, callback)Update complete disaster recovery information to remote data center{base_path}/{version}/disasterrecovery/remotedc?{query}Yes
getRemoteDataCenterVersion(callback)Get remote data center vManage version{base_path}/{version}/disasterrecovery/remotedc/swversion?{query}Yes
disasterRecoveryReplicationRequest(body, callback)Replication Request message sent from primary{base_path}/{version}/disasterrecovery/requestimport?{query}Yes
restartDataCenter(body, callback)Restart data center{base_path}/{version}/disasterrecovery/restartDataCenter?{query}Yes
getDisasterRecoveryLocalReplicationSchedule(callback)Get disaster recovery local replication schedule{base_path}/{version}/disasterrecovery/schedule?{query}Yes
getdrStatus(callback)Get disaster recovery status{base_path}/{version}/disasterrecovery/status?{query}Yes
unpauseDR(callback)Unpause DR{base_path}/{version}/disasterrecovery/unpause?{query}Yes
unpauseLocalArbitrator(callback)Unpause DR for Local Arbitrator{base_path}/{version}/disasterrecovery/unpauseLocalArbitrator?{query}Yes
unpauseLocalDCForDR(callback)Unpause DR for Local datacenter{base_path}/{version}/disasterrecovery/unpauseLocalDC?{query}Yes
unpauseLocalDCReplication(callback)Unpause DR replication for local datacenter{base_path}/{version}/disasterrecovery/unpauseLocalReplication?{query}Yes
disasterRecoveryUnPauseReplication(callback)Un-Pause DR data replication{base_path}/{version}/disasterrecovery/unpausereplication?{query}Yes
updateDrState(callback)Update arbitrator with primary and secondary states cluster{base_path}/{version}/disasterrecovery/updateDRConfigOnArbitrator?{query}Yes
updateReplication(body, callback)Update DR replication status{base_path}/{version}/disasterrecovery/updateReplication?{query}Yes
getReachabilityInfo(body, callback)Validate a list of nodes{base_path}/{version}/disasterrecovery/validateNodes?{query}Yes
getStatDataRawData21(query, callback)Get stats raw data{base_path}/{version}/event?{query}Yes
getStatsRawData21(body, callback)Get stats raw data{base_path}/{version}/event?{query}Yes
getAggregationDataByQuery21(query, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/event/aggregation?{query}Yes
getPostAggregationDataByQuery20(body, callback)Get aggregated data based on input query and filters. The data can be filtered on time and other un{base_path}/{version}/event/aggregation?{query}Yes
getComponentsAsKeyValue(callback)Retrieve components as key/value pairs{base_path}/{version}/event/component/keyvalue?{query}Yes
getStatDataRawDataAsCSV21(query, callback)Get raw data with optional query as CSV{base_path}/{version}/event/csv?{query}Yes
getCount23(query, callback)Get response count of a query{base_path}/{version}/event/doccount?{query}Yes
getCountPost23(body, callback)Get response count of a query{base_path}/{version}/event/doccount?{query}Yes
enableEventsFromFile(callback)Set enable events from file flag{base_path}/{version}/event/enable/fileprocess?{query}Yes
getStatDataFields23(callback)Get fields and type{base_path}/{version}/event/fields?{query}Yes
getListenersInfo(callback)Retrieve listener information{base_path}/{version}/event/listeners?{query}Yes
getStatBulkRawData21(query, scrollId, count, callback)Get stats raw data{base_path}/{version}/event/page?{query}Yes
getPostStatBulkRawData21(scrollId, count, body, callback)Get stats raw data{base_path}/{version}/event/page?{query}Yes
getStatQueryFields23(callback)Get query fields{base_path}/{version}/event/query/fields?{query}Yes
createEventsQueryConfig(callback)Create query configuration{base_path}/{version}/event/query/input?{query}Yes
findEvents(severityLevel = 'critical', deviceId, query, callback)Retrieve events{base_path}/{version}/event/severity?{query}Yes
getSeverityHistogram(deviceId, query, callback)Retrieve severity histogram{base_path}/{version}/event/severity/summary?{query}Yes
getEventTypesAsKeyValue(callback)Retrieve event types as key/value pairs{base_path}/{version}/event/types/keyvalue?{query}Yes
diffTwoConfigs(configId1, configId2, callback)Get diff of two configs{base_path}/{version}/device/history/config/diff/list?{query}Yes
getVEdgePolicyDetails(callback)Get vEdge policy details{base_path}/{version}/template/policy/vedge?{query}Yes
getVEdgeTemplate(policyId, callback)Get template{base_path}/{version}/template/policy/vedge/definition/{pathv1}?{query}Yes
getDeviceListByPolicy(policyId, callback)Get device list by policy id{base_path}/{version}/template/policy/vedge/devices/{pathv1}?{query}Yes
getPolicyDataPrefixList(callback)Get policy data prefix list{base_path}/{version}/template/policy/list/dataprefix?{query}Yes
getVEdgePolicyRouteDefinition(callback)Get vEdge policy definition{base_path}/{version}/template/policy/definition/vedgeroute?{query}Yes

Authentication

This document will go through the steps for authenticating the Viptela adapter with Dynamic Token Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication HERE.

Companies periodically change authentication methods to provide better security. As this happens this section should be updated and contributed/merge back into the adapter repository.

Dynamic Token Authentication

The Viptela adapter authenticates with a dynamic token.

STEPS

  1. Ensure you have access to a Viptela server and that it is running
  2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
  3. Use the properties below for the properties.authentication field
    "authentication": {
    "auth_method": "request_token",
    "username": "<username>",
    "password": "<password>",
    "token_timeout": 180000,
    "token_cache": "local",
    "invalid_token_error": 401,
    "auth_field": [
     "header.headers.Cookie",
     "header.headers.X-XSRF-TOKEN",
     "header.headers.Authorization"
    ],
    "auth_field_format": [
     "JSESSIONID={token}",
     "{tokenp2}",
     "Basic {b64}{username}:{password}{/b64}"
    ],
    }

    you can leave all of the other properties in the authentication section, they will not be used for Viptela dynamic token authentication.

  4. Restart the adapter. If your properties were set correctly, the adapter should go online.

Troubleshooting

  • Make sure you copied over the correct username and password as these are used to retrieve the token.
  • Turn on debug level logs for the adapter in IAP Admin Essentials.
  • Turn on auth_logging for the adapter in IAP Admin Essentials (adapter properties).
  • Investigate the logs - in particular:
    • The FULL REQUEST log to make sure the proper headers are being sent with the request.
    • The FULL BODY log to make sure the payload is accurate.
    • The CALL RETURN log to see what the other system is telling us.
  • Credentials should be masked by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
  • Remember when you are done to turn auth_logging off as you do not want to log credentials.

Additional Information

Enhancements

Adding a Second Instance of an Adapter

You can add a second instance of this adapter without adding new code on the file system. To do this go into the IAP Admin Essentials and add a new service config for this adapter. The two instances of the adapter should have unique ids. In addition, they should point to different instances (unique host and port) of the other system.

Adding Adapter Calls

There are multiple ways to add calls to an existing adapter.

The easiest way would be to use the Adapter Builder update process. This process takes in a Swagger or OpenAPI document, allows you to select the calls you want to add and then generates a zip file that can be used to update the adapter. Once you have the zip file simply put it in the adapter directory and execute npm run adapter:update.

mv updatePackage.zip adapter-viptela
cd adapter-viptela
npm run adapter:update

If you do not have a Swagger or OpenAPI document, you can use a Postman Collection and convert that to an OpenAPI document using APIMatic and then follow the first process.

If you want to manually update the adapter that can also be done the key thing is to make sure you update all of the right files. Within the entities directory you will find 1 or more entities. You can create a new entity or add to an existing entity. Each entity has an action.json file, any new call will need to be put in the action.json file. It will also need to be added to the enum for the ph_request_type in the appropriate schema files. Once this configuration is complete you will need to add the call to the adapter.js file and, in order to make it available as a workflow task in IAP, it should also be added to the pronghorn.json file. You can optionally add it to the unit and integration test files. There is more information on how to work on each of these files in the Adapter Technical Resources on our Documentation Site.

Files to update
* entities/<entity>/action.json: add an action
* entities/<entity>/schema.json (or the schema defined on the action): add action to the enum for ph_request_type
* adapter.js: add the new method and make sure it calls the proper entity and action
* pronghorn.json: add the new method
* test/unit/adapterTestUnit.js (optional but best practice): add unit test(s) - function is there, any required parameters error when not passed in
* test/integration/adapterTestIntegration.js (optional but best practice): add integration test

Adding Adapter Properties

While changing adapter properties is done in the service instance configuration section of IAP, adding properties has to be done in the adapter. To add a property you should edit the propertiesSchema.json with the proper information for the property. In addition, you should modify the sampleProperties to have the new property in it.

Files to update
* propertiesSchema.json: add the new property and how it is defined
* sampleProperties: add the new property with a default value
* test/unit/adapterTestUnit.js (optional but best practice): add the property to the global properties
* test/integration/adapterTestIntegration.js (optional but best practice): add the property to the global properties

Changing Adapter Authentication

Often an adapter is built before knowing the authentication and authentication processes can also change over time. The adapter supports many different kinds of authentication but it does require configuration. Some forms of authentication can be defined entirely with the adapter properties but others require configuration.

Files to update
* entities/.system/action.json: change the getToken action as needed
* entities/.system/schemaTokenReq.json: add input parameters (external name is name in other system)
* entities/.system/schemaTokenResp.json: add response parameters (external name is name in other system)
* propertiesSchema.json: add any new property and how it is defined
* sampleProperties: add any new property with a default value
* test/unit/adapterTestUnit.js (optional but best practice): add the property to the global properties
* test/integration/adapterTestIntegration.js (optional but best practice): add the property to the global properties

Enhancing Adapter Integration Tests

The adapter integration tests are written to be able to test in either stub (standalone) mode or integrated to the other system. However, if integrating to the other system, you may need to provide better data than what the adapter provides by default as that data is likely to fail for create and update. To provide better data, edit the adapter integration test file. Make sure you do not remove the marker and keep custom code below the marker so you do not impact future migrations. Once the edits are complete, run the integration test as it instructs you to above. When you run integrated to the other system, you can also save mockdata for future use by changing the isSaveMockData flag to true.

Files to update
* test/integration/adapterTestIntegration.js: add better data for the create and update calls so that they will not fail.

As mentioned previously, for most of these changes as well as other possible changes, there is more information on how to work on an adapter in the Adapter Technical Resources on our Documentation Site.

Contributing

First off, thanks for taking the time to contribute!

The following is a set of rules for contributing.

Code of Conduct

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to support@itential.com.

How to Contribute

Follow the contributing guide (here)[https://gitlab.com/itentialopensource/adapters/contributing-guide]

Helpful Links

Adapter Technical Resources

Node Scripts

There are several node scripts that now accompany the adapter. These scripts are provided to make several activities easier. Many of these scripts can have issues with different versions of IAP as they have dependencies on IAP and Mongo. If you have issues with the scripts please report them to the Itential Adapter Team. Each of these scripts are described below.

RunDescription
npm run adapter:installProvides an easier way to install the adapter.
npm run adapter:checkMigrateChecks whether your adapter can and should be migrated to the latest foundation.
npm run adapter:findPathCan be used to see if the adapter supports a particular API call.
npm run adapter:migrateProvides an easier way to update your adapter after you download the migration zip from Itential DevSite.
npm run adapter:updateProvides an easier way to update your adapter after you download the update zip from Itential DevSite.
npm run adapter:revertAllows you to revert after a migration or update if it resulted in issues.
npm run troubleshootProvides a way to troubleshoot the adapter - runs connectivity, healthcheck and basic get.
npm run connectivityProvides a connectivity check to the Servicenow system.
npm run healthcheckChecks whether the configured healthcheck call works to Servicenow.
npm run basicgetChecks whether the basic get calls works to Servicenow.

Troubleshoot

Run npm run troubleshoot to start the interactive troubleshooting process. The command allows you to verify and update connection, authentication as well as healthcheck configuration. After that it will test these properties by sending HTTP request to the endpoint. If the tests pass, it will persist these changes into IAP.

You also have the option to run individual commands to perform specific test:

  • npm run healthcheck will perform a healthcheck request of with current setting.
  • npm run basicget will perform some non-parameter GET request with current setting.
  • npm run connectivity will perform networking diagnostics of the adatper endpoint.

Connectivity Issues

  1. You can run the adapter troubleshooting script which will check connectivity, run the healthcheck and run basic get calls.
npm run troubleshoot
  1. Verify the adapter properties are set up correctly.
Go into the Itential Platform GUI and verify/update the properties
  1. Verify there is connectivity between the Itential Platform Server and Viptela Server.
ping the ip address of Viptela server
try telnet to the ip address port of Viptela
execute a curl command to the other system
  1. Verify the credentials provided for Viptela.
login to Viptela using the provided credentials
  1. Verify the API of the call utilized for Viptela Healthcheck.
Go into the Itential Platform GUI and verify/update the properties

Functional Issues

Adapter logs are located in /var/log/pronghorn. In older releases of the Itential Platform, there is a pronghorn.log file which contains logs for all of the Itential Platform. In newer versions, adapters can be configured to log into their own files.