iosparse 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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