ytti / oxidized

Oxidized is a network device configuration backup tool. It's a RANCID replacement!
Apache License 2.0
2.76k stars 917 forks source link

Add Model-Type to config-file #2514

Closed chrisch80 closed 1 year ago

chrisch80 commented 2 years ago

Hi,

can somebody tell me how I can simple add to the config-file the used model.

e.g. if I use the model iosxr.rb the config file should start with: !OXIDIZED-Model: IOSXR ! ...

The easiest what be to add it in each model file with a comment/remark (simple print), but I was not able to find how to print simple comments/remarks to config-files.

Thx

chrisch80 commented 2 years ago

any ideas? I just need help how to configure a model to print some fixed comment.

chrisch80 commented 2 years ago

Can somebody show me how I can simple print a comment at the beginning of the backup file? What do I need to add in the model file? I would be very happy about an example.

chrisch80 commented 1 year ago

Can somebody help me?

chrisch80 commented 1 year ago

nobody?