Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #306 from nre-learning/final-v1.2.0-fixes
Browse files Browse the repository at this point in the history
Final fixes pre-v1.1.0 release
  • Loading branch information
Mierdin authored Jan 31, 2020
2 parents e5f077b + 2d8429a commit c8cb77f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- Fixes to configs for troubleshooting lesson [#303](https://github.com/nre-learning/nrelabs-curriculum/pull/303)
- Downgrade netmiko since utility is still python2 [#301](https://github.com/nre-learning/nrelabs-curriculum/pull/301)
- Fix Terraform diagram [#305](https://github.com/nre-learning/nrelabs-curriculum/pull/305)
- Final fixes for v1.1.0 [#306](https://github.com/nre-learning/nrelabs-curriculum/pull/306)

## v1.0.0 - August 08, 2019

Expand Down
4 changes: 2 additions & 2 deletions lessons/fundamentals/lesson-14-yaml/stage2/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python
import yaml
import sys
yamlFile = open('basicdict.yaml', 'r')
yamlList = yaml.load(yamlFile, Loader=yaml.FullLoader)
yamlDict = yaml.load(yamlFile, Loader=yaml.FullLoader)
```
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>

Expand Down Expand Up @@ -53,7 +53,7 @@ YAML and Python are quite liberal with the types that can be stored in a diction

<pre>
yamlFile = open('complexdict.yaml', 'r')
yamlList = yaml.load(yamlFile, Loader=yaml.FullLoader)
yamlDict = yaml.load(yamlFile, Loader=yaml.FullLoader)
for key, value in yamlDict.items():
print("The key %s is of type %s and its value %s is of type %s" % (key, type(key), value, type(value)))

Expand Down
2 changes: 1 addition & 1 deletion lessons/fundamentals/lesson-16-jinja/stage4/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The below snippet is used to import the data from the YAML file to our python co

```
yaml_file = open('part4.yml', 'r')
all_devices = yaml.load(yaml_file)
all_devices = yaml.load(yaml_file, Loader=yaml.FullLoader)
pprint(all_devices)
```
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>
Expand Down
2 changes: 1 addition & 1 deletion lessons/fundamentals/lesson-50-bash/stage4/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ Now let's run it with just three parameters to see what happens.
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>


Excellent! Now let's try another way you can pass parameters to a BASH script with the 'getopts' builtin BASH utility.
Excellent! In future sections, we'll look at other ways you can pass parameters to a BASH script with the 'getopts' builtin BASH utility.

6 changes: 4 additions & 2 deletions lessons/tools/lesson-13-napalm/lesson.meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ stages:
- id: 4
description: Make configuration changes with NAPALM
jupyterLabGuide: true
verifyCompleteness: true
verifyObjective: "Modify and re-execute the code in the Jupyter notebook so that the description for em1.0 exactly reads: 'Hello, World!'"

# This feature is not ready for primetime, so we're removing it for now.
# verifyCompleteness: true
# verifyObjective: "Modify and re-execute the code in the Jupyter notebook so that the description for em1.0 exactly reads: 'Hello, World!'"

0 comments on commit c8cb77f

Please sign in to comment.