Age | Commit message (Collapse) | Author |
|
|
|
* use convenience methods in models for legibility
* disable Style/SymbolProc in rubocop
* introduce cut_both instead of cut_head.cut_tail chain
* document cut_both convenience method
|
|
|
|
|
|
|
|
classical-mode
! COMMAND: show running-config all-partitions
^
% Unrecognized command.Invalid input detected at '^' marker.
|
|
|
|
'all-partitions' in 64-bit Advanced Core OS (ACOS) version 4.1.0-P4, build 12 (Jul-22-2016,15:49)
|
|
Strip out random value from
#show version
- Memory
- Current time is
- The system has been up
- Last configuration saved at
#show running-config all-partitions
- Current configuration
- Configuration last updated at
- Configuration last saved at
- Configuration last synchronised at
Another add in cmd
#show bootimage
it's similar to show version it is more readable
|
|
Corrected some code format and white space.
|
|
Update way to handle pw suggested by @ytti
|
|
Update enable logic suggested by @ytti
|
|
Update code format
|
|
Update enable logic to support enable without password on ACOS device.
|
|
add post_login to send "en" to enter privilege mode with-out password
|
|
Modified pre_logout and change \n to \r
|
|
Variables can now be fed to model from multiple locations. In order of
preference:
1) node (from source)
2) group
3) global
In a model vars should be accessed via 'vars' helper method though it is
not required. Helper method ignores nil values so care needs to taken
when designing model behaviour.
Support for node level vars is currently available on sql source via
'vars_map' configuration.
Following example populates node vars 'enable' and 'somevariable' from sql
columns 'var_enable' and 'var_somevariable'
sql:
adapter: sqlite
file: /home/aakso/.config/oxidized/sqrouter.db
table: nodes
map:
name: hostname
model: model
group: node_group
username: username
password: password
vars_map:
enable: var_enablepw
somevariable: var_somevariable
|
|
Change models to Asetus syntax
|
|
|