From da582b537d1d316ae2d16c16dc09d41e0026d188 Mon Sep 17 00:00:00 2001 From: Danilo Sousa Date: Tue, 1 Mar 2016 18:06:41 -0300 Subject: include support for Citrix NetScaler devices --- lib/oxidized/model/netscaler.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/oxidized/model/netscaler.rb diff --git a/lib/oxidized/model/netscaler.rb b/lib/oxidized/model/netscaler.rb new file mode 100644 index 0000000..9ca66b6 --- /dev/null +++ b/lib/oxidized/model/netscaler.rb @@ -0,0 +1,24 @@ +class NetScaler < Oxidized::Model + + prompt /^\>\s*$/ + comment '# ' + + cmd :all do |cfg| + cfg.each_line.to_a[1..-3].join + end + + cmd 'show version' do |cfg| + comment cfg + end + + cmd 'show hardware' do |cfg| + comment cfg + end + + cmd 'show ns ns.conf' + + cfg :ssh do + pre_logout 'exit' + end + +end -- cgit v1.2.1 From 3d684d5dbc3b8f823e577204c9d722f26ac81e3e Mon Sep 17 00:00:00 2001 From: Danilo Sousa Date: Tue, 1 Mar 2016 18:12:15 -0300 Subject: mention Citrix NetScaler in supported devices list --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9e9e38b..6d4eb2b 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen * IOSXR * NXOS * SMB (Nikola series) + * Citrix + * NetScaler (Virtual Applicance) * Cumulus * Linux * DELL -- cgit v1.2.1