diff --git a/CLI/renderer/templates/show_poe.j2 b/CLI/renderer/templates/show_poe.j2 index 0ab9155169..3a39c299c7 100644 --- a/CLI/renderer/templates/show_poe.j2 +++ b/CLI/renderer/templates/show_poe.j2 @@ -27,7 +27,7 @@ {% for i in range(ports_oper_info.__len__()) %} {% set port_info = ports_oper_info[i] %} {% set diags_info = ports_oper_info[i].get('openconfig-if-poe-ext:diagnostics', {}) %} -{{'%-13s'|format(port_info['ifname'])}} {{'%-10s'|format(port_info.get('openconfig-if-poe-ext:power-class-requested', 'Unknown'))}} {{'%-10s'|format(port_info.get('power-class', 'Unknown'))}} {{'%-8s'|format(port_info['power-used'])}} {{'%-9s'|format(port_info['openconfig-if-poe-ext:output-current'])}} {{'%-9s'|format(port_info['openconfig-if-poe-ext:output-voltage'])}} {{'%-6s'|format(diags_info.get('temperature',''))}} {{'%-17s'|format(port_info['openconfig-if-poe-ext:status']|poe_enum2str)}} {{'%-18s'|format(port_info['openconfig-if-poe-ext:fault-code']|poe_enum2str)}} +{{'%-13s'|format(port_info['ifname'])}} {{'%-10s'|format(port_info.get('openconfig-if-poe-ext:power-class-requested', 'Unknown'))}} {{'%-10s'|format(port_info.get('power-class', 'Unknown'))}} {{'%-8s'|format(port_info['power-used'])}} {{'%-9s'|format(port_info['openconfig-if-poe-ext:output-current'])}} {{'%-9s'|format(port_info['openconfig-if-poe-ext:output-voltage'])}} {{'%-6s'|format(diags_info.get('temperature','N/A'))}} {{'%-17s'|format(port_info['openconfig-if-poe-ext:status']|poe_enum2str)}} {{'%-18s'|format(port_info['openconfig-if-poe-ext:fault-code']|poe_enum2str)}} {% endfor %} {%endif%} {% set port_stats = json_output['stats_info'] %}