diff options
author | ja-frog <31773963+ja-frog@users.noreply.github.com> | 2017-09-13 08:16:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 08:16:43 -0500 |
commit | 92925748eaf5003cf0fd95b8d1b68b4e5a6c7f78 (patch) | |
tree | dd98082cf40a9e93924b45cbb618e30141856ae7 /lib/oxidized/model/ios.rb | |
parent | 1ec63b1bf1d3f6034665af7afe0a0a9df3928ec5 (diff) |
Suppress timestamp response to ios commands
At least some versions of ios output a timestamp after each input command. This will cause Oxidized to have a different version of the config for every poll of the device. I added the per-session command to suppress timestamps.
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r-- | lib/oxidized/model/ios.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb index 0cb2f3a..a47c156 100644 --- a/lib/oxidized/model/ios.rb +++ b/lib/oxidized/model/ios.rb @@ -140,6 +140,7 @@ class IOS < Oxidized::Model end post_login 'terminal length 0' post_login 'terminal width 0' + post_login 'terminal exec prompt no-timestamp' pre_logout 'exit' end |