Sha256: d47236d36cdc3ccb0d37e4755342a99e0dda955a0810942317f26cb044e7e978

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

class CiscoNGA < Oxidized::Model

  comment '# '
  prompt /([\w.@-]+[#>]\s?)$/

  cmd 'show version' do |cfg|
    comment cfg
  end

  cmd 'show configuration' do |cfg|
    cfg
  end
  
  cfg :ssh do
    post_login 'terminal length 0'
    pre_logout 'exit'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oxidized-0.21.0 lib/oxidized/model/cisconga.rb
oxidized-0.20.0 lib/oxidized/model/cisconga.rb