Jeffrey Townsend 210cb09166 Add optional OID id validators.
You can pre-validate your OID ids prior to any other calls to your module.
If onlp_<type>_id_validate() returns ONLP_STATUS_OK then the ID will be passed to your implementation.
If onlp_<type>_id_validate() returns ONLP_STATUS_E_INVALID then it will not be passed to your implementation.

The goal here is to avoid all of the boilerplate ID bounds checking in all of the platform implemenations
that use static OID info arrays. Instead of validating in each function you should provide a single
onlp_<type>_id_validate() and assume the ID is valid in all other functions.

The default implementation returns ONLP_STATUS_OK for backwards compatibility.
2019-01-13 18:53:15 +00:00
2018-08-07 23:57:40 +00:00
2018-05-01 13:53:38 -07:00
2018-06-14 10:47:25 +02:00
2018-07-23 16:41:45 +00:00
2019-01-13 18:53:15 +00:00
2017-08-22 16:06:04 -07:00
2019-01-09 03:02:42 +00:00
2016-02-12 18:49:46 -08:00
2016-05-02 14:00:13 -07:00
2015-12-15 18:37:40 -08:00
2016-04-28 17:03:51 -07:00

Open Network Linux

Check out the main/offical website at http://opennetlinux.org .

Open Network Linux (ONL) is a Linux distribution for bare metal switches. ONL builds an ONIE-compatible installer and a switch image which contains a complete Debian distribution with added drivers and configuration for running on bare metal switches.

Software License

Licenses for the software are described under the LICENSE file. Download or use of the software implies consent.

Documentation

Please see the docs directory for additional information.

![alt text] (https://scan.coverity.com/projects/8655/badge.svg "Coverity Scan Build Status")

Description
No description provided
Readme EPL-1.0 98 MiB
Languages
C 92.6%
Python 4.5%
Makefile 2.1%
Shell 0.7%
Dockerfile 0.1%