Hardware

VelocityDRIVE-SP supports the ietf-hardware.yang module, which is a standardized data model developed by the Internet Engineering Task Force (IETF) for managing and representing hardware components in network devices.

This model provides a structured and consistent way to describe hardware inventory, capabilities, and status.

VelocityDRIVE-SP supports the YANG tree shown below:

module: ietf-hardware
  +--ro hardware
     +--ro component* [name]
        +--ro name              string
        +--ro class             identityref
        +--ro description?      string
        +--ro parent?           -> ../../component/name
        +--ro hardware-rev?     string
        +--ro firmware-rev?     string
        +--ro serial-num?       string
        +--ro mfg-name?         string
        +--ro model-name?       string
        +--ro sensor-data {hardware-sensor}?
           +--ro value?               sensor-value
           +--ro value-type?          sensor-value-type
           +--ro value-scale?         sensor-value-scale
           +--ro value-precision?     sensor-value-precision
           +--ro oper-status?         sensor-status
           +--ro units-display?       string
           +--ro value-update-rate?   uint32

The relation to the YANG model and the VelocityDRIVE-SP hardware is illustrated in the figure below.

class: chassis, name: Board
  +--class: module, name: Switch
     +--class: sensor, name: SwTmp
     +--class: module, name: Phy1
        +--class: sensor, name: PhyTmp1
        +--class: port, name: Port1
        +--class: port, name: Port2
        +--class: port, name: Port3
        +--class: port, name: Port4
     +--class: module, name: Phy2
        +--class: sensor, name: PhyTmp2
        +--class: port, name: Port5
        +--class: port, name: Port6
        +--class: port, name: Port7
        +--class: port, name: Port8

     +--class: module, name: Phy3
        +--class: sensor, name: PhyTmp3
        +--class: port, name: Port9

     +--class: container, name: Sfp10
        +--class: port, name: Port10
     +--class: container, name: Sfp11
        +--class: port, name: Port11

1. Hardware components

The hardware components can be queried as shown below:

FETCH request message:

- /ietf-hardware:hardware

FETCH response message:

- "/ietf-hardware:hardware":
    component:
    - name: Board
      class: iana-hardware:chassis
      firmware-rev: VelocitySP-DEV-1988-d0a52f34e-250304095248
      serial-num: '0'
      mfg-name: Microchip Technology Inc.
      model-name: LAN969x - ev23x71a (pcb8398)
    - name: Switch
      class: iana-hardware:module
      parent: Board
      hardware-rev: '0'
      model-name: LAN9696RED
    - name: SwTmp
      class: iana-hardware:sensor
      parent: Switch
      sensor-data:
        value: 72
        value-type: celsius
        value-scale: units
        value-precision: 0
        oper-status: ok
        units-display: C
        value-update-rate: 0
    - name: Phy1
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port1
      class: iana-hardware:port
      parent: Phy1
    - name: Port2
      class: iana-hardware:port
      parent: Phy1
    - name: Port3
      class: iana-hardware:port
      parent: Phy1
    - name: Port4
      class: iana-hardware:port
      parent: Phy1
    - name: Phy2
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port5
      class: iana-hardware:port
      parent: Phy2
    - name: Port6
      class: iana-hardware:port
      parent: Phy2
    - name: Port7
      class: iana-hardware:port
      parent: Phy2
    - name: Port8
      class: iana-hardware:port
      parent: Phy2
    - name: Phy3
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port9
      class: iana-hardware:port
      parent: Phy3
    - name: Port10
      class: iana-hardware:port
      parent: Phy3
    - name: Port11
      class: iana-hardware:port
      parent: Phy3
    - name: Port12
      class: iana-hardware:port
      parent: Phy3
    - name: Phy4
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port13
      class: iana-hardware:port
      parent: Phy4
    - name: Port14
      class: iana-hardware:port
      parent: Phy4
    - name: Port15
      class: iana-hardware:port
      parent: Phy4
    - name: Port16
      class: iana-hardware:port
      parent: Phy4
    - name: Phy5
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port17
      class: iana-hardware:port
      parent: Phy5
    - name: Port18
      class: iana-hardware:port
      parent: Phy5
    - name: Port19
      class: iana-hardware:port
      parent: Phy5
    - name: Port20
      class: iana-hardware:port
      parent: Phy5
    - name: Phy6
      class: iana-hardware:module
      parent: Switch
      hardware-rev: '3'
      model-name: '8814'
    - name: Port21
      class: iana-hardware:port
      parent: Phy6
    - name: Port22
      class: iana-hardware:port
      parent: Phy6
    - name: Port23
      class: iana-hardware:port
      parent: Phy6
    - name: Port24
      class: iana-hardware:port
      parent: Phy6
    - name: Sfp25
      class: iana-hardware:container
      parent: Switch
    - name: Port25
      class: iana-hardware:port
      parent: Sfp25
    - name: Sfp26
      class: iana-hardware:container
      parent: Switch
    - name: Port26
      class: iana-hardware:port
      parent: Sfp26
    - name: Sfp27
      class: iana-hardware:container
      parent: Switch
    - name: Sfp28
      class: iana-hardware:container
      parent: Switch
Component "Board" has no parent, which indicates that it is the root component.
Component "Switch" has "Board" as parent and is a LAN9696RED 66G Ethernet switch.
Component "SwTmp" has "Switch" as parent and the switch temperature is 72° Celsius.
Component "Phy1" has "Switch" as parent and is a LAN8814 4-port Gigabit Ethernet PHY.
Components "Port1", "Port2", "Port3" and "Port4" have "Phy1" as parent.
Component "Sfp25" has "Switch" as parent and "Port25" as child.
Component "Sfp27" has "Switch" as parent and currently no port inserted.