Cisco Systems vendor logo

Vendor

Cisco Systems

Product

DNA Center

Method

REST

Category

Data Center

Network Services

Project Type

Adapter


View Repository
Adapter

Adapter for Integration to Cisco DNA Center

Overview

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

Details

The Cisco DNA Center adapter from Itential is used to integrate the Itential Automation Platform (IAP) with Cisco DNA Center. With this adapter you have the ability to perform operations such as:

  • Configure and Manage Cisco DNA Center Devices.

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

Cisco DNA Center

Table of Contents

Getting Started

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

Helpful Background Information

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

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

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

Prerequisites

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

Node.js
npm
Git

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

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

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

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

How to Install

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

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

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

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

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

Testing

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

Unit Testing

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

node utils/testRunner --unit

npm run test:unit
npm run test:baseunit

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

Integration Testing - Standalone

Standalone Integration Testing requires mock data to be provided with the entities. If this data is not provided, standalone integration testing will fail. When the adapter is set to run in stub mode (setting the stub property to true), the adapter will run through its code up to the point of making the request. It will then retrieve the mock data and return that as if it had received that data as the response from Dna_center. 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 Dna_center. By using the testRunner script it prevents you from having to edit the integration test. It also resets the integration test after the test is complete so that credentials are not saved in the file.

Note: These tests have been written as a best effort to make them work in most environments. However, the Adapter Builder often does not have the necessary information that is required to set up valid integration tests. For example, the order of the requests can be very important and data is often required for creates and updates. Hence, integration tests may have to be enhanced before they will work (integrate) with Dna_center. 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 Dna_center which change order dependencies or required data.

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

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

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

Configuration

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

Example Properties

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

Connection Properties

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

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

A connectivity check tells IAP the adapter has loaded successfully.

Authentication Properties

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

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

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

Examples of authentication field format

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

Healthcheck Properties

The healthcheck properties defines the API that runs the healthcheck to tell the adapter that it can reach Dna_center. 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 Dna_center.
  • Startup - Adapter will check for connectivity when the adapter initially comes up, but it will not check afterwards.
  • Intermittent - Adapter will check connectivity to Dna_center at a frequency defined in the frequency property.
PropertyDescription
typeRequired. The type of health check to run.
frequencyRequired if intermittent. Defines how often the health check should run. Measured in milliseconds. Default is 300000.
query_objectQuery parameters to be added to the adapter healthcheck call.

Request Properties

The request section defines properties to help handle requests.

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

SSL Properties

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

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

Throttle Properties

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

PropertyDescription
throttle_enabledDefault is false. Defines if the adapter should use throttling or not.
number_pronghornsDefault is 1. Defines if throttling is done in a single Itential instance or whether requests are being throttled across multiple Itential instances (minimum = 1, maximum = 20). Throttling in a single Itential instance uses an in-memory queue so there is less overhead. Throttling across multiple Itential instances requires placing the request and queue information into a shared resource (e.g. database) so that each instance can determine what is running and what is next to run. Throttling across multiple instances requires additional I/O overhead.
sync-asyncThis property is not used at the current time (it is for future expansion of the throttling engine).
max_in_queueRepresents the maximum number of requests the adapter should allow into the queue before rejecting requests (minimum = 1, maximum = 5000). This is not a limit on what the adapter can handle but more about timely responses to requests. The default is currently 1000.
concurrent_maxDefines the number of requests the adapter can send to Dna_center at one time (minimum = 1, maximum = 1000). The default is 1 meaning each request must be sent to Dna_center in a serial manner.
expire_timeoutDefault is 0. Defines a graceful timeout of the request session. After a request has completed, the adapter will wait additional time prior to sending the next request. Measured in milliseconds (minimum = 0, maximum = 60000).
average_runtimeRepresents the approximate average of how long it takes Dna_center 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 Dna_center performance is exceptional you might run a little slower than you might like, but when it is poor you still run efficiently.
prioritiesAn array of priorities and how to handle them in relation to the throttle queue. Array of objects that include priority value and percent of queue to put the item ex { value: 1, percent: 10 }

Proxy Properties

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

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

Mongo Properties

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

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

Device Broker Properties

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

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

Using this Adapter

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

Generic Adapter Calls

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

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

Adapter Cache Calls

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

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

Adapter Broker Calls

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

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

Specific Adapter Calls

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

Method SignatureDescriptionPathWorkflow?
postDnaintentapiv1templateProgrammerproject(request, ContentType, callback)Create Project{base_path}/{version}/template-programmer/project?{query}Yes
getDnaintentapiv1templateProgrammerproject(name, callback)Get Projects{base_path}/{version}/template-programmer/project?{query}Yes
putDnaintentapiv1templateProgrammerproject(request, ContentType, callback)Update Project{base_path}/{version}/template-programmer/project?{query}Yes
getDnaintentapiv1templateProgrammertemplate(projectId, softwareType, softwareVersion, productFamily, productSeries, productType, filterConflictingTemplates, callback)Gets the templates available{base_path}/{version}/template-programmer/template?{query}Yes
putDnaintentapiv1templateProgrammertemplate(request, ContentType, callback)Update Template{base_path}/{version}/template-programmer/template?{query}Yes
postDnaintentapiv1templateProgrammertemplatedeploy(request, ContentType, callback)Deploy Template{base_path}/{version}/template-programmer/template/deploy?{query}Yes
postDnaintentapiv1templateProgrammertemplateversion(request, ContentType, callback)Version Template{base_path}/{version}/template-programmer/template/version?{query}Yes
getDnaintentapiv1templateProgrammertemplatetemplateId(templateId, latestVersion, callback)Get Template Details{base_path}/{version}/template-programmer/template/{pathv1}?{query}Yes
deleteDnaintentapiv1templateProgrammertemplatetemplateId(templateId, callback)Delete Template{base_path}/{version}/template-programmer/template/{pathv1}?{query}Yes
getDnaintentapiv1templateProgrammertemplatedeploystatusdeploymentId(deploymentId, callback)Get Template deployment status{base_path}/{version}/template-programmer/template/deploy/status/{pathv1}?{query}Yes
deleteDnaintentapiv1templateProgrammerprojectprojectId(projectId, callback)Delete Project{base_path}/{version}/template-programmer/project/{pathv1}?{query}Yes
getDnaintentapiv1templateProgrammertemplateversiontemplateId(templateId, callback)Get Template Versions{base_path}/{version}/template-programmer/template/version/{pathv1}?{query}Yes
putDnaintentapiv1templateProgrammertemplatepreview(request, ContentType, callback)Preview Template{base_path}/{version}/template-programmer/template/preview?{query}Yes
postDnaintentapiv1templateProgrammerprojectprojectIdtemplate(request, ContentType, projectId, callback)Create Template{base_path}/{version}/template-programmer/project/{pathv1}/template?{query}Yes
postDnaintentapiv1tagidmember(request, ContentType, id, callback)Add members to the tag{base_path}/{version}/tag/{pathv1}/member?{query}Yes
getDnaintentapiv1tagidmember(id, memberType, offset, limit, memberAssociationType, level, callback)Get Tag members by Id{base_path}/{version}/tag/{pathv1}/member?{query}Yes
postDnaintentapiv1tag(request, ContentType, callback)Create Tag{base_path}/{version}/tag?{query}Yes
putDnaintentapiv1tag(request, ContentType, callback)Update Tag{base_path}/{version}/tag?{query}Yes
getDnaintentapiv1tag(name, additionalInfonameSpace, additionalInfoattributes, level, offset, limit, size, field, sortBy, order, systemTag, callback)Get Tag{base_path}/{version}/tag?{query}Yes
getDnaintentapiv1tagidmembercount(id, memberType, memberAssociationType, level, callback)Get Tag Member count{base_path}/{version}/tag/{pathv1}/member/count?{query}Yes
getDnaintentapiv1tagmembertype(callback)Get Tag resource types{base_path}/{version}/tag/member/type?{query}Yes
putDnaintentapiv1tagmember(request, ContentType, callback)Updates tag membership{base_path}/{version}/tag/member?{query}Yes
deleteDnaintentapiv1tagid(id, callback)Delete Tag{base_path}/{version}/tag/{pathv1}?{query}Yes
getDnaintentapiv1tagid(id, callback)Get Tag by Id{base_path}/{version}/tag/{pathv1}?{query}Yes
getDnaintentapiv1tagcount(name, nameSpace, attributeName, level, size, systemTag, callback)Get Tag Count{base_path}/{version}/tag/count?{query}Yes
deleteDnaintentapiv1tagidmembermemberId(id, memberId, callback)Remove Tag member{base_path}/{version}/tag/{pathv1}/member/{pathv2}?{query}Yes
getDnaintentapiv1discoverycount(callback)Get count of all discovery jobs{base_path}/{version}/discovery/count?{query}Yes
postDnaintentapiv1globalCredentialnetconf(request, ContentType, callback)Create Netconf credentials{base_path}/{version}/global-credential/netconf?{query}Yes
putDnaintentapiv1globalCredentialnetconf(request, ContentType, callback)Update Netconf credentials{base_path}/{version}/global-credential/netconf?{query}Yes
putDnaintentapiv1globalCredentialsnmpv2WriteCommunity(request, ContentType, callback)Update SNMP write community{base_path}/{version}/global-credential/snmpv2-write-community?{query}Yes
postDnaintentapiv1globalCredentialsnmpv2WriteCommunity(request, ContentType, callback)Create SNMP write community{base_path}/{version}/global-credential/snmpv2-write-community?{query}Yes
putDnaintentapiv1globalCredentialsnmpv3(request, ContentType, callback)Update SNMPv3 credentials{base_path}/{version}/global-credential/snmpv3?{query}Yes
postDnaintentapiv1globalCredentialsnmpv3(request, ContentType, callback)Create SNMPv3 credentials{base_path}/{version}/global-credential/snmpv3?{query}Yes
getDnaintentapiv1discoveryidsummary(id, taskId, sortBy, sortOrder, ipAddress, pingStatus, snmpStatus, cliStatus, netconfStatus, httpStatus, callback)Get network devices from Discovery{base_path}/{version}/discovery/{pathv1}/summary?{query}Yes
postDnaintentapiv1globalCredentialhttpWrite(request, ContentType, callback)Create HTTP write credentials{base_path}/{version}/global-credential/http-write?{query}Yes
putDnaintentapiv1globalCredentialhttpWrite(request, ContentType, callback)Update HTTP write credentials{base_path}/{version}/global-credential/http-write?{query}Yes
getDnaintentapiv1snmpProperty(callback)Get SNMP properties{base_path}/{version}/snmp-property?{query}Yes
postDnaintentapiv1snmpProperty(request, ContentType, callback)Create/Update SNMP properties{base_path}/{version}/snmp-property?{query}Yes
deleteDnaintentapiv1discoveryid(id, callback)Delete discovery by Id{base_path}/{version}/discovery/{pathv1}?{query}Yes
getDnaintentapiv1discoveryid(id, callback)Get Discovery by Id{base_path}/{version}/discovery/{pathv1}?{query}Yes
postDnaintentapiv1discovery(request, ContentType, callback)Start discovery{base_path}/{version}/discovery?{query}Yes
putDnaintentapiv1discovery(request, ContentType, callback)Updates an existing discovery by specified Id{base_path}/{version}/discovery?{query}Yes
deleteDnaintentapiv1discovery(callback)Delete all discovery{base_path}/{version}/discovery?{query}Yes
putDnaintentapiv1globalCredentialsnmpv2ReadCommunity(request, ContentType, callback)Update SNMP read community{base_path}/{version}/global-credential/snmpv2-read-community?{query}Yes
postDnaintentapiv1globalCredentialsnmpv2ReadCommunity(request, ContentType, callback)Create SNMP read community{base_path}/{version}/global-credential/snmpv2-read-community?{query}Yes
getDnaintentapiv1discoverystartIndexrecordsToReturn(startIndex, recordsToReturn, callback)Get Discoveries by range{base_path}/{version}/discovery/{pathv1}/{pathv2}?{query}Yes
putDnaintentapiv1globalCredentialglobalCredentialId(request, ContentType, globalCredentialId, callback)Update global credentials{base_path}/{version}/global-credential/{pathv1}?{query}Yes
deleteDnaintentapiv1globalCredentialglobalCredentialId(globalCredentialId, callback)Delete global credentials by Id{base_path}/{version}/global-credential/{pathv1}?{query}Yes
getDnaintentapiv1globalCredentialid(id, callback)Get Credential sub type by credential Id{base_path}/{version}/global-credential/{pathv1}?{query}Yes
postDnaintentapiv1globalCredentialcli(request, ContentType, callback)Create CLI credentials{base_path}/{version}/global-credential/cli?{query}Yes
putDnaintentapiv1globalCredentialcli(request, ContentType, callback)Update CLI credentials{base_path}/{version}/global-credential/cli?{query}Yes
putDnaintentapiv1globalCredentialhttpRead(request, ContentType, callback)Update HTTP read credential{base_path}/{version}/global-credential/http-read?{query}Yes
postDnaintentapiv1globalCredentialhttpRead(request, ContentType, callback)Create HTTP read credentials{base_path}/{version}/global-credential/http-read?{query}Yes
getDnaintentapiv1discoveryjob(offset, limit, ipAddress, name, callback)Get Discovery jobs by IP{base_path}/{version}/discovery/job?{query}Yes
getDnaintentapiv1discoveryidnetworkDevicecount(id, taskId, callback)Get Devices discovered by Id{base_path}/{version}/discovery/{pathv1}/network-device/count?{query}Yes
getDnaintentapiv1discoveryidjob(id, offset, limit, ipAddress, callback)Get list of discoveries by discovery Id{base_path}/{version}/discovery/{pathv1}/job?{query}Yes
getDnaintentapiv1discoveryidnetworkDevicestartIndexrecordsToReturn(id, startIndex, recordsToReturn, taskId, callback)Get Discovered devices by range{base_path}/{version}/discovery/{pathv1}/network-device/{pathv2}/{pathv3}?{query}Yes
deleteDnaintentapiv1discoverystartIndexrecordsToDelete(startIndex, recordsToDelete, callback)Delete discovery by specified range{base_path}/{version}/discovery/{pathv1}/{pathv2}?{query}Yes
getDnaintentapiv1discoveryidnetworkDevice(id, taskId, callback)Get Discovered network devices by discovery Id{base_path}/{version}/discovery/{pathv1}/network-device?{query}Yes
getDnaintentapiv1globalCredential(credentialSubType, sortBy, order, callback)Get Global credentials{base_path}/{version}/global-credential?{query}Yes
postDnaintentapiv1onboardingpnpDeviceunclaim(request, ContentType, callback)Un-Claim Device{base_path}/{version}/onboarding/pnp-device/unclaim?{query}Yes
getDnaintentapiv1onboardingpnpDevicesacctdomainvacctnamesyncResult(domain, name, callback)Get Sync Result for Virtual Account{base_path}/{version}/onboarding/pnp-device/sacct/{pathv1}/vacct/{pathv2}/sync-result?{query}Yes
putDnaintentapiv1onboardingpnpDeviceid(request, ContentType, id, callback)Update Device{base_path}/{version}/onboarding/pnp-device/{pathv1}?{query}Yes
getDnaintentapiv1onboardingpnpDeviceid(id, callback)Get Device by Id{base_path}/{version}/onboarding/pnp-device/{pathv1}?{query}Yes
deleteDnaintentapiv1onboardingpnpDeviceid(id, callback)Delete Device by Id from PnP{base_path}/{version}/onboarding/pnp-device/{pathv1}?{query}Yes
postDnaintentapiv1onboardingpnpSettingssavacct(request, ContentType, callback)Add Virtual Account{base_path}/{version}/onboarding/pnp-settings/savacct?{query}Yes
putDnaintentapiv1onboardingpnpSettingssavacct(request, ContentType, callback)Update PnP Server Profile{base_path}/{version}/onboarding/pnp-settings/savacct?{query}Yes
postDnaintentapiv1onboardingpnpDeviceimport(request, ContentType, callback)Import Devices in bulk{base_path}/{version}/onboarding/pnp-device/import?{query}Yes
putDnaintentapiv1onboardingpnpWorkflowid(request, ContentType, id, callback)Update Workflow{base_path}/{version}/onboarding/pnp-workflow/{pathv1}?{query}Yes
getDnaintentapiv1onboardingpnpWorkflowid(id, callback)Get Workflow by Id{base_path}/{version}/onboarding/pnp-workflow/{pathv1}?{query}Yes
deleteDnaintentapiv1onboardingpnpWorkflowid(id, callback)Delete Workflow By Id{base_path}/{version}/onboarding/pnp-workflow/{pathv1}?{query}Yes
postDnaintentapiv1onboardingpnpDevicesiteClaim(request, ContentType, callback)Claim a Device to a Site{base_path}/{version}/onboarding/pnp-device/site-claim?{query}Yes
deleteDnaintentapiv1onboardingpnpSettingsvacct(domain, name, callback)Deregister Virtual Account{base_path}/{version}/onboarding/pnp-settings/vacct?{query}Yes
getDnaintentapiv1onboardingpnpSettingssacct(callback)Get Smart Account List{base_path}/{version}/onboarding/pnp-settings/sacct?{query}Yes
getDnaintentapiv1onboardingpnpWorkflowcount(name, callback)Get Workflow Count{base_path}/{version}/onboarding/pnp-workflow/count?{query}Yes
getDnaintentapiv1onboardingpnpSettingssacctdomainvacct(domain, callback)Get Virtual Account List{base_path}/{version}/onboarding/pnp-settings/sacct/{pathv1}/vacct?{query}Yes
putDnaintentapiv1onboardingpnpSettings(request, ContentType, callback)Update PnP global settings{base_path}/{version}/onboarding/pnp-settings?{query}Yes
getDnaintentapiv1onboardingpnpSettings(callback)Get PnP global settings{base_path}/{version}/onboarding/pnp-settings?{query}Yes
postDnaintentapiv1onboardingpnpDevicereset(request, ContentType, callback)Reset Device{base_path}/{version}/onboarding/pnp-device/reset?{query}Yes
postDnaintentapiv1onboardingpnpWorkflow(request, ContentType, callback)Add a Workflow{base_path}/{version}/onboarding/pnp-workflow?{query}Yes
getDnaintentapiv1onboardingpnpWorkflow(limit, offset, sort, sortOrder, type, name, callback)Get Workflows{base_path}/{version}/onboarding/pnp-workflow?{query}Yes
postDnaintentapiv1onboardingpnpDevicevacctSync(request, ContentType, callback)Sync Virtual Account Devices{base_path}/{version}/onboarding/pnp-device/vacct-sync?{query}Yes
getDnaintentapiv1onboardingpnpDevicecount(serialNumber, state, onbState, cmState, name, pid, source, projectId, workflowId, projectName, workflowName, smartAccountId, virtualAccountId, lastContact, callback)Get Device Count{base_path}/{version}/onboarding/pnp-device/count?{query}Yes
getDnaintentapiv1onboardingpnpDevicehistory(serialNumber, sort, sortOrder, callback)Get Device History{base_path}/{version}/onboarding/pnp-device/history?{query}Yes
postDnaintentapiv1onboardingpnpDevicesiteConfigPreview(request, ContentType, callback)Preview Config{base_path}/{version}/onboarding/pnp-device/site-config-preview?{query}Yes
postDnaintentapiv1onboardingpnpDeviceclaim(request, ContentType, callback)Claim Device{base_path}/{version}/onboarding/pnp-device/claim?{query}Yes
getDnaintentapiv1onboardingpnpDevice(limit, offset, sort, sortOrder, serialNumber, state, onbState, cmState, name, pid, source, projectId, workflowId, projectName, workflowName, smartAccountId, virtualAccountId, lastContact, callback)Get Device list{base_path}/{version}/onboarding/pnp-device?{query}Yes
postDnaintentapiv1onboardingpnpDevice(request, ContentType, callback)Add Device{base_path}/{version}/onboarding/pnp-device?{query}Yes
getDnaintentapiv1imageimportation(imageUuid, name, family, applicationType, imageIntegrityStatus, version, imageSeries, imageName, isTaggedGolden, isCCORecommended, isCCOLatest, createdTime, imageSizeGreaterThan, imageSizeLesserThan, sortBy, sortOrder, limit, offset, callback)Get software image details{base_path}/{version}/image/importation?{query}Yes
postDnaintentapiv1imageimportationsourcefile(ContentType, isThirdParty, thirdPartyVendor, thirdPartyImageFamily, thirdPartyApplicationType, callback)Import local software image{base_path}/{version}/image/importation/source/file?{query}Yes
postDnaintentapiv1imagedistribution(request, ContentType, callback)Trigger software image distribution{base_path}/{version}/image/distribution?{query}Yes
postDnaintentapiv1imageimportationsourceurl(request, ContentType, scheduleAt, scheduleDesc, scheduleOrigin, callback)Import software image via URL{base_path}/{version}/image/importation/source/url?{query}Yes
postDnaintentapiv1imageactivationdevice(request, ContentType, ClientType, ClientUrl, scheduleValidate, callback)Trigger software image activation{base_path}/{version}/image/activation/device?{query}Yes
getDnaintentapiv1networkDevicemoduleid(id, callback)Get Module Info by Id{base_path}/{version}/network-device/module/{pathv1}?{query}Yes
getDnaintentapiv1networkDeviceWithOptions(hostname, managementIpAddress, macAddress, locationName, serialNumber, location, family, type, series, collectionStatus, collectionInterval, notSyncedForMinutes, errorCode, errorDescription, softwareVersion, softwareType, platformId, role, reachabilityStatus, upTime, associatedWlcIp, licensename, licensetype, licensestatus, modulename, moduleequpimenttype, moduleservicestate, modulevendorequipmenttype, modulepartnumber, moduleoperationstatecode, id, offset, limit, callback)Get Device list{base_path}/{version}/network-device?{query}Yes
postDnaintentapiv1networkDevice(request, ContentType, callback)Add Device{base_path}/{version}/network-device?{query}Yes
putDnaintentapiv1networkDevice(request, ContentType, callback)Sync Devices{base_path}/{version}/network-device?{query}Yes
getDnaintentapiv1networkDeviceidvlan(id, interfaceType, callback)Get Device Interface VLANs{base_path}/{version}/network-device/{pathv1}/vlan?{query}Yes
getDnaintentapiv1interfacenetworkDevicedeviceIdstartIndexrecordsToReturn(deviceId, startIndex, recordsToReturn, callback)Get Device Interfaces by specified range{base_path}/{version}/interface/network-device/{pathv1}/{pathv2}/{pathv3}?{query}Yes
getDnaintentapiv1networkDevicecollectionScheduleglobal(callback)Get Polling Interval for all devices{base_path}/{version}/network-device/collection-schedule/global?{query}Yes
getDnaintentapiv1interfacecount(callback)Get Device Interface Count{base_path}/{version}/interface/count?{query}Yes
deleteDnaintentapiv1networkDeviceid(id, isForceDelete, callback)Delete Device by Id{base_path}/{version}/network-device/{pathv1}?{query}Yes
getDnaintentapiv1networkDeviceid(id, callback)Get Device by ID{base_path}/{version}/network-device/{pathv1}?{query}Yes
putDnaintentapiv1networkDevicesync(request, ContentType, forceSync, callback)Sync Devices{base_path}/{version}/network-device/sync?{query}Yes
getDnaintentapiv1networkDevicecount(callback)Get Device Count{base_path}/{version}/network-device/count?{query}Yes
getDnaintentapiv1networkDeviceconfigcount(callback)Get Device Config Count{base_path}/{version}/network-device/config/count?{query}Yes
getDnaintentapiv1networkDeviceidcollectionSchedule(id, callback)Get Polling Interval by Id{base_path}/{version}/network-device/{pathv1}/collection-schedule?{query}Yes
getDnaintentapiv1interfacenetworkDevicedeviceIdinterfaceName(deviceId, name, callback)Get Interface details by device Id and interface name{base_path}/{version}/interface/network-device/{pathv1}/interface-name?{query}Yes
getDnaintentapiv1networkDevicemodulecount(deviceId, nameList, vendorEquipmentTypeList, partNumberList, operationalStateCodeList, callback)Get Module count{base_path}/{version}/network-device/module/count?{query}Yes
getDnaintentapiv1networkDeviceidmerakiOrganization(id, callback)Get Organization list for Meraki{base_path}/{version}/network-device/{pathv1}/meraki-organization?{query}Yes
getDnaintentapiv1interfacenetworkDevicedeviceIdcount(deviceId, callback)Get Device Interface count{base_path}/{version}/interface/network-device/{pathv1}/count?{query}Yes
getDnaintentapiv1networkDeviceidbrief(id, callback)Get Device Summary{base_path}/{version}/network-device/{pathv1}/brief?{query}Yes
getDnaintentapiv1networkDevicenetworkDeviceIdconfig(networkDeviceId, callback)Get Device Config by Id{base_path}/{version}/network-device/{pathv1}/config?{query}Yes
getDnaintentapiv1interfaceospf(callback)Get OSPF interfaces{base_path}/{version}/interface/ospf?{query}Yes
getDnaintentapiv1networkDevicefunctionalCapabilityid(id, callback)Get Functional Capability by Id{base_path}/{version}/network-device/functional-capability/{pathv1}?{query}Yes
getDnaintentapiv1interfaceisis(callback)Get ISIS interfaces{base_path}/{version}/interface/isis?{query}Yes
getDnaintentapiv1networkDeviceconfig(callback)Get Device Config for all devices{base_path}/{version}/network-device/config?{query}Yes
getDnaintentapiv1interfaceid(id, callback)Get Interface by Id{base_path}/{version}/interface/{pathv1}?{query}Yes
getDnaintentapiv1networkDevicefunctionalCapability(deviceId, functionName, callback)Get Functional Capability for devices{base_path}/{version}/network-device/functional-capability?{query}Yes
getDnaintentapiv1interfacenetworkDevicedeviceId(deviceId, callback)Get Interface info by Id{base_path}/{version}/interface/network-device/{pathv1}?{query}Yes
putDnaintentapiv1networkDevicebrief(request, ContentType, callback)Update Device role{base_path}/{version}/network-device/brief?{query}Yes
postDnaintentapiv1networkDevicefile(request, ContentType, callback)Export Device list{base_path}/{version}/network-device/file?{query}Yes
getDnaintentapiv1networkDevicetenantinfomacaddress(serialNumber, macaddress, callback)Register device for WSA{base_path}/{version}/network-device/tenantinfo/macaddress?{query}Yes
getDnaintentapiv1interfaceipAddressipAddress(ipAddress, callback)Get Interface by IP{base_path}/{version}/interface/ip-address/{pathv1}?{query}Yes
getDnaintentapiv1networkDeviceserialNumberserialNumber(serialNumber, callback)Get Device by Serial number{base_path}/{version}/network-device/serial-number/{pathv1}?{query}Yes
getDnaintentapiv1networkDeviceipAddressipAddress(ipAddress, callback)Get Network Device by IP{base_path}/{version}/network-device/ip-address/{pathv1}?{query}Yes
getDnaintentapiv1networkDevicemodule(deviceId, limit, offset, nameList, vendorEquipmentTypeList, partNumberList, operationalStateCodeList, callback)Get Modules{base_path}/{version}/network-device/module?{query}Yes
getDnaintentapiv1networkDevicestartIndexrecordsToReturn(startIndex, recordsToReturn, callback)Get Network Device by pagination range{base_path}/{version}/network-device/{pathv1}/{pathv2}?{query}Yes
getDnaintentapiv1deviceDetail(timestamp, searchBy, identifier, callback)Get Device Detail{base_path}/{version}/device-detail?{query}Yes
getDnaintentapiv1interface(callback)Get all interfaces{base_path}/{version}/interface?{query}Yes
getDnaintentapiv1networkDeviceautocomplete(vrfName, managementIpAddress, hostname, macAddress, family, collectionStatus, collectionInterval, softwareVersion, softwareType, reachabilityStatus, reachabilityFailureReason, errorCode, platformId, series, type, serialNumber, upTime, role, roleSource, associatedWlcIp, offset, limit, callback)Retrieves all network devices{base_path}/{version}/network-device/autocomplete?{query}Yes
getDnaintentapiv1networkDeviceidwirelessInfo(id, callback)Get wireless lan controller details by Id{base_path}/{version}/network-device/{pathv1}/wireless-info?{query}Yes
getDnaintentapiv1siteHealth(timestamp, callback)Get Site Health{base_path}/{version}/site-health?{query}Yes
postDnaintentapiv1sitesiteIddevice(request, Runsync, Persistbapioutput, Timeout, siteId, callback)Assign Device To Site{base_path}/{version}/site/{pathv1}/device?{query}Yes
postDnasystemapiv1sitesiteIddevice(request, Runsync, Persistbapioutput, Timeout, siteId, callback)Assign Device To Site/dna/system/api/{version}/site/{pathv1}/device?{query}Yes
postDnaintentapiv1site(request, Runsync, Timeout, Persistbapioutput, callback)Create Site{base_path}/{version}/site?{query}Yes
postDnasystemapiv1site(request, Runsync, Timeout, Persistbapioutput, callback)Create Site/dna/system/api/{version}/site?{query}Yes
getDnaintentapiv1taskcount(startTime, endTime, data, errorCode, serviceType, username, progress, isError, failureReason, parentId, callback)Get task count{base_path}/{version}/task/count?{query}Yes
getDnaintentapiv1tasktaskId(taskId, callback)Get task by Id{base_path}/{version}/task/{pathv1}?{query}Yes
getDnaintentapiv1task(startTime, endTime, data, errorCode, serviceType, username, progress, isError, failureReason, parentId, offset, limit, sortBy, order, callback)Get tasks{base_path}/{version}/task?{query}Yes
getDnaintentapiv1tasktaskIdtree(taskId, callback)Get task tree{base_path}/{version}/task/{pathv1}/tree?{query}Yes
getDnaintentapiv1taskoperationoperationIdoffsetlimit(operationId, offset, limit, callback)Get task by OperationId{base_path}/{version}/task/operation/{pathv1}/{pathv2}/{pathv3}?{query}Yes
getDnaintentapiv1filenamespace(callback)Get list of available namespaces{base_path}/{version}/file/namespace?{query}Yes
getDnaintentapiv1filenamespacenameSpace(nameSpace, callback)Get list of files{base_path}/{version}/file/namespace/{pathv1}?{query}Yes
getDnaintentapiv1filefileId(fileId, callback)Download a file by fileId{base_path}/{version}/file/{pathv1}?{query}Yes
getDnaintentapiv1networkDevicePollerclilegitReads(callback)Get all keywords of CLIs accepted by command runner{base_path}/{version}/network-device-poller/cli/legit-reads?{query}Yes
postDnaintentapiv1networkDevicePollerclireadRequest(request, ContentType, callback)Run read-only commands on devices to get their real-time configuration{base_path}/{version}/network-device-poller/cli/read-request?{query}Yes
getDnaintentapiv1topologyvlanvlanNames(callback)Get VLAN details{base_path}/{version}/topology/vlan/vlan-names?{query}Yes
getDnaintentapiv1topologysiteTopology(callback)Get Site Topology{base_path}/{version}/topology/site-topology?{query}Yes
getDnaintentapiv1topologyphysicalTopology(nodeType, callback)Get Physical Topology{base_path}/{version}/topology/physical-topology?{query}Yes
getDnaintentapiv1topologyl2vlanID(vlanID, callback)Get topology details{base_path}/{version}/topology/l2/{pathv1}?{query}Yes
getDnaintentapiv1topologyl3topologyType(topologyType, callback)Get L3 Topology Details{base_path}/{version}/topology/l3/{pathv1}?{query}Yes
getDnaintentapiv1networkHealth(timestamp, callback)Get Overall Network Health{base_path}/{version}/network-health?{query}Yes
getDnaintentapiv1flowAnalysis(periodicRefresh, sourceIP, destIP, sourcePort, destPort, gtCreateTime, ltCreateTime, protocol, status, taskId, lastUpdateTime, limit, offset, order, sortBy, callback)Retrives all previous Pathtraces summary{base_path}/{version}/flow-analysis?{query}Yes
postDnaintentapiv1flowAnalysis(request, ContentType, callback)Initiate a new Pathtrace{base_path}/{version}/flow-analysis?{query}Yes
getDnaintentapiv1flowAnalysisflowAnalysisId(flowAnalysisId, callback)Retrieves previous Pathtrace{base_path}/{version}/flow-analysis/{pathv1}?{query}Yes
deleteDnaintentapiv1flowAnalysisflowAnalysisId(flowAnalysisId, callback)Deletes Pathtrace by Id{base_path}/{version}/flow-analysis/{pathv1}?{query}Yes
getDnaintentapiv1businessnfvprovisioningDetail(deviceIp, callback)**BETA** - Get Device details by IP{base_path}/{version}/business/nfv/provisioningDetail?{query}Yes
postDnaintentapiv1businessnfv(request, Runsync, Persistbapioutput, Timeout, callback)Provision NFV{base_path}/{version}/business/nfv?{query}Yes
postDnasystemapiv1authtoken(ContentType, Authorization, callback)Authentication API/dna/system/api/{version}/auth/token?{query}Yes
deleteDnaintentapiv1businessssidssidNamemanagedAPLocations(ssidName, managedAPLocations, callback)**BETA** - Delete and provision SSID{base_path}/{version}/business/ssid/{pathv1}/{pathv2}?{query}Yes
postDnaintentapiv1businessssid(request, callback)**BETA** - Create and Provision SSID{base_path}/{version}/business/ssid?{query}Yes
getDnaintentapiv1enterpriseSsid(ssidName, callback)**BETA** - Get Enterprise SSID{base_path}/{version}/enterprise-ssid?{query}Yes
postDnaintentapiv1enterpriseSsid(request, callback)**BETA** - Create Enterprise SSID{base_path}/{version}/enterprise-ssid?{query}Yes
deleteDnaintentapiv1enterpriseSsidssidName(ssidName, callback)**BETA** - Delete Enterprise SSID{base_path}/{version}/enterprise-ssid/{pathv1}?{query}Yes
getDnaintentapiv1clientDetail(timestamp, macAddress, callback)Get Client Detail{base_path}/{version}/client-detail?{query}Yes
getDnaintentapiv1clientHealth(timestamp, callback)Get Overall Client Health{base_path}/{version}/client-health?{query}Yes
getDnaintentapiv1businesssdaborderDevicedeviceIpAddress(sdaborderdevice, deviceipaddress, callback)**BETA** - Gets border device details from SDA Fabric{base_path}/{version}/business/sda/border-device/{pathv1}?{query}Yes
deleteDnaintentapiv1businesssdaborderDevicedeviceIpAddress(request, Runsync, Runsynctimeout, sdaborderdevice, deviceipaddress, callback)Deletes border device from SDA Fabric{base_path}/{version}/business/sda/border-device/{pathv1}?{query}Yes
postDnaintentapiv1businesssdaborderDevice(request, Runsync, Runsynctimeout, sdaborderdevice, callback)Adds border device in SDA Fabric{base_path}/{version}/business/sda/border-device?{query}Yes
deletePortAssignmentForAccessPointInSDAFabric(deviceManagementIpAddress, interfaceName, callback)Delete Port assignment for access point in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/access-point?{query}Yes
getPortAssignmentForAccessPointInSDAFabric(deviceManagementIpAddress, interfaceName, callback)Get Port assignment for access point in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/access-point?{query}Yes
addPortAssignmentForAccessPointInSDAFabric(request, callback)Add Port assignment for access point in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/access-point?{query}Yes
getDeviceInfoFromSDAFabric(deviceManagementIpAddress, callback)Get device info from SDA Fabric{base_path}/{version}/business/sda/device?{query}Yes
getTransitPeerNetworkInfo(transitPeerNetworkName, callback)Get Transit Peer Network Info{base_path}/{version}/business/sda/transit-peer-network?{query}Yes
addTransitPeerNetwork(request, callback)Add Transit Peer Network{base_path}/{version}/business/sda/transit-peer-network?{query}Yes
deleteTransitPeerNetwork(transitPeerNetworkName, callback)Delete Transit Peer Network{base_path}/{version}/business/sda/transit-peer-network?{query}Yes
deleteEdgeDeviceFromSDAFabric(deviceManagementIpAddress, callback)Delete edge device from SDA Fabric{base_path}/{version}/business/sda/edge-device?{query}Yes
getEdgeDeviceFromSDAFabric(deviceManagementIpAddress, callback)Get edge device from SDA Fabric{base_path}/{version}/business/sda/edge-device?{query}Yes
addEdgeDeviceInSDAFabric(request, callback)Add edge device in SDA Fabric{base_path}/{version}/business/sda/edge-device?{query}Yes
addIPPoolInSDAVirtualNetwork(request, callback)Add IP Pool in SDA Virtual Network{base_path}/{version}/business/sda/virtualnetwork/ippool?{query}Yes
deleteIPPoolFromSDAVirtualNetwork(siteNameHierarchy, virtualNetworkName, ipPoolName, callback)Delete IP Pool from SDA Virtual Network{base_path}/{version}/business/sda/virtualnetwork/ippool?{query}Yes
getIPPoolFromSDAVirtualNetwork(siteNameHierarchy, virtualNetworkName, ipPoolName, callback)Get IP Pool from SDA Virtual Network{base_path}/{version}/business/sda/virtualnetwork/ippool?{query}Yes
deleteMulticastFromSDAFabric(siteNameHierarchy, callback)Delete multicast from SDA fabric{base_path}/{version}/business/sda/multicast?{query}Yes
getMulticastDetailsFromSDAFabric(siteNameHierarchy, callback)Get multicast details from SDA fabric{base_path}/{version}/business/sda/multicast?{query}Yes
addMulticastInSDAFabric(request, callback)Add multicast in SDA fabric{base_path}/{version}/business/sda/multicast?{query}Yes
getVirtualNetworkFromSDAFabric(virtualNetworkName, siteNameHierarchy, callback)Get VN from SDA Fabric{base_path}/{version}/business/sda/virtual-network?{query}Yes
addVNInFabric(request, callback)Add VN in fabric{base_path}/{version}/business/sda/virtual-network?{query}Yes
deleteVNFromSDAFabric(virtualNetworkName, siteNameHierarchy, callback)Delete VN from SDA Fabric{base_path}/{version}/business/sda/virtual-network?{query}Yes
deleteDefaultAuthenticationProfileFromSDAFabric(siteNameHierarchy, callback)Delete default authentication profile from SDA Fabric{base_path}/{version}/business/sda/authentication-profile?{query}Yes
updateDefaultAuthenticationProfileInSDAFabric(request, callback)Update default authentication profile in SDA Fabric{base_path}/{version}/business/sda/authentication-profile?{query}Yes
getDefaultAuthenticationProfileFromSDAFabric(siteNameHierarchy, authenticateTemplateName, callback)Get default authentication profile from SDA Fabric{base_path}/{version}/business/sda/authentication-profile?{query}Yes
addDefaultAuthenticationTemplateInSDAFabric(request, callback)Add default authentication template in SDA Fabric{base_path}/{version}/business/sda/authentication-profile?{query}Yes
deleteSiteFromSDAFabric(siteNameHierarchy, callback)Delete Site from SDA Fabric{base_path}/{version}/business/sda/fabric-site?{query}Yes
getSiteFromSDAFabric(siteNameHierarchy, callback)Get Site from SDA Fabric{base_path}/{version}/business/sda/fabric-site?{query}Yes
addSiteInSDAFabric(request, callback)Add Site in SDA Fabric{base_path}/{version}/business/sda/fabric-site?{query}Yes
reProvisionWiredDevice(request, callback)Re-Provision Wired Device{base_path}/{version}/business/sda/provision-device?{query}Yes
provisionWiredDevice(request, callback)Provision Wired Device{base_path}/{version}/business/sda/provision-device?{query}Yes
getProvisionedWiredDevice(deviceManagementIpAddress, callback)Get Provisioned Wired Device{base_path}/{version}/business/sda/provision-device?{query}Yes
deleteProvisionedWiredDevice(deviceManagementIpAddress, callback)Delete provisioned Wired Device{base_path}/{version}/business/sda/provision-device?{query}Yes
getVirtualNetworkSummary(siteNameHierarchy, callback)Get Virtual Network Summary{base_path}/{version}/business/sda/virtual-network/summary?{query}Yes
getDeviceRoleInSDAFabric(deviceManagementIpAddress, callback)Get device role in SDA Fabric{base_path}/{version}/business/sda/device/role?{query}Yes
addPortAssignmentForUserDeviceInSDAFabric(request, callback)Add Port assignment for user device in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/user-device?{query}Yes
getPortAssignmentForUserDeviceInSDAFabric(deviceManagementIpAddress, interfaceName, callback)Get Port assignment for user device in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/user-device?{query}Yes
deletePortAssignmentForUserDeviceInSDAFabric(deviceManagementIpAddress, interfaceName, callback)Delete Port assignment for user device in SDA Fabric{base_path}/{version}/business/sda/hostonboarding/user-device?{query}Yes
getBorderDeviceDetailFromSDAFabric(deviceManagementIpAddress, callback)Get border device detail from SDA Fabric{base_path}/{version}/business/sda/border-device?{query}Yes
addBorderDeviceInSDAFabric(request, callback)Add border device in SDA Fabric{base_path}/{version}/business/sda/border-device?{query}Yes
deleteBorderDeviceFromSDAFabric(deviceManagementIpAddress, callback)Delete border device from SDA Fabric{base_path}/{version}/business/sda/border-device?{query}Yes
getControlPlaneDeviceFromSDAFabric(deviceManagementIpAddress, callback)Get control plane device from SDA Fabric{base_path}/{version}/business/sda/control-plane-device?{query}Yes
addControlPlaneDeviceInSDAFabric(request, callback)Add control plane device in SDA Fabric{base_path}/{version}/business/sda/control-plane-device?{query}Yes
deleteControlPlaneDeviceInSDAFabric(deviceManagementIpAddress, callback)Delete control plane device in SDA Fabric{base_path}/{version}/business/sda/control-plane-device?{query}Yes
updateVirtualNetworkWithScalableGroups(request, callback)Update virtual network with scalable groups{base_path}/{version}/virtual-network?{query}Yes
deleteVirtualNetworkWithScalableGroups(virtualNetworkName, callback)Delete virtual network with scalable groups{base_path}/{version}/virtual-network?{query}Yes
getVirtualNetworkWithScalableGroups(virtualNetworkName, callback)Get virtual network with scalable groups{base_path}/{version}/virtual-network?{query}Yes
addVirtualNetworkWithScalableGroups(request, callback)Add virtual network with scalable groups{base_path}/{version}/virtual-network?{query}Yes
getApplicationSetsV2(attributes, name, offset, limit, callback)Get Application Set/s{base_path}/{version}/application-policy-application-set?{query}Yes
createApplicationSetsV2(body, callback)Create Application Set/s{base_path}/{version}/application-policy-application-set?{query}Yes
deleteApplicationPolicyQueuingProfile(id, body, callback)Delete Application Policy Queuing Profile{base_path}/{version}/app-policy-queuing-profile/{pathv1}?{query}Yes
getApplicationPolicyQueuingProfile(name, callback)Get Application Policy Queuing Profile{base_path}/{version}/app-policy-queuing-profile?{query}Yes
updateApplicationPolicyQueuingProfile(body, callback)Update Application Policy Queuing Profile{base_path}/{version}/app-policy-queuing-profile?{query}Yes
createApplicationPolicyQueuingProfile(body, callback)Create Application Policy Queuing Profile{base_path}/{version}/app-policy-queuing-profile?{query}Yes
getApplicationPolicyDefault(callback)Get Application Policy Default{base_path}/{version}/app-policy-default?{query}Yes
getQosDeviceInterfaceInfo(networkDeviceId, callback)Get Qos Device Interface Info{base_path}/{version}/qos-device-interface-info?{query}Yes
updateQosDeviceInterfaceInfo(body, callback)Update Qos Device Interface Info{base_path}/{version}/qos-device-interface-info?{query}Yes
createQosDeviceInterfaceInfo(body, callback)Create Qos Device Interface Info{base_path}/{version}/qos-device-interface-info?{query}Yes
getApplicationPolicy(policyScope, callback)Get Application Policy{base_path}/{version}/app-policy?{query}Yes
deleteQosDeviceInterfaceInfo(id, callback)Delete Qos Device Interface Info{base_path}/{version}/qos-device-interface-info/{pathv1}?{query}Yes
getApplicationsV2(attributes, name, offset, limit, callback)Get Application/s{base_path}/{version}/applications?{query}Yes
editApplicationsV2(body, callback)Edit Application/s{base_path}/{version}/applications?{query}Yes
createApplicationV2(body, callback)Create Application/s{base_path}/{version}/applications?{query}Yes
getQosDeviceInterfaceInfoCount(callback)Get Qos Device Interface Info Count{base_path}/{version}/qos-device-interface-info-count?{query}Yes
getApplicationSetCountV2(scalableGroupType, callback)Get Application Set Count{base_path}/{version}/application-policy-application-set-count?{query}Yes
deleteApplicationV2(id, callback)Delete Application{base_path}/{version}/applications/{pathv1}?{query}Yes
postApplicationPolicyIntent(body, callback)Application Policy Intent{base_path}/{version}/app-policy-intent?{query}Yes
deleteApplicationSetV2(id, callback)Delete Application Set{base_path}/{version}/application-policy-application-set/{pathv1}?{query}Yes
getApplicationCountV2(scalableGroupType, callback)Get Application Count{base_path}/{version}/applications-count?{query}Yes
getApplicationPolicyQueuingProfileCount(callback)Get Application Policy Queuing Profile Count{base_path}/{version}/app-policy-queuing-profile-count?{query}Yes
getApplicationsCount(callback)Get Applications Count{base_path}/{version}/applications-count?{query}Yes
getApplications(offset, limit, name, callback)Get Applications{base_path}/{version}/applications?{query}Yes
editApplication(body, callback)Edit Application{base_path}/{version}/applications?{query}Yes
createApplication(body, callback)Create Application{base_path}/{version}/applications?{query}Yes
deleteApplication(id, callback)Delete Application{base_path}/{version}/applications?{query}Yes
getApplicationSets(offset, limit, name, callback)Get Application Sets{base_path}/{version}/application-policy-application-set?{query}Yes
createApplicationSet(body, callback)Create Application Set{base_path}/{version}/application-policy-application-set?{query}Yes
deleteApplicationSet(id, callback)Delete Application Set{base_path}/{version}/application-policy-application-set?{query}Yes
getApplicationSetsCount(callback)Get Application Sets Count{base_path}/{version}/application-policy-application-set-count?{query}Yes
configureAccessPoints(body, callback)Configure Access Points{base_path}/{version}/wireless/accesspoint-configuration?{query}Yes
rebootAccessPoints(body, callback)Reboot Access Points{base_path}/{version}/device-reboot/apreboot?{query}Yes
getAccessPointConfiguration(key, callback)Get Access Point Configuration{base_path}/{version}/wireless/accesspoint-configuration/summary?{query}Yes
getAccessPointRebootTaskResult(parentTaskId, callback)Get Access Point Reboot task result{base_path}/{version}/device-reboot/apreboot/status?{query}Yes
getAccessPointConfigurationTaskResult(taskId, callback)Get Access Point Configuration task result{base_path}/{version}/wireless/accesspoint-configuration/details/{pathv1}?{query}Yes
retrieveRFProfiles(rfProfileName, callback)Retrieve RF profiles{base_path}/{version}/wireless/rf-profile?{query}Yes
createOrUpdateRFProfile(body, callback)Create or Update RF profile{base_path}/{version}/wireless/rf-profile?{query}Yes
deleteRFProfiles(rfProfileName, callback)Delete RF profiles{base_path}/{version}/wireless/rf-profile/{pathv1}?{query}Yes
pSKOverride(body, callback)PSK override{base_path}/{version}/wireless/psk-override?{query}Yes
getWirelessProfile(profileName, callback)Get Wireless Profile{base_path}/{version}/wireless/profile?{query}Yes
updateWirelessProfile(body, callback)Update Wireless Profile{base_path}/{version}/wireless/profile?{query}Yes
createWirelessProfile(body, callback)Create Wireless Profile{base_path}/{version}/wireless/profile?{query}Yes
provisionUpdate(body, callback)Provision update{base_path}/{version}/wireless/provision?{query}Yes
provision(body, callback)Provision{base_path}/{version}/wireless/provision?{query}Yes
getSensorTestResults(siteId, startTime, endTime, testFailureBy, callback)Sensor Test Results{base_path}/{version}/AssuranceGetgetSensorTestResults?{query}Yes
updateEnterpriseSSID(body, callback)Update Enterprise SSID{base_path}/{version}/enterprise-ssid?{query}Yes
getDynamicInterface(interfaceName, callback)Get dynamic interface{base_path}/{version}/wireless/dynamic-interface?{query}Yes
createUpdateDynamicInterface(body, callback)Create Update Dynamic interface{base_path}/{version}/wireless/dynamic-interface?{query}Yes
aPProvision(body, callback)AP Provision{base_path}/{version}/wireless/ap-provision?{query}Yes
deleteWirelessProfile(wirelessProfileName, body, callback)Delete Wireless Profile{base_path}/{version}/wireless-profile/{pathv1}?{query}Yes
deleteDynamicInterface(interfaceName, callback)Delete dynamic interface{base_path}/{version}/wireless/dynamic-interface/{pathv1}?{query}Yes
createACloneOfTheGivenTemplate(name, templateId, projectId, callback)Creates a clone of the given template{base_path}/{version}/template-programmer/clone/name/{pathv1}/project/{pathv2}/template/{pathv3}?{query}Yes
importTheTemplatesProvided(projectName, doVersion, body, callback)Imports the templates provided{base_path}/{version}/template-programmer/project/name/{pathv1}/template/importtemplates?{query}Yes
exportTheProjectsForAGivenCriteria(body, callback)Exports the projects for a given criteria.{base_path}/{version}/template-programmer/project/name/exportprojects?{query}Yes
getTheDetailsOfAGivenProject(projectId, callback)Gets the details of a given project.{base_path}/{version}/template-programmer/project/{pathv1}?{query}Yes
getProjectDetailsV2(id, name, offset, limit, sortOrder, callback)Get project(s) details{base_path}/{version}/template-programmer/project?{query}Yes
getTemplateDetailsV2(id, name, projectId, projectName, softwareType, softwareVersion, productFamily, productSeries, productType, filterConflictingTemplates, tags, unCommitted, sortOrder, allTemplateAttributes, includeVersionDetails, offset, limit, callback)Get template(s) details{base_path}/{version}/template-programmer/template?{query}Yes
exportTheTemplatesForAGivenCriteria(body, callback)Exports the templates for a given criteria.{base_path}/{version}/template-programmer/template/exporttemplates?{query}Yes
importTheProjectsProvided(doVersion, body, callback)Imports the Projects provided{base_path}/{version}/template-programmer/project/importprojects?{query}Yes
getViewsForAGivenViewGroup(viewGroupId, callback)Get views for a given view group{base_path}/{version}/data/view-groups/{pathv1}?{query}Yes
getViewDetailsForAGivenViewGroupView(viewGroupId, viewId, callback)Get view details for a given view group & view{base_path}/{version}/data/view-groups/{pathv1}/views/{pathv2}?{query}Yes
getAScheduledReport(reportId, callback)Get a scheduled report{base_path}/{version}/data/reports/{pathv1}?{query}Yes
deleteAScheduledReport(reportId, callback)Delete a scheduled report{base_path}/{version}/data/reports/{pathv1}?{query}Yes
getListOfScheduledReports(viewGroupId, viewId, callback)Get list of scheduled reports{base_path}/{version}/data/reports?{query}Yes
createOrScheduleAReport(body, callback)Create or Schedule a report{base_path}/{version}/data/reports?{query}Yes
getAllViewGroups(callback)Get all view groups{base_path}/{version}/data/view-groups?{query}Yes
getAllExecutionDetailsForAGivenReport(reportId, callback)Get all execution details for a given report{base_path}/{version}/data/reports/{pathv1}/executions?{query}Yes
downloadReportContent(reportId, executionId, callback)Download report content{base_path}/{version}/data/reports/{pathv1}/executions/{pathv2}?{query}Yes
getChassisDetailsForDevice(deviceId, callback)Get Chassis Details for Device{base_path}/{version}/network-device/{pathv1}/chassis?{query}Yes
getAllUserDefinedFields(id, name, callback)Get All User-Defined-Fields{base_path}/{version}/network-device/user-defined-field?{query}Yes
createUserDefinedField(body, callback)Create User-Defined-Field{base_path}/{version}/network-device/user-defined-field?{query}Yes
getTheDetailsOfPhysicalComponentsOfTheGivenDevice(deviceUuid, type, callback)Get the Details of Physical Components of the Given Device.{base_path}/{version}/network-device/{pathv1}/equipment?{query}Yes
returnPOEInterfaceDetailsForTheDevice(deviceUuid, interfaceNameList, callback)Returns POE interface details for the device.{base_path}/{version}/network-device/{pathv1}/interface/poe-detail?{query}Yes
clearMacAddressTable(interfaceUuid, deploymentMode, body, callback)Clear Mac-Address table{base_path}/{version}/interface/{pathv1}/operation?{query}Yes
getPlannedAccessPointsForFloor(floorId, limit, offset, radios, callback)Get Planned Access Points for Floor{base_path}/{version}/floors/{pathv1}/planned-access-points?{query}Yes
updatePlannedAccessPointForFloor(floorId, body, callback)Update Planned Access Point for Floor{base_path}/{version}/floors/{pathv1}/planned-access-points?{query}Yes
createPlannedAccessPointForFloor(floorId, body, callback)Create Planned Access Point for Floor{base_path}/{version}/floors/{pathv1}/planned-access-points?{query}Yes
getDeviceHealth(deviceRole, siteId, health, startTime, endTime, limit, offset, callback)getDeviceHealth{base_path}/{version}/device-health?{query}Yes
getLinecardDetails(deviceUuid, callback)Get Linecard details{base_path}/{version}/network-device/{pathv1}/line-card?{query}Yes
getInventoryInsightDeviceLinkMismatchAPI(siteId, offset, limit, category, sortBy, order, callback)Inventory Insight Device Link Mismatch API{base_path}/{version}/network-device/insight/{pathv1}/device-link?{query}Yes
deletePlannedAccessPointForFloor(floorId, plannedAccessPointUuid, callback)Delete Planned Access Point for Floor{base_path}/{version}/floors/{pathv1}/planned-access-points/{pathv2}?{query}Yes
getStackDetailsForDevice(deviceId, callback)Get Stack Details for Device{base_path}/{version}/network-device/{pathv1}/stack?{query}Yes
getDeviceInterfaceStatsInfoV2(deviceId, body, callback)Get Device Interface Stats Info{base_path}/{version}/networkDevices/{pathv1}/interfaces/query?{query}Yes
updateUserDefinedField(id, body, callback)Update User-Defined-Field{base_path}/{version}/network-device/user-defined-field/{pathv1}?{query}Yes
deleteUserDefinedField(id, callback)Delete User-Defined-Field{base_path}/{version}/network-device/user-defined-field/{pathv1}?{query}Yes
updateInterfaceDetails(interfaceUuid, deploymentMode, body, callback)Update Interface details{base_path}/{version}/interface/{pathv1}?{query}Yes
getLegitOperationsForInterface(interfaceUuid, callback)Legit operations for interface{base_path}/{version}/interface/{pathv1}/legit-operation?{query}Yes
getSupervisorCardDetail(deviceUuid, callback)Get Supervisor card detail{base_path}/{version}/network-device/{pathv1}/supervisor-card?{query}Yes
addUserDefinedFieldToDevice(deviceId, body, callback)Add User-Defined-Field to device{base_path}/{version}/network-device/{pathv1}/user-defined-field?{query}Yes
removeUserDefinedFieldFromDevice(deviceId, name, callback)Remove User-Defined-Field from device{base_path}/{version}/network-device/{pathv1}/user-defined-field?{query}Yes
getConnectedDeviceDetail(deviceUuid, interfaceUuid, callback)Get connected device detail{base_path}/{version}/network-device/{pathv1}/interface/{pathv2}/neighbor?{query}Yes
returnsDevicesAddedToCiscoDNACenterWithSnmpV3DES(siteId, offset, limit, sortBy, order, callback)Returns devices added to Cisco DNA center with snmp v3 DES.{base_path}/{version}/network-device/insight/{pathv1}/insecure-connection?{query}Yes
updateDeviceManagementAddress(deviceid, body, callback)Update Device Management Address{base_path}/{version}/network-device/{pathv1}/management-address?{query}Yes
getPlannedAccessPointsForBuilding(buildingId, limit, offset, radios, callback)Get Planned Access Points for Building{base_path}/{version}/buildings/{pathv1}/planned-access-points?{query}Yes
getDeviceEnrichmentDetails(callback)Get Device Enrichment Details{base_path}/{version}/device-enrichment-details?{query}Yes
getAllGlobalCredentialsV2(callback)Get All Global Credentials V2{base_path}/{version}/global-credential?{query}Yes
updateGlobalCredentialsV2(body, callback)Update Global Credentials V2{base_path}/{version}/global-credential?{query}Yes
createGlobalCredentialsV2(body, callback)Create Global Credentials V2{base_path}/{version}/global-credential?{query}Yes
deleteGlobalCredentialV2(id, callback)Delete Global Credential V2{base_path}/{version}/global-credential/{pathv1}?{query}Yes
getWebhookDestination(webhookIds, offset, limit, sortBy, order, callback)Get Webhook Destination{base_path}/{version}/event/webhook?{query}Yes
updateWebhookDestination(body, callback)Update Webhook Destination{base_path}/{version}/event/webhook?{query}Yes
createWebhookDestination(body, callback)Create Webhook Destination{base_path}/{version}/event/webhook?{query}Yes
getSyslogDestination(configId, name, protocol, offset, limit, sortBy, order, callback)Get Syslog Destination{base_path}/{version}/event/syslog-config?{query}Yes
updateSyslogDestination(body, callback)Update Syslog Destination{base_path}/{version}/event/syslog-config?{query}Yes
createSyslogDestination(body, callback)Create Syslog Destination{base_path}/{version}/event/syslog-config?{query}Yes
updateSNMPDestination(body, callback)Update SNMP Destination{base_path}/{version}/event/snmp-config?{query}Yes
createSNMPDestination(body, callback)Create SNMP Destination{base_path}/{version}/event/snmp-config?{query}Yes
getCountOfNotifications(eventIds, startTime, endTime, category, type, severity, domain, subDomain, source, callback)Count of Notifications{base_path}/{version}/event/event-series/count?{query}Yes
getCountOfEventSubscriptions(eventIds, callback)Count of Event Subscriptions{base_path}/{version}/event/subscription/count?{query}Yes
getSyslogSubscriptionDetails(name, instanceId, offset, limit, sortBy, order, callback)Get Syslog Subscription Details{base_path}/{version}/event/subscription-details/syslog?{query}Yes
getEmailSubscriptionDetails(name, instanceId, offset, limit, sortBy, order, callback)Get Email Subscription Details{base_path}/{version}/event/subscription-details/email?{query}Yes
getEmailEventSubscriptions(eventIds, offset, limit, sortBy, order, domain, subDomain, category, type, name, callback)Get Email Event Subscriptions{base_path}/{version}/event/subscription/email?{query}Yes
updateEmailEventSubscription(body, callback)Update Email Event Subscription{base_path}/{version}/event/subscription/email?{query}Yes
createEmailEventSubscription(body, callback)Create Email Event Subscription{base_path}/{version}/event/subscription/email?{query}Yes
getEvents(eventId, tags, offset, limit, sortBy, order, callback)Get Events{base_path}/{version}/events?{query}Yes
getAuditLogSummary(parentInstanceId, isParentOnly, instanceId, name, eventId, category, severity, domain, subDomain, source, userId, context, eventHierarchy, siteId, deviceId, isSystemEvents, description, startTime, endTime, callback)Get AuditLog Summary/dna/data/api/{version}/event/event-series/audit-log/summary?{query}Yes
getEventSubscriptions(eventIds, offset, limit, sortBy, order, callback)Get Event Subscriptions{base_path}/{version}/event/subscription?{query}Yes
updateEventSubscriptions(body, callback)Update Event Subscriptions{base_path}/{version}/event/subscription?{query}Yes
createEventSubscriptions(body, callback)Create Event Subscriptions{base_path}/{version}/event/subscription?{query}Yes
deleteEventSubscriptions(subscriptions, callback)Delete Event Subscriptions{base_path}/{version}/event/subscription?{query}Yes
getSyslogEventSubscriptions(eventIds, offset, limit, sortBy, order, domain, subDomain, category, type, name, callback)Get Syslog Event Subscriptions{base_path}/{version}/event/subscription/syslog?{query}Yes
updateSyslogEventSubscription(body, callback)Update Syslog Event Subscription{base_path}/{version}/event/subscription/syslog?{query}Yes
createSyslogEventSubscription(body, callback)Create Syslog Event Subscription{base_path}/{version}/event/subscription/syslog?{query}Yes
getCountOfEvents(eventId, tags, callback)Count of Events{base_path}/{version}/events/count?{query}Yes
getEventArtifacts(eventIds, tags, offset, limit, sortBy, order, search, callback)Get EventArtifacts/dna/system/api/{version}/event/artifact?{query}Yes
getEmailDestination(callback)Get Email Destination{base_path}/{version}/event/email-config?{query}Yes
updateEmailDestination(body, callback)Update Email Destination{base_path}/{version}/event/email-config?{query}Yes
createEmailDestination(body, callback)Create Email Destination{base_path}/{version}/event/email-config?{query}Yes
getNotifications(eventIds, startTime, endTime, category, type, severity, domain, subDomain, source, offset, limit, sortBy, order, tags, namespace, siteId, callback)Get Notifications{base_path}/{version}/event/event-series?{query}Yes
getAuditLogRecords(parentInstanceId, instanceId, name, eventId, category, severity, domain, subDomain, source, userId, context, eventHierarchy, siteId, deviceId, isSystemEvents, description, offset, limit, startTime, endTime, sortBy, order, callback)Get AuditLog Records/dna/data/api/{version}/event/event-series/audit-logs?{query}Yes
getRestWebhookEventSubscriptions(eventIds, offset, limit, sortBy, order, domain, subDomain, category, type, name, callback)Get Rest/Webhook Event Subscriptions{base_path}/{version}/event/subscription/rest?{query}Yes
updateRestWebhookEventSubscription(body, callback)Update Rest/Webhook Event Subscription{base_path}/{version}/event/subscription/rest?{query}Yes
createRestWebhookEventSubscription(body, callback)Create Rest/Webhook Event Subscription{base_path}/{version}/event/subscription/rest?{query}Yes
getAuditLogParentRecords(instanceId, name, eventId, category, severity, domain, subDomain, source, userId, context, eventHierarchy, siteId, deviceId, isSystemEvents, description, offset, limit, startTime, endTime, sortBy, order, callback)Get AuditLog Parent Records/dna/data/api/{version}/event/event-series/audit-log/parent-records?{query}Yes
getEventArtifactCount(callback)EventArtifact Count/dna/system/api/{version}/event/artifact/count?{query}Yes
getConnectorTypes(callback)Get Connector Types/dna/system/api/{version}/event/config/connector-types?{query}Yes
getStatusAPIForEvents(executionId, callback)Get Status API for Events{base_path}/{version}/event/api-status/{pathv1}?{query}Yes
getRestWebhookSubscriptionDetails(name, instanceId, offset, limit, sortBy, order, callback)Get Rest/Webhook Subscription Details{base_path}/{version}/event/subscription-details/rest?{query}Yes
getSNMPDestination(configId, offset, limit, sortBy, order, callback)Get SNMP Destination{base_path}/{version}/dna-event/snmp-config?{query}Yes
lANAutomationStopAndUpdateDevices(id, body, callback)LAN Automation Stop and Update Devices{base_path}/{version}/lan-automation/{pathv1}?{query}Yes
lANAutomationStop(id, body, callback)LAN Automation Stop{base_path}/{version}/lan-automation/{pathv1}?{query}Yes
lANAutomationDeviceUpdate(feature, body, callback)LAN Automation Device Update{base_path}/{version}/lan-automation/updateDevice?{query}Yes
getLANAutomationLogById(id, callback)LAN Automation Log by Id{base_path}/{version}/lan-automation/log/{pathv1}?{query}Yes
getLANAutomationStatusById(id, callback)LAN Automation Status by Id{base_path}/{version}/lan-automation/status/{pathv1}?{query}Yes
getLANAutomationLog(offset, limit, callback)LAN Automation Log{base_path}/{version}/lan-automation/log?{query}Yes
lANAutomationStart(body, callback)LAN Automation Start{base_path}/{version}/lan-automation?{query}Yes
getLANAutomationStatus(offset, limit, callback)LAN Automation Status{base_path}/{version}/lan-automation/status?{query}Yes
getLANAutomationSessionCount(callback)LAN Automation Session Count{base_path}/{version}/lan-automation/count?{query}Yes
getLANAutomationLogsForIndividualDevices(id, serialNumber, logLevel, callback)LAN Automation Logs for Individual Devices{base_path}/{version}/lan-automation/log/{pathv1}/{pathv2}?{query}Yes
getLANAutomationActiveSessions(callback)LAN Automation Active Sessions{base_path}/{version}/lan-automation/sessions?{query}Yes
editAuthenticationAndPolicyServerAccessConfiguration(id, body, callback)Edit Authentication and Policy Server Access Configuration{base_path}/{version}/authentication-policy-servers/{pathv1}?{query}Yes
deleteAuthenticationAndPolicyServerAccessConfiguration(id, callback)Delete Authentication and Policy Server Access Configuration{base_path}/{version}/authentication-policy-servers/{pathv1}?{query}Yes
getCustomPromptSupport(callback)Custom-prompt support GET API{base_path}/{version}/network-device/custom-prompt?{query}Yes
postCustomPrompt(body, callback)Custom Prompt POST API{base_path}/{version}/network-device/custom-prompt?{query}Yes
getAuthenticationAndPolicyServers(isIseEnabled, state, role, callback)Get Authentication and Policy Servers{base_path}/{version}/authentication-policy-servers?{query}Yes
addAuthenticationAndPolicyServerAccessConfiguration(body, callback)Add Authentication and Policy Server Access Configuration{base_path}/{version}/authentication-policy-servers?{query}Yes
getCiscoISEServerIntegrationStatus(callback)Cisco ISE Server Integration Status{base_path}/{version}/ise-integration-status?{query}Yes
acceptCiscoISEServerCertificateForCiscoISEServerIntegration(id, body, callback)Accept Cisco ISE Server Certificate for Cisco ISE Server Integration{base_path}/{version}/integrate-ise/{pathv1}?{query}Yes
createITSMIntegrationSetting(body, callback)Create ITSM Integration setting{base_path}/{version}/integration-settings/instances/itsm?{query}Yes
getITSMIntegrationSettingById(instanceId, body, callback)Get ITSM Integration setting by Id{base_path}/{version}/integration-settings/instances/itsm/{pathv1}?{query}Yes
updateITSMIntegrationSetting(instanceId, body, callback)Update ITSM Integration setting{base_path}/{version}/integration-settings/instances/itsm/{pathv1}?{query}Yes
deleteITSMIntegrationSetting(instanceId, callback)Delete ITSM Integration setting{base_path}/{version}/integration-settings/instances/itsm/{pathv1}?{query}Yes
getAllITSMIntegrationSettings(body, callback)Get all ITSM Integration settings{base_path}/{version}/integration-settings/itsm/instances?{query}Yes
getDeviceFamilyIdentifiers(callback)Get Device Family Identifiers{base_path}/{version}/image/importation/device-family-identifiers?{query}Yes
tagAsGoldenImage(body, callback)Tag as Golden Image{base_path}/{version}/image/importation/golden?{query}Yes
getGoldenTagStatusOfAnImage(siteId, deviceFamilyIdentifier, deviceRole, imageId, callback)Get Golden Tag Status of an Image.{base_path}/{version}/image/importation/golden/site/{pathv1}/family/{pathv2}/role/{pathv3}/image/{pathv4}?{query}Yes
removeGoldenTagForImage(siteId, deviceFamilyIdentifier, deviceRole, imageId, callback)Remove Golden Tag for image.{base_path}/{version}/image/importation/golden/site/{pathv1}/family/{pathv2}/role/{pathv3}/image/{pathv4}?{query}Yes
assignDeviceCredentialToSiteV2(siteId, body, callback)Assign Device Credential To Site V2{base_path}/{version}/credential-to-site/{pathv1}?{query}Yes
updateNetworkV2(siteId, body, callback)Update Network V2{base_path}/{version}/network/{pathv1}?{query}Yes
createNetworkV2(siteId, body, callback)Create Network V2{base_path}/{version}/network/{pathv1}?{query}Yes
getGlobalPool(offset, limit, callback)Get Global Pool{base_path}/{version}/global-pool?{query}Yes
updateGlobalPool(body, callback)Update Global Pool{base_path}/{version}/global-pool?{query}Yes
createGlobalPool(body, callback)Create Global Pool{base_path}/{version}/global-pool?{query}Yes
deleteGlobalIPPool(id, callback)Delete Global IP Pool{base_path}/{version}/global-pool/{pathv1}?{query}Yes
deleteDeviceCredential(id, callback)Delete Device Credential{base_path}/{version}/device-credential/{pathv1}?{query}Yes
getNetwork(siteId, callback)Get Network{base_path}/{version}/network?{query}Yes
updateReserveIPSubpool(siteId, id, body, callback)Update Reserve IP Subpool{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}Yes
reserveIPSubpool(siteId, body, callback)Reserve IP Subpool{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}Yes
getReserveIPSubpool(siteId, offset, limit, ignoreInheritedGroups, poolUsage, callback)Get Reserve IP Subpool{base_path}/{version}/reserve-ip-subpool?{query}Yes
deleteSPProfile(spProfileName, callback)Delete SP Profile{base_path}/{version}/sp-profile/{pathv1}?{query}Yes
assignDeviceCredentialToSite(siteId, body, callback)Assign Device Credential To Site{base_path}/{version}/credential-to-site/{pathv1}?{query}Yes
getDeviceCredentialDetails(siteId, callback)Get Device Credential Details{base_path}/{version}/device-credential?{query}Yes
updateDeviceCredentials(body, callback)Update Device Credentials{base_path}/{version}/device-credential?{query}Yes
createDeviceCredentials(body, callback)Create Device Credentials{base_path}/{version}/device-credential?{query}Yes
getServiceProviderDetails(callback)Get Service provider Details{base_path}/{version}/service-provider?{query}Yes
updateSPProfile(body, callback)Update SP Profile{base_path}/{version}/service-provider?{query}Yes
createSPProfile(body, callback)Create SP Profile{base_path}/{version}/service-provider?{query}Yes
updateNetwork(siteId, body, callback)Update Network{base_path}/{version}/network/{pathv1}?{query}Yes
createNetwork(siteId, body, callback)Create Network{base_path}/{version}/network/{pathv1}?{query}Yes
releaseReserveIPSubpool(id, callback)Release Reserve IP Subpool{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}Yes
uploadFile(nameSpace, callback)uploadFile{base_path}/{version}/file/{pathv1}?{query}Yes
getClientProximity(username, numberDays, timeResolution, callback)Client Proximity{base_path}/{version}/client-proximity?{query}Yes
getClientEnrichmentDetails(callback)Get Client Enrichment Details{base_path}/{version}/client-enrichment-details?{query}Yes
getSiteCountV2(id, callback)Get Site Count V2{base_path}/{version}/site/count?{query}Yes
importMapArchiveCancelAnImport(importContextUuid, callback)Import Map Archive - Cancel an Import{base_path}/{version}/maps/import/{pathv1}?{query}Yes
importMapArchivePerformImport(importContextUuid, callback)Import Map Archive - Perform Import{base_path}/{version}/maps/import/{pathv1}/perform?{query}Yes
getSiteV2(groupNameHierarchy, id, type, offset, limit, callback)Get Site V2{base_path}/{version}/site?{query}Yes
mapsSupportedAccessPoints(callback)Maps Supported Access Points{base_path}/{version}/maps/supported-access-points?{query}Yes
getDevicesThatAreAssignedToASite(id, offset, limit, memberType, level, callback)Get devices that are assigned to a site{base_path}/{version}/site-member/{pathv1}/member?{query}Yes
importMapArchiveStartImport(callback)Import Map Archive - Start Import{base_path}/{version}/maps/import/start?{query}Yes
importMapArchiveImportStatus(importContextUuid, callback)Import Map Archive - Import Status{base_path}/{version}/maps/import/{pathv1}/status?{query}Yes
assignDevicesToSite(siteId, body, callback)Assign Devices To Site{base_path}/{version}/assign-device-to-site/{pathv1}/device?{query}Yes
exportMapArchive(siteHierarchyUuid, body, callback)Export Map Archive{base_path}/{version}/maps/export/{pathv1}?{query}Yes
getSite(name, siteId, type, offset, limit, callback)Get Site{base_path}/{version}/site?{query}Yes
getSiteCount(siteId, callback)Get Site Count{base_path}/{version}/site/count?{query}Yes
getMembership(siteId, offset, limit, deviceFamily, serialNumber, callback)Get Membership{base_path}/{version}/membership/{pathv1}?{query}Yes
updateSite(siteId, body, callback)Update Site{base_path}/{version}/site/{pathv1}?{query}Yes
deleteSite(siteId, callback)Delete Site{base_path}/{version}/site/{pathv1}?{query}Yes
getBusinessAPIExecutionDetails(executionId, callback)Get Business API Execution Details{base_path}/{version}/dnacaap/management/execution-status/{pathv1}?{query}Yes
authorizeDevice(body, callback)Authorize Device/api/{version}/onboarding/pnp-device/authorize?{query}Yes
importCertificate(pkPassword, listOfUsers, callback)importCertificate{base_path}/{version}/certificate?{query}Yes
importCertificateP12(p12Password, pkPassword, listOfUsers, callback)importCertificateP12{base_path}/{version}/certificate-p12?{query}Yes
getEoXStatusForAllDevices(callback)Get EoX Status For All Devices{base_path}/{version}/eox-status/device?{query}Yes
getEoXSummary(callback)Get EoX Summary{base_path}/{version}/eox-status/summary?{query}Yes
getEoXDetailsPerDevice(deviceId, callback)Get EoX Details Per Device{base_path}/{version}/eox-status/device/{pathv1}?{query}Yes
associate(networkProfileId, siteId, callback)Associate{base_path}/{version}/networkprofile/{pathv1}/site/{pathv2}?{query}Yes
disassociate(networkProfileId, siteId, callback)Disassociate{base_path}/{version}/networkprofile/{pathv1}/site/{pathv2}?{query}Yes
getNFVProfile(id, offset, limit, name, callback)Get NFV Profile{base_path}/{version}/nfv/network-profile/{pathv1}?{query}Yes
updateNFVProfile(id, name, body, callback)Update NFV Profile{base_path}/{version}/nfv/network-profile/{pathv1}?{query}Yes
deleteNFVProfile(id, name, callback)Delete NFV Profile{base_path}/{version}/nfv/network-profile/{pathv1}?{query}Yes
nFVProvisioningDetail(body, callback)NFV Provisioning Detail{base_path}/{version}/nfv-provision-detail?{query}Yes
createNFVProfile(body, callback)Create NFV Profile{base_path}/{version}/nfv/network-profile?{query}Yes
getConfigurationArchiveDetails(deviceId, fileType, createdTime, createdBy, offset, limit, callback)Get configuration archive details{base_path}/{version}/network-device-config?{query}Yes
exportDeviceConfigurations(body, callback)Export Device configurations{base_path}/{version}/network-device-archive/cleartext?{query}Yes
getAdvisoriesSummary(callback)Get Advisories Summary{base_path}/{version}/security-advisory/advisory/aggregate?{query}Yes
getAdvisoriesList(callback)Get Advisories List{base_path}/{version}/security-advisory/advisory?{query}Yes
getAdvisoriesPerDevice(deviceId, callback)Get Advisories Per Device{base_path}/{version}/security-advisory/device/{pathv1}/advisory?{query}Yes
getAdvisoryIDsPerDevice(deviceId, callback)Get Advisory IDs Per Device{base_path}/{version}/security-advisory/device/{pathv1}?{query}Yes
getDevicesPerAdvisory(advisoryId, callback)Get Devices Per Advisory{base_path}/{version}/security-advisory/advisory/{pathv1}/device?{query}Yes
getComplianceDetailCount(complianceType, complianceStatus, callback)Get Compliance Detail Count{base_path}/{version}/compliance/detail/count?{query}Yes
getComplianceDetailsOfDevice(deviceUuid, category, complianceType, diffList, callback)Compliance Details of Device{base_path}/{version}/compliance/{pathv1}/detail?{query}Yes
commitDeviceConfiguration(body, callback)Commit device configuration{base_path}/{version}/network-device-config/write-memory?{query}Yes
getDeviceComplianceStatus(deviceUuid, callback)Device Compliance Status{base_path}/{version}/compliance/{pathv1}?{query}Yes
getComplianceStatusCount(complianceStatus, callback)Get Compliance Status Count{base_path}/{version}/compliance/count?{query}Yes
getComplianceStatus(complianceStatus, deviceUuid, callback)Get Compliance Status{base_path}/{version}/compliance?{query}Yes
getComplianceDetail(complianceType, complianceStatus, deviceUuid, offset, limit, callback)Get Compliance Detail{base_path}/{version}/compliance/detail?{query}Yes
runCompliance(body, callback)Run Compliance{base_path}/{version}/compliance/?{query}Yes
getLicenseUsageDetails(smartAccountId, virtualAccountName, deviceType, callback)License Usage Details{base_path}/{version}/licenses/usage/smartAccount/{pathv1}/virtualAccount/{pathv2}?{query}Yes
getDeviceLicenseSummary(pageNumber, order, sortBy, dnaLevel, deviceType, limit, registrationStatus, virtualAccountName, smartAccountId, deviceUuid, callback)Device License Summary{base_path}/{version}/licenses/device/summary?{query}Yes
getVirtualAccountDetails(smartAccountId, callback)Virtual Account Details{base_path}/{version}/licenses/smartAccount/{pathv1}/virtualAccounts?{query}Yes
deviceDeregistration(body, callback)Device Deregistration{base_path}/{version}/licenses/smartAccount/virtualAccount/deregister?{query}Yes
getDeviceCountDetails(deviceType, registrationStatus, dnaLevel, virtualAccountName, smartAccountId, callback)Device Count Details{base_path}/{version}/licenses/device/count?{query}Yes
deviceRegistration(virtualAccountName, body, callback)Device Registration{base_path}/{version}/licenses/smartAccount/virtualAccount/{pathv1}/register?{query}Yes
getSmartAccountDetails(callback)Smart Account Details{base_path}/{version}/licenses/smartAccounts?{query}Yes
changeVirtualAccount(smartAccountId, virtualAccountName, body, callback)Change Virtual Account{base_path}/{version}/licenses/smartAccount/{pathv1}/virtualAccount/{pathv2}/device/transfer?{query}Yes
getDeviceLicenseDetails(deviceUuid, callback)Device License Details{base_path}/{version}/licenses/device/{pathv1}/details?{query}Yes
getLicenseTermDetails(smartAccountId, virtualAccountName, deviceType, callback)License Term Details{base_path}/{version}/licenses/term/smartAccount/{pathv1}/virtualAccount/{pathv2}?{query}Yes
deployDeviceReplacementWorkflow(body, callback)Deploy device replacement workflow{base_path}/{version}/device-replacement/workflow?{query}Yes
returnListOfReplacementDevicesWithReplacementDetails(faultyDeviceName, faultyDevicePlatform, replacementDevicePlatform, faultyDeviceSerialNumber, replacementDeviceSerialNumber, replacementStatus, family, sortBy, sortOrder, offset, limit, callback)Return list of replacement devices with replacement details{base_path}/{version}/device-replacement?{query}Yes
unMarkDeviceForReplacement(body, callback)UnMark device for replacement{base_path}/{version}/device-replacement?{query}Yes
markDeviceForReplacement(body, callback)Mark device for replacement{base_path}/{version}/device-replacement?{query}Yes
returnReplacementDevicesCount(replacementStatus, callback)Return replacement devices count{base_path}/{version}/device-replacement/count?{query}Yes
getSystemHealthCount(domain, subdomain, callback)System Health Count API{base_path}/{version}/diagnostics/system/health/count?{query}Yes
getSystemHealth(summary, domain, subdomain, limit, offset, callback)System Health API{base_path}/{version}/diagnostics/system/health?{query}Yes
getSystemPerformanceHistorical(kpi, startTime, endTime, callback)System Performance Historical API{base_path}/{version}/diagnostics/system/performance/history?{query}Yes
getSystemPerformanceAPI(kpi, functionParam, startTime, endTime, callback)System Performance API{base_path}/{version}/diagnostics/system/performance?{query}Yes
updateRole(body, callback)Update role API/dna/system/api/{version}/role?{query}Yes
addRole(body, callback)Add role API/dna/system/api/{version}/role?{query}Yes
deleteUser(userId, callback)Delete user API/dna/system/api/{version}/user/{pathv1}?{query}Yes
getUsers(invokeSource, authSource, callback)Get users API/dna/system/api/{version}/user?{query}Yes
updateUser(body, callback)Update user API/dna/system/api/{version}/user?{query}Yes
addUser(body, callback)Add user API/dna/system/api/{version}/user?{query}Yes
getRoles(callback)Get roles API/dna/system/api/{version}/roles?{query}Yes
getPermissions(callback)Get permissions API/dna/system/api/{version}/role/permissions?{query}Yes
getExternalAuthenticationServers(invokeSource, callback)Get external authentication servers API/dna/system/api/{version}/users/external-servers?{query}Yes
deleteRole(roleId, callback)Delete role API/dna/system/api/{version}/role/{pathv1}?{query}Yes
getCiscoDNACenterReleaseSummary(callback)Cisco DNA Center Release Summary{base_path}/{version}/dnac-release?{query}Yes
getCiscoDNACenterNodesConfigurationSummary(callback)Cisco DNA Center Nodes Configuration Summary{base_path}/{version}/nodes-config?{query}Yes
getCiscoDNACenterPackagesSummary(callback)Cisco DNA Center Packages Summary{base_path}/{version}/dnac-packages?{query}Yes
getIssues(startTime, endTime, siteId, deviceId, macAddress, priority, issueStatus, aiDriven, callback)get issues{base_path}/{version}/issues?{query}Yes
getIssueEnrichmentDetails(callback)Get Issue Enrichment Details{base_path}/{version}/issue-enrichment-details?{query}Yes
executeSuggestedActionsCommands(body, callback)Execute Suggested Actions Commands{base_path}/{version}/execute-suggested-actions-commands?{query}Yes
getSensors(siteId, callback)Sensors{base_path}/{version}/sensor?{query}Yes
createSensorTestTemplate(body, callback)Create sensor test template{base_path}/{version}/sensor?{query}Yes
deleteSensorTest(templateName, callback)Delete sensor test{base_path}/{version}/sensor?{query}Yes
duplicateSensorTestTemplate(body, callback)Duplicate sensor test template{base_path}/{version}/sensorTestTemplate?{query}Yes
editSensorTestTemplate(body, callback)Edit sensor test template{base_path}/{version}/AssuranceScheduleSensorTest?{query}Yes
runNowSensorTest(body, callback)Run now sensor test{base_path}/{version}/sensor-run-now?{query}Yes
addWLCToFabricDomain(body, callback)Add WLC to Fabric Domain{base_path}/{version}/business/sda/wireless-controller?{query}Yes
removeWLCFromFabricDomain(deviceIPAddress, body, callback)Remove WLC from Fabric Domain{base_path}/{version}/business/sda/wireless-controller?{query}Yes
getSSIDToIPPoolMapping(vlanName, siteNameHierarchy, body, callback)Get SSID to IP Pool Mapping{base_path}/{version}/business/sda/hostonboarding/ssid-ippool?{query}Yes
updateSSIDToIPPoolMapping(body, callback)Update SSID to IP Pool Mapping{base_path}/{version}/business/sda/hostonboarding/ssid-ippool?{query}Yes
addSSIDToIPPoolMapping(body, callback)Add SSID to IP Pool Mapping{base_path}/{version}/business/sda/hostonboarding/ssid-ippool?{query}Yes
getApplicationHealth(siteId, deviceId, macAddress, startTime, endTime, applicationHealth, offset, limit, applicationName, callback)getApplicationHealth{base_path}/{version}/application-health?{query}Yes
getCMDBSyncStatus(status, date, body, callback)Get CMDB Sync Status{base_path}/{version}/cmdb-sync/detail?{query}Yes
getFailedITSMEvents(instanceId, callback)Get Failed ITSM Events{base_path}/{version}/integration/events?{query}Yes
retryIntegrationEvents(body, callback)Retry Integration Events{base_path}/{version}/integration/events?{query}Yes
getUserEnrichmentDetails(callback)Get User Enrichment Details{base_path}/{version}/user-enrichment-details?{query}Yes

Authentication

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

Two Step Token Authentication

The Cisco DNA Center adapter requires Two Step Token Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.

STEPS

  1. Ensure you have access to a Cisco DNA Center server and that it is running
  2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
  3. Use the properties below for the properties.authentication field
    "authentication": {
       "auth_method": "request_token",
       "username": "<username>",
       "password": "<password>",
       "token_timeout": 1800000,
       "token_cache": "local",
       "invalid_token_error": 401,
       "auth_field": "header.headers.X-Auth-Token",
       "auth_field_format": "{token}",
    }
  4. Restart the adapter. If your properties were set correctly, the adapter should go online.

Troubleshooting

  • Make sure you copied over the correct username and password.
  • 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-dna_center
cd adapter-dna_center
npm run adapter:update

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

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

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

Adding Adapter Properties

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

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

Changing Adapter Authentication

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

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

Enhancing Adapter Integration Tests

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

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

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

Contributing

First off, thanks for taking the time to contribute!

The following is a set of rules for contributing.

Code of Conduct

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

How to Contribute

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

Helpful Links

Adapter Technical Resources

Node Scripts

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

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

Troubleshoot

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

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

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

Connectivity Issues

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