Skip to content

Commit

Permalink
Merge pull request #257 from vnitinv/master
Browse files Browse the repository at this point in the history
to support VMX
  • Loading branch information
jeremyschulman committed Jun 14, 2014
2 parents 97e8687 + f751b7e commit c681261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/facts/personality.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def facts_personality(junos, facts):
persona = 'SWITCH'
elif examine.startswith("MX"):
persona = 'MX'
elif examine.startswith("vMX"):
elif re.match('^VMX', examine, re.I):
facts['virtual'] = True
persona = 'MX'
elif examine.startswith("VJX"):
Expand Down

0 comments on commit c681261

Please sign in to comment.