Debian Codegraph @

lib/jnpr/junos/op/lacp.yml

raw
1 ---
2 # -----------------------------------------------------------------------------
3 # LACP ports are aggregating-ethernet interfaces, e.g. 'ae0'
4 # -----------------------------------------------------------------------------
5
6 LacpPortTable:
7 rpc: get-lacp-interface-information
8 args_key: interface_name
9 item: lacp-interface-information
10 key: lag-lacp-header/aggregate-name
11 view: LacpPortView
12
13 # the view provides access to two tables states and protocols
14
15 LacpPortView:
16 fields:
17 state: _LacpPortStateTable
18 proto: _LacpPortProtoTable
19
20 # -----------------------------------------------------------------------------
21 # Each LACP port maintains a "state" table that ha a composite key of the
22 # interface name and it's role (Actor/Partner). name with the "_" so this
23 # item does not get exported to the global namespace
24 # -----------------------------------------------------------------------------
25
26 _LacpPortStateTable:
27 item: lag-lacp-state
28 key:
29 - name
30 - lacp-role
31 view: _LacpPortStateView
32
33 _LacpPortStateView:
34 fields:
35 activity: lacp-activity
36 timeout: lacp-timeout
37 expired: { lacp-expired: True=Yes }
38 defaulted: { lacp-defaulted: True=Yes }
39 distributing: { lacp-distributing: True=Yes }
40 collecting: { lacp-collecting: True=Yes }
41 sync : { lacp-synchronization: True=Yes }
42 aggregation: { lacp-aggregation: True=Yes }
43
44 # -----------------------------------------------------------------------------
45 # Each LACP port maintains a "protocol" table
46 # -----------------------------------------------------------------------------
47
48 _LacpPortProtoTable:
49 item: lag-lacp-protocol
50 view: _LacpPortProtoView
51
52 _LacpPortProtoView:
53 fields:
54 rx_state: lacp-receive-state
55 tx_state: lacp-transmit-state
56 mx_state: lacp-mux-state