summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md20
-rw-r--r--README.md2
-rw-r--r--[-rwxr-xr-x]extra/auto-reload-config.runit0
-rw-r--r--[-rwxr-xr-x]extra/oxidized-report-git-commits0
-rw-r--r--[-rwxr-xr-x]extra/oxidized.init.d0
-rw-r--r--[-rwxr-xr-x]extra/oxidized.runit0
-rw-r--r--lib/oxidized/model/edgeswitch.rb12
-rw-r--r--lib/oxidized/model/mtrlrfs.rb2
-rw-r--r--lib/oxidized/model/netonix.rb15
-rw-r--r--lib/oxidized/version.rb2
10 files changed, 48 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b59e03d..80868cb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,21 @@
+# 0.13.1
+- BUGFIX: file permissions (Sigh...)
+
+# 0.13.0
+- FEATURE: http post for configs (by @jgroom33)
+- FEATURE: support ericsson redbacks (by @roedie)
+- FEATURE: support motorola wireless controllers (by @roadie)
+- FEATURE: support citrix netscaler (by @roadie)
+- FEATURE: support datacom devices (by @danilopopeye)
+- FEATURE: support netonix devices
+- FEATURE: support specifying ssh cipher and kex (by @roadie)
+- FEATURE: rename proxy to ssh_proxy (by @roadie)
+- FEATURE: support ssh keys on ssh_proxy (by @awix)
+- BUGFIX: various (by @danilopopeye)
+- BUGFIX: Node#repo with groups (by @danilopopeye)
+- BUGFIX: githubrepohoook (by @danilopopeye)
+- BUGFIX: fortios, airos, junos, xos, edgeswitch, nos, tmos, procurve, ipos models
+
# 0.12.2
- BUGFIX: more MRV model fixes (by @natm)
@@ -12,7 +30,7 @@
- FEATURE: EdgeSwitch support (by @doogieconsulting)
- BUGFIX: rename input debug log files
- BUGFIX: powerconnect model fixes (by @Madpilot0)
-- BUGFIX: fortigate model fixes (by @ElvinEfendi)
+- BUGFIX: fortigate model fixes (by @ElvinEfendi)
- BUGFIX: various (by @mikebryant)
- BUGFIX: write SSH debug to file without buffering
- BUGFIX: fix IOS XR prompt handling
diff --git a/README.md b/README.md
index 595c571..7dc8514 100644
--- a/README.md
+++ b/README.md
@@ -106,6 +106,8 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen
* RFS
* MRV
* MasterOS
+ * Netonix
+ * WISP Switch (As Netonix)
* Opengear
* Opengear
* Palo Alto
diff --git a/extra/auto-reload-config.runit b/extra/auto-reload-config.runit
index 5eaecc8..5eaecc8 100755..100644
--- a/extra/auto-reload-config.runit
+++ b/extra/auto-reload-config.runit
diff --git a/extra/oxidized-report-git-commits b/extra/oxidized-report-git-commits
index 2fd4870..2fd4870 100755..100644
--- a/extra/oxidized-report-git-commits
+++ b/extra/oxidized-report-git-commits
diff --git a/extra/oxidized.init.d b/extra/oxidized.init.d
index d2fdf00..d2fdf00 100755..100644
--- a/extra/oxidized.init.d
+++ b/extra/oxidized.init.d
diff --git a/extra/oxidized.runit b/extra/oxidized.runit
index c4ce129..c4ce129 100755..100644
--- a/extra/oxidized.runit
+++ b/extra/oxidized.runit
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index cb921b8..7c82639 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -16,9 +16,17 @@ class EdgeSwitch < Oxidized::Model
end
cfg :telnet, :ssh do
- post_login 'enable'
- post_login 'terminal length 0'
+ post_login do
+ if vars :enable
+ send "enable\n"
+ cmd vars(:enable)
+ else
+ cmd 'enable'
+ end
+ cmd 'terminal length 0'
+ end
pre_logout 'quit'
+ pre_logout 'n'
end
end
diff --git a/lib/oxidized/model/mtrlrfs.rb b/lib/oxidized/model/mtrlrfs.rb
index 84bcfe1..8baa4e9 100644
--- a/lib/oxidized/model/mtrlrfs.rb
+++ b/lib/oxidized/model/mtrlrfs.rb
@@ -1,4 +1,4 @@
-class mtrlrfs < Oxidized::Model
+class Mtrlrfs < Oxidized::Model
# Motorola RFS/Extreme WM
diff --git a/lib/oxidized/model/netonix.rb b/lib/oxidized/model/netonix.rb
new file mode 100644
index 0000000..4624f83
--- /dev/null
+++ b/lib/oxidized/model/netonix.rb
@@ -0,0 +1,15 @@
+class Netonix < Oxidized::Model
+ prompt /^[\w\s.@_\/:-]+#/
+
+ cmd :all do |cfg|
+ cfg.each_line.to_a[1..-2].join
+ end
+
+ cmd 'cat config.json;echo'
+
+ cfg :ssh do
+ post_login 'cmdline'
+ pre_logout 'exit'
+ pre_logout 'exit'
+ end
+end
diff --git a/lib/oxidized/version.rb b/lib/oxidized/version.rb
index c06a14a..cc69b85 100644
--- a/lib/oxidized/version.rb
+++ b/lib/oxidized/version.rb
@@ -1,3 +1,3 @@
module Oxidized
- VERSION = '0.12.2'
+ VERSION = '0.13.1'
end