Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug]: do not enumerate all ports in portsyncd init (sonic-net#380)
portsyncd enumerate all ports in initialization phase via netlink. which is not neccessary by design. portsyncd is supposed to read the port_config.ini and translate them into appdb, and then once all ports are created, it sets PortInitDone. enumerating all ports in the initialization causes issue in swss restart. When swss restarts, the old ports are still here which triggers portsyncd to set PortInitDone falsely.
- Loading branch information