TechWiseTV Workshop: Cisco Developer Program

Post on 11-Apr-2017

119 views 1 download

Transcript of TechWiseTV Workshop: Cisco Developer Program

Amanda Whaley | @mandywhaley

@CiscoDevNet

February 2, 2017

Techwise TV

What Can you build with Cisco APIs?

Digital Transformation

Host-to-Host Communication

WWW

Voice and Video over IP

Digital Videoand HDTV

Mobile devices & appsSocial

networking

Digital Transformations 1990-2010

Internet of Things

Big Data & Real-time Streaming Analytics

Software Defined Networking

Cloud &

Data Center

Digital Convergence

Mobile Developer

App Developer

Web Developer

Cloud Developer

“Developers” are driving today’s Digital Transformation

In the past,

“Developer” meant

Mobile Developer

App Developer

Cloud Developer

Web Developer

Today

“Developer” means

Software

Developers

Data Developer

Data Analysts

Solution Architect

Network Engineer

IT/NW Admin/OperatorIT

Professionals

Sales Engineer

OT OperatorOT

Professionals

What is DevNet?

Developer as the

customer

Catalyze &

Accelerate

Digitization

Vibrant Developer Ecosystem

Cisco’s portfolio as a Platform for Innovation

IoT SDN Cloud Collaboration Open SourceSecurity Data Center DevOps Service

DevNet is Cisco’s Developer

Community and Innovation Ecosystem

DevNet Vision

Help developers build solutions and grow their careers.

We evangelize and provide tools needed to use Cisco APIs and platforms

Learn Code Inspire Connect

Amanda Whaley

Hank Preston

Ashley Roach

DevNet Team Presenters

John McDonough

Kareem Iskander

Jacob Adams

Director of DevX &

Evangelism

@mandywhaley

Networking & Data Center

Evangelist

@hfpreston

API & Cloud Evangelist

@aroach

Data Center Evangelist

@Johnamcdonough

DevNet Software

Engineer

@kareem_isk

DevNet Sandbox

Evangelist

@jacob200ok

Infrastructure as Code DemoAnsible + NX-OSHank Preston | @hfpreston

Version Control with GitLearning Labs & ResourcesAshley Roach | @aroach

1

0Pres

Why version control? To Protect yourself and others

11

DISTRIBUTED VERSION CONTROL

• Opens up to new workflows: git flow

• Each system has an exact replica of the repo as other collaborators.

12

https://git-scm.com/images/about/workflow-b@2x.png

GIT CONFIG

• So you can be held accountable, configure git

13

$ git config --global user.name "Your Name Comes Here"

$ git config --global user.email you@yourdomain.example.com

GIT INIT

• Initializes a project directory with a hidden directory /.git/

14

$ tar xzf project.tar.gz

$ cd project

$ git init

GIT ADD

• Add any files in your repository to git “stage”

15

$ git add .

https://git-scm.com/images/about/index1@2x.png

STAGING AREA

16Presentation ID

GIT COMMIT

• Store your changes into a commit

• Saves all of your changes together / save point

• Commit does NOT push

17

$ git commit –m ’Initial commit’

SHARE YOUR CHANGES

• git push <destination> <branch>

• git push origin master

18

$ git remote add <name> <url>

$ git push <name> <branch>

$ git push origin master

CLONING PROJECTS (SSH OR HTTPS)

• No password

• Set up SSH key on remote server (e.g. ssh-keygen)

19

$ git clone git@github.com:aroach/upgraded-guacamole.git

$ git clone https://github.com/aroach/upgraded-guacamole.git

GIT CLIENTS

• CLI Client

• IDE Clients

• VIM: airblade/vim-gitgutter

• Emacs: magit

• GUI Clients

• SourceTree

• Git Kracken

20Presentation ID

Additional Resources

• https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf

• https://www.atlassian.com/git/tutorials/comparing-workflows/

21

Get Started with Data Center ProgrammabilityJohn McDonough | @Johnamcdonough

Meraki Spark Bot DemoKareem Iskander | @kareem_isk

Infrastructure Architecture

1. Interacts with bot in Spark

Room• /Meraki Orgs

• /Mearki Networks

• /Mearki devices

• /Mearki switch

Cisco Spark Cloud

Service

2. Post Notification to

registered Webbooks' Target URL

3. Parse message

and GET info from Meraki API

4. Return JSON Data

5. Post

Response

Spark Bot Code

• Cloud Hosted or• Hosted On Local machine

Spark

User

All the resources for todays demos…

http://bit.ly/2kg4H8B

developer.cisco.com

Cisco DevNet | @CiscoDevNet

#DevNet

Amanda Whaley | @mandywhaley

Jacob Adams | @jacob200ok

Hank Preston | @hfpreston

Ashley Roach | @aroach

John McDonough | @Johnamcdonough

Kareem Iskander | @kareem_isk