From 45de8fe69cda850c8db2c31452957961c06d172c Mon Sep 17 00:00:00 2001 From: mpenning Date: Thu, 14 Dec 2023 07:16:20 -0600 Subject: [PATCH] Update documentation --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e29f59..7077480 100644 --- a/README.md +++ b/README.md @@ -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`. @@ -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