Skip to content

Commit

Permalink
Add tests for nxos_3k (some software versions)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshniec committed Mar 3, 2020
1 parent 06916b3 commit f36ba0a
Show file tree
Hide file tree
Showing 4 changed files with 2,761 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"cpu": {
"0": {
"%usage": 5.55
}
},
"fans": {
"Fan1(sys_fan1)": {
"status": true
},
"Fan2(sys_fan2)": {
"status": true
},
"Fan3(sys_fan3)": {
"status": true
},
"Fan4(sys_fan4)": {
"status": true
}
},
"memory": {
"available_ram": 426000,
"used_ram": 36000
},
"power": {
"1": {
"capacity": 500.0,
"output": 504.0,
"status": true
},
"2": {
"capacity": 500.0,
"output": 504.0,
"status": true
}
},
"temperature": {
"1-1 ASIC": {
"is_alert": false,
"is_critical": false,
"temperature": 55.0
},
"1-2 Front-Left (D1)": {
"is_alert": false,
"is_critical": false,
"temperature": 37.0
},
"1-3 Front-Right(D2)": {
"is_alert": false,
"is_critical": false,
"temperature": 32.0
},
"1-4 Back (D3)": {
"is_alert": false,
"is_critical": false,
"temperature": 25.0
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"powersup": {
"voltage_level": "12",
"TABLE_psinfo_n3k": {
"ROW_psinfo_n3k": [
{
"psnum": "1",
"psmodel": "NXA-PAC-500W",
"input_type": "AC",
"watts": "504.00",
"amps": "42.00",
"ps_status": "ok"
},
{
"psnum": "2",
"psmodel": "NXA-PAC-500W",
"input_type": "AC",
"watts": "504.00",
"amps": "42.00",
"ps_status": "ok"
}
]
},
"TABLE_mod_pow_info_n3k": {
"ROW_mod_pow_info_n3k": {
"modnum": "1",
"mod_model": "N3K-C3172TQ-XL",
"watts_requested": "348.00",
"amps_requested": "29.00",
"watts_alloced": "348.00",
"amps_alloced": "29.00",
"modstatus": "powered-up"
}
},
"power_summary_n3k": {
"ps_redun_mode": "Redundant",
"ps_redun_op_mode": "Redundant",
"tot_pow_capacity": "1008.00 W",
"reserve_sup": "348.00 W",
"pow_used_by_mods": "0.00 W",
"available_pow": "660.00 W"
}
},
"fandetails": {
"TABLE_faninfo": {
"ROW_faninfo": [
{
"fanname": "Fan1(sys_fan1)",
"fanmodel": "NXA-FAN-30CFM",
"fanhwver": "0.0",
"fandir": "front-to-back",
"fanstatus": "Ok",
"failfanlet": null
},
{
"fanname": "Fan2(sys_fan2)",
"fanmodel": "NXA-FAN-30CFM",
"fanhwver": "0.0",
"fandir": "front-to-back",
"fanstatus": "Ok",
"failfanlet": null
},
{
"fanname": "Fan3(sys_fan3)",
"fanmodel": "NXA-FAN-30CFM",
"fanhwver": "0.0",
"fandir": "front-to-back",
"fanstatus": "Ok",
"failfanlet": null
},
{
"fanname": "Fan4(sys_fan4)",
"fanmodel": "NXA-FAN-30CFM",
"fanhwver": "0.0",
"fandir": "front-to-back",
"fanstatus": "Ok",
"failfanlet": null
},
{
"fanname": "Fan_in_PS1",
"fanmodel": "NXA-PAC-500W",
"fanhwver": "--",
"fandir": "front-to-back",
"fanstatus": "Ok"
},
{
"fanname": "Fan_in_PS2",
"fanmodel": "NXA-PAC-500W",
"fanhwver": "--",
"fandir": "front-to-back",
"fanstatus": "Ok"
}
]
},
"TABLE_fan_zone_speed": {
"ROW_fan_zone_speed": {
"zone": "1",
"speed": "0x28"
}
},
"fan_filter_status": "NotSupported"
},
"TABLE_tempinfo": {
"ROW_tempinfo": [
{
"tempmod": "1",
"sensor": "ASIC",
"majthres": "110",
"minthres": "100",
"curtemp": "55",
"alarmstatus": "Ok"
},
{
"tempmod": "1",
"sensor": "Front-Left (D1)",
"majthres": "70",
"minthres": "60",
"curtemp": "37",
"alarmstatus": "Ok"
},
{
"tempmod": "1",
"sensor": "Front-Right(D2)",
"majthres": "70",
"minthres": "56",
"curtemp": "32",
"alarmstatus": "Ok"
},
{
"tempmod": "1",
"sensor": "Back (D3)",
"majthres": "70",
"minthres": "46",
"curtemp": "25",
"alarmstatus": "Ok"
}
]
}
}
Loading

0 comments on commit f36ba0a

Please sign in to comment.