Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Dec 14, 2023
1 parent 0d9a2d3 commit 45de8fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Here's why, it:
### Simple Example

The following code will parse a configuration stored in
`exampleswitch.conf` and select interfaces that are shutdown.
`tests/fixtures/configs/sample_02.ios` and select interfaces that are shutdown.

In this case, the parent is a line containing `interface` and
the child is a line containing the word `shutdown`.
Expand Down Expand Up @@ -69,7 +69,9 @@ Shutdown: VLAN1

### Complex Example

The next example will find the IP address assigned to interfaces and whether they are shutdown.
The following code will parse a configuration stored in
`tests/fixtures/configs/sample_08.ios` and will find the
IP address / switchport parameters assigned to interfaces.

```python
from ciscoconfparse2 import CiscoConfParse
Expand Down

0 comments on commit 45de8fe

Please sign in to comment.