/usr/lib/python2.7/dist-packages/jnpr/junos/resources/interface.yml 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 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | InterfaceTable:
set: interfaces/interface
key-field:
- name
- unit_name
view: InterfaceView
InterfaceView:
groups:
unit: unit
bridge: unit/family/bridge
fields:
name: name
disable: { 'disable' : { 'type': 'bool' } }
enc : encapsulation
native_vlan: native-vlan-id
fields_unit:
unit_name : name
desc : description
fields_bridge:
mode: interface-mode
vlan_list: vlan-id-list
|