This file is indexed.

/usr/lib/python2.7/dist-packages/jnpr/junos/op/fpc.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
57
58
59
60
61
62
63
64
---

# -------------------------------------------------------------------
# Table
# -------------------------------------------------------------------
# retrieve the chassis hardware (inventory) and extract the FPC
# items.
# -------------------------------------------------------------------

FpcHwTable:
    rpc: get-chassis-inventory
    item: .//name[starts-with(.,'FPC')]/parent::*
    view: _fpc_hw_view

FpcMiReHwTable:
    rpc: get-chassis-inventory
    item: .//name[starts-with(.,'FPC')]/parent::*
    key:
        - ancestor::multi-routing-engine-item/re-name
        - name
    view: _fpc_hw_view

# -------------------------------------------------------------------
# View
# -------------------------------------------------------------------
# use the underscore (_) so this definition is not
# imported into the glboal namespace. We want to extract various
# bits of information from the FPC items
# -------------------------------------------------------------------

_fpc_hw_view:
    fields:
        sn: serial-number
        pn: part-number
        desc: description
        ver: version
        model: model-number

# -------------------------------------------------------------------
# Table
# -------------------------------------------------------------------
# retrieve the FPC status information; corresponds to:
# > show chassis fpc
# -------------------------------------------------------------------

FpcInfoTable:
    rpc: get-fpc-information
    item: .//fpc
    key: slot
    view: _fpc_info_view

FpcMiReInfoTable:
    rpc: get-fpc-information
    item: .//fpc
    key: 
        - ancestor::multi-routing-engine-item/re-name
        - slot
    view: _fpc_info_view

_fpc_info_view:
    fields:
        state: state
        memory: memory-heap-utilization
        cpu: cpu-total