diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/buffers.json.j2 b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/buffers.json.j2 index 9495a66c0d07..a38350a982bc 100644 --- a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/buffers.json.j2 +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/buffers.json.j2 @@ -6,3 +6,5 @@ {# Port configuration to cable length look-up table #} {# Each record describes mapping of DUT (DUT port) role and neighbor role to cable length #} {# Roles described in the minigraph #} +{} + diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/qos.json.j2 b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/qos.json.j2 index 529f1be8a545..c28e2e13e974 100644 --- a/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/qos.json.j2 +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/Nokia-7215/qos.json.j2 @@ -1 +1,2 @@ -# this file empty temporarily until qos supported SAI Marvell +{# this file empty temporarily until qos supported SAI Marvell #} +{} diff --git a/dockers/docker-platform-monitor/Dockerfile.j2 b/dockers/docker-platform-monitor/Dockerfile.j2 index 5d4d91d2d69f..fc46dc6a52b9 100755 --- a/dockers/docker-platform-monitor/Dockerfile.j2 +++ b/dockers/docker-platform-monitor/Dockerfile.j2 @@ -21,6 +21,7 @@ RUN apt-get update && \ librrd-dev \ rrdtool \ python-smbus \ + python3-smbus \ ethtool \ dmidecode \ i2c-tools diff --git a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/sfp.py b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/sfp.py index 1bf3d4c03db0..274db04ded0b 100644 --- a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/sfp.py +++ b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/sfp.py @@ -210,7 +210,7 @@ def __read_eeprom_specific_bytes(self, offset, num_bytes): sysfsfile_eeprom.seek(offset) raw = sysfsfile_eeprom.read(num_bytes) for n in range(0, num_bytes): - eeprom_raw[n] = hex(ord(raw[n]))[2:].zfill(2) + eeprom_raw[n] = hex(raw[n])[2:].zfill(2) except Exception as e: pass finally: diff --git a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/watchdog.py b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/watchdog.py index 75ec3ab177ae..5d75a223c523 100644 --- a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/watchdog.py +++ b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/watchdog.py @@ -15,7 +15,7 @@ """ ioctl constants """ IO_READ = 0x80000000 IO_SIZE_INT = 0x00040000 -IO_TYPE_WATCHDOG = ord('W') << 8 +IO_TYPE_WATCHDOG = 'W' << 8 WDR_INT = IO_READ | IO_SIZE_INT | IO_TYPE_WATCHDOG