Skip to content

Commit

Permalink
Updated sandbox for IOS XE Programmability
Browse files Browse the repository at this point in the history
  • Loading branch information
hpreston committed Dec 18, 2017
1 parent 59d255d commit 1c4c8d7
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion application_hosting/guestshell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ pip install -r requirements.txt
```

## DevNet Sandbox
This lesson leverages the [IOS XE Programmability](https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology) Sandbox.
This lesson leverages the [IOS XE Programmability](https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology) Sandbox.

You will need to reserve an instance of the sandbox, and establish a VPN connection to your individual Sandbox to complete this lab.
20 changes: 10 additions & 10 deletions application_hosting/python_onbox/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Python at the Edge: Super Charged Network Event Management

## "Gitting" the Code
All of the code and examples for this lesson is located in the `netprog_basics/application_hosting/python_onbox` directory. Clone and access it with the following commands:
All of the code and examples for this lesson is located in the `netprog_basics/application_hosting/python_onbox` directory. Clone and access it with the following commands:

```bash
git clone https://github.com/CiscoDevNet/netprog_basics
Expand All @@ -11,7 +11,7 @@ cd netprog_basics/application_hosting/python_onbox
## Local Workstation Setup
Be sure to complete the [General Workstation Setup](https://github.com/CiscoDevNet/netprog_basics/blob/master/readme_resources/workstation_setup.md) instructions before beginning this lesson.

### Python Environment Setup
### Python Environment Setup
It is recommended that this lesson be completed using Python 3.6. A recent version of Python 2.7 or Python 3.5 should also work.

It is highly recommended to leverage Python Virtual Environments for completing exercises in this course.
Expand All @@ -23,18 +23,18 @@ Follow these steps to create and activate a venv.
***Note: If you are leveraging a shared venv across all lessons simply activate it.***

```bash
# OS X or Linux
# OS X or Linux
virtualenv venv --python=python3
source venv/bin/activate
```

```bash
# Windows (assumes Python 3 is default)
virtualenv venv
venv/Scripts/activate
virtualenv venv
venv/Scripts/activate
```

#### Install Python Requirements for Lesson
#### Install Python Requirements for Lesson
With the Virtual Environment activated, use pip to install the necessary requirements.

```bash
Expand All @@ -43,14 +43,14 @@ pip install -r requirements.txt
```

## DevNet Sandbox
This lesson leverages the [IOS XE Programmability](https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology) Sandbox.
This lesson leverages the [IOS XE Programmability](https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology) Sandbox.

You will need to reserve an instance of the sandbox, and establish a VPN connection to your individual Sandbox to complete this lab.

### Post Reservation Setup
### Post Reservation Setup
This lesson assumes the following about the Sandbox:

* Guest Shell has already been enabled on the IOS XE Sandbox instance
* Guest Shell has already been enabled on the IOS XE Sandbox instance
* `git` has been installed within the running Guest Shell container

If you have already completed the exercises within the **Linux at the Edge: Introduction to Guest Shell** lesson using your Sandbox instance then you are all set and ready to go. If not, you will need to complete the following additional steps.
Expand All @@ -64,4 +64,4 @@ With Guest Shell setup, now clone the code for the labs into Guest Shell in your
```
! From Enable mode on your Sandbox Device
guestshell run git clone https://github.com/CiscoDevNet/netprog_basics /flash/netprog_basics
```
```
4 changes: 2 additions & 2 deletions course_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
"readme": "https://raw.githubusercontent.com/CiscoDevNet/netprog_basics/master/application_hosting/guestshell/README.md",
"sandbox": {
"description": "The \"IOS XE Programmability\" Sandbox provides an environment where developers and network engineers can explore the programmability options available within IOS XE",
"link": "https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology",
"link": "https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology",
"name": "IOS XE Programmability"
},
"learning_labs": null,
Expand All @@ -466,7 +466,7 @@
"readme": "https://raw.githubusercontent.com/CiscoDevNet/netprog_basics/master/application_hosting/python_onbox/README.md",
"sandbox": {
"description": "The \"IOS XE Programmability\" Sandbox provides an environment where developers and network engineers can explore the programmability options available within IOS XE",
"link": "https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology",
"link": "https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology",
"name": "IOS XE Programmability"
},
"learning_labs": null,
Expand Down
4 changes: 2 additions & 2 deletions course_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
readme: https://raw.githubusercontent.com/CiscoDevNet/netprog_basics/master/application_hosting/guestshell/README.md
sandbox:
description: 'The "IOS XE Programmability" Sandbox provides an environment where developers and network engineers can explore the programmability options available within IOS XE'
link: https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology
link: https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology
name: 'IOS XE Programmability'
learning_labs:
link: ''
Expand All @@ -387,7 +387,7 @@
readme: https://raw.githubusercontent.com/CiscoDevNet/netprog_basics/master/application_hosting/python_onbox/README.md
sandbox:
description: 'The "IOS XE Programmability" Sandbox provides an environment where developers and network engineers can explore the programmability options available within IOS XE'
link: https://devnetsandbox.cisco.com/RM/Diagram/Index/7fd27b24-7034-477d-9ad2-e2c8096dd1a5?diagramType=Topology
link: https://devnetsandbox.cisco.com/RM/Diagram/Index/1b83c4bf-f63e-4e4b-9119-9b385751f1b6?diagramType=Topology
name: 'IOS XE Programmability'
learning_labs:
link: ''
Expand Down
19 changes: 9 additions & 10 deletions network_device_apis/restconf/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Learn to CRUD with GET, POST and DELETE using RESTCONF

## "Gitting" the Code
All of the code and examples for this lesson is located in the `netprog_basics/network_device_apis/restconf` directory. Clone and access it with the following commands:
All of the code and examples for this lesson is located in the `netprog_basics/network_device_apis/restconf` directory. Clone and access it with the following commands:

```bash
git clone https://github.com/CiscoDevNet/netprog_basics
Expand All @@ -11,15 +11,15 @@ cd netprog_basics/network_device_apis/restconf
## Local Workstation Setup
Be sure to complete the [General Workstation Setup](https://github.com/CiscoDevNet/netprog_basics/blob/master/readme_resources/workstation_setup.md) instructions before beginning this lesson.

### Postman Setup
### Postman Setup
During this lesson the Postman client for making REST API calls is used. For convenience we have included a `postmane_collection.json` file that contains all the REST API calls leveraged in the different lessons, and `postman_environment.json` files for each of the DevNet Sandboxes leveraged across the lessons. These files are all located in the [postman_config](https://github.com/CiscoDevNet/netprog_basics/postman_config) directory in the code repository.

To leverage them, simply `Import` them into your Postman client.

1. Collections: Use the **Import** button in the upper left corner of the client.
1. Collections: Use the **Import** button in the upper left corner of the client.
2. Environments: Use the **Import** button from the `Manage Environments` interface of the client.

### Python Environment Setup
### Python Environment Setup
It is recommended that this lesson be completed using Python 3.6. A recent version of Python 2.7 or Python 3.5 should also work.

It is highly recommended to leverage Python Virtual Environments for completing exercises in this course.
Expand All @@ -31,18 +31,18 @@ Follow these steps to create and activate a venv.
***Note: If you are leveraging a shared venv across all lessons simply activate it.***

```bash
# OS X or Linux
# OS X or Linux
virtualenv venv --python=python3
source venv/bin/activate
```

```bash
# Windows (assumes Python 3 is default)
virtualenv venv
venv/Scripts/activate
virtualenv venv
venv/Scripts/activate
```

#### Install Python Requirements for Lesson
#### Install Python Requirements for Lesson
With the Virtual Environment activated, use pip to install the necessary requirements.

```bash
Expand All @@ -53,7 +53,6 @@ pip install -r requirements.txt
## DevNet Sandbox
This lesson leverages the [Always On: NETCONF/YANG & RESTCONF on IOS XE](https://devnetsandbox.cisco.com/RM/Diagram/Index/27d9747a-db48-4565-8d44-df318fce37ad?diagramType=Topology) Sandbox. This sandbox requires no reservation **or** VPN connection.

***Note: In the video, a different DevNet Sandbox is used***
***Note: In the video, a different DevNet Sandbox is used***

Use host address of `ios-xe-mgmt.cisco.com` and port `9443` for all RESTCONF API connections rather than the address of `10.10.20.21` and port `443` that is used in the videos.

6 changes: 3 additions & 3 deletions programming_fundamentals/rest_part_1/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# REST APIs Part 1: HTTP is for more than Web Browsing

## "Gitting" the Code
All of the code and examples for this lesson is located in the `netprog_basics/programming_fundamentals/rest_part_1 ` directory. Clone and access it with the following commands:
All of the code and examples for this lesson is located in the `netprog_basics/programming_fundamentals/rest_part_1 ` directory. Clone and access it with the following commands:

```bash
git clone https://github.com/CiscoDevNet/netprog_basics
Expand All @@ -22,6 +22,6 @@ Windows does **not** come with `curl` by default, but today there are several op
## DevNet Sandbox
This lesson leverages the [Always On: NETCONF/YANG & RESTCONF on IOS XE](https://devnetsandbox.cisco.com/RM/Diagram/Index/27d9747a-db48-4565-8d44-df318fce37ad?diagramType=Topology) Sandbox. This sandbox requires no reservation **or** VPN connection.

***Note: In the video, a different DevNet Sandbox is used***
***Note: In the video, a different DevNet Sandbox is used***

When running the `curl` for the RESTCONF example, leverage `https://ios-xe-mgmt.cisco.com:9443` as the URL instead of `https://10.10.20.21`.
When running the `curl` for the RESTCONF example, leverage `https://ios-xe-mgmt.cisco.com:9443` as the URL instead of `https://10.10.20.21`.

0 comments on commit 1c4c8d7

Please sign in to comment.