This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Introduction

This is a collection of sample scripts and tools for APIC-EM.

Getting Started

Clone this repository:

git clone https://github.com/CiscoDevNet/apic-em-samples-aradford.git

There are two different types of examples; tools and sample python code.

tools/postman

tools/postman contains a collection of postman
requests. These use dynamic variables to link requests together. This is particularly
useful for authentication and asychronous requests, where a taskId is returned.

sample_code

sample_code contains some Python scripts to communicate with
Cisco's sandbox APIC-EM. These scripts are written in Python 2 and use the third-party
requests library. They expose the
REST API structure and are a good tool for learning about the APIC-EM REST API.

There are examples for Plug-and-Play (PNP), inventory and EasyQoS (EQ).

uniq_samples

Uniq is a Python API client library for
APIC-EM, which abstracts the available REST API. uniq_samples
contains some examples of using the library. You will need to install uniq to
use it, instructions for which are available in the uniq_samples directory README.

The Uniq library is written in Python 3.

More to come...

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.