riscos 0.1.4 → 0.1.5
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/Changelog +2 -0
- data/lib/riscos.rb +5 -0
- metadata +7 -5
data/Changelog
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
2009-06-03 Adding a little bit to the css. It tries to set the pager to 0, which is an asa/pix command
|
|
2
|
+
|
|
1
3
|
2009-04-20 Making timeout available to initializer in setup of a new device.
|
|
2
4
|
|
|
3
5
|
2009-01-23 Initial release. Its working for me in lab and testing environment. I'm looking for feedback from other users.
|
data/lib/riscos.rb
CHANGED
|
@@ -175,8 +175,13 @@ module Cisco
|
|
|
175
175
|
run("terminal length 65535")
|
|
176
176
|
end
|
|
177
177
|
end
|
|
178
|
+
# If you go into configure mode, don't forget to run("exit") to leave before logout(), otherwise the terminal reset and wr mem won't take
|
|
179
|
+
def conft()
|
|
180
|
+
run("conf t")
|
|
181
|
+
end
|
|
178
182
|
|
|
179
183
|
def logout()
|
|
184
|
+
|
|
180
185
|
run("terminal length 30")
|
|
181
186
|
run("write mem")
|
|
182
187
|
@w.print("exit")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: riscos
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Voccio
|
|
@@ -9,11 +9,11 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-06-03 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
|
-
description: Provides a common easy to use interface to talk to Cisco Pix, ASA, FWSM and Cisco CSSes.
|
|
16
|
+
description: "Provides a common easy to use interface to talk to Cisco Pix, ASA, FWSM and Cisco CSSes. "
|
|
17
17
|
email: paul@substation9.com
|
|
18
18
|
executables: []
|
|
19
19
|
|
|
@@ -28,6 +28,8 @@ files:
|
|
|
28
28
|
- lib/riscos.rb
|
|
29
29
|
has_rdoc: true
|
|
30
30
|
homepage: http://riscos.rubyforge.org/
|
|
31
|
+
licenses: []
|
|
32
|
+
|
|
31
33
|
post_install_message:
|
|
32
34
|
rdoc_options: []
|
|
33
35
|
|
|
@@ -48,9 +50,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
50
|
requirements: []
|
|
49
51
|
|
|
50
52
|
rubyforge_project: riscos
|
|
51
|
-
rubygems_version: 1.3.
|
|
53
|
+
rubygems_version: 1.3.2
|
|
52
54
|
signing_key:
|
|
53
|
-
specification_version:
|
|
55
|
+
specification_version: 3
|
|
54
56
|
summary: Provides a common easy to use interface to talk to Cisco Pix, ASA, FWSM and Cisco CSSes.
|
|
55
57
|
test_files: []
|
|
56
58
|
|