extreme-diagnostics

Provides a data model for managing diagnostic tests.

This data model enables or disables power-on self-test (POST) and actions to initiate the tests listed in Diagnostic actions.

Table 1. Diagnostic actions
Action Purpose
burninerrclear Clears the errors that are stored in the nonvolatile storage on the slot during the burn-in process.
clearerror Clears the diagnostics failure status.
portledtest Runs various action modes on the port LEDs and validates the functionality.
portloopbacktest Sends frames between various ASICs on the switch and validates the ASIC functionality.
post Performs power-on self-test.
prbstest Performs pseudo-random binary-sequence tests.
setcycle Configures all the parameters required for the system verification test.
setdbg Changes the debug level.
systemverification Runs a combination of various hardware diagnostic tests.
turboramtest Performs a turbo static RAM (SRAM) test of the ASIC chips.

Top-level container

module: extreme-diagnostics
   +--rw diag
   |  +---x turboramtest          
   |  |  +---w input     
   |  |  |  +---w slot       slotidtype {platform_chassis}?
   |  |  |  +---w passcnt?   uint32
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x portloopbacktest      
   |  |  +---w input     
   |  |  |  +---w (interfaces)?
   |  |  |  |  +--:(slot)
   |  |  |  |  |  +---w slot            slotidtype {platform_chassis}?
   |  |  |  |  +--:(ethernet)
   |  |  |  |  |  +---w ethernet?       interfaces:interface-type
   |  |  |  |  +--:(fibrechannel)
   |  |  |  |     +---w fibrechannel?   interfaces:interface-type {portlevel_testing_on}?
   |  |  |  +---w nframes?        uint32
   |  |  |  +---w lbmode?         uint32
   |  |  |  +---w spdmode?        enumeration
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x portledtest           
   |  |  +---w input     
   |  |  |  +---w (interfaces)?
   |  |  |  |  +--:(slot)
   |  |  |  |  |  +---w slot            slotidtype {platform_chassis}?
   |  |  |  |  +--:(ethernet)
   |  |  |  |  |  +---w ethernet?       interfaces:interface-type
   |  |  |  |  +--:(fibrechannel)
   |  |  |  |     +---w fibrechannel?   interfaces:interface-type {portlevel_testing_on}?
   |  |  |  +---w action?         enumeration
   |  |  |  +---w npass?          uint32
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x systemverification    
   |  |  +---w input     
   |  |  |  +---w (sysv)?
   |  |  |     +--:(short)
   |  |  |     |  +---w short?   empty
   |  |  |     +--:(stop)
   |  |  |        +---w stop?    empty
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x prbstest              
   |  |  +---w input     
   |  |  |  +---w slot       slotidtype {platform_chassis}?
   |  |  |  +---w pattern?   enumeration
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x clearerror            
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x burninerrclear        
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x setcycle              
   |  |  +---w input     
   |  |  |  +---w tbr_passes?    uint32
   |  |  |  +---w num_of_runs?   uint32
   |  |  |  +---w min_lb_mode?   uint32
   |  |  |  +---w plb_nframes?   uint32
   |  |  +--ro output    
   |  |     +--ro result?   string
   |  +---x setdbg                
   |  |  +---w input    
   |  |     +---w level?   enumeration
   |  +--rw post
   |     +--rw enable?   empty
   +--rw fos
      +---x exec    
         +---w input     
            +---w (op)?
               +--:(file)
               |  +---w file?   string
               +--:(cmd)
                  +---w cmd?    string