Network Programmability and Automation

Errata for Network Programmability and Automation

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted
PDF, ePub Page 51
Chapter 2 - Heading "Debian, Ubuntu, and Other Derivatives"

The third paragraph states: All Ubuntu codenames are cmposed of an adjective and an animal with the same first letter (Warty Warthog, Hoary Hedgehog, Breezy Badger, etc.). Please correct the spelling "composed"

Syed Faraz Ali  Nov 16, 2018 
Printed Page 55
general note block

The general note regarding the shebang states that scripts starting with an exclamation mark only. I think it should be hash and exclamation mark: #! The original sentence is even more missleading: "the shebang is the first line in a text-based script and it starts with the characters !, followed by the path to the interpreter to the script." This might lead to the understanding the shebang is made of the two characters "!," Kind regards, Patrick Gerhartz

Patrick Gerhartz  Apr 01, 2018 
PDF, ePub Page 62
Chapter 2 - Heading "Changing permissions"

In the sentence "Similarly, if you wanted to allow users in the file’s group to read the file but not write or execute it, you’d assign the value 2 to the group’s permissions." The value assigned for read should be 4 instead of 2.

Syed Faraz Ali  Nov 19, 2018 
Printed Page 82
1st and 3rd paragraphs

The reference to the Figures 3.7 and 3.8 on page 82 is incorrect. The command in the beginning of page 82 which is used to create a bridge corresponds to Figure 3.6 and not 3.7 as stated. Similarly further down on the same page a single physical interface is added to the bridge, so the corresponding Figure should be 3.7 and not 3.8 as stated.

Anonymous  Apr 08, 2019 
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version Page 88
Output from running python interpreter

In section "Using the Python Interactive Interpreter", the example in page 89 uses print() syntax but the output from running python interpreter is 2.7.6 which does not support print() unless import future.

Yoong hor meng  Sep 03, 2018 
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version Page 91
Table 4-1

The example for tuple is wrong. The IP address should be quoted using single or double quotes.

Hor Meng Yoong  Sep 03, 2018 
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version Page 91
Example for set

Example for set is wrong. It should be set(facts) returns set(["vendor", "platform", "os"])

Yoong Hor Meng  Sep 03, 2018 
Printed Page 143
code segment

The example code prints incorrect data as args[0] is the script name. Text above the code segment correctly states this.

Anonymous  Sep 02, 2018 
Printed Page 206
3rd Paragraph, 2nd Sentence

Sentence reads "If you are using an HTTP-based API that always uses the same URL and does not allow you to access a specific resource by a URL change, the API is a RESTful HTTP-based API." I believe this should read ...the API is a non-RESTful HTTP-based API. Examples of this can be seen from page 235 where the Cisco NX-API is demonstrated.

Andrew Mason  Dec 03, 2018 
Printed Page 206
Page 206 3rd Paragraph, 2nd Sentence

I agree with what Andrew Mason states : - Sentence reads "If you are using an HTTP-based API that always uses the same URL and does not allow you to access a specific resource by a URL change, the API is a RESTful HTTP-based API." I believe this should read ...the API is a non-RESTful HTTP-based API.- Furthermore to what he suggest on page 250 last paragraph. 2nd sentence you can read : "...whreas a true RESTful API using http as transport has a different URL based on the resource in question..." this contradicts what stated in the referenced page for the error.

Giorgio Tosi  Jan 30, 2019 
Printed Page 414
first example, first line

missing --out option

Tom McCreary  Oct 11, 2019