Skip to content

Commit

Permalink
Fixed sentence structure (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuthbert authored and jathanism committed Apr 21, 2016
1 parent 93b7990 commit 9176cf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ Which outputs::
Get structured data back using the Commando API
-----------------------------------------------

`~trigger.cmds.Commando` The results from each worker are parsed through the TextFSM templating engine, if a matching template file exists within the `~trigger.settings.TEXTFSM_TEMPLATE_DIR` directory.
`~trigger.cmds.Commando` will attempt to parse the raw command output into a nested dict.
The results from each worker are parsed through the TextFSM templating engine, if a matching template file exists within the `~trigger.settings.TEXTFSM_TEMPLATE_DIR` directory.

For this to work you must have an attribute on your netdevices model that specifies the network operating system, ie IOS, NXOS or JUNOS. This will be used to correlate the right template for a given device based on the naming convention used by the TextFSM templates.

Expand Down

0 comments on commit 9176cf7

Please sign in to comment.