Skip to content

Commit

Permalink
Added PTX product model.
Browse files Browse the repository at this point in the history
  • Loading branch information
mahantesh committed Oct 8, 2018
1 parent 5bbab24 commit 19f92e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/junos-ez/facts/personality.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
examine = ( model != "Virtual Chassis" ) ? model : facts.select {|k,v| k.match(/^RE[0..9]+/) }.values[0][:model]

facts[:personality] = case examine
when /^(EX)|(QFX)|(OCX)/i
when /^(EX)|(QFX)|(PTX)|(OCX)/i
:SWITCH
when /^MX/i
:MX
Expand Down

0 comments on commit 19f92e2

Please sign in to comment.