WIP porting guide.

This commit is contained in:
Jeffrey Townsend
2019-01-14 07:52:17 -08:00
parent b432e98cd1
commit a1358853d6
2 changed files with 14 additions and 0 deletions

View File

@@ -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)

View File

@@ -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