Adapter for Integration to Versa Director
Overview
This adapter is used to integrate the Itential Automation Platform (IAP) with the Versa_director System. The API that was used to build the adapter for Versa_director is usually available in the report directory of this adapter. The adapter utilizes the Versa_director 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 Versa Networks Director adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Versa Networks Director. With this adapter you have the ability to perform operations such as:
- Create, Modify, Manage and Delete Versa Appliances.
For further technical details on how to install and use this adapter, please click the Technical Documentation tab.
Versa Networks Director
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.
Package | Description |
---|---|
@itentialopensource/adapter-utils | Runtime library classes for all adapters; includes request handling, connection, authentication throttling, and translation. |
ajv | Required for validation of adapter properties to integrate with Versa_director. |
axios | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
commander | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
dns-lookup-promise | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
fs-extra | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
mocha | Testing library that is utilized by some of the node scripts that are included with the adapter. |
mocha-param | Testing library that is utilized by some of the node scripts that are included with the adapter. |
mongodb | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
nyc | Testing coverage library that is utilized by some of the node scripts that are included with the adapter. |
ping | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
readline-sync | Utilized by the node script that comes with the adapter; helps to test unit and integration functionality. |
semver | Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality. |
winston | Utilized 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
- 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
- Clone/unzip/tar the adapter into your IAP environment.
cd \@itentialopensource
git clone git@gitlab.com:\@itentialopensource/adapters/adapter-versa_director
or
unzip adapter-versa_director.zip
or
tar -xvf adapter-versa_director.tar
- Run the adapter install script.
cd adapter-versa_director
npm install
npm run lint:errors
npm run test
- Restart IAP
systemctl restart pronghorn
Create an adapter service instance configuration in IAP Admin Essentials GUI
Copy the properties from the sampleProperties.json and paste them into the service instance configuration in the inner/second properties field.
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:
- Install adapter dependencies and check the adapter.
cd adapter-versa_director
npm run adapter:install
- Restart IAP
systemctl restart pronghorn
- 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 Versa_director. 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 Versa_director. 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
andupdates
. Hence, integration tests may have to be enhanced before they will work (integrate) with Versa_director. 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 Versa_director 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": 9182,
"choosepath": "",
"base_path": "",
"version": "",
"cache_location": "none",
"encode_pathvars": false,
"encode_queryvars": true,
"save_metric": false,
"stub": true,
"protocol": "https",
"authentication": {
"auth_method": "basic user_password",
"username": "username",
"password": "password",
"token": "token",
"token_timeout": 600000,
"token_cache": "local",
"invalid_token_error": 401,
"auth_field": "header.headers.Authorization",
"auth_field_format": "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": 300000,
"global_request": {
"payload": {},
"uriOptions": {},
"addlHeaders": {},
"authData": {}
},
"healthcheck_on_timeout": true,
"return_raw": false,
"archiving": false,
"return_request": false
},
"proxy": {
"enabled": false,
"host": "",
"port": 1,
"protocol": "http",
"username": "",
"password": ""
},
"ssl": {
"ecdhCurve": "",
"enabled": false,
"accept_invalid_cert": false,
"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": "/vnms/cloud/systems/{uuid}",
"method": "GET",
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {
"uuid": "{uuid}"
},
"responseDatakey": "",
"responseFields": {
"applianceName": "{name}",
"name": "{orgName}:{name}",
"ostype": "{type}",
"ostypePrefix": "versa-",
"ipaddress": "{ip-address}",
"port": "{orgName}"
}
}
],
"getDevicesFiltered": [
{
"path": "/vnms/appliance/summary",
"method": "GET",
"pagination": {
"offsetVar": "",
"limitVar": "",
"incrementBy": "limit",
"requestLocation": "query"
},
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {},
"responseDatakey": "",
"responseFields": {
"applianceName": "{name}",
"name": "{orgName}:{name}",
"ostype": "{type}",
"ostypePrefix": "versa-",
"ipaddress": "{ip-address}",
"port": "{orgName}",
"uuid": "{uuid}"
}
}
],
"isAlive": [
{
"path": "/vnms/dashboard/appliance/{uuid}/syncStatus",
"method": "GET",
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {
"uuid": "{uuid}"
},
"responseDatakey": "versanms.ApplianceStatus",
"responseFields": {
"status": "{unreachable}",
"statusValue": "false"
}
}
],
"getConfig": [
{
"path": "/vnms/cloud/systems/{uuid}",
"method": "GET",
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {
"uuid": "{uuid}"
},
"responseDatakey": "",
"responseFields": {}
}
],
"getCount": [
{
"path": "/vnms/appliance/summary",
"method": "GET",
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {},
"responseDatakey": "",
"responseFields": {}
}
]
},
"cache": {
"enabled": false,
"entities": [
{
"entityType": "device",
"frequency": 3600,
"flushOnFail": false,
"limit": 10000,
"retryAttempts": 5,
"sort": true,
"populate": [
{
"path": "/vnms/appliance/summary",
"method": "GET",
"pagination": {
"offsetVar": "",
"limitVar": "",
"incrementBy": "limit",
"requestLocation": "query"
},
"query": {},
"body": {},
"headers": {},
"handleFailure": "ignore",
"requestFields": {},
"responseDatakey": "",
"responseFields": {
"applianceName": "{name}",
"name": "{orgName}:{name}",
"ostype": "{type}",
"ostypePrefix": "versa-",
"ipaddress": "{ip-address}",
"port": "{orgName}",
"uuid": "{uuid}"
}
}
],
"cachedTasks": [
{
"name": "",
"filterField": "",
"filterLoc": ""
}
]
}
]
}
}
Connection Properties
These base properties are used to connect to Versa_director upon the adapter initially coming up. It is important to set these properties appropriately.
Property | Description |
---|---|
host | Required. A fully qualified domain name or IP address. |
port | Required. Used to connect to the server. |
base_path | Optional. 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 ``. |
version | Optional. 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_location | Optional. 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_pathvars | Optional. 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_queryvars | Optional. 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_metric | Optional. 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. |
stub | Optional. Indicates whether the stub should run instead of making calls to Versa_director (very useful during basic testing). Default is false (which means connect to Versa_director). |
protocol | Optional. 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 Versa_director.
Note: Depending on the method that is used to authenticate with Versa_director, you may not need to set all of the authentication properties.
Property | Description |
---|---|
auth_method | Required. Used to define the type of authentication currently supported. Authentication methods currently supported are: `basic user_password`, `static_token`, `request_token`, and `no_authentication`. |
username | Used to authenticate with Versa_director on every request or when pulling a token that will be used in subsequent requests. |
password | Used to authenticate with Versa_director on every request or when pulling a token that will be used in subsequent requests. |
token | Defines a static token that can be used on all requests. Only used with `static_token` as an authentication method (auth\_method). |
invalid_token_error | Defines 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_timeout | Defines 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 Versa_director. 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_cache | Used to determine where the token should be stored (local memory or in Redis). |
auth_field | Defines 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_format | Defines 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_logging | Setting 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_id | Provide a client id when needed, this is common on some types of OAuth. |
client_secret | Provide a client secret when needed, this is common on some types of OAuth. |
grant_type | Provide 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 Versa_director. 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 Versa_director.
- Startup - Adapter will check for connectivity when the adapter initially comes up, but it will not check afterwards.
- Intermittent - Adapter will check connectivity to Versa_director at a frequency defined in the
frequency
property.
Property | Description |
---|---|
type | Required. The type of health check to run. |
frequency | Required if intermittent. Defines how often the health check should run. Measured in milliseconds. Default is 300000. |
query_object | Query parameters to be added to the adapter healthcheck call. |
Request Properties
The request section defines properties to help handle requests.
Property | Description |
---|---|
number_redirects | Optional. 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_retries | Tells 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_error | Optional. 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_codes | An 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_timeout | Optional. 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 Versa_director, and then will re-attempt the request that aborted. Default is 5000 milliseconds. |
global_request | Optional. 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 -> payload | Optional. Defines any information that should be included on all requests sent to the other system that have a payload/body. |
global_request -> uriOptions | Optional. Defines any information that should be sent as untranslated query options (e.g. page, size) on all requests to the other system. |
global_request -> addlHeaders | Optioonal. Defines any headers that should be sent on all requests to the other system. |
global_request -> authData | Optional. Defines any additional authentication data used to authentice with the other system. This authData needs to be consistent on every request. |
healthcheck_on_timeout | Required. 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_raw | Optional. 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. |
archiving | Optional flag. Default is false. It archives the request, the results and the various times (wait time, Versa_director 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_request | Optional 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 Versa_director. SSL can work two different ways: set the accept\_invalid\_certs
flag to true (only recommended for lab environments), or provide a ca\_file
.
Property | Description |
---|---|
enabled | If SSL is required, set to true. |
accept_invalid_certs | Defines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false. |
ca_file | Defines 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_file | Defines 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_file | Defines 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_protocol | Defines the protocol (e.g., SSLv3_method) to use on the SSL request. |
ciphers | Required if SSL enabled. Specifies a list of SSL ciphers to use. |
ecdhCurve | During 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 Versa_director must be queued (throttled). All of the properties in this section are optional.
Property | Description |
---|---|
throttle_enabled | Default is false. Defines if the adapter should use throttling or not. |
number_pronghorns | Default 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-async | This property is not used at the current time (it is for future expansion of the throttling engine). |
max_in_queue | Represents 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_max | Defines the number of requests the adapter can send to Versa_director at one time (minimum = 1, maximum = 1000). The default is 1 meaning each request must be sent to Versa_director in a serial manner. |
expire_timeout | Default 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_runtime | Represents the approximate average of how long it takes Versa_director 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 Versa_director performance is exceptional you might run a little slower than you might like, but when it is poor you still run efficiently. |
priorities | An 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 Versa_director is behind a proxy server.
Property | Description |
---|---|
enabled | Required. Default is false. If Versa_director is behind a proxy server, set enabled flag to true. |
host | Host information for the proxy server. Required if `enabled` is true. |
port | Port information for the proxy server. Required if `enabled` is true. |
protocol | The protocol (i.e., http, https, etc.) used to connect to the proxy. Default is http. |
username | If there is authentication for the proxy, provide the username here. |
password | If 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.
Property | Description |
---|---|
host | Optional. Host information for the mongo server. |
port | Optional. Port information for the mongo server. |
database | Optional. The database for the adapter to use for its data. |
username | Optional. If credentials are required to access mongo, this is the user to login as. |
password | Optional. If credentials are required to access mongo, this is the password to login with. |
replSet | Optional. If the database is set up to use replica sets, define it here so it can be added to the database connection. |
db_ssl | Optional. Contains information for SSL connectivity to the database. |
db_ssl -> enabled | If SSL is required, set to true. |
db_ssl -> accept_invalid_cert | Defines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false. |
db_ssl -> ca_file | Defines 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_file | Defines 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_file | Defines 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 Versa_director 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.
Property | Description |
---|---|
getDevice | The array of calls used to get device details for the broker |
getDevicesFiltered | The array of calls used to get devices for the broker |
isAlive | The array of calls used to get device status for the broker |
getConfig | The array of calls used to get device configuration for the broker |
getCount | The array of calls used to get device configuration for the broker |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> path | The path, not including the base_path and version, for making this call |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> method | The rest method for making this call |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> query | Query object containing and query parameters and their values for this call |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> body | Body object containing the payload for this call |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> headers | Header object containing the headers for this call. |
getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> handleFailure | Tells the adapter whether to "fail" or "ignore" failures if they occur. |
isAlive -> statusValue | Tells the adapter what value to look for in the status field to determine if the device is alive. |
getDevice/getDevicesFiltered/isAlive/getConfig -> requestFields | Object 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 -> responseFields | Object 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 Signature | Description | Workflow? |
---|---|---|
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 Versa Director. 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 Versa Director. | 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 Signature | Description | Workflow? |
---|---|---|
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 Signature | Description | Workflow? |
---|---|---|
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 active | No |
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 Versa Networks Director. 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 Signature | Description | Path | Workflow? |
---|---|---|---|
assignAlarmObject(alarm, assignee, description, state, callback) | Assign an alarm | {base_path}/{version}/vnms/fault/alarm/assign?{query} | Yes |
updateAlarmAssignee(assignee, description, deviceName, managedObject, org, specificProblem, state, type, callback) | Assign an alarm | {base_path}/{version}/vnms/fault/alarm/assign?{query} | Yes |
clearAlarm(deviceName, managedObject, org, specificProblem, type, callback) | Clear an alarm | {base_path}/{version}/vnms/fault/alarm/clear?{query} | Yes |
handleAlarmObject(alarmAlarmHandlings0AssignedBy, alarmAlarmHandlings0Description, alarmAlarmHandlings0State, alarmAlarmHandlings0Time, alarmAlarmHandlings0User, alarmDevice, alarmDeviceGroup, alarmDeviceName, alarmIsCleared, alarmLastAlarmText, alarmLastPerceivedSeverity, alarmLastStatusChangeTimeStamp, alarmObject, alarmOrg, alarmSerial, alarmSeverity, alarmStatusChanges0AlarmText, alarmStatusChanges0EventTime, alarmStatusChanges0ReceivedTime, alarmStatusChanges0Severity, alarmType, assignee, description, specificProblem, state, callback) | Handle an alarm | {base_path}/{version}/vnms/fault/alarm/handle?{query} | Yes |
updateHandleAlarm(description, deviceName, managedObject, org, specificProblem, state, type, callback) | Handle an alarm | {base_path}/{version}/vnms/fault/alarm/handle?{query} | Yes |
getAlarmHandling(deviceName, managedObject, org, specificProblem, type, callback) | Retrieve handlings associated with an alarm | {base_path}/{version}/vnms/fault/alarm/handling?{query} | Yes |
getAlarmHandlingObject(alarmHandlings0AssignedBy, alarmHandlings0Description, alarmHandlings0State, alarmHandlings0Time, alarmHandlings0User, device, deviceGroup, deviceName, isCleared, lastAlarmText, lastPerceivedSeverity, lastStatusChangeTimeStamp, object, org, serial, severity, specificProblem, statusChanges0AlarmText, statusChanges0EventTime, statusChanges0ReceivedTime, statusChanges0Severity, type, callback) | Retrieve handlings associated with an alarm | {base_path}/{version}/vnms/fault/alarm/handling?{query} | Yes |
purgeAlarmObject(alarmHandlings0AssignedBy, alarmHandlings0Description, alarmHandlings0State, alarmHandlings0Time, alarmHandlings0User, device, deviceGroup, deviceName, isCleared, lastAlarmText, lastPerceivedSeverity, lastStatusChangeTimeStamp, object, org, serial, severity, specificProblem, statusChanges0AlarmText, statusChanges0EventTime, statusChanges0ReceivedTime, statusChanges0Severity, type, callback) | purgeAlarmObject | {base_path}/{version}/vnms/fault/alarm/object/purge?{query} | Yes |
purgeAlarm(deviceName, managedObject, org, specificProblem, type, callback) | purgeAlarm | {base_path}/{version}/vnms/fault/alarm/purge?{query} | Yes |
getStatusChange(deviceName, managedObject, org, specificProblem, type, callback) | Retrieve status changes associated with an alarm | {base_path}/{version}/vnms/fault/alarm/status?{query} | Yes |
getStatusChangeObject(alarmHandlings0AssignedBy, alarmHandlings0Description, alarmHandlings0State, alarmHandlings0Time, alarmHandlings0User, device, deviceGroup, deviceName, isCleared, lastAlarmText, lastPerceivedSeverity, lastStatusChangeTimeStamp, object, org, serial, severity, specificProblem, statusChanges0AlarmText, statusChanges0EventTime, statusChanges0ReceivedTime, statusChanges0Severity, type, callback) | Retrieve status changes associated with an alarm | {base_path}/{version}/vnms/fault/alarm/status?{query} | Yes |
getAllFilteredAlarms(deviceName, filtertype, isCleared, isDeep, lastAlarmText, lastPerceivedSeverity, lastStatusChange, org, type, callback) | Retrieve alarms satisfying certain conditions | {base_path}/{version}/vnms/fault/alarms?{query} | Yes |
assignAllFilteredAlarms(assignee, description, deviceName, filtertype, isCleared, lastAlarmText, lastPerceivedSeverity, lastStatusChange, org, state, type, callback) | Bulk assign alarms matching certain conditions | {base_path}/{version}/vnms/fault/alarms/assign?{query} | Yes |
assignAllAlarms(alarmData, callback) | Bulk assign a list of specific alarms | {base_path}/{version}/vnms/fault/alarms/bulk/assign?{query} | Yes |
clearAllAlarms(alarmData, callback) | Bulk clear multiple alarms | {base_path}/{version}/vnms/fault/alarms/bulk/clear?{query} | Yes |
purgeAllAlarms(alarmData, callback) | purgeAllAlarms | {base_path}/{version}/vnms/fault/alarms/bulk/delete?{query} | Yes |
handleAllAlarms(alarmData, callback) | Bulk handle a list of specific alarms | {base_path}/{version}/vnms/fault/alarms/bulk/handle?{query} | Yes |
handleAllFilteredAlarms(description, deviceName, filtertype, isCleared, lastAlarmText, lastPerceivedSeverity, lastStatusChange, org, state, type, callback) | Bulk handle all alarms satisfying certain parameters | {base_path}/{version}/vnms/fault/alarms/handle?{query} | Yes |
filterPaginateAlarm(deviceName, filtertype, forceRefresh, includeChildren, isCleared, isDeep, lastAlarmText, lastPerceivedSeverity, lastStatusChange, limit, offset, org, showSystemAlarm, sortColumn, sortOrder, type, callback) | Retrieve alarms satisfying certain conditions | {base_path}/{version}/vnms/fault/alarms/page?{query} | Yes |
purgeAllFilteredAlarms(alarmHandlingState, alarmHandlingUser, deviceName, filtertype, isCleared, lastAlarmHandlingChange, lastAlarmHandlingState, lastAlarmText, lastPerceivedSeverity, lastStatusChange, org, type, callback) | purgeAllFilteredAlarms | {base_path}/{version}/vnms/fault/alarms/purge?{query} | Yes |
getAlarmSummary(callback) | Retrieve alarm count by severity for all alarms | {base_path}/{version}/vnms/fault/alarms/summary?{query} | Yes |
getDeviceAlarmSummary(deviceName, org, callback) | Retrieve alarm count by severity for one device | {base_path}/{version}/vnms/fault/alarms/summary/device/{pathv1}?{query} | Yes |
getAlarmSummaryPerOrg(includeChildren, includeSystem, org, callback) | Retrieve alarm count by severity for all alarms for a tenant | {base_path}/{version}/vnms/fault/alarms/summary/{pathv1}?{query} | Yes |
getDirectorAlarms(searchString, severity, callback) | Retrieve director-specific alarms | {base_path}/{version}/vnms/fault/director/alarms?{query} | Yes |
getDirectorAlarmSummary(callback) | Retrieve summary alarm counts for director-specific alarms | {base_path}/{version}/vnms/fault/director/alarms/summary?{query} | Yes |
getDirectorFailOverAlarms(callback) | Retrieve fail-over alarms | {base_path}/{version}/vnms/fault/director/fail-over-alarms?{query} | Yes |
getDirectorHAAlarms(callback) | Retrieve HA-related alarms | {base_path}/{version}/vnms/fault/director/ha-alarms?{query} | Yes |
getImpAlarms(callback) | Retrieve license-related alarms | {base_path}/{version}/vnms/fault/director/pop-up?{query} | Yes |
getImpAlarmSummary(callback) | Retrieve summary count of license-related alarms | {base_path}/{version}/vnms/fault/director/pop-up-summary?{query} | Yes |
getAlarmTypes(callback) | Retrieve alarm types | {base_path}/{version}/vnms/fault/types?{query} | Yes |
getAlarmNotifications(filters, limit, offset, callback) | Retrieve all alarm-based notification rules with filtering | {base_path}/{version}/vnms/alarm/notification?{query} | Yes |
saveAlarmNotification(rules, callback) | Save new notification rule(s) | {base_path}/{version}/vnms/alarm/notification?{query} | Yes |
editAlarmNotification(rules, callback) | Edit alarm-based notification rule(s) | {base_path}/{version}/vnms/alarm/notification?{query} | Yes |
deleteAlarmNotification(groupkey, key, callback) | Delete the named notification rule | {base_path}/{version}/vnms/alarm/notification?{query} | Yes |
loadAllAlarmNotifications(callback) | Retrieve all alarm-based notification rules | {base_path}/{version}/vnms/alarm/notification/all?{query} | Yes |
bulkDeleteAlarmNotification(groupkey, key, callback) | Delete multiple alarm-based notification rules | {base_path}/{version}/vnms/alarm/notification/bulk?{query} | Yes |
refreshAlarmNotification(callback) | Refresh and reload all alarm-based notification rules | {base_path}/{version}/vnms/alarm/notification/refresh?{query} | Yes |
getAlarmNotificationRule(key, callback) | Retrieve a notification rule | {base_path}/{version}/vnms/alarm/notification/rule?{query} | Yes |
searchAlarmNotification(searchString, callback) | Retrieve all alarm-based notification rules matching a search string | {base_path}/{version}/vnms/alarm/notification/search?{query} | Yes |
getAMQPEvents(limit, offset, callback) | Get AMQP Events | {base_path}/{version}/nextgen/amqp/amqpevents?{query} | Yes |
getAMQPObjEvents(limit, offset, callback) | Get AMQP Object Events | {base_path}/{version}/nextgen/amqp/amqpobjevents?{query} | Yes |
getAllApplianceStatus(callback) | Shows Appliance status for all Appliances | {base_path}/{version}/nextgen/appliance/status?{query} | Yes |
getApplianceStatusById(byName, id, callback) | Shows single Appliance status based on UUID | {base_path}/{version}/nextgen/appliance/status/{pathv1}?{query} | Yes |
getApplianceTemplateListing(deviceName, tenant, callback) | Shows Templates linked with Device | {base_path}/{version}/nextgen/appliance/template_listing/{pathv1}?{query} | Yes |
getAppliances(limit, offset, tags, type, callback) | Get All Appliances By Type and Tags | {base_path}/{version}/vnms/appliance/appliance?{query} | Yes |
getAppliances2(limit, offset, callback) | Get All Appliances | {base_path}/{version}/vnms/appliance/appliance2?{query} | Yes |
getAppliancesByTypeAndOrg(org, type, callback) | Get Appliances By Type and Org | {base_path}/{version}/vnms/appliance/appliancesByOrgAndType/{pathv1}?{query} | Yes |
getAppliancesByType(type, callback) | Get Appliances By Type | {base_path}/{version}/vnms/appliance/appliancesByType/{pathv1}?{query} | Yes |
getAppliancesForSecurityPackage(callback) | getAppliancesForSecurityPackage | {base_path}/{version}/vnms/appliance/appliancesForSecurityPackage?{query} | Yes |
exportApplianceConfiguration(applianceName, callback) | Export Appliance Configuration | {base_path}/{version}/vnms/appliance/export?{query} | Yes |
filterAppliances(filterString, limit, offset, callback) | Search Appliance By Filter | {base_path}/{version}/vnms/appliance/filter?{query} | Yes |
getAppliancesForOrganization(filterString, limit, offset, org, callback) | Get Appliances For Given Org | {base_path}/{version}/vnms/appliance/filter/{pathv1}?{query} | Yes |
getTagsForAppliance(callback) | Get Appliance Tags | {base_path}/{version}/vnms/appliance/getTags?{query} | Yes |
getTagsForTenant(tenantName, callback) | getTagsForTenant | {base_path}/{version}/vnms/appliance/getTags/{pathv1}?{query} | Yes |
importApplianceConfiguration(applianceName, file, callback) | Import Appliance Configuration | {base_path}/{version}/vnms/appliance/import?{query} | Yes |
setApplianceOwner(applianceNames, orgname, callback) | Get Appliance Owner Status | {base_path}/{version}/vnms/appliance/owner/{pathv1}?{query} | Yes |
getAppliancesForTenantOrgs(callback) | getAppliancesForTenantOrgs | {base_path}/{version}/vnms/appliance/ownerOrg?{query} | Yes |
searchAppliances(limit, offset, sql, callback) | Search Appliance By Filter | {base_path}/{version}/vnms/appliance/search?{query} | Yes |
getAppliancesSummary(filters, callback) | Get Appliances Summary | {base_path}/{version}/vnms/appliance/summary?{query} | Yes |
doSyncFromAppliance(device, callback) | Sync Config From Appliance | {base_path}/{version}/vnms/appliance/syncfrom/{pathv1}?{query} | Yes |
doSyncToAppliance(device, callback) | Sync Config To Appliance | {base_path}/{version}/vnms/appliance/syncto/{pathv1}?{query} | Yes |
deleteTagsFromAppliance(applianceName, deleteTagList, callback) | Delete Appliance Tags | {base_path}/{version}/vnms/appliance/{pathv1}/deleteTags?{query} | Yes |
getVendorForAppliance(applianceName, vmName, callback) | Get Guest VNF Vendor | {base_path}/{version}/vnms/appliance/{pathv1}/guest-vnfs/vm/{pathv2}/vendor?{query} | Yes |
getAllApplianceRoutingInstanceInformation(applianceName, callback) | Get Routing Instance Information | {base_path}/{version}/vnms/appliance/{pathv1}/routing-instances?{query} | Yes |
getApplianceRoutingInstanceInformationById(applianceName, routingInstanceName, callback) | Get Routing Instance Information | {base_path}/{version}/vnms/appliance/{pathv1}/routing-instances/{pathv2}?{query} | Yes |
setTagsForAppliance(applianceName, setTagList, callback) | Create Appliance Tags | {base_path}/{version}/vnms/appliance/{pathv1}/setTags?{query} | Yes |
getAllApplicationServiceTemplates(limit, offset, organization, callback) | Application Service Templates Fetch All | {base_path}/{version}/nextgen/applicationServiceTemplate?{query} | Yes |
createApplicationServiceTemplate(newApplicationServiceTemplate, callback) | Create a specific Application Service Template | {base_path}/{version}/nextgen/applicationServiceTemplate?{query} | Yes |
getAllApplicationServiceTemplateSamples(callback) | Application Service Template Fetch All Samples | {base_path}/{version}/nextgen/applicationServiceTemplate/allSamples?{query} | Yes |
cloneApplicationServiceTemplate(newOrg, newTemplate, serviceTemplateName, callback) | Clone a specific Application Service Template | {base_path}/{version}/nextgen/applicationServiceTemplate/clone/{pathv1}?{query} | Yes |
deployApplicationServiceTemplate(serviceTemplateName, callback) | Deploy a specific appliation Specific Template | {base_path}/{version}/nextgen/applicationServiceTemplate/deploy/{pathv1}?{query} | Yes |
updateApplicationServiceTemplate(astName, newApplicationServiceTemplate, callback) | Update a Application Service Template | {base_path}/{version}/nextgen/applicationServiceTemplate/{pathv1}?{query} | Yes |
deleteApplicationServiceTemplate(serviceTemplateNames, callback) | Delete a specific appliation Specific Template | {base_path}/{version}/nextgen/applicationServiceTemplate/{pathv1}?{query} | Yes |
getApplicationServiceTemplateById(serviceTemplateName, callback) | Get a Application Service Template given its name | {base_path}/{version}/nextgen/applicationServiceTemplate/{pathv1}?{query} | Yes |
getAllCommunityStrings(organization, callback) | Community Fetch All | {base_path}/{version}/nextgen/community?{query} | Yes |
createCommunity(community, callback) | Create a Community | {base_path}/{version}/nextgen/community?{query} | Yes |
createBulkCommunities(communityBeanCeate, callback) | Create a Set of Communities | {base_path}/{version}/nextgen/community/bulkCommunityCreate?{query} | Yes |
getNextAvailableCommunityId(org, callback) | Get the next available Community Id | {base_path}/{version}/nextgen/community/id?{query} | Yes |
getControllerWorkflowList(requestParams, callback) | Fetch all controller workflows | {base_path}/{version}/vnms/sdwan/workflow/controllers?{query} | Yes |
createJsonControllerWorkflow(sdwanControllerWorkflowVO, callback) | Create controller workflow | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller?{query} | Yes |
deleteControllerWorkflows(name, callback) | Delete all controller workflows | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller?{query} | Yes |
deployControllerWorkflow(controllerworkflowname, requestParams, taskid, callback) | Deploy a specific controller workflow | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller/deploy/{pathv1}?{query} | Yes |
getJsonControllerWorkflow(controllerworkflowname, callback) | Fetch a specific controller workflow | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller/{pathv1}?{query} | Yes |
updateJsonControllerWorkflow(controllerworkflowname, sdwanControllerWorkflowVO, callback) | Update controller workflow | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller/{pathv1}?{query} | Yes |
deleteControllerWorkflow(controllerworkflowname, callback) | Delete a specific controller workflow | {base_path}/{version}/vnms/sdwan/workflow/controllers/controller/{pathv1}?{query} | Yes |
getAllDeviceWorkflows(filters, limit, offset, orgname, callback) | Device WorkFlow Fetch All | {base_path}/{version}/vnms/sdwan/workflow/devices?{query} | Yes |
createDevicefromJson(sdwanWorkflowWrapperData, callback) | Create a specific Device work flow | {base_path}/{version}/vnms/sdwan/workflow/devices/device?{query} | Yes |
deploybulkDevicesJson(deviceWorkflowNamesListWrapper, callback) | Bulk Deploy Device WorkFlow given its names | {base_path}/{version}/vnms/sdwan/workflow/devices/device/bulkDeploy?{query} | Yes |
deployDevice(deviceworkflowname, callback) | Deploy Device WorkFlow given its name | {base_path}/{version}/vnms/sdwan/workflow/devices/device/deploy/{pathv1}?{query} | Yes |
getDeviceWorkflowTemplateDataInJson(deviceWorkflowDatainJson, deviceworkflowname, callback) | Get Device work flow template data | {base_path}/{version}/vnms/sdwan/workflow/devices/device/template/data/{pathv1}?{query} | Yes |
getHaPairedSiteLocationIdMapByTemplate(org, templateName, callback) | Get Ha Pair SiteLocation IdMap by Template | {base_path}/{version}/vnms/sdwan/workflow/devices/device/template/pairedsiteid/{pathv1}?{query} | Yes |
getDeviceJsonWorkflow(deviceworkflowname, callback) | Get a specific Device WorkFlow given its name | {base_path}/{version}/vnms/sdwan/workflow/devices/device/{pathv1}?{query} | Yes |
updateDevicefromJson(sdwanWorkflowWrapperData, deviceworkFlowName, callback) | Update a specific Device work flow | {base_path}/{version}/vnms/sdwan/workflow/devices/device/{pathv1}?{query} | Yes |
deCommisionDeleteWorkflow(cleanConfig, deviceworkflowname, loadDeviceDefaults, resetConfig, callback) | Decommision a specific Device WorkFlow given its name | {base_path}/{version}/vnms/sdwan/workflow/devices/device/{pathv1}?{query} | Yes |
exportDeviceWorkflow(deviceworkflowname, includeAutoGenData, callback) | Export a specific Device work flow data | {base_path}/{version}/vnms/sdwan/workflow/devices/device/{pathv1}/export?{query} | Yes |
importDeviceWorkflows(file, callback) | Import one or more Device work flow data | {base_path}/{version}/vnms/sdwan/workflow/devices/import?{query} | Yes |
importDeviceWorkflowProgressStatus(uuid, callback) | Progress of import Device work flow data | {base_path}/{version}/vnms/sdwan/workflow/devices/import/progress/{pathv1}?{query} | Yes |
importDeviceWorkflowResult(uuid, callback) | Result of import Device work flow data | {base_path}/{version}/vnms/sdwan/workflow/devices/import/result/{pathv1}?{query} | Yes |
getDeviceOwnerStatusInJson(appliancesNames, orgname, callback) | Get Device owner status | {base_path}/{version}/vnms/sdwan/workflow/devices/owner/{pathv1}?{query} | Yes |
deleteDeviceteWorkflows(cleanConfig, deviceWorkflowNames, loadDeviceDefaults, resetConfig, callback) | Delete a specific Device WorkFlow given its name | {base_path}/{version}/vnms/sdwan/workflow/devices/{pathv1}?{query} | Yes |
migrateSDWANWorkflow(callback) | migrate | {base_path}/{version}/vnms/sdwan/workflow/migrate?{query} | Yes |
getOrgWorkflowList(limit, offset, searchKey, callback) | Fetch all organization workflows | {base_path}/{version}/vnms/sdwan/workflow/orgs?{query} | Yes |
createOrgWorkflowFromJson(content, callback) | Create organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/org?{query} | Yes |
deployOrgWorkflow(orgWorkflowName, taskid, callback) | Deploy a specific organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/org/deploy/{pathv1}?{query} | Yes |
getOrgWorkflowFromJson(orgWorkflowName, callback) | Fetch a specific organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/org/{pathv1}?{query} | Yes |
updateOrgWorkflowFromJson(orgWorkflowName, sdwanOrgWorkflowVOWrapper, callback) | Update organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/org/{pathv1}?{query} | Yes |
decommissionOrgWorkflow(orgWorkflowName, taskid, callback) | Decommission a specific organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/org/{pathv1}?{query} | Yes |
deleteOrgWorkflows(orgWorkflowName, callback) | Delete a specific organization workflow | {base_path}/{version}/vnms/sdwan/workflow/orgs/{pathv1}?{query} | Yes |
getUCPEServiceChains(requestParams, callback) | Fetch all ServiceChain workflows | {base_path}/{version}/vnms/sdwan/workflow/servicechains?{query} | Yes |
createUCPEServiceChain(ucpeServiceChainWorkflowVO, callback) | Create ServiceChain workflow | {base_path}/{version}/vnms/sdwan/workflow/servicechains/servicechain?{query} | Yes |
deployUCPEServiceChain(taskid, uCPEServiceChainWorkflowName, callback) | Deploy a specific ServiceChain workflow | {base_path}/{version}/vnms/sdwan/workflow/servicechains/servicechain/deploy/{pathv1}?{query} | Yes |
getUCPEServiceChainById(uCPEServiceChainWorkflowName, callback) | Fetch a specific ServiceChain workflow | {base_path}/{version}/vnms/sdwan/workflow/servicechains/servicechain/{pathv1}?{query} | Yes |
updateUCPEServiceChain(uCPEServiceChainWorkflowName, ucpeServiceChainWorkflowVO, callback) | Update ServiceChain workflow | {base_path}/{version}/vnms/sdwan/workflow/servicechains/servicechain/{pathv1}?{query} | Yes |
deleteUCPEServiceChain(uCPEServiceChainWorkflowName, callback) | Delete a specific ServiceChain workflow | {base_path}/{version}/vnms/sdwan/workflow/servicechains/servicechain/{pathv1}?{query} | Yes |
getAllTemplatesWorkflows(limit, offset, orgname, searchKeyword, callback) | Template Fetch All | {base_path}/{version}/vnms/sdwan/workflow/templates?{query} | Yes |
createTemplateWorkflow(content, callback) | Create a specific template work flow | {base_path}/{version}/vnms/sdwan/workflow/templates/template?{query} | Yes |
deployTemplateWorkflow(templateworkflowname, verifyDiff, callback) | Deploy a specific template work flow | {base_path}/{version}/vnms/sdwan/workflow/templates/template/deploy/{pathv1}?{query} | Yes |
getTemplateWorkflowById(templateworkflowname, callback) | Get a specific template work flow | {base_path}/{version}/vnms/sdwan/workflow/templates/template/{pathv1}?{query} | Yes |
updateTemplateWorkflow(sdwanTemoplateWorkflowJsonWrapper, templateworkflowname, callback) | Update a specific template work flow | {base_path}/{version}/vnms/sdwan/workflow/templates/template/{pathv1}?{query} | Yes |
decommisionTemplateWorkflow(templatename, callback) | Decommision template work flow given its name | {base_path}/{version}/vnms/sdwan/workflow/templates/template/{pathv1}?{query} | Yes |
deleteTemplateWorkflows(templatenames, callback) | Delete template work flow given its name | {base_path}/{version}/vnms/sdwan/workflow/templates/{pathv1}?{query} | Yes |
addPortToTemplateWorkflow(content, templateName, callback) | Add ports to the specified Template | {base_path}/{version}/vnms/sdwan/workflow/templates/{pathv1}/addPorts?{query} | Yes |
getAllRbacPrivilege(callback) | Get all privileges in the system | {base_path}/{version}/nextgen/rbac/privileges?{query} | Yes |
refreshRbacRolesMetaInMemory(callback) | Refresh all roles in cache | {base_path}/{version}/nextgen/rbac/roles/cache/refresh?{query} | Yes |
refreshRbacRolesMetaInMemoryById(roleName, callback) | Refresh role by name in cache | {base_path}/{version}/nextgen/rbac/roles/cache/refresh/{pathv1}?{query} | Yes |
createRbacOrgRole(supportedOrgRoles, callback) | Associate roles to org | {base_path}/{version}/nextgen/rbac/roles/orgs/org?{query} | Yes |
getAvailableRbacOrgRoles(callback) | Fetch all available roles for assigning to org | {base_path}/{version}/nextgen/rbac/roles/orgs/org/available?{query} | Yes |
getRbacOrgRoles(rolename, callback) | Fetch assigned roles for a given org | {base_path}/{version}/nextgen/rbac/roles/orgs/org/{pathv1}?{query} | Yes |
getRbacProviderRoles(roleType = 'PROVIDER', searchKey, callback) | getProviderRoles | {base_path}/{version}/nextgen/rbac/roles/provider?{query} | Yes |
createRbacRole(createRole, callback) | Create custom role with list of privileges definition | {base_path}/{version}/nextgen/rbac/roles/role?{query} | Yes |
updateRbacRole(createRole, callback) | update custom role with list of privileges definition | {base_path}/{version}/nextgen/rbac/roles/role?{query} | Yes |
getRbacRoleById(rolename, callback) | Get role definition by role name | {base_path}/{version}/nextgen/rbac/roles/role/{pathv1}?{query} | Yes |
deleteRbacRole(rolename, callback) | Delete custom role | {base_path}/{version}/nextgen/rbac/roles/role/{pathv1}?{query} | Yes |
deployRbacRole(rolename, callback) | Deploy custom role | {base_path}/{version}/nextgen/rbac/roles/role/{pathv1}/deploy?{query} | Yes |
deployRbacRoleAsync(rolename, taskid, callback) | Deploy custom role in async | {base_path}/{version}/nextgen/rbac/roles/role/{pathv1}/deploy/async?{query} | Yes |
getRbacTenantRoles(roleType = 'PROVIDER', searchKey, callback) | getTenantRoles | {base_path}/{version}/nextgen/rbac/roles/tenant?{query} | Yes |
getVersaDevice(deviceName, callback) | Shows Templates associated to a Device | {base_path}/{version}/nextgen/device/{pathv1}?{query} | Yes |
getAllDeviceGroups(filters, limit, offset, organization, callback) | Device Group Fetch All | {base_path}/{version}/nextgen/deviceGroup?{query} | Yes |
createDeviceGroup(deviceGroupWriteWrapper, callback) | Create a specific Device group | {base_path}/{version}/nextgen/deviceGroup?{query} | Yes |
bulkDeleteDeviceGroup(deviceGroupNames, callback) | Delete a bunch of Device groups given its names | {base_path}/{version}/nextgen/deviceGroup/bulkDelete/{pathv1}?{query} | Yes |
getAllDeviceGroupsNames(organization, callback) | Device Group Names Fetch All | {base_path}/{version}/nextgen/deviceGroup/deviceGroupNames?{query} | Yes |
getAllDeviceGroupsByAnyTemplateAndOrg(organization, template, callback) | Device Group Names Fetch for a given template and org | {base_path}/{version}/nextgen/deviceGroup/deviceGroupNamesByAnyTemplate?{query} | Yes |
getAllDeviceGroupsByTemplate(limit, offset, template, callback) | Device Group Names Fetch for a given template | {base_path}/{version}/nextgen/deviceGroup/deviceGroupNamesByTemplate?{query} | Yes |
getDeviceGroupById(deviceGroupName, callback) | Get a specific Device group given its name | {base_path}/{version}/nextgen/deviceGroup/{pathv1}?{query} | Yes |
updateDeviceGroup(deviceGroupWriteWrapper, deviceGroupName, callback) | Update a specific Device group | {base_path}/{version}/nextgen/deviceGroup/{pathv1}?{query} | Yes |
deleteDeviceGroup(deviceGroupName, callback) | Delete a specific Device group given its name | {base_path}/{version}/nextgen/deviceGroup/{pathv1}?{query} | Yes |
getDeviceGroupStandbyInfo(deviceGroupName, callback) | Get a specific Device group standby given its name | {base_path}/{version}/nextgen/deviceGroup/{pathv1}/standby?{query} | Yes |
getDeviceGroupTemplateAssociation(deviceGroupName, postStagingTemplateName, callback) | Get a specific Device group assocated with template | {base_path}/{version}/nextgen/deviceGroup/{pathv1}/template/{pathv2}?{query} | Yes |
registerDevice(dataAdditionalProperties, dataDeviceName, dataDeviceSerialNubmer, dataRegistrationToken, callback) | register | {base_path}/{version}/vnms/devicereg/api/sdwan/register?{query} | Yes |
getRegistrationDeviceInfo(regtoken, callback) | Get Device Registration info from token | {base_path}/{version}/vnms/devicereg/device/{pathv1}?{query} | Yes |
registerDeviceAsync(regtoken, callback) | External 2 Factor Auth Was completed outside if Versa Director and Start Device Registration Process | {base_path}/{version}/vnms/devicereg/device/{pathv1}/pre-staging?{query} | Yes |
generateDeviceEMAILSecureCode(regtoken, callback) | Send Short Code via email to Administrator of Device or Administrator of Device Group | {base_path}/{version}/vnms/devicereg/device/{pathv1}/securecode/email?{query} | Yes |
generateDeviceSMSSecureCode(regtoken, callback) | Send Short SMS Code to Administrator of Device or Administrator of Device Group | {base_path}/{version}/vnms/devicereg/device/{pathv1}/securecode/sms?{query} | Yes |
verifyDeviceSecureCodeAndRegisterAsync(regtoken, securecode, callback) | Verify Short Code send via email or SMS and upon sucessful verification start Device Registration Processs | {base_path}/{version}/vnms/devicereg/device/{pathv1}/verify/{pathv2}?{query} | Yes |
exportDocsSwagger(docType = 'JSON', group = 'Alarm Notification API', callback) | Export Yaml or JSON document based on group | {base_path}/{version}/export-docs/swagger/group/{pathv1}?{query} | Yes |
getAssets(filters, limit, offset, organization, callback) | Get All Assets | {base_path}/{version}/vnms/assets/asset?{query} | Yes |
availableAssets(callback) | Get list of available assets without serialnumber | {base_path}/{version}/vnms/assets/asset/availableAssets?{query} | Yes |
generateAssetEmail(deviceNames, email, callback) | Generate email for asset registration | {base_path}/{version}/vnms/assets/asset/{pathv1}/generateEmail?{query} | Yes |
updateAsset(asset, deviceName, callback) | Update a specific Asset | {base_path}/{version}/vnms/assets/asset/{pathv1}?{query} | Yes |
cancelAssetSerialNumberReplacement(originalSerialNo, callback) | Cancel Association of Branch with a serial number | {base_path}/{version}/vnms/assets/asset/{pathv1}/cancel-replace?{query} | Yes |
replaceAsset(originalSerialNo, replacementSerialNo, callback) | Replace the serial number of a asset | {base_path}/{version}/vnms/assets/asset/{pathv1}/replace/{pathv2}?{query} | Yes |
associateBranchWithSerialNumber(branchName, serialNo, callback) | Associate Branch with a serial number | {base_path}/{version}/vnms/assets/asset/{pathv1}/associate/{pathv2}?{query} | Yes |
getUnknownDevices(callback) | Get the list of all unknown devices | {base_path}/{version}/vnms/assets/unknownDevices?{query} | Yes |
deleteAllUnknownDevices(serialNumber, callback) | Delete all unknown devices | {base_path}/{version}/vnms/assets/unknownDevices?{query} | Yes |
getUnknownDeviceById(serialNumber, callback) | Get a unknown device by serial number | {base_path}/{version}/vnms/assets/unknownDevices/{pathv1}?{query} | Yes |
deleteUnknownDeviceById(serialNumber, callback) | Delete the unknwn device with serial number | {base_path}/{version}/vnms/assets/unknownDevices/{pathv1}?{query} | Yes |
getLdapGroups(attrname, device, groupprofile, ldapprofile, organization, search, templateName, callback) | Fetch LDAP Groups | {base_path}/{version}/vnms/ldap/groups?{query} | Yes |
getLdapServerProfile(ldapprofile, organization, callback) | Fetch LDAP Server Profile For Organization | {base_path}/{version}/vnms/ldap/ldapserverprofile?{query} | Yes |
createLdapServerProfile(device, ldapprofile, organization, callback) | Create LDAP Server Profile | {base_path}/{version}/vnms/ldap/ldapserverprofile?{query} | Yes |
getOrgToLDAPServerProfilesMap(callback) | Fetch Organization To LDAP Server Profiles | {base_path}/{version}/vnms/ldap/ldapserverprofile/orgtoldapserverprofiles?{query} | Yes |
getLdapServerProfiles(organization, callback) | Fetch List Of LDAP Server Profile For Organization | {base_path}/{version}/vnms/ldap/ldapserverprofiles?{query} | Yes |
getLdapUsers(attrname, device, groupprofile, ldapprofile, organization, search, templateName, callback) | Fetch LDAP Users | {base_path}/{version}/vnms/ldap/users?{query} | Yes |
updateLdapServerProfile(device, ldapprofile, organization, callback) | Update LDAP Server Profile | {base_path}/{version}/vnms/ldap/{pathv1}?{query} | Yes |
deleteLdapServerProfile(ldapprofile, organization, callback) | Delete LDAP Server Profile | {base_path}/{version}/vnms/ldap/{pathv1}?{query} | Yes |
testSmtpSettingResponse(smtpTestParametersBean, callback) | Send Test Email | {base_path}/{version}/vnms/notification/testsetting/smtp?{query} | Yes |
generateAndSaveSPAndIDPMetadata(ssoConfigWrapper, callback) | Save OpenID Connect SP and IDP Metadata | {base_path}/{version}/vnms/sso/openid/metadata?{query} | Yes |
udpateSPAndIDPMetadata(ssoConfigWrapper, callback) | Update OpenID Connect SP and IDP Metadata | {base_path}/{version}/vnms/sso/openid/metadata?{query} | Yes |
getNextgenOrganizations(column, limit, offset, uuidOnly, value, callback) | Get all organization | {base_path}/{version}/nextgen/organization?{query} | Yes |
createOrganization(organization, callback) | Create organization | {base_path}/{version}/nextgen/organization?{query} | Yes |
getOrganizationAgents(orgName, callback) | Get agents for organization | {base_path}/{version}/nextgen/organization/agents/{pathv1}?{query} | Yes |
getOrgsDetails(orgUUIDs, callback) | Get VrfGroups and wan-networks by organization | {base_path}/{version}/nextgen/organization/details?{query} | Yes |
getRootOrganizations(callback) | Get all the roots of organization | {base_path}/{version}/nextgen/organization/roots?{query} | Yes |
getDetailsForUUid(uuid, callback) | Get organization by uuid | {base_path}/{version}/nextgen/organization/uuid/{pathv1}?{query} | Yes |
getOrgVrfs(orgName, callback) | Get VrfGroups by organization | {base_path}/{version}/nextgen/organization/vrfs/{pathv1}?{query} | Yes |
getOrganizationDetails(orgname, uuidOnly, callback) | Get organization by name | {base_path}/{version}/nextgen/organization/{pathv1}?{query} | Yes |
updateOrganization(organization, callback) | Update organization | {base_path}/{version}/nextgen/organization/{pathv1}?{query} | Yes |
deleteOrganization(orgname, callback) | Delete Organization | {base_path}/{version}/nextgen/organization/{pathv1}?{query} | Yes |
getOrgWanNetworkGroups(orguuid, callback) | Get wan network group by organization | {base_path}/{version}/nextgen/organization/{pathv1}/wan-networks?{query} | Yes |
createOrgWanNetworkGroup(wanNetworkGroup, orguuid, callback) | Create wan network group by uuid | {base_path}/{version}/nextgen/organization/{pathv1}/wan-networks?{query} | Yes |
deleteOrgWanNetworkGroups(name, orguuid, callback) | Delete wan network groups | {base_path}/{version}/nextgen/organization/{pathv1}/wan-networks?{query} | Yes |
updateOrgWanNetworkGroup(wanNetworkGroups, orguuid, callback) | Update wan network group by org-uuid | {base_path}/{version}/nextgen/organization/{pathv1}/wan-networks/{pathv2}?{query} | Yes |
deleteOrgWanNetworkGroup(name, orguuid, callback) | Delete wan network group | {base_path}/{version}/nextgen/organization/{pathv1}/wan-networks/{pathv2}?{query} | Yes |
getOrganizations(deep, filters, limit, offset, callback) | Get organizations | {base_path}/{version}/vnms/organization/orgs?{query} | Yes |
getOrgsCount(callback) | Get organization list count | {base_path}/{version}/vnms/organization/orgs/count?{query} | Yes |
setOrgWanPropagate(wanPropagate, callback) | setWanPropagate | {base_path}/{version}/vnms/organization/wanNetworkPropagate?{query} | Yes |
getZonesForOrganization(org, callback) | getZonesForOrganization | {base_path}/{version}/vnms/organization/zones?{query} | Yes |
getOrgChildren(deep, org, callback) | Get children for the organizations | {base_path}/{version}/vnms/organization/{pathv1}/children?{query} | Yes |
listAllOsspackPossibleCurrentVersionOnDevice(callback) | Get all current versions of os spack for device | {base_path}/{version}/vnms/osspack/device/all-current-versions?{query} | Yes |
getAllOsspackDownloadsForDevice(limit, offset, callback) | Get all os spack downloads for device | {base_path}/{version}/vnms/osspack/device/all-downloads?{query} | Yes |
checkDeviceOsspackUpdates(currVersion, updateType, callback) | Get os spack updates for device | {base_path}/{version}/vnms/osspack/device/check-osspack-updates?{query} | Yes |
checkDeviceOsspackUpdatesByDeviceName(device, updateType, callback) | Get os spack updates given device name | {base_path}/{version}/vnms/osspack/device/check-osspack-updates-by-device?{query} | Yes |
deleteOsspackFromDevice(updateType, version, callback) | Delete os spack for device | {base_path}/{version}/vnms/osspack/device/delete-osspack?{query} | Yes |
getDeviceOsspackDownloadsToBeInstalled(limit, offset, callback) | Get available os spack downloads for device | {base_path}/{version}/vnms/osspack/device/downloads-available?{query} | Yes |
instalOsspackOnlDevices(devicesInstallBean, taskid, callback) | Install os spack for device | {base_path}/{version}/vnms/osspack/device/install-osspack?{query} | Yes |
getAllOsspackDownloadsForDirector(limit, offset, callback) | Get all os spack downloads for director | {base_path}/{version}/vnms/osspack/director/all-downloads?{query} | Yes |
checkDirectorOsspackUpdates(updateType, callback) | Get os spack updates for director | {base_path}/{version}/vnms/osspack/director/check-osspack-updates?{query} | Yes |
deleteOsspackFromDirector(updateType, version, callback) | Delete os spack for director | {base_path}/{version}/vnms/osspack/director/delete-osspack?{query} | Yes |
getDirectorOsspackDownloadsToBeInstalled(limit, offset, callback) | Get available os spack downloads for director | {base_path}/{version}/vnms/osspack/director/downloads-available?{query} | Yes |
installDirectorOsspack(directorInstallBean, taskid, callback) | Install os spack for director | {base_path}/{version}/vnms/osspack/director/install-osspack?{query} | Yes |
downloadOsspack(product, taskid, updateType, version, callback) | Download os spack | {base_path}/{version}/vnms/osspack/download?{query} | Yes |
getAdminAlerts(callback) | getAlerts | {base_path}/{version}/vnms/system/admin/alerts?{query} | Yes |
getCertificateRemainingDays(callback) | Fetch expiry time and validity of Digital Certificate | {base_path}/{version}/vnms/system/admin/digital-certificate/remaining-time?{query} | Yes |
uploadApplianceDebPackage(description, fileType, name, productType, uploadFile, url, urlFormData, callback) | Upload FlexVNF or Director Image to Director | {base_path}/{version}/vnms/system/admin/packages/add?{query} | Yes |
getSystemLogLevel(logger, callback) | Fetch Logger Level | {base_path}/{version}/vnms/system/config/logging/{pathv1}/level?{query} | Yes |
updateSystemLogLevel(level, logger, callback) | Update Logger Level | {base_path}/{version}/vnms/system/config/logging/{pathv1}/level/{pathv2}?{query} | Yes |
checkUpdateMinImageVersion(prefImageVersionJson, callback) | Update Preferred Image Vesion | {base_path}/{version}/vnms/system/updateMinImageVersion?{query} | Yes |
getAllRegions(filters, limit, offset, callback) | Fetch list of regions | {base_path}/{version}/nextgen/regions?{query} | Yes |
createRegion(region, callback) | Create a specific region | {base_path}/{version}/nextgen/regions?{query} | Yes |
getNextAvailableRegionId(callback) | Fetch next available region id | {base_path}/{version}/nextgen/regions/id?{query} | Yes |
getRegionById(regionName, callback) | Fetch a specific region | {base_path}/{version}/nextgen/regions/{pathv1}?{query} | Yes |
updateRegion(region, regionName, callback) | Update a specific region | {base_path}/{version}/nextgen/regions/{pathv1}?{query} | Yes |
deleteRegion(regionName, callback) | Delete a specific region given its name | {base_path}/{version}/nextgen/regions/{pathv1}?{query} | Yes |
generateAndSaveIDPMetadata(connectorname, idpmetadataxml, callback) | Save SAML IDP Metadata | {base_path}/{version}/vnms/sso/idpmetadata?{query} | Yes |
getSSOOverallStatus(callback) | Get overall SSO Status | {base_path}/{version}/vnms/sso/overallstatus?{query} | Yes |
getSSORolesMappingById(tenantname, callback) | Get SSO role mapping | {base_path}/{version}/vnms/sso/rolesmapping/{pathv1}?{query} | Yes |
updateSSORolesMapping(mapper, tenantname, callback) | Update SSO role mapping | {base_path}/{version}/vnms/sso/rolesmapping/{pathv1}?{query} | Yes |
deleteSSORolesMapping(tenantname, callback) | Delete SSO role mapping | {base_path}/{version}/vnms/sso/rolesmapping/{pathv1}?{query} | Yes |
generateAndSaveSPMetadata(ssoConfigWrapper, callback) | Save SAML SP Metadata | {base_path}/{version}/vnms/sso/spmetadata?{query} | Yes |
updateSPMetadata(ssoConfigWrapper, callback) | Update SAML SP Metadata | {base_path}/{version}/vnms/sso/spmetadata?{query} | Yes |
getSSOStatus(orgname, callback) | Get SSO Status | {base_path}/{version}/vnms/sso/status?{query} | Yes |
getSSOStatusWithURL(clientname, orgname, callback) | Get SSO Status | {base_path}/{version}/vnms/sso/statuswithurl?{query} | Yes |
getSDWANAssetsByOrgNameAndDeviceType(deviceType, orgName, region, callback) | getAssetsByOrgNameAndDeviceType | {base_path}/{version}/vnms/sdwan/assets/byOrgAndDevType?{query} | Yes |
getSDWANDeviceMappingURL(controller, devicename, callback) | getDeviceMappingURL | {base_path}/{version}/vnms/sdwan/device-url-mappings/device-url-mapping/{pathv1}?{query} | Yes |
getSDWANAvailableIds(count, objectType = 'Controller', callback) | Get next(n) available ids | {base_path}/{version}/vnms/sdwan/global/availableIds/{pathv1}?{query} | Yes |
getSDWANNextGlobalId(objectType = 'Controller', callback) | Get next available id | {base_path}/{version}/vnms/sdwan/global/{pathv1}/availableId?{query} | Yes |
getSDWANNextGlobalIdWithSerialNumber(objectType = 'Controller', callback) | Get next available id and serial number | {base_path}/{version}/vnms/sdwan/global/{pathv1}/availableId/withSerialNumber?{query} | Yes |
freeAllSDWANCachedValues(objectType = 'Controller', callback) | Free temporarily reserved global-id from cache by type | {base_path}/{version}/vnms/sdwan/global/{pathv1}/freeAllCachedValues?{query} | Yes |
freeSDWANCachedAvailableGlobalId(availableId, objectType = 'Controller', callback) | Free temporarily reserved global-id from cache by type and id | {base_path}/{version}/vnms/sdwan/global/{pathv1}/freecached/{pathv2}?{query} | Yes |
getSDWANStagingControllers(organization, callback) | getStagingControllers | {base_path}/{version}/vnms/sdwan/staging-controllers?{query} | Yes |
getSDWANStagingControllerVPNProfiles(controller, callback) | getStagingControllerVPNProfiles | {base_path}/{version}/vnms/sdwan/staging-controllers/controller/{pathv1}?{query} | Yes |
getSDWANURLBasedZTPInfo(deviceGroup, callback) | getURLBasedZTPInfo | {base_path}/{version}/vnms/sdwan/url-ztp-info/device-group/{pathv1}?{query} | Yes |
createSiteToSiteTunnelVPNProfile(siteToSiteTunnelVPNProfileVO, callback) | Create SiteToSite Tunnel VPN Profile | {base_path}/{version}/vnms/sitetosite/vpn/profile?{query} | Yes |
updateSiteToSiteTunnelVPNProfile(siteToSiteTunnelVPNProfileVO, callback) | Update SiteToSite Tunnel VPN Profile | {base_path}/{version}/vnms/sitetosite/vpn/profile?{query} | Yes |
getSiteToSiteTunnelVPNProfileNames(orgUuid, callback) | Fetch List Of SiteToSite Tunnel VPN Profile Names | {base_path}/{version}/vnms/sitetosite/vpn/profilenames?{query} | Yes |
getSiteToSiteTunnelVPNProfileNamesByTunnelProtocol(orgUuid, tunnelProtocol, callback) | getSiteToSiteTunnelVPNProfileNamesByTunnelProtocol | {base_path}/{version}/vnms/sitetosite/vpn/profilenames/{pathv1}/tunnelProtocol/{pathv2}?{query} | Yes |
getSiteToSiteTunnelVPNProfiles(orgUuid, callback) | Fetch List Of SiteToSite Tunnel VPN Profiles | {base_path}/{version}/vnms/sitetosite/vpn/profiles?{query} | Yes |
deleteSiteToSiteTunnelVPNProfiles(orgUuid, siteToSiteTunnelVPNProfileNames, callback) | Delete SiteToSite Tunnel VPN Profile | {base_path}/{version}/vnms/sitetosite/vpn/profiles?{query} | Yes |
cancelSpackDownload(rtuVersion, updatetype, versionToDownload, callback) | Spack Download Cancel | {base_path}/{version}/vnms/spack/cancel?{query} | Yes |
checkAvailableSpackUpdates(updatetype, callback) | Spack Fetch Latest List | {base_path}/{version}/vnms/spack/checkavailableupdates?{query} | Yes |
checkSpackUpdate(updatetype, callback) | Spack Fetch Latest | {base_path}/{version}/vnms/spack/checkupdate?{query} | Yes |
deleteSpackPackages(packageName, callback) | Spack Delete | {base_path}/{version}/vnms/spack/deletepackages?{query} | Yes |
downloadSpack(taskid, updatetype, versionToDownload, callback) | Spack Download | {base_path}/{version}/vnms/spack/download?{query} | Yes |
getMultiPredefinedSpack(xPath, callback) | getMultiPredefined | {base_path}/{version}/vnms/spack/multipredefined?{query} | Yes |
getPredefinedSpack(xPath, callback) | Predefined | {base_path}/{version}/vnms/spack/predefined?{query} | Yes |
updateToSpackAppliance(device, flavour, packageName, taskid, updateVD, updatetype, version, callback) | Spack Install | {base_path}/{version}/vnms/spack/updateAppliance?{query} | Yes |
uploadSpack(flavour, spackChecksumFile, spackFile, taskid, updatetype, callback) | upload | {base_path}/{version}/vnms/spack/upload?{query} | Yes |
getSpackCount(includeCount, limit, offset, onlyCount, orderBy, callback) | Fetch Downloaded Spacks Count | {base_path}/{version}/nextgen/spack/count?{query} | Yes |
getSpackLogs(includeCount, limit, offset, onlyCount, orderBy, callback) | Fetch All Downloaded Spacks Info | {base_path}/{version}/nextgen/spack/downloads?{query} | Yes |
getSpokeGroups(limit, offset, org, callback) | Spoke Groups Fetch All | {base_path}/{version}/nextgen/spokegroup?{query} | Yes |
createSpokeGroup(spokeGroupBean, callback) | Create a Spoke group | {base_path}/{version}/nextgen/spokegroup?{query} | Yes |
getSpokeGroupById(spokeGroupName, callback) | Get a specific Spoke group given its name | {base_path}/{version}/nextgen/spokegroup/{pathv1}?{query} | Yes |
updateSpokeGroup(spokeGroupBean, spokeGroupName, callback) | Update a specific Spoke group | {base_path}/{version}/nextgen/spokegroup/{pathv1}?{query} | Yes |
deleteSpokeGroup(spokeGroupName, callback) | Delete a specific Spoke group given its name | {base_path}/{version}/nextgen/spokegroup/{pathv1}?{query} | Yes |
getTasks(applianceName, includeCount, limit, offset, onlyCount, orderBy, status, callback) | Fetch Tasks | {base_path}/{version}/vnms/tasks?{query} | Yes |
deleteBulkTasks(id, callback) | Delete Multiple Tasks | {base_path}/{version}/vnms/tasks?{query} | Yes |
getTaskSummary(includeCount, limit, offset, onlyCount, orderBy, callback) | Fetch Tasks Summary | {base_path}/{version}/vnms/tasks/summary?{query} | Yes |
getTaskById(id, callback) | Get task by id | {base_path}/{version}/vnms/tasks/task/{pathv1}?{query} | Yes |
deleteTask(id, callback) | Delete Task by id | {base_path}/{version}/vnms/tasks/task/{pathv1}?{query} | Yes |
getTemplateReferences(deviceGroup, template, callback) | Given Device Group and POST Staging Template find all Template Association. | {base_path}/{version}/nextgen/template/{pathv1}/associations/references/deviceGroup/{pathv2}?{query} | Yes |
getAllTemplateReferences(deviceGroup, template, callback) | Given Device Group and POST Staging Template find all Template Association. | {base_path}/{version}/nextgen/template/{pathv1}/associations/sequence/deviceGroup/{pathv2}?{query} | Yes |
createBindData(data, callback) | Create TemplateBindData | {base_path}/{version}/nextgen/binddata/?{query} | Yes |
getBinddataHeaderAndCount(deviceGroupName, templateName, callback) | Get template binddata header and count | {base_path}/{version}/nextgen/binddata/header/template/{pathv1}/devicegroup/{pathv2}?{query} | Yes |
getBinddataForTemplate(templateName, callback) | getBinddataForTemplate | {base_path}/{version}/nextgen/binddata/template/{pathv1}?{query} | Yes |
getTemplateBindata(allBinddata, device, deviceGroupName, limit, offset, searchKeyword, templateName, callback) | Get all Template BindData variables | {base_path}/{version}/nextgen/binddata/templateData/template/{pathv1}/devicegroup/{pathv2}?{query} | Yes |
saveTemplateBindata(deviceGroupName, mode, templateName, templateVariable, callback) | Update Template BindData | {base_path}/{version}/nextgen/binddata/templateData/template/{pathv1}/devicegroup/{pathv2}?{query} | Yes |
deleteTemplateBindata(deviceGroupName, templateName, templateVariable, callback) | Delete All TemplateBindData for a template and device | {base_path}/{version}/nextgen/binddata/templateData/template/{pathv1}/devicegroup/{pathv2}/delete?{query} | Yes |
getBindDataById(id, callback) | Get template binddata | {base_path}/{version}/nextgen/binddata/{pathv1}?{query} | Yes |
getTemplateCategories(callback) | Get All Template Categories | {base_path}/{version}/nextgen/template/categories?{query} | Yes |
getTemplateByCategory(category, callback) | Get All Template Categories by category | {base_path}/{version}/nextgen/template/categories/category/{pathv1}?{query} | Yes |
getTemplateCategoriesForOrg(category, organization, callback) | Get All Template Categories filtered by org and category | {base_path}/{version}/nextgen/template/categories/category/{pathv1}/organization/{pathv2}?{query} | Yes |
getTemplateShareCategories(organization, searchKey, callback) | Get All Shared Template Categories filtered by org and searchkey | {base_path}/{version}/nextgen/template/categories/organization/{pathv1}?{query} | Yes |
getTemplateMetadataById(light, templateName, callback) | Get Template Metadata Information associated with Template Name. | {base_path}/{version}/nextgen/templates/template-metadata/{pathv1}?{query} | Yes |
saveTemplateMetadata(model, templateName, callback) | Save Template Metadata Information associated with Template Name. | {base_path}/{version}/nextgen/templates/template-metadata/{pathv1}?{query} | Yes |
getAllImages(limit, offset, callback) | Get UCPE Images | {base_path}/{version}/vnms/catalog/images?{query} | Yes |
uploadImageDetails(cpuCount, description, diskSize, fileName, fileType, isAuxiliaryInterface, isSecondaryDiskNeeded, memory, name, secondaryDiskSize, serviceFunctions, vendor, vendorProductType, version, callback) | Add metadata for an Image | {base_path}/{version}/vnms/catalog/images?{query} | Yes |
deleteImage(uuid, callback) | Delete UCPE Image | {base_path}/{version}/vnms/catalog/images?{query} | Yes |
updateImage(fileType, page, uuid, callback) | Update UCPE Image with UUID | {base_path}/{version}/vnms/catalog/images/image?{query} | Yes |
getImageLogo(vendor, vendorProductType, callback) | Get Logo of a Product | {base_path}/{version}/vnms/catalog/images/logo?{query} | Yes |
updateImageLogoforDoc(page, vendor, vendorProductType, callback) | Update Logo of UCPE Vendor's Prodcut | {base_path}/{version}/vnms/catalog/images/logo?{query} | Yes |
updateImageMetadata(cpuCount, description, diskSize, isAuxiliaryInterface, isSecondaryDiskNeeded, memory, secondaryDiskSize, serviceFunctions, uuid, callback) | Update UCPE Image's Metadata | {base_path}/{version}/vnms/catalog/images/meta?{query} | Yes |
getImageByName(name, callback) | Get UCPE Image by Name | {base_path}/{version}/vnms/catalog/images/name?{query} | Yes |
urlImageUpload(imageDetails, callback) | Upload a UCPE Image from a HTTP url | {base_path}/{version}/vnms/catalog/images/urlUpload?{query} | Yes |
getImageByUuid(uuid, callback) | Get UCPE Image by UUID | {base_path}/{version}/vnms/catalog/images/uuid?{query} | Yes |
getImageByVendor(limit, offset, vendor, callback) | Get UCPE Images of a Specific Vendor | {base_path}/{version}/vnms/catalog/images/vendor?{query} | Yes |
getImageList(limit, offset, vendor, vendorProductType, callback) | Get UCPE Images of a Specific Vendor and Product | {base_path}/{version}/vnms/catalog/images/vendor/vendorproducttype?{query} | Yes |
getImageByVendorProductType(limit, offset, vendorProductType, callback) | Get UCPE Images of a Specific Vendor's Product | {base_path}/{version}/vnms/catalog/images/vendorproducttype?{query} | Yes |
uploadCaptivePortalToAppliance(actiontype, appliance, orgUuid, pagename, callback) | Upload Captive Portal File To Appliance | {base_path}/{version}/vnms/captiveportal/custompages/appliance?{query} | Yes |
deleteCaptivePortalFromAppliance(actiontype, appliance, orgUuid, pagename, callback) | Delete Captive Portal File From Appliance | {base_path}/{version}/vnms/captiveportal/custompages/appliance?{query} | Yes |
getListOfPortalPages(orgUuid, callback) | Fetch List Of Captive Portal Files | {base_path}/{version}/vnms/captiveportal/custompages/vd?{query} | Yes |
uploadCaptivePortalToVD(file, orgUuid, callback) | Upload Captive Portal File To VD | {base_path}/{version}/vnms/captiveportal/custompages/vd?{query} | Yes |
deleteCaptivePortalFromVD(orgUuid, pagename, callback) | Delete Captive Portal File From VD | {base_path}/{version}/vnms/captiveportal/custompages/vd?{query} | Yes |
getIPSFilterTypes(filterpath, orgUuid, callback) | Fetch custom ips filter types | {base_path}/{version}/vnms/ipscustomrule/filterTypes?{query} | Yes |
uploadIPSVulnerabilityRuleFile(file, orgUuid, callback) | Upload IPS Rule File To VD | {base_path}/{version}/vnms/ipscustomrule/rulefiles?{query} | Yes |
getListOfIPSUnzippedRuleFiles(orgUuid, callback) | Fetch List Of UnZipped IPS Rule Files | {base_path}/{version}/vnms/ipscustomrule/rulefiles/appliance?{query} | Yes |
uploadIPSCustomRuleFileToAppliance(appliance, filename, orgUuid, callback) | Upload IPS Rule File To Appliance | {base_path}/{version}/vnms/ipscustomrule/rulefiles/appliance?{query} | Yes |
deleteApplianceIPSRuleFile(appliance, filename, orgUuid, callback) | Delete IPS Rule From Appliance | {base_path}/{version}/vnms/ipscustomrule/rulefiles/appliance?{query} | Yes |
configureIPSVulnerabilityRuleFiles(appliance, disablefile, enablefile, orgUuid, callback) | Enable/Disable IPS Rule File | {base_path}/{version}/vnms/ipscustomrule/rulefiles/configuration?{query} | Yes |
deleteVDIPSRuleFile(filename, orgUuid, callback) | Delete IPS Rule File From VD | {base_path}/{version}/vnms/ipscustomrule/rulefiles/vd?{query} | Yes |
getIPSSignatures(condition, filters, limit, offset, orgUuid, callback) | Fetch custom ips signatures | {base_path}/{version}/vnms/ipscustomrule/signatures?{query} | Yes |
uploadKeyTabToAppliance(appliance, keytab, orgUuid, callback) | Upload KeyTab File To Appliance | {base_path}/{version}/vnms/keytab/appliance?{query} | Yes |
deleteKeyTabFromAppliance(appliance, keytab, orgUuid, callback) | Delete Key Tab File From Appliance | {base_path}/{version}/vnms/keytab/appliance?{query} | Yes |
uploadKeyTabToVD(file, orgUuid, callback) | Upload KeyTab File To VD | {base_path}/{version}/vnms/keytab/vd?{query} | Yes |
deleteKeyTabFromVD(keytab, orgUuid, callback) | Delete KeyTab File From VD | {base_path}/{version}/vnms/keytab/vd?{query} | Yes |
uploadPACToAppliance(appliance, orgUuid, pac, callback) | Upload PAC File To Appliance | {base_path}/{version}/vnms/pac/appliance?{query} | Yes |
deletePACFromAppliance(appliance, orgUuid, pac, callback) | Delete PAC File From Appliance | {base_path}/{version}/vnms/pac/appliance?{query} | Yes |
uploadPACToVD(file, orgUuid, callback) | Upload PAC File To VD | {base_path}/{version}/vnms/pac/vd?{query} | Yes |
deletePACFromVD(orgUuid, pac, callback) | Delete PAC File From VD | {base_path}/{version}/vnms/pac/vd?{query} | Yes |
getApplianceSecurityFileInfo(appliance, orgUuid, type, callback) | Fetch Appliance Security File Info | {base_path}/{version}/vnms/upload/{pathv1}/appliance?{query} | Yes |
uploadSecuityFileToAppliance(appliance, file, name, orgUuid, passPhrase, privKey, type, callback) | Upload Security File To Appliance | {base_path}/{version}/vnms/upload/{pathv1}/appliance?{query} | Yes |
deleteSecurityFileFromAppliance(appliance, file, name, orgUuid, type, callback) | Delete Security File From Appliance | {base_path}/{version}/vnms/upload/{pathv1}/appliance?{query} | Yes |
getVDSecurityFileInfo(orgUuid, type, callback) | Fetch VD Security File Info | {base_path}/{version}/vnms/upload/{pathv1}/vd?{query} | Yes |
uploadSecurityFileToVD(file, name, orgUuid, type, callback) | Upload Security File To VD | {base_path}/{version}/vnms/upload/{pathv1}/vd?{query} | Yes |
deleteSecurityFileFromVD(file, name, orgUuid, type, callback) | Delete Security File From VD | {base_path}/{version}/vnms/upload/{pathv1}/vd?{query} | Yes |
uploadCertificateToAppliance(appliance, certificateAuthorityChainName, filename, orgUuid, callback) | Upload Trusted Certificate File To Appliance | {base_path}/{version}/vnms/certificatemanager/certificates/appliance?{query} | Yes |
deleteApplianceCertificate(appliance, certificateAuthorityChainName, orgUuid, callback) | Delete Trusted Certificate File From Appliance | {base_path}/{version}/vnms/certificatemanager/certificates/appliance?{query} | Yes |
uploadCertificateToVD(certificateAuthorityChainName, file, orgUuid, callback) | Upload Trusted Certificate File To VD | {base_path}/{version}/vnms/certificatemanager/certificates/vd?{query} | Yes |
deleteVDCertificate(certificateAuthorityChainName, filename, orgUuid, callback) | Delete Trusted Certificate File From VD | {base_path}/{version}/vnms/certificatemanager/certificates/vd?{query} | Yes |
findActiveLoginUsers(callback) | Get all login users | {base_path}/{version}/nextgen/track/users/activelogin?{query} | Yes |
exportAllUsers(callback) | Export all provider and tenant users | {base_path}/{version}/nextgen/track/users/export?{query} | Yes |
findAllLockedUsers(callback) | Get all locked users | {base_path}/{version}/nextgen/track/users/lockedusers?{query} | Yes |
getPasswordScore(password, callback) | Get password score | {base_path}/{version}/nextgen/track/users/passwordscore?{query} | Yes |
unlockUsersAccount(usernameList, callback) | Bulck Un-lock users | {base_path}/{version}/nextgen/track/users/unlockusers?{query} | Yes |
findUserById(username, callback) | Fetch user details by user name | {base_path}/{version}/nextgen/track/users/user/{pathv1}?{query} | Yes |
userAccountLocked(username, callback) | Find user lock status | {base_path}/{version}/nextgen/track/users/user/{pathv1}/auth/locked?{query} | Yes |
lockUserAccount(username, callback) | Lock user by name | {base_path}/{version}/nextgen/track/users/user/{pathv1}/auth/lockuser?{query} | Yes |
unlockUserAccount(username, callback) | Un-lock user by name | {base_path}/{version}/nextgen/track/users/user/{pathv1}/auth/unlockuser?{query} | Yes |
getUserGlobalSettings(callback) | Get global user settings | {base_path}/{version}/nextgen/track/users/usersettings?{query} | Yes |
saveUserGlobalSettings(userSettings, callback) | save global user settings | {base_path}/{version}/nextgen/track/users/usersettings?{query} | Yes |
downloadCommonFile(type, uuid, callback) | download file by type like ucpeCustomData and uuid | {base_path}/{version}/vnms/common/download/{pathv1}/{pathv2}?{query} | Yes |
uploadCommonFileToVD(file, model, type, callback) | Upload file to a given type like ucpeCustomData | {base_path}/{version}/vnms/common/upload/{pathv1}?{query} | Yes |
getCommonFileMiniSummary(type, callback) | Fetch all Files by type with miniumn details | {base_path}/{version}/vnms/common/upload/{pathv1}/minsummary?{query} | Yes |
getAllCommonFilesByType(type, callback) | Fetch all Files by type | {base_path}/{version}/vnms/common/upload/{pathv1}/summary?{query} | Yes |
getAllCommonFilesByMultipleTypes(type, uuid, callback) | Fetch FileUploadInfo by type and uuid | {base_path}/{version}/vnms/common/upload/{pathv1}/{pathv2}?{query} | Yes |
updateCommonFileMeta(fileMetaData, type, uuid, callback) | Update file metadata to a given type like ucpeCustomData and uuid | {base_path}/{version}/vnms/common/upload/{pathv1}/{pathv2}?{query} | Yes |
deleteCommonFile(type, uuid, callback) | delete file by type like ucpeCustomData and uuid | {base_path}/{version}/vnms/common/upload/{pathv1}/{pathv2}?{query} | Yes |
registerClientByAdmin(clientRegnRequest, callback) | Create OAuth client | {base_path}/{version}/auth/admin/clients?{query} | Yes |
updateClientByAdmin(clientRegnRequest, id, callback) | Update OAuth client | {base_path}/{version}/auth/admin/clients/{pathv1}?{query} | Yes |
getClientByClient(id, callback) | Get OAuth client | {base_path}/{version}/auth/clients/{pathv1}?{query} | Yes |
updateClient(clientUpdateRequest, id, callback) | Update OAuth client | {base_path}/{version}/auth/clients/{pathv1}?{query} | Yes |
deleteClientByClient(id, callback) | Delete OAuth client | {base_path}/{version}/auth/clients/{pathv1}?{query} | Yes |
refreshClientSecrect(id, callback) | Refresh OAuth client Secrect | {base_path}/{version}/auth/clients/{pathv1}/secrets?{query} | Yes |
updateExternalOAuthTokenServer(email, isEnabled, org, role, userInfoEndPoint, callback) | External OAuth token server | {base_path}/{version}/auth/externalserver?{query} | Yes |
refreshAccessToken(userRefreshTokenRequest, callback) | Refresh OAuth token | {base_path}/{version}/auth/refresh?{query} | Yes |
revokeToken(callback) | Revoke OAuth token | {base_path}/{version}/auth/revoke?{query} | Yes |
generateUserEMAILSecureCode(username, callback) | Send secure code to email for a given user | {base_path}/{version}/vnms/user/authenticate/{pathv1}/securecode/email?{query} | Yes |
generateUserSMSSecureCode(username, callback) | Send secure code to mobile for a given user | {base_path}/{version}/vnms/user/authenticate/{pathv1}/securecode/sms?{query} | Yes |
verifyUserSecureCodeAndRegisterAsync(securecode, username, callback) | Verify secure code | {base_path}/{version}/vnms/user/authenticate/{pathv1}/verify/{pathv2}?{query} | Yes |
getAllVendors(callback) | Fetch all Vendor Details | {base_path}/{version}/vnms/catalog/vendors/all?{query} | Yes |
addVendorProductType(vendorId, vendorProductType, callback) | Add a Product to a Vendor | {base_path}/{version}/vnms/catalog/vendors/product-type?{query} | Yes |
deleteVendorProductType(uuid, callback) | Delete the ProductType of User-Defined Vendor | {base_path}/{version}/vnms/catalog/vendors/productType?{query} | Yes |
getUserDefinedVendors(callback) | Get User-Defined Vendors and their Product Details | {base_path}/{version}/vnms/catalog/vendors/userdefined-vendor?{query} | Yes |
addVendor(vendor, callback) | Create a User-Defined Vendor | {base_path}/{version}/vnms/catalog/vendors/userdefined-vendor?{query} | Yes |
searchUserDefinedVendor(searchStr, callback) | Search for a user-defined vendor | {base_path}/{version}/vnms/catalog/vendors/userdefined-vendor/search?{query} | Yes |
getVendors(callback) | Get Pre-defined Vendors and their Product Details | {base_path}/{version}/vnms/catalog/vendors/vendor?{query} | Yes |
deleteVendor(vendorId, callback) | Delete the User-Defined Vendor | {base_path}/{version}/vnms/catalog/vendors/vendor?{query} | Yes |
getCMSConnectorList(deep, callback) | This will get the list of all CMS connectors available | {base_path}/{version}/api/config/nms/cmsconnectors?{query} | Yes |
getAnalyticsClusterList(select, callback) | Query the list of Analytics Cluster that has been configured in the Versa Director | {base_path}/{version}/api/config/nms/provider/analytics-cluster?{query} | Yes |
getSoftwarePackageVersion(callback) | Get the details of the Versa Director software package | {base_path}/{version}/api/operational/system/package-info?{query} | Yes |
getAvailableOrganizationIds(callback) | Get Available (New) Org-ID for a New Org | {base_path}/{version}/vnms/sdwan/global/Org/availableId?{query} | Yes |
getTemplateMetadata(organization, type, offset, limit, callback) | List of Service Templates for an Org | {base_path}/{version}/vnms/template/metadata?{query} | Yes |
addServiceTemplate(body, callback) | Add Service Template | {base_path}/{version}/vnms/template/serviceTemplate?{query} | Yes |
exportServiceTemplate(template, callback) | Export a Service Template | {base_path}/{version}/versa/templates/template/export/{pathv1}?{query} | Yes |
cloneMasterTemplate(body, callback) | Clone the Master Template | {base_path}/{version}/vnms/template/cloneTemplate?{query} | Yes |
createTemplateOrgLANZone(newOrgName, body, callback) | Create LAN Zone | {base_path}/{version}/api/config/devices/template/{pathv1}-DataStore/config/orgs/org-services/{pathv2}/objects/zones?{query} | Yes |
importaServiceTemplate(body, callback) | Import a Service Template | {base_path}/{version}/?{query} | Yes |
getExistingSpokeGroups(offset, limit, callback) | Get Existing Spoke Groups | {base_path}/{version}/spokegroup?{query} | Yes |
getApplianceList(offset, limit, callback) | Get Appliance List - Extra API for reference | {base_path}/{version}/vnms/cloud/systems/getAllAppliancesBasicDetails?{query} | Yes |
getSDWANAvailableIdWithSerial(callback) | Get Available DeviceID, SerialNum | {base_path}/{version}/vnms/sdwan/global/Branch/availableId/withSerialNumber?{query} | Yes |
getSDWANAvailableVRFIds(count, callback) | Get Available (New) VRF-ID for LAN-VR | {base_path}/{version}/vnms/sdwan/global/availableIds/VRF?{query} | Yes |
getLatitudeLongitudeofAddress(channel, key, address, body, callback) | Get Latitude Longitude of Address | {base_path}/{version}/json?{query} | Yes |
getOrgApplianceUUID(callback) | Get Org UUID | {base_path}/{version}/api/config/nms/provider/organizations/organization?{query} | Yes |
getOrganizationWANNetworks(newOrgUuid, callback) | Get the available WAN Networks | {base_path}/{version}/api/config/nms/provider/organizations/organization/{pathv1}/wan-networks?{query} | Yes |
createOrganizationWANNetwork(newOrgUuid, newNwName, body, callback) | Create a WAN Network | {base_path}/{version}/api/config/nms/provider/organizations/organization/{pathv1}/wan-networks/wan-network/{pathv2}?{query} | Yes |
get(body, callback) | Create New LAN VR during Org Creation | {base_path}/{version}/?{query} | Yes |
getBulkCommunityGroup(callback) | Get Bulk Community Group | {base_path}/{version}/nextgen/community/bulkCommunityCreate?{query} | Yes |
updateSolutionTieronsetofDevices(body, callback) | Update Solution Tier on set of Devices | {base_path}/{version}/api/config/nms/actions/_operations/perform-subscription-action?{query} | Yes |
getInterface(device, callback) | Get Interface | {base_path}/{version}/api/config/devices/device/{pathv1}/config/interfaces?{query} | Yes |
getInterfaceDetails(device, callback) | Get Interface Copy | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/info?{query} | Yes |
getIPSecTunnelInterfaces(device, callback) | Get IPSec Tunnel Interfaces | {base_path}/{version}/api/config/devices/device/{pathv1}/config/interfaces/ipsec?{query} | Yes |
getLogicalTunnelInterfaces(device, callback) | Get Logical Tunnel Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/lt?{query} | Yes |
getPhysicalInterfaces(device, callback) | Get Physical Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/interfaces/vni?{query} | Yes |
getVersaTunnelVirtualInterfaces(device, callback) | Get Versa Tunnel Virtual Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/interfaces/tvi?{query} | Yes |
getVersaPseudoTunnelVirtualInterfaces(device, callback) | Get Versa Pseudo Tunnel Virtual Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/interfaces/ptvi?{query} | Yes |
getVersaWlanInterface(device, callback) | Get Versa wlan Interface | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/interfaces/wlan?{query} | Yes |
getVersaWwanInterface(device, callback) | Get Versa wwan Interface | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/interfaces/wwan?{query} | Yes |
getIPInformationforActiveInterfaces(device, callback) | Get IP Information for active interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/ip/detail?{query} | Yes |
getIPInformationforDynamicInterfaces(device, callback) | Get IP Information for Dynamic Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/dynamic-tunnels?{query} | Yes |
getTrafficonPhysicalInterfaces(device, orgid, callback) | Get Traffic on Physical Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/info/{pathv2}/org_intf?{query} | Yes |
getTrafficonAllInterfaces(device, callback) | Get Traffic on All Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/statistics?{query} | Yes |
getTrafficonSpecificInterfaces(device, interfaceParam, callback) | Get Traffic on Specific Interfaces | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/interfaces/statistics/{pathv2}?{query} | Yes |
getSLAmetricsforAppliance(device, uuid, command, callback) | Get SLA Metrics for an Appliance | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/live?{query} | Yes |
getSLAmetricsforApplianceFilter(device, uuid, command, format, filters, callback) | Get SLA Metrics for an Appliance | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/live?{query} | Yes |
getAllSDWANPoliciesofanAppliance(device, orgid, poligyGroup, callback) | Get All SD-WAN Policies of an Appliance | {base_path}/{version}/api/config/devices/device/{pathv1}/config/orgs/org-services/{pathv2}/sd-wan/policies/sdwan-policy-group/{pathv3}/rules?{query} | Yes |
getAllAvailableLicenseTiers(callback) | Get All Available Solution Tiers | {base_path}/{version}/vnms/license-key/all-available-tiers?{query} | Yes |
getOrganizationDHCPOptionsProfile(organization, template, callback) | get DHCP Options Profies within the specified organization | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-options-profiles?{query} | Yes |
getOrganizationZones(organization, template, callback) | get Zones within the specified organization | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/objects/zones/zone?{query} | Yes |
deletePhysicalInterfaces(templateName, vniInterfaceName, callback) | delete Physical Interfaces | {base_path}/{version}/api/config/devices/template/{pathv1}/config/interfaces/vni/{pathv2}?{query} | Yes |
addPostStagingTemplateCgnatPool(templateName, orgname, unhide, body, callback) | add Post Staging Template Cgnat Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/pools?{query} | Yes |
deletePostStagingTemplateNetworks(templateName, networkName, callback) | delete Post Staging Template Networks | {base_path}/{version}/api/config/devices/template/{pathv1}/config/networks/network/{pathv2}?{query} | Yes |
deletePostStagingTemplateCgnatPools(templateName, orgname, cgnatPool, callback) | delete Post Staging Template Cgnat Pools | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/pools/pool/{pathv3}?{query} | Yes |
addPostStagingTemplateCgnatRule(templateName, orgname, unhide, body, callback) | add Post Staging Template Cgnat Rule | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/rules?{query} | Yes |
deletePostStagingTemplateCgnatRules(templateName, orgname, cgnatRule, callback) | delete Post Staging Template Cgnat Rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/rules/rule/{pathv3}?{query} | Yes |
deleteClassOfServiceInterfaceNetworkAssociation(templateName, orgname, interfaceName, callback) | delete Class Of Service Interface Network Association | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/class-of-service/interfaces/interface/{pathv3}?{query} | Yes |
addPostStagingTemplateDhcpAddressPool(templateName, orgname, body, callback) | add Post Staging Template Dhcp Address Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-dynamic-pools?{query} | Yes |
deletePostStagingTemplateDhcpAddressPools(templateName, orgname, dhcpPoolName, callback) | delete Post Staging Template Dhcp Address Pools | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-dynamic-pools/dhcp4-dynamic-pool/{pathv3}?{query} | Yes |
addPostStagingTemplateDhcpLeaseProfile(templateName, orgname, body, callback) | add Post Staging Template Dhcp Lease Profile | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-lease-profiles?{query} | Yes |
deletePostStagingTemplateDhcpLeaseProfiles(templateName, orgname, dhcpLeaseProfileName, callback) | delete Post Staging Template Dhcp Lease Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-lease-profiles/dhcp4-lease-profile/{pathv3}?{query} | Yes |
addPostStagingTemplateDhcpOptionsProfile(templateName, orgname, body, callback) | add Post Staging Template Dhcp Options Profile | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-options-profiles?{query} | Yes |
deletePostStagingTemplateDhcpOptionsProfiles(templateName, orgname, dhcpOptionProfileName, callback) | delete Post Staging Template Dhcp Options Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-options-profiles/dhcp4-options-profile/{pathv3}?{query} | Yes |
addPostStagingTemplateDhcpServer(templateName, orgname, body, callback) | add Post Staging Template Dhcp Server | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-server-and-relay/service-profiles?{query} | Yes |
deletePostStagingTemplateDhcpServers(templateName, orgname, dhcpServerProfile, callback) | delete Post Staging Template Dhcp Servers | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp4-server-and-relay/service-profiles/dhcp4-service-profile/{pathv3}?{query} | Yes |
addPostStagingTemplateZone(templateName, orgname, body, callback) | add Post Staging Template Zone | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/objects/zones?{query} | Yes |
deleteTemplateOrgLANZone(templateName, orgname, zoneName, callback) | delete Template Org LAN Zone | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/objects/zones/zone/{pathv3}?{query} | Yes |
addPostStagingTemplateStatefulFirewallAccessPolicyRule(templateName, orgname, body, callback) | add Post Staging Template Stateful Firewall Access Policy Rule | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/security/access-policies?{query} | Yes |
deletePostStagingTemplateStatefulFirewallSecurityRules(templateName, orgname, securityAccessPolicy, callback) | delete Post Staging Template Stateful Firewall Security Rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/security/access-policies/access-policy-group/{pathv3}?{query} | Yes |
addPostStagingTemplateStatefulFirewallSecurityRules(templateName, orgname, securityAccessPolicy, body, callback) | add Post Staging Template Stateful Firewall Security Rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/security/access-policies/access-policy-group/{pathv3}/rules?{query} | Yes |
deletePostStagingTemplateStatefulFirewallAccessPolicyRules(templateName, orgname, securityAccessPolicy, securityAccessPolicyRule, callback) | delete Post Staging Template Stateful Firewall Access Policy Rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/security/access-policies/access-policy-group/{pathv3}/rules/access-policy/{pathv4}?{query} | Yes |
getPostStagingTemplateVrfs(templateName, callback) | get Post Staging Template Vrfs | {base_path}/{version}/api/config/devices/template/{pathv1}/config/routing-instances/routing-instance?{query} | Yes |
updatePostStagingTemplateVrf(templateName, routingInstanceName, body, callback) | update Post Staging Template Vrf | {base_path}/{version}/api/config/devices/template/{pathv1}/config/routing-instances/routing-instance/{pathv2}?{query} | Yes |
importServiceTemplate(templateName, bodyFormData, callback) | import Service Template | {base_path}/{version}/vnms/template/import?{query} | Yes |
importTemplateString(templateName, body, callback) | import template string | {base_path}/{version}/vnms/template/importstr?{query} | Yes |
updatePhysicalInterfaces(templateName, vni, body, callback) | update physical interface | {base_path}/{version}/api/config/devices/template/{pathv1}/config/interfaces/vni/{pathv2}?{query} | Yes |
getPostStagingTemplateNetworkInterface(templateName, callback) | get post staging template network interface | {base_path}/{version}/api/config/devices/template/{pathv1}/config/interfaces?{query} | Yes |
addPostStagingTemplateNetworkInterface(templateName, body, callback) | create post staging template network interface | {base_path}/{version}/api/config/devices/template/{pathv1}/config/interfaces?{query} | Yes |
getPostStagingTemplateCgnatRules(templateName, organization, query, callback) | get post staging template CGNAT rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/rules/rule?{query} | Yes |
updatePostStagingTemplateCgnatRules(templateName, organization, rule, unhide, body, callback) | update post staging template CGNAT rules | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/cgnat/rules/rule/{pathv3}?{query} | Yes |
getPostStagingTemplateDhcp6LeaseProfile(templateName, organization, callback) | get post staging template DHCP6 Lease Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-lease-profiles?{query} | Yes |
createPostStagingTemplateDhcp6LeaseProfile(templateName, organization, body, callback) | create post staging template DHCP6 Lease Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-lease-profiles?{query} | Yes |
updatePostStagingTemplateDhcp6LeaseProfile(templateName, organization, leaseProfile, body, callback) | update post staging template DHCP6 Lease Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-lease-profiles/{pathv3}?{query} | Yes |
deletePostStagingTemplateDhcp6LeaseProfile(templateName, organization, leaseProfile, body, callback) | delete post staging template DHCP6 Lease Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-lease-profiles/{pathv3}?{query} | Yes |
getPostStagingTemplateDhcp6OptionsProfile(templateName, organization, callback) | get post staging template DHCP6 Options Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-options-profiles?{query} | Yes |
createPostStagingTemplateDhcp6OptionsProfile(templateName, organization, body, callback) | create post staging template DHCP6 Options Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-options-profiles?{query} | Yes |
updatePostStagingTemplateDhcp6OptionsProfile(templateName, organization, optionsProfile, body, callback) | update post staging template DHCP6 Options Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-options-profiles/{pathv3}?{query} | Yes |
deletePostStagingTemplateDhcp6OptionsProfile(templateName, organization, optionsProfile, body, callback) | delete post staging template DHCP6 Options Profiles | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-options-profiles/{pathv3}?{query} | Yes |
getPostStagingTemplateDhcp6AddressPool(templateName, organization, callback) | get post staging template DHCP6 Address Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-dynamic-pools?{query} | Yes |
createPostStagingTemplateDhcp6AddressPool(templateName, organization, body, callback) | create post staging template DHCP6 Address Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-dynamic-pools?{query} | Yes |
updatePostStagingTemplateDhcp6AddressPool(templateName, organization, dynamicPool, body, callback) | update post staging template DHCP6 Address Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-dynamic-pools/{pathv3}?{query} | Yes |
deletePostStagingTemplateDhcp6AddressPool(templateName, organization, dynamicPool, body, callback) | delete post staging template DHCP6 Address Pool | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-dynamic-pools/{pathv3}?{query} | Yes |
getPostStagingTemplateDhcp6Server(templateName, organization, callback) | get post staging template DHCP6 Server | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-server-and-relay/ipv6-service-profiles?{query} | Yes |
createPostStagingTemplateDhcp6Server(templateName, organization, body, callback) | create post staging template DHCP6 Server | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-server-and-relay/ipv6-service-profiles?{query} | Yes |
updatePostStagingTemplateDhcp6Server(templateName, organization, serviceProfile, body, callback) | update post staging template DHCP6 Server | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-server-and-relay/ipv6-service-profiles/{pathv3}?{query} | Yes |
deletePostStagingTemplateDhcp6Server(templateName, organization, serviceProfile, body, callback) | delete post staging template DHCP6 Server | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/dhcp/dhcp6-server-and-relay/ipv6-service-profiles/{pathv3}?{query} | Yes |
updatePostStagingTemplateServiceNodeGroup(templateName, serviceNodeGroup, body, callback) | update post staging template service node group | {base_path}/{version}/api/config/devices/template/{pathv1}/config/service-node-groups/service-node-group/{pathv2}?{query} | Yes |
addPostStagingTemplateNetwork(templateName, body, callback) | create post staging template network | {base_path}/{version}/api/config/devices/template/{pathv1}/config/networks?{query} | Yes |
getPostStagingTemplateOrgLimits(templateName, organization, callback) | get post staging template org limits | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org/{pathv2}?{query} | Yes |
updatePostStagingTemplateOrgLimits(templateName, organization, body, callback) | update post staging template org limits | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org/{pathv2}?{query} | Yes |
getPostStagingTemplateIpsecVpnProfile(templateName, organization, callback) | get post staging template ipsec vpn profile | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/ipsec/vpn-profile?{query} | Yes |
updatePostStagingTemplateIpsecVpnProfile(templateName, organization, vpnProfile, unhide, body, callback) | update post staging template ipsec vpn profile | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/ipsec/vpn-profile/{pathv3}?{query} | Yes |
createApplianceFileObject(body, callback) | Create file object | {base_path}/{version}/api/config/nms/provider/config-save/files?{query} | Yes |
deleteApplianceFileObject(fileName, callback) | Delete file object | {base_path}/{version}/api/config/nms/provider/config-save/files/file/{pathv1}?{query} | Yes |
editApplianceFileObject(fileName, body, callback) | Edit file object | {base_path}/{version}/api/config/nms/provider/config-save/files/file/{pathv1}?{query} | Yes |
editAppliaceConfiguration(body, callback) | Edit configuration for enable/disable appliance subjugation | {base_path}/{version}/api/config/nms/provider?{query} | Yes |
getAppliaceConfiguration(callback) | Get configuration for enable/disable appliance subjugation | {base_path}/{version}/api/config/nms/provider/appliance-subjugate?{query} | Yes |
getApplianceFileObject(callback) | Get list of file objects | {base_path}/{version}/api/config/nms/provider/config-save/files/file?{query} | Yes |
getApplianceById(applianceUuid, callback) | get Appliance By Uuid | {base_path}/{version}/vnms/cloud/systems/getApplianceByUUID/{pathv1}?{query} | Yes |
getApplianceNamesAndUuids(callback) | get Appliance Name and Uuid | {base_path}/{version}/vnms/cloud/systems/getAllApplianceNames?{query} | Yes |
createRouteObject(body, callback) | Create route object | {base_path}/{version}/api/config/nms/routing-options/static?{query} | Yes |
deleteRouteObject(destinationPrefix, nextHopAddress, outgoingInterface, callback) | Delete route object | {base_path}/{version}/api/config/nms/routing-options/static/route/{pathv1}/{pathv2}/{pathv3}?{query} | Yes |
editRouteObject(destinationPrefix, nextHopAddress, outgoingInterface, body, callback) | Edit route object | {base_path}/{version}/api/config/nms/routing-options/static/route/{pathv1}/{pathv2}/{pathv3}?{query} | Yes |
getRouteObjectList(callback) | Get list of route objects | {base_path}/{version}/api/config/nms/routing-options/static/route?{query} | Yes |
getLicenseAlarmsSummary(callback) | Get summary of director license alarms | {base_path}/{version}/vnms/fault/director/pop-up/summary?{query} | Yes |
createBulkAlarms(body, callback) | Create bulk Alarms | {base_path}/{version}/vnms/fault/alarms/assign?{query} | Yes |
createBulkAlarmByUser(body, callback) | Create bulk alarm by user | {base_path}/{version}/vnms/fault/alarms/handle?{query} | Yes |
getAlarmsByAppliance(deviceName, callback) | Request Alarm Summary per Appliance | {base_path}/{version}/alarms/summary/device/{pathv1}?{query} | Yes |
getAlarmsSummary(callback) | Request Alarms Summary | {base_path}/{version}/vnms/alarms/summary?{query} | Yes |
updateBulkAlarm(body, callback) | Update Alarms information | {base_path}/{version}/vnms/fault/alarms?{query} | Yes |
createTemplateDevices(body, callback) | Create Template devices | {base_path}/{version}/api/config/devices?{query} | Yes |
createTemplateAttributes(device, template, body, callback) | Create Template attributes | {base_path}/{version}/api/config/nms/device-template-variable/{pathv1}/{pathv2}/variable-binding?{query} | Yes |
createTemplateTunnel(managedDevice, body, callback) | Create Template tunnel | {base_path}/{version}/api/config/devices/device/{pathv1}/tunnels?{query} | Yes |
deleteTemplateDeviceGroups(groupName, callback) | Delete groups of devices | {base_path}/{version}/api/config/devices/device-group/{pathv1}?{query} | Yes |
editTemplateDeviceGroups(groupName, body, callback) | Edit groups of devices | {base_path}/{version}/api/config/devices/device-group/{pathv1}?{query} | Yes |
deleteTemplateDeviceTemplates(templateName, callback) | Delete named templates for devices | {base_path}/{version}/api/config/devices/template/{pathv1}?{query} | Yes |
editTemplateDeviceTemplates(templateName, body, callback) | Edit named templates for devices | {base_path}/{version}/api/config/devices/template/{pathv1}?{query} | Yes |
deleteTemplateManagedDevices(managedDevice, callback) | Delete The list of managed devices | {base_path}/{version}/api/config/devices/device/{pathv1}?{query} | Yes |
editTemplateManagedDevices(managedDevice, body, callback) | Edit The list of managed devices | {base_path}/{version}/api/config/devices/device/{pathv1}?{query} | Yes |
deleteTemplateAttributes(device, template, attribute, callback) | Delete Template Attributes | {base_path}/{version}/api/config/nms/device-template-variable/{pathv1}/{pathv2}/variable-binding/attrs/{pathv3}?{query} | Yes |
editTemplateAttributes(device, template, attribute, body, callback) | Edit Template Attributes | {base_path}/{version}/api/config/nms/device-template-variable/{pathv1}/{pathv2}/variable-binding/attrs/{pathv3}?{query} | Yes |
deleteTemplateTunnel(managedDevice, tunnel, callback) | Delete Template Tunnel | {base_path}/{version}/api/config/devices/device/{pathv1}/tunnels/tunnel/{pathv2}?{query} | Yes |
editTemplateTunnel(managedDevice, tunnel, body, callback) | Edit Template Tunnel | {base_path}/{version}/api/config/devices/device/{pathv1}/tunnels/tunnel/{pathv2}?{query} | Yes |
getTemplateDeviceGroups(callback) | Get Groups of devices | {base_path}/{version}/api/config/devices/device-group?{query} | Yes |
getTemplateDeviceTemplates(callback) | Get Named configuration templates for devices | {base_path}/{version}/api/config/devices/template?{query} | Yes |
getTemplateManagedDevices(callback) | Get The list of managed devices | {base_path}/{version}/api/config/devices/device?{query} | Yes |
getTemplateAttributes(device, template, callback) | Get Template Attributes | {base_path}/{version}/api/config/nms/device-template-variable/{pathv1}/{pathv2}/variable-binding/attrs?{query} | Yes |
getTemplateTunnel(managedDevice, callback) | Get Template Tunnel | {base_path}/{version}/api/config/devices/device/{pathv1}/tunnels/tunnel?{query} | Yes |
editClassOfService(template, organization, network, body, callback) | Edit Template Class of Service | {base_path}/{version}/api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/class-of-service/networks/network/{pathv3}?{query} | Yes |
applyTemplate(template, reboot, mode, body, callback) | Apply Template to devices | {base_path}/{version}/vnms/template/applyTemplate/{pathv1}/devices?{query} | Yes |
updateMonitoringDatabase(body, callback) | Monitoring Database configuration is updated | {base_path}/{version}/vnms/dashboard/polling/shutdown?{query} | Yes |
updateMonitoringStatus(enabled, body, callback) | Enable/disable monitoring | {base_path}/{version}/vnms/dashboard/enableMonitoring/{pathv1}?{query} | Yes |
startMonitorPolling(body, callback) | Enables periodic monitor polling | {base_path}/{version}/vnms/dashboard/polling/start?{query} | Yes |
refreshMonitorData(body, callback) | Force refresh all cached monitor data | {base_path}/{version}/vnms/dashboard/refreshAll?{query} | Yes |
getMonitoringCacheApplianceDataForTenant(tenantName, applianceUUID, callback) | Force refresh cached appliance status data for tenant | {base_path}/{version}/vnms/dashboard/refresh/appliance/{pathv1}/{pathv2}?{query} | Yes |
getMonitoringCacheApplianceData(applianceUUID, callback) | Force refresh cached appliance status data | {base_path}/{version}/vnms/dashboard/refresh/appliance/{pathv1}?{query} | Yes |
getMonitoringCacheDataForTenant(tenantName, callback) | Force refresh cached appliance status data | {base_path}/{version}/vnms/dashboard/refresh/tenant/{pathv1}?{query} | Yes |
getTemplateFromOrganization(organization, callback) | get the templates for an organization | {base_path}/{version}/vnms/template/sdwan/templates?{query} | Yes |
editTemplateSecurityPolicy(template, organization, policygroup, policy, body, callback) | Edit Template Security Policy | {base_path}/{version}api/config/devices/template/{pathv1}/config/orgs/org-services/{pathv2}/security/access-policies/access-policy-group/{pathv3}/rules/access-policy/{pathv4}?{query} | Yes |
getTransportDomains(deep, callback) | Get Transport Domains | {base_path}/{version}/api/config/nms/sdwan/transport-domains?{query} | Yes |
getDashboardApplianceHardware(uuid, callback) | Get Dashboard Appliance Hardware | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/hardware?{query} | Yes |
getAppliancePageableRoutes(applianceName, uuid, orgName, routeInstance, afi, limit, callback) | Get Appliance Pageable Routes | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/pageable_routes?{query} | Yes |
getAppliancePageableArp(applianceName, uuid, routeInstance, limit, callback) | Get Appliance Pageable Arp | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/pageable_arp?{query} | Yes |
getAppliancePageableArpOrgName(applianceName, uuid, routeInstance, limit, orgName, callback) | Get Appliance Pageable Arp | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/pageable_arp?{query} | Yes |
appliancePing(applianceName, body, callback) | Appliance Ping | {base_path}/{version}/api/operational/devices/device/{pathv1}/live-status/diagnostics/ping/?{query} | Yes |
getOwnedRoutingInstances(applianceName, orgName, callback) | Get Owned Routing Instances | {base_path}/{version}/api/operational/devices/device/{pathv1}/config/orgs/org/{pathv2}/owned-routing-instances?{query} | Yes |
getPageableInterfaces(applianceName, uuid, orgName, limit, offset, callback) | Get Pageable Interfaces | {base_path}/{version}/vnms/dashboard/appliance/{pathv1}/pageable_interfaces?{query} | Yes |
getInterfaceVni(applianceName, callback) | Get Pageable Interfaces | {base_path}/{version}/api/config/devices/device/{pathv1}/config/interfaces/vni?{query} | Yes |
getRoutingInstancesRoutingInstance(applianceName, callback) | Get Routing Instances for Appliance | {base_path}/{version}/api/config/devices/device/{pathv1}/config/routing-instances/routing-instance?{query} | Yes |
getNetworks(applianceName, callback) | Get Networks | {base_path}/{version}/api/config/devices/device/{pathv1}/config/networks/network?{query} | Yes |
Authentication
This document will go through the steps for authenticating the Versa Networks Director adapter with the authentication methods we have worked with in the past. 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.
Basic Authentication
The Versa Networks Director adapter authenticates with basic authentication.
STEPS
- Ensure you have access to a Versa Networks Director server and that it is running
- Follow the steps in the README.md to import the adapter into IAP if you have not already done so
- Use the properties below for the
properties.authentication
field"authentication": { "auth_method": "basic user_password", "username": "<your username>", "password": "<your password>", "auth_field": "header.headers.Authorization", "auth_field_format": "Basic {b64}{username}:{password}{/b64}", "auth_logging": false }
you can leave all of the other properties in the authentication section, they will not be used when the auth_method is basic user_password.
- 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.
- 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-versa_director
cd adapter-versa_director
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
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.
Run | Description |
---|---|
npm run adapter:install | Provides an easier way to install the adapter. |
npm run adapter:checkMigrate | Checks whether your adapter can and should be migrated to the latest foundation. |
npm run adapter:findPath | Can be used to see if the adapter supports a particular API call. |
npm run adapter:migrate | Provides an easier way to update your adapter after you download the migration zip from Itential DevSite. |
npm run adapter:update | Provides an easier way to update your adapter after you download the update zip from Itential DevSite. |
npm run adapter:revert | Allows you to revert after a migration or update if it resulted in issues. |
npm run troubleshoot | Provides a way to troubleshoot the adapter - runs connectivity, healthcheck and basic get. |
npm run connectivity | Provides a connectivity check to the Servicenow system. |
npm run healthcheck | Checks whether the configured healthcheck call works to Servicenow. |
npm run basicget | Checks 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
- You can run the adapter troubleshooting script which will check connectivity, run the healthcheck and run basic get calls.
npm run troubleshoot
- Verify the adapter properties are set up correctly.
Go into the Itential Platform GUI and verify/update the properties
- Verify there is connectivity between the Itential Platform Server and Versa_director Server.
ping the ip address of Versa_director server
try telnet to the ip address port of Versa_director
execute a curl command to the other system
- Verify the credentials provided for Versa_director.
login to Versa_director using the provided credentials
- Verify the API of the call utilized for Versa_director 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.