Initial commit for SONiC Platform Development Environment (PDE)#28
Merged
jleveque merged 1 commit intosonic-net:masterfrom Jul 7, 2020
Merged
Initial commit for SONiC Platform Development Environment (PDE)#28jleveque merged 1 commit intosonic-net:masterfrom
jleveque merged 1 commit intosonic-net:masterfrom
Conversation
hpersh
approved these changes
Nov 26, 2019
Contributor
Author
|
Reopening PR |
jleveque
approved these changes
Jul 7, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
This change introduces the PDE (platform development environment which is described here,
Azure/SONiC#407
The goal of the PDE is to provide a lightweight development environment for ODMs to quickly develop and test their platform plugins and validate necessary platform configuration files for proper SAI operation. Futhermore the PDE provides a pytest based suite to provide quick automated validation of platform plugins using JSON test and configuration data to describe the platform which is being tested.
How I did it
PDE test code is located under src/sonic-platform-pdk-pde
Build infrastructure will be introduced in a pull request in sonic-buildimage
How to verify it
The PDE environment must first be enabled in rules/config (ENABLE_PDE=y) must be un-commented.
Second, build target command is "make target/sonic-$MACHINE-pde.bin
Description for the changelog
Platform Development Environment (PDE): Lightweight platform development and test environment.
A picture of a cute animal (not mandatory but encouraged)