Skip to content

Commit fb33530

Browse files
committed
text update
1 parent 114eca9 commit fb33530

File tree

1 file changed

+2
-2
lines changed
  • labs/coding-102-rest-python-ga

1 file changed

+2
-2
lines changed

labs/coding-102-rest-python-ga/5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ To run this code sample:
127127
* *On Mac OS or Linux type*: **python3 build-topology.py**
128128
5. The program should execute or display an error message.
129129

130-
You should see a result like the following.
130+
You should see a result like the following. For purposes of brevity some records have been removed.
131131

132132
![](/posts/files/coding-102-rest-python-ga/assets/images/build-topology.png)
133133

134134

135135
## Things to Try
136136
* After running the script, review the node data printed. Replace the label attribute that is printed with another attribute such as role or nodeType.
137-
* You may have noticed that no host devices are printed. Review the data and the source code, and determine why this is so along with how you would print this data. Hint: you can easily identify the host by its attribute nodeType or role.
137+
* You may have noticed that no host devices are printed. Review the JSON data and the source code, and determine why hosts aren't printed along with how you would print this data. Hint: you can easily identify the host by its attribute nodeType or role.
138138
* Modify the source code so that host devices are printed as well.
139139
* Modify the source code so that interface connections to the hosts are printed as is currently done with the other network devices.

0 commit comments

Comments
 (0)