Skip to content

imapex-training/mod_cisco_devnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module: Leveraging Cisco DevNet

Link to Slides

developer.cisco.com

Abstract

DevNet is Cisco's Developer Program. DevNet is a free resources available to anyone at http://developer.cisco.com. It provides resources for Application Developers and Infrastructure Developers. DevNet is useful for Application Developers looking to leverage technologies like Spark and Tropo in their software, or build new Internet of Things applications with analytics and the IOx platform. Similarly, Infrastructure Developers looking to treat "Infrastructure as Code" will find everything they need to begin deploying and managing Cisco infrastructure components through APIs and other programmatic interfaces. Those looking to learn and gain new skills will find Learning Labs, code samples, and development Sandboxes freely available at anytime. In this module we will take a tour through the DevNet, and explore how it will help you "Learn, Code, Inspire and Connect" using Cisco's development platforms.

Why Do We Care?

Though DevNet provides a number of assets, the most important is to provide context around why an application developer would write software that integrates with certain Cisco products and how to actually achieve that those goals. The best and most adopted APIs can track their success to documentation that is easy to find, understand and use. As a result, DevNet has an equally important role to evangelize and guide internal teams to create excellent developer resources.

The DevNet portal is currently broken up into DevCenters that contain several microsites pertaining to individual technologies. In addition, there are some "spoke" sites off of the DevNet "hub". Cisco Spark (https://developer.ciscospark.com) is an example of this.

Summary: Cisco DevNet

  • Cisco's developer relations program
  • Not just a portal (developer.cisco.com)
  • Sandboxes, Learning Labs, Developer Support, events

Go Do It Exercises

  • APIC-EM
  • CMX
  • Cisco Spark

APIC-EM task

  1. Find APIC-EM docs through DevNet
  2. Find the API call to identify the hosts managed by the controller
  3. Run the API call in documentation to create a ticket (aka access token) (username: devnetuser, password: Cisco123) item: # (/slide)

CMX task

  1. Find CMX docs through DevNet
  2. Find API call to identify the number of clients being tracked by the mobility services engine
  3. Run the API call in the documentation (username: learning, password: learning) item: # (/slide)

Spark task

  1. Find Spark docs through DevNet
  2. Find API call to identify list of rooms you are a member of
  3. Run the API call in the documentation to list the rooms item: # (/slide)

Developers love learning new things, and DevNet offers educational content. Starting at Cisco Live! US 2014, DevNet introduced Learning Labs. Learning Labs are self paced tutorials that last 15-40 minutes. They are designed to introduce developers to new technologies in a step-by-step manner. The Labs are organized into Modules and Tracks to allow users to focus on the labs that pertain specifically to their goals (e.g., Network Programmability, Cloud Collaboration applications, Infrastructure Programmability and so on). Because Modules and Tracks contain many learning labs, completion of a Module or Track can be many hours of content and exercises.

Learning Lab Browser

Summary: Learning Labs

  • An online resource for technical tutorials
  • Relatively short 15-40 minute labs
  • Labs can be combined to form educational Tracks. item: # (/slide)

Go Do It Exercises

  • Review Tracks
  • Complete 2 Labs

Review the available tracks

Pick 2 learning labs of interest and complete them

DevNet provides the ability for any internal engineer or doc writer to build out a learning lab on a topic that they feel the larger developer community may find useful. Documentation on how to do this is covered here

Sandboxes

Documentation, tutorials and sample code are great, but a developer also needs to run code against an environment. That's where the DevNet Sandbox comes in. The DevNet Sandbox provides a few dozen combinations of technologies and infrastructure topologies that can be reserved or that are shared and are "always on". This allows application developers to have an environment to test out their applications or solutions without having to spend a lot of time and/or money to get their lab up and running. Many of the Learning Labs utilize the DevNet Sandbox for a hands-on learning experience.

Summary: DevNet Sandbox

  • Reservation-based or shared environments for trying out your code
  • Linked up with DevNet Learning Labs in most cases

Go Do It Exercises

  • Reservation
  • APIC-EM Always On
  • CMX Always On

Browse the offering available in the Sandbox and make a sandbox reservation

APIC-EM task

  1. Find the instructions for the APIC-EM always on lab
  2. Find APIC-EM docs
  3. In Postman figure out how to create an API ticket on the APIC-EM always on Sandbox using credentials
{
    "username":"devnetuser",
    "password":"Cisco123!"

}
  1. Use that ticket to get a list of hosts managed on that controller

CMX Task

  1. Find the instructions for the CMX always on lab
  2. Find the CMX docs
  3. In Postman, figure out how to get a list of the notification subscriptions already on the server
  4. Reverse engineer the result to create a NEW notification subscription on the server item: # (/slide)

API and Developer Support through DevNet

Downstream, as developers are working with the technologies in the sandboxes or in their own labs, they may come across some issues that they can't figure out, either because the documentation is bad gasp, or their problem is new, or there is a bug in the platform double gasp. This is where support comes into play.

Developer Communities

The first line of defense are the DevNet Communities. This area is split up in relation to all of the technologies DevNet supports so for each microsite there is a community for discussion forums and blog content. Though there is no SLA and response is best effort, DevNet staff monitor these forums daily and respond when the community does not or cannot.

Support Ticket

The second line of defense is a support ticket. This is a benefit of the solution partner program or can be purchased on an ad-hoc basis. Tickets are assigned to engineers directly who provide 1 on 1 developer support and potentially work hand in hand with TAC should it be a product issue. These engineers are the third party developers' main advocate.

Summary: Developer Support

  • Developer support can help clarify documentation or work around bugs in the platform.
  • DevNet Communities is the community-based support platform
  • Developers and Partners can also purchase support tickets. item: # (/slide)

Hackathon and Meetup Support

DevNet supports CiscoLive events globally, to independently organized hackathons and conferences. If there are developers, DevNet wants to be there. Through our team of Dev Evangelists, DevNet is represented all over the world explaining the benefits of working with Cisco and related technologies. Upcoming events can be found at https://communities.cisco.com/community/developer

Conclusion

  • DevNet is Cisco's Developer program
  • Main resources are available at developer.cisco.com
  • Learning Labs and Sandbox help developers experience and learn
  • Developer support options
  • DevNet represents at many hackathons and events around the world
  • Upcoming events can be found at https://communities.cisco.com/community/developer

About

Cisco DevNet as a resource for Application Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages