Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cvp-oamp-client

ccondry49ISC0.4.1

Client to interface with the Cisco CVP OAMP REST services and other OAMP-controlled services like the CVP diag page.

cisco, cvp, oamp, cce

readme

CVP OAMP client

This is a JavaScript implementation of a growing collection of CVP OAMP and diagnostic portal REST APIs.

Example Usage

const cvpOampClient = require('cvp-oamp-client')
const url = 'https://cvp1.dcloud.cisco.com:9443/'
const username = 'wsmadmin'
const password = 'C1sco1234567'

// init client
let cvp = new cvpOampClient(url, username, password)

cvp.config.mediafile.list({ q: 'filename:31ord.wav AND path:en-us/sys' })
.then(response => {
  console.log(response)
})
.catch(error => {
  console.log(error)
})