This repository packages the Juniper QFX5241 SONiC platform support and its shared Juniper platform components. The first phase targets QFX5241 only.
sonic-platform-juniper-commonprovides shared utilities, Python platform code, daemons, and thejuniper-common-platform-init.serviceunit.sonic-platform-juniper-qfx5241provides QFX5241 kernel modules, platform utilities, device data, and thepddf-platform-init.serviceunit. It depends on the common package.
The common initialization service runs before PDDF platform initialization. The QFX5241 unit runs the QFX5241 pre-initialization hook, installs PDDF devices, and runs the post-initialization hook.
The default platform selection is qfx5241, set by MODULE_DIRS in debian/rules. Kernel modules are selected for the QFX5241 package from its PDDF device data and their module dependencies.
Run the package unit tests from the repository root:
python3 -m pytest