Age | Commit message (Collapse) | Author |
|
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
|
|
|