sonic-buildimage/src/sonic-py-common
Yoush 8f8abf4efd [BugFix] Fix the bug that it gets error system-mac of centec platform (#12721)
Why I did it
When getting system mac of centec platform, it would increase by 1 the last byte of mac, but it could not consider the case of carry.

How I did it
Firstly, I would replace the ":" with "" of mac to a string.
And then, I would convert the mac from string to int and increase by 1, at last convert it to string with inserting ":".
2023-01-20 06:33:06 +08:00
..
sonic_py_common [BugFix] Fix the bug that it gets error system-mac of centec platform (#12721) 2023-01-20 06:33:06 +08:00
tests [202205] Update Linux kernel from 5.10.103 to 5.10.140 (#12660) #12874 2022-12-01 09:25:40 -08:00
.gitignore [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
pytest.ini [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
setup.cfg [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
setup.py [python-click] No longer build our own package, let pip/setuptools install vanilla (#5549) 2020-10-14 10:16:35 -07:00