summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Puls <zach@zachpuls.com>2018-02-27 09:22:32 -0600
committerNeil Lathwood <neil@lathwood.co.uk>2018-02-27 15:22:32 +0000
commit34cdbeb75f3c74d803fb60c509fc06e4f6365f0c (patch)
treece1e217706a2afa9dd00024111d2a7be61529f43
parent72397c4f344ab97fe3db1e381a3e5e1b1a935c62 (diff)
model: Added "commands" flag to "show configuration" on VyOS/Vyatta/EdgeOS (#1164)
-rw-r--r--lib/oxidized/model/edgeos.rb2
-rw-r--r--lib/oxidized/model/vyatta.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/edgeos.rb b/lib/oxidized/model/edgeos.rb
index 2a8d663..bb0aab5 100644
--- a/lib/oxidized/model/edgeos.rb
+++ b/lib/oxidized/model/edgeos.rb
@@ -13,7 +13,7 @@ class Edgeos < Oxidized::Model
cfg
end
- cmd 'show configuration | no-more'
+ cmd 'show configuration commands | no-more'
cfg :telnet do
username /login:\s/
diff --git a/lib/oxidized/model/vyatta.rb b/lib/oxidized/model/vyatta.rb
index 8d977aa..aa0bc74 100644
--- a/lib/oxidized/model/vyatta.rb
+++ b/lib/oxidized/model/vyatta.rb
@@ -13,7 +13,7 @@ class Vyatta < Oxidized::Model
cfg
end
- cmd 'show configuration | no-more'
+ cmd 'show configuration commands | no-more'
cfg :telnet do
username /login:\s/