diff --git a/onlp/implementors/apis.md b/onlp/implementors/apis.md index 00e199ff..a1ea1d66 100644 --- a/onlp/implementors/apis.md +++ b/onlp/implementors/apis.md @@ -14,3 +14,6 @@ ## System APIs * [platformi](http://opencomputeproject.github.io/OpenNetworkLinux/onlp/implementors/platformi) + +## Porting and Testing +* [Testing with ```onlps```](http://opencomputeproject.github.io/OpenNetworkLinux/onlp/implementors/porting) diff --git a/onlp/implementors/porting.md b/onlp/implementors/porting.md new file mode 100644 index 00000000..01dcfb90 --- /dev/null +++ b/onlp/implementors/porting.md @@ -0,0 +1,11 @@ +# Porting and Testing You Implementation + +The ```onlps``` tool is build as a static binary for your platform (like the old ```onlpdump``` program). It builds all of the ONLP core and your platform code together so you can easily build, test, debug, and iterate on your platform. +No shared libraries or setup is required. + +## Testing Attributes + +While ONLPv1 used the ```sysi``` interface to expose ONIE and Platform information ONLPv2 uses the new attribute interface. +At a minimum you must support the ONIE and Asset attributes on the Chassis OID to port from V1 to V2. + +## Testing the ONIE attribute