CiscoCloud/shipped-apicem-bp

Name: shipped-apicem-bp

Owner: CiscoCloud

Description: Build pack and sample repository for APIC-EM sdk in Shipped.

Created: 2015-07-06 15:44:01.0

Updated: 2016-05-02 16:01:30.0

Pushed: 2015-11-05 22:38:55.0

Homepage: null

Size: 1487

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Shipped APIC-EM and NextUI buildpack

Shipped is a hybrid devops framework that enables developer to easily build, deploy and run containerized microservices.

This repository include sample code and Shipped buildpack bootstrap data to enable developer to build and deploy application using Cisco APIC-EM APIs and NextUI visualization library.

Buildpack

Buildpack github repository in Shipped is a pre-packged framework. This buildpack include following

APIC-EM

The Application Policy Infrastructure Controller (APIC) Enterprise Module (API) is a Software Defined Network (SDN) controller from Cisco. APIC-EM buildpack enable developer to build application using northbound APIs.

APIC-EM Application

More details on APIC-EM development https://developer.cisco.com/site/apic-em/

NextUI

NeXt UI toolkit is an HTML5/JavaScript based toolkit for network web application. Provide high performance and high quality framework and network centric topology component. Sample topology that this sample implements. NextUI topology

More details on NextUI toolkit : https://developer.cisco.com/site/NeXt-test/

Sample Application & Code details

Sample Application accesses two cisco product APIs, one is APIC-EM and the other is NeXtUI to display the respective topologies. It is developed in simple HTML,CSS and JQuery which can be easily customized.

Code Structure

The Sample application consists of following folder structure.

We are consuming APIs from APIC-EM https://sandboxapic.cisco.com, this is the sandbox url for APIC-EM APIs. As it is sandbox so anyone can access it, please login there with temporary user id and password mentioned on the same page.

You can extend our application by calling these sandbox APIs, like we did for Host API, Inventory API, Policy API etc. Please follow the illustration below in order to understand the process of API consumption

We have few more API for topology.

We had used this API to show the routing path between two host within a network. We just need to replace the source and destination ip's and bypass this json data into topology call to get mapping, please follow the sample code.

Note

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.