/usr/lib/python2.7/dist-packages/jnpr/junos/op/lacp.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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | ---
# -----------------------------------------------------------------------------
# LACP ports are aggregating-ethernet interfaces, e.g. 'ae0'
# -----------------------------------------------------------------------------
LacpPortTable:
rpc: get-lacp-interface-information
args_key: interface_name
item: lacp-interface-information
key: lag-lacp-header/aggregate-name
view: LacpPortView
# the view provides access to two tables states and protocols
LacpPortView:
fields:
state: _LacpPortStateTable
proto: _LacpPortProtoTable
# -----------------------------------------------------------------------------
# Each LACP port maintains a "state" table that ha a composite key of the
# interface name and it's role (Actor/Partner). name with the "_" so this
# item does not get exported to the global namespace
# -----------------------------------------------------------------------------
_LacpPortStateTable:
item: lag-lacp-state
key:
- name
- lacp-role
view: _LacpPortStateView
_LacpPortStateView:
fields:
activity: lacp-activity
timeout: lacp-timeout
expired: { lacp-expired: True=Yes }
defaulted: { lacp-defaulted: True=Yes }
distributing: { lacp-distributing: True=Yes }
collecting: { lacp-collecting: True=Yes }
sync : { lacp-synchronization: True=Yes }
aggregation: { lacp-aggregation: True=Yes }
# -----------------------------------------------------------------------------
# Each LACP port maintains a "protocol" table
# -----------------------------------------------------------------------------
_LacpPortProtoTable:
item: lag-lacp-protocol
view: _LacpPortProtoView
_LacpPortProtoView:
fields:
rx_state: lacp-receive-state
tx_state: lacp-transmit-state
mx_state: lacp-mux-state
|