cvp-oamp-client

0.4.1 • Public • Published

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)
})

Readme

Keywords

Package Sidebar

Install

npm i cvp-oamp-client

Weekly Downloads

2

Version

0.4.1

License

ISC

Unpacked Size

19.7 kB

Total Files

17

Last publish

Collaborators

  • ccondry