0fa024883d
#### Why I did it To fix the following: ``` # psuutil status Traceback (most recent call last): File "/usr/local/bin/psuutil", line 8, in <module> sys.exit(cli()) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/psuutil/main.py", line 93, in status psu_name = psu.get_name() File "/usr/local/lib/python3.7/dist-packages/sonic_platform_base/device_base.py", line 28, in get_name raise NotImplementedError NotImplementedError ``` #### How I did it Implemented get_name Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com> |
||
---|---|---|
.. | ||
bfn-modules | ||
docker-saiserver-bfn | ||
docker-syncd-bfn | ||
docker-syncd-bfn-rpc | ||
sonic-platform-modules-arista@93d78acf07 | ||
sonic-platform-modules-bfn | ||
sonic-platform-modules-bfn-montara | ||
sonic-platform-modules-bfn-newport | ||
sonic-platform-modules-ingrasys | ||
sonic-platform-modules-wnc-osw1800 | ||
.gitignore | ||
bfn-modules.mk | ||
bfn-platform-ingrasys.mk | ||
bfn-platform-wnc.mk | ||
bfn-platform.mk | ||
bfn-sai.mk | ||
docker-syncd-bfn-rpc.mk | ||
docker-syncd-bfn.mk | ||
libsaithrift-dev.mk | ||
one-aboot.mk | ||
one-image.mk | ||
platform-modules-arista.mk | ||
platform-modules-bfn-montara.mk | ||
platform-modules-bfn-newport.mk | ||
platform-modules-bfn.mk | ||
platform-modules-ingrasys.mk | ||
platform-modules-wnc-osw1800.mk | ||
platform.conf | ||
rules.mk |