extends:
  - alcatel-lucent.yaml

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.6486.800.1.1.2.1.*

# metadata:
#   device:
#     fields:
#       vendor:
#         value: Alcatel-Lucent
#       type:
#         value: Switch/BOP

# metrics:
#   - MIB: ALCATEL-IND1-HEALTH-MIB
#     symbol:
#       name: cpu.usage
#       OID: 1.3.6.1.4.1.6486.800.1.2.1.16.1.1.1.14.0  # healthDeviceCpu1MinAvg
#       description: Average module-level CPU utilization over the last minute
#       family: CPU/Usage
#       unit: "%"
#   - MIB: ALCATEL-IND1-HEALTH-MIB
#     symbol:
#       name: memory.usage
#       OID: 1.3.6.1.4.1.6486.800.1.2.1.16.1.1.1.10.0  # healthDeviceMemory1MinAvg
#       description: Average module-level memory utilization over the last minute
#       family: Memory/Usage
#       unit: "%"
#   # - MIB: ALCATEL-IND1-HEALTH-MIB
#   #   symbol:
#   #     name: alcatel.ind.healthDeviceTemperatureChas1MinAvg
#   #     OID: 1.3.6.1.4.1.6486.800.1.2.1.16.1.1.1.18.0
#   #   description: TBD
#   #   unit: "TBD"
#   # TODO can't find such a metric
#   - MIB: ALCATEL-IND1-CHASSIS-MIB
#     table:
#       name: chasEntPhysicalTable
#       OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1
#     symbols:
#       - name: alcatel.ind.chasEntPhysical
#         constant_value_one: true

#       - OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.1
#         name: alcatel.ind.chasEntPhysAdminStatus

#         mapping:
#           1: unknown
#           2: power_off
#           3: power_on
#           4: reset
#           5: takeover
#           6: reset_all
#           7: standby
#           8: reset_with_fabric
#           9: takeover_with_fabrc
#     # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
#     metric_tags:
#         # MIB: ENTITY-MIB
#         # table: entPhysicalTable
#       - symbol:
#           OID: 1.3.6.1.2.1.47.1.1.1.1.5
#           name: alcatel.ind.entPhysicalClass
#         tag: ent_physical_class
#         mapping:
#           1: other
#           2: unknown
#           3: chassis
#           4: backplane
#           5: container
#           6: power_supply
#           7: fan
#           8: sensor
#           9: module
#           10: port
#           11: stack
#           12: cpu
#           13: energy_object
#           14: battery
#           15: storage_drive
#         # MIB: ENTITY-MIB
#         # table: entPhysicalTable
#       - symbol:
#           OID: 1.3.6.1.2.1.47.1.1.1.1.7
#           name: alcatel.ind.entPhysicalName
#         tag: ent_physical_name
#         # MIB: ENTITY-MIB
#         # table: entPhysicalTable
#       - symbol:
#           OID: 1.3.6.1.2.1.47.1.1.1.1.11
#           name: alcatel.ind.entPhysicalSerialNum
#         tag: ent_physical_serial_num
#         # MIB: ENTITY-MIB
#         # table: entPhysicalTable
#       - symbol:
#           OID: 1.3.6.1.2.1.47.1.1.1.1.13
#           name: alcatel.ind.entPhysicalModelName
#         tag: ent_physical_model_name

#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.2
#           name: alcatel.ind.chasEntPhysOperStatus
#         tag: chas_ent_phys_oper_status
#         mapping:
#           1: up
#           2: down
#           3: testing
#           4: unknown
#           5: secondary
#           6: not_present
#           7: unpowered
#           8: master
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.8
#           name: alcatel.ind.chasEntPhysLedStatusOk1
#         tag: chas_ent_phys_led_status_ok1
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.9
#           name: alcatel.ind.chasEntPhysLedStatusOk2
#         tag: chas_ent_phys_led_status_ok2
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.10
#           name: alcatel.ind.chasEntPhysLedStatusPrimaryCMM
#         tag: chas_ent_phys_led_status_primary_cmm
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.11
#           name: alcatel.ind.chasEntPhysLedStatusSecondaryCMM
#         tag: chas_ent_phys_led_status_secondary_cmm
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.12
#           name: alcatel.ind.chasEntPhysLedStatusTemperature
#         tag: chas_ent_phys_led_status_temperature
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.13
#           name: alcatel.ind.chasEntPhysLedStatusFan
#         tag: chas_ent_phys_led_status_fan
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.14
#           name: alcatel.ind.chasEntPhysLedStatusFan1
#         tag: chas_ent_phys_led_status_fan1
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.15
#           name: alcatel.ind.chasEntPhysLedStatusFan2
#         tag: chas_ent_phys_led_status_fan2
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.16
#           name: alcatel.ind.chasEntPhysLedStatusFan3
#         tag: chas_ent_phys_led_status_fan3
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.17
#           name: alcatel.ind.chasEntPhysLedStatusBackupPS
#         tag: chas_ent_phys_led_status_backup_ps
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.18
#           name: alcatel.ind.chasEntPhysLedStatusInternalPS
#         tag: chas_ent_phys_led_status_internal_ps
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.19
#           name: alcatel.ind.chasEntPhysLedStatusControl
#         tag: chas_ent_phys_led_status_control
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.20
#           name: alcatel.ind.chasEntPhysLedStatusFabric
#         tag: chas_ent_phys_led_status_fabric
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink
#       - symbol:
#           OID: 1.3.6.1.4.1.6486.800.1.1.1.1.1.1.1.21
#           name: alcatel.ind.chasEntPhysLedStatusPSU
#         tag: chas_ent_phys_led_status_psu
#         mapping:
#           0: not_applicable
#           1: off
#           2: green_on
#           3: green_blink
#           4: amber_on
#           5: amber_blink

# TODO, investigate this 800 OID, it doesn't exist.