summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--lib/oxidized/model/aen.rb20
2 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a04204..1a8ac50 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,8 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen
* A10 Networks
* [ACOS](lib/oxidized/model/acos.rb)
+ * Accedian Performance Elements (NIDs)
+ * [AEN](lib/oxidized/model/aen.rb)
* Alcatel-Lucent
* [AOS](lib/oxidized/model/aos.rb)
* [AOS7](lib/oxidized/model/aos7.rb)
diff --git a/lib/oxidized/model/aen.rb b/lib/oxidized/model/aen.rb
new file mode 100644
index 0000000..6d87433
--- /dev/null
+++ b/lib/oxidized/model/aen.rb
@@ -0,0 +1,20 @@
+class AEN < Oxidized::Model
+ # Accedian
+
+ comment '# '
+
+ prompt /^([-\w.\/:?\[\]\(\)]+:\s?)$/
+
+ cmd 'configuration generate-script module all' do |cfg|
+ cfg
+ end
+
+ cmd :all do |cfg|
+ cfg.each_line.to_a[1..-2].join
+ end
+
+ cfg :ssh do
+ pre_logout 'exit'
+ end
+
+end \ No newline at end of file