Why I did it systemd-sonic-generator limits multi-asic unit file instances to 10 (single digit instance number 0 - 10). This limitation needs to be removed to handle more than 10 asics. MAX_NUM_TARGETS and MAX_NUM_INSTALL_LINES limits to 15 which is not sufficient for systems with more than 15 asics. Inside get_unit_files(), strcmp produce incorrect results due to non null terminated string being compared. Added build UT support for systemd-sonic-generator |
||
---|---|---|
.. | ||
debian | ||
tests/testfiles | ||
.gitignore | ||
Makefile | ||
ssg-test.cc | ||
systemd-sonic-generator.c | ||
systemd-sonic-generator.h |