/usr/lib/python2.7/dist-packages/jnpr/junos/facts/ifd_style.py is in python-junos-eznc 2.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | def facts_ifd_style(junos, facts):
persona = facts['personality']
if persona == 'SWITCH':
facts['ifd_style'] = 'SWITCH'
else:
facts['ifd_style'] = 'CLASSIC'
|