diff options
author | Robert Drake <rdrake@direcpath.com> | 2016-11-09 23:43:54 -0500 |
---|---|---|
committer | Robert Drake <rdrake@direcpath.com> | 2016-11-09 23:43:54 -0500 |
commit | 3da39c49e24b064af5fdd754da787e95dc2e1c06 (patch) | |
tree | 27012bcd155c22cf23766e6fe2d5086c5c850cad /lib/oxidized/model/alvarion.rb | |
parent | 6588edc935f229be569dafc112fcd8d9b3636dad (diff) |
renamed alvarion -> alvarion.rb
I believe from this:
require File.join dir, file+'.rb'
That the only way this model would work is if it has a .rb extension. I
don't have any of these devices to test if this works.
Diffstat (limited to 'lib/oxidized/model/alvarion.rb')
-rw-r--r-- | lib/oxidized/model/alvarion.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/oxidized/model/alvarion.rb b/lib/oxidized/model/alvarion.rb new file mode 100644 index 0000000..3c762de --- /dev/null +++ b/lib/oxidized/model/alvarion.rb @@ -0,0 +1,13 @@ +class Alvarion < Oxidized::Model + + # Used in Alvarion wisp equipment + + # Run this command as an instance of Model so we can access node + pre do + cmd "#{node.auth[:password]}.cfg" + end + + + cfg :tftp {} + +end |