Skip to content

Commit

Permalink
[device/alibaba] - Add more switch cpld upgrade type
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirut Getbamrung committed Mar 18, 2019
1 parent 41cb6bf commit 9617b01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def firmware_upgrade(self, fw_type, fw_path, fw_extra=None):
"CPU_CPLD": "cpu",
"BASE_CPLD": "base",
"COMBO_CPLD": "combo",
"SW_CPLD": "switch",
"SW_CPLD1": "switch",
"SW_CPLD2": "switch",
"REFRESH_CPLD": "refresh"
}.get(fw_extra_str, None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def firmware_upgrade(self, fw_type, fw_path, fw_extra=None):
"CPU_CPLD": "cpu",
"BASE_CPLD": "base",
"COMBO_CPLD": "combo",
"SW_CPLD": "switch",
"SW_CPLD1": "switch",
"SW_CPLD2": "switch",
"REFRESH_CPLD": "refresh"
}.get(fw_extra_str, None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def firmware_upgrade(self, fw_type, fw_path, fw_extra=None):
"CPU_CPLD": "cpu",
"BASE_CPLD": "base",
"COMBO_CPLD": "combo",
"SW_CPLD": "switch",
"SW_CPLD1": "switch",
"SW_CPLD2": "switch",
"REFRESH_CPLD": "refresh"
}.get(fw_extra_str, None)

Expand Down

0 comments on commit 9617b01

Please sign in to comment.