Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions device/accton/x86_64-accton_as7816_64x-r0/pddf/pd-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{

"XCVR":
{
"xcvr_present":
{
"i2c":
{
"valmap-QSFP28": {"1":true, "0":false}
}
}
},
"PSU":
{
"psu_present":
{
"i2c":
{
"valmap": { "1":true, "0":false }
}
},

"psu_power_good":
{
"i2c":
{
"valmap": { "1": true, "0":false }
}
},

"psu_fan_dir":
{
"i2c":
{
"valmap": { "F2B":"EXHAUST", "B2F":"INTAKE" }
}
},

"PSU_FAN_MAX_SPEED":"18000"
},

"FAN":
{
"direction":
{
"i2c":
{
"valmap": {"1":"INTAKE", "0":"EXHAUST"}
}
},

"present":
{
"i2c":
{
"valmap": {"1":true, "0":false}
}
},

"duty_cycle_to_pwm": "lambda dc: ((dc - 10) / 6)",
"pwm_to_duty_cycle": "lambda pwm: ( (pwm * 6) + 10)"
}

}
3,205 changes: 3,205 additions & 0 deletions device/accton/x86_64-accton_as7816_64x-r0/pddf/pddf-device.json

Large diffs are not rendered by default.

Empty file.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"skip_ledd": true,
"skip_pcied": true,
"skip_thermalctld": true
}

66 changes: 66 additions & 0 deletions device/accton/x86_64-accton_as9716_32d-r0/pddf/pd-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{

"XCVR":
{
"xcvr_present":
{
"i2c":
{
"valmap-SFP28": {"1":true, "0":false },
"valmap-QSFP28": {"1":true, "0":false}
}
}
},
"PSU":
{
"psu_present":
{
"i2c":
{
"valmap": { "1":true, "0":false }
}
},

"psu_power_good":
{
"i2c":
{
"valmap": { "1": true, "0":false }
}
},

"psu_fan_dir":
{
"i2c":
{
"valmap": { "F2B":"EXHAUST", "B2F":"INTAKE" }
}
},

"PSU_FAN_MAX_SPEED":"18000"
},

"FAN":
{
"direction":
{
"i2c":
{
"valmap": {"1":"INTAKE", "0":"EXHAUST"}
}
},

"present":
{
"i2c":
{
"valmap": {"1":true, "0":false}
}
},

"duty_cycle_to_pwm": "lambda dc: ((dc*100)/625 - 1)",

"pwm_to_duty_cycle": "lambda pwm: (((pwm+1)*625)/100)"
}

}
Loading