Skip to content

Commit

Permalink
work in progress for idaholab#393, fuzzy matching for manufacturers b…
Browse files Browse the repository at this point in the history
…ased on OUI to NetBox list is not very good (broken)
  • Loading branch information
mmguero committed Feb 12, 2024
1 parent 8a44e66 commit 49a04c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion logstash/ruby/netbox_enrich.rb
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,6 @@ def clean_manuf_string(val)
new_val = new_val.gsub(pat, '')
end
new_val = new_val.gsub(/[^A-Za-z0-9\s]/, '').gsub(/\s+/, ' ').lstrip.rstrip
puts("#{val} -> #{new_val}")
new_val
end

Expand Down

0 comments on commit 49a04c0

Please sign in to comment.