Skip to content

Provides the example Python and Ansible code and dependencies configuration for the Cisco DevNet Associate Fundamentals course.

License

Notifications You must be signed in to change notification settings

network-tools/devasc-code-examples

 
 

Cisco DevNet Associate Fundamentals Course code examples

One of the best ways to study for the Cisco DevNet Associate Certification is through hands-on practice using worked examples.

This repository contains code examples for the DevNet Associate Fundamentals course available on the DevNet site. This course also has a related Study Group available for DevNet Associate Certification.

DevNet Associate Fundamentals course interactive terminal

Requirements

Python 3.7 or higher

Instructions

You can clone this repo locally to work within your own development environment. To set up a developer environment, you can refer to the DevNet Learning Labs.

The master branch contains the blank files that you can fill in during the course.

The solutions branch contains the working code.

The src folder contains code examples for all the hands-on exercises so you can try them in your own development environment.

This code requires Python3. The requirements.txt file lists all the dependencies required by the code used in the course. Follow the instructions below to setup a local developerment environment that matches the in-browser development environment used in the course. Here's a quick walkthrough.

asciicast demo

Get a local copy of the code

  1. Clone the repository. For example, git clone https://github.com/CiscoDevNet/devasc-code-examples.git.
  2. Change to the directory that contains the code files: cd devasc-code-examples/.

Set up a Python Virtual Environment

You want to work in a Python virtual environment so that you can be certainly only the required dependencies are installed and used for this project.

Note: This repository does not contain the source code for the Library REST API example included with the course development environment. You cannot run the main.py file and make calls successfully without the service available in the course.

MacOS or Linux

  1. python3 -m venv venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt

Windows - recommendation to use git-bash terminal

  1. py -3 -m venv venv
  2. source venv/Scripts/activate
  3. pip install -r requirements.txt

About

Provides the example Python and Ansible code and dependencies configuration for the Cisco DevNet Associate Fundamentals course.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.7%
  • HTML 1.6%
  • Other 0.7%