iosparse 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +3 -2
- data/iosparse.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
IOSParse will parse Cisco IOS configuration files, more functionality coming.
|
|
2
2
|
|
|
3
3
|
# How do I use it?
|
|
4
|
-
Good question.
|
|
4
|
+
Good question. First install it using `gem install iosparse`.
|
|
5
|
+
Then use it. Create a new IOSParse object and pass it filename of the Cisco IOS config file (usually a show all type of dump file). Then ask it questions:
|
|
5
6
|
|
|
6
7
|
````
|
|
7
|
-
config = IOSParse.new('ios.conf')
|
|
8
|
+
config = IOSParse.new('path/to/ios.conf')
|
|
8
9
|
puts config.interfaces
|
|
9
10
|
````
|
|
10
11
|
````
|
data/iosparse.gemspec
CHANGED