summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorStanislaw Datskevich <me@nek0.net>2017-08-19 14:34:26 +0300
committerDanilo Sousa <danilopopeye@users.noreply.github.com>2017-08-21 18:03:56 -0300
commit57f55c78f9edba5a1d4a4840e58156b6ddab8eae (patch)
tree357679369f06b437639d0a1678c5aa60e4ae7405 /lib/oxidized/model
parentb13c911751f18165d681610c29f43cb61d631a03 (diff)
Added policies saving
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/xos.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/xos.rb b/lib/oxidized/model/xos.rb
index 6f1323f..90f6f4a 100644
--- a/lib/oxidized/model/xos.rb
+++ b/lib/oxidized/model/xos.rb
@@ -29,6 +29,10 @@ class XOS < Oxidized::Model
cmd 'show configuration'
+ cmd 'show policy detail' do |cfg|
+ comment cfg
+ end
+
cfg :telnet do
username /^login:/
password /^\r*password:/