Closed lodpp closed 3 months ago
So here is my question: Is it possible to easily ask the backup tool to execute extra commands for all the ioxr family ? or eventually redefine the set of commands to exec on a devive for backup ?
Something like
~/.config/oxidized/model/iosxr.rb
require 'oxidized/model/iosxr.rb'
class IOSXR
using Refinements
cmd 'admin show running-config' do |cfg|
comment cfg
end
cmd 'admin show platform' do |cfg|
comment cfg
end
end
Hi @systeembeheerder
That should do it in fact, I missed that point in the documentation, I will test it this week. thanks !
Hi !
Thanks a lot for the oxidized tool, it's saving us lots of time !
With Cisco IOSXR, oxidized is doing:
This is okay but not enough for my case as it lacks the
admin
configuration. (given byadmin show running-config
)Eventually, even the
show inventory
andshow platform
lacks some data when compared to their admin counter-part.ie with the platform:
VS
So here is my question: Is it possible to easily ask the backup tool to execute extra commands for all the ioxr family ? or eventually redefine the set of commands to exec on a devive for backup ?
I could duplicate/modify the
lib/oxidized/model/iosxr.rb
but I don't feel that it's the best way to do this...Thanks a lot !