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

Commit 35b47ff

Browse files
authored
Merge pull request #254 from nre-learning/last-minute-v1.0.0-fixes
Final Fixes for v1.0.0
2 parents b05f9cb + e8ffedb commit 35b47ff

File tree

9 files changed

+26
-13
lines changed

9 files changed

+26
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- Modified images to support a standard build process [#247](https://github.com/nre-learning/nrelabs-curriculum/pull/247)
1717
- Removing tags from curriculum [#248](https://github.com/nre-learning/nrelabs-curriculum/pull/248)
1818
- Promoting initial batch of collections [#252](https://github.com/nre-learning/nrelabs-curriculum/pull/252)
19+
- Final round of fixes for v1.0.0 based on feedback [#254](https://github.com/nre-learning/nrelabs-curriculum/pull/254)
1920

2021
## v0.3.2 - April 19, 2019
2122

images/utility/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,11 @@ RUN echo "export VISIBLE=now" >> /etc/profile
3232
ADD requirements.txt /requirements.txt
3333
RUN pip install -r /requirements.txt
3434

35+
# Temporary measure to get the latest yaml fix
36+
RUN git clone https://github.com/Juniper/jsnapy.git /tmp/jsnapy \
37+
&& cd /tmp/jsnapy \
38+
&& git checkout dd0dbb12e47ec5183e9e2ac9cd99195c861c925e \
39+
&& python setup.py install
40+
3541
EXPOSE 22
3642
CMD ["/usr/sbin/sshd", "-D"]

images/utility/push.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

images/utility/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
# https://github.com/paramiko/paramiko/issues/1369
2+
# (I think this is fixed now, so commenting this out. I ran into issues with this restriction on)
3+
# cryptography==2.4.2
14
napalm
25
netmiko
36
jsnapy
4-
junos-eznc
57
robotframework
68
jinja2
79
paho-mqtt
810
grpcio
911
grpcio-tools
10-
# https://github.com/paramiko/paramiko/issues/1369
11-
cryptography==2.4.2

lessons/fundamentals/lesson-14-yaml/stage2/guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ yamlDict['snmpcommunity']
5151

5252
YAML and Python are quite liberal with the types that can be stored in a dictionary. We have a second YAML file that has a list (Python's version of an array), a string, and an integer, all stored as different values in the same dictionary:
5353

54-
```
54+
<pre>
5555
yamlFile = open('complexdict.yaml', 'r')
5656
yamlDict = yaml.load(yamlFile)
5757
for key, value in yamlDict.items():
5858
print("The key %s is of type %s and its value %s is of type %s" % (key, type(key), value, type(value)))
59-
```
59+
60+
</pre>
6061
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>

lessons/fundamentals/lesson-17-git/stage1/guide.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ git init
2323
```
2424
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>
2525

26+
Before we go further, we should tell Git some information about us. At a minimum, in order to make commits, we need to provide a username and an email address:
27+
28+
```
29+
git config --global user.email "[email protected]"
30+
git config --global user.name "Jane Doe"
31+
```
32+
<button type="button" class="btn btn-primary btn-sm" onclick="runSnippetInTab('linux1', this)">Run this snippet</button>
33+
34+
The `--global` flag sets this in your Git configuration for the entire machine. You can omit this flag to only set it for this repository. This information is used to identify who has made changes to the files in the repository.
35+
2636
A Git repository is nothing without some files to manage. Let's create a text file and add some text to it:
2737

2838
```

lessons/tools/lesson-13-napalm/stage1/notebook.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"# Multi-Vendor Network Automation with NAPALM\n",
88
"\n",
99
"## Part 1 - Get Device Facts\n",
10-
"\n",
11-
"> This lesson uses Jupyter notebooks to provide a guided experience with in-line, executable and editable code snippets. Read <a target=\"_blank\" href=\"/jupyterlessonguides.html\">here</a> for more details on how to interact with these."
10+
"\n"
1211
]
1312
},
1413
{

lessons/tools/lesson-13-napalm/stage2/notebook.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"# Multi-Vendor Network Automation with NAPALM\n",
88
"\n",
99
"## Part 2 - NAPALM's Getter Functions\n",
10-
"\n",
11-
"> This lesson uses Jupyter notebooks to provide a guided experience with in-line, executable and editable code snippets. Read <a target=\"_blank\" href=\"/jupyterlessonguides.html\">here</a> for more details on how to interact with these."
10+
"\n"
1211
]
1312
},
1413
{

lessons/tools/lesson-13-napalm/stage4/notebook.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"# Multi-Vendor Network Automation with NAPALM\n",
88
"\n",
99
"## Part 4 - Make Configuration Changes with NAPALM\n",
10-
"\n",
11-
"> This lesson uses Jupyter notebooks to provide a guided experience with in-line, executable and editable code snippets. Read <a target=\"_blank\" href=\"/jupyterlessonguides.html\">here</a> for more details on how to interact with these."
10+
"\n"
1211
]
1312
},
1413
{

0 commit comments

Comments
 (0)