mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-24 16:57:02 +00:00
WIP porting guide.
This commit is contained in:
@@ -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)
|
||||
|
||||
11
onlp/implementors/porting.md
Normal file
11
onlp/implementors/porting.md
Normal 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
|
||||
Reference in New Issue
Block a user