Skip to content

Commit

Permalink
Exclude device dictionary from panos.rb (#2959)
Browse files Browse the repository at this point in the history
* Exclude device dictionary from panos.rb

Need to exclude device dictionary values because they change with every update
  • Loading branch information
joschi99 authored Oct 30, 2023
1 parent 003a78c commit ab54ef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- Collect VC info for juniper ex3400 (@ermuller)
- adva: fix config content for recovery process, collect config delta instead of current (@MichiMeyer)
- iosxr: include last config changed by in model (@electrocret)
- panos: exclude device dictionary
- Added support for Nokia SAR 7705 HMC in SROS model (@schouwenburg)

## Fixed
Expand Down
2 changes: 2 additions & 0 deletions lib/oxidized/model/panos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class PanOS < Oxidized::Model
cfg.gsub! /^threat-.*?: .*$/, ''
cfg.gsub! /^wildfire-.*?: .*$/, ''
cfg.gsub! /^wf-private.*?: .*$/, ''
cfg.gsub! /^device-dictionary-version.*?: .*$/, ''
cfg.gsub! /^device-dictionary-release-date.*?: .*$/, ''
cfg.gsub! /^url-filtering.*?: .*$/, ''
cfg.gsub! /^global-.*?: .*$/, ''
comment cfg
Expand Down

0 comments on commit ab54ef0

Please sign in to comment.