Debian Codegraph @

lib/jnpr/junos/op/xcvr.yml

raw
1 ---
2 XcvrTable:
3 rpc: get-chassis-inventory
4 item: //*[starts-with(name,"Xcvr")]
5 key:
6 - ancestor::*[starts-with(name,'FPC')]/name
7 - ancestor::*[starts-with(name,'PIC')]/name
8 - name
9 view: XcvrTableView
10
11 XcvrTableView:
12 fields:
13 sn: serial-number
14 pn: part-number
15 ver: version
16 type: description