Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
This document provides a brief description of the Enhanced Transmission Selection OpEN API. Enhanced Transmission Selection (ETS) is defined by 802.1Qaz, which specifies enhancement of transmission selection to support allocation of bandwidth amongst traffic classes. Should a given traffic class not use all of its allocated bandwidth, ETS allows that bandwidth to be used by other traffic classes.
THE API provides the following services:
ets_example.c is a sample application that exercises the APIs provided by the ETS OpEN APIs.
Usage: ets_example -i interface
-i interface: internal interface number
In the main function, the sample application initializes the OpEN API RPC service by calling openapiClientRegister() and waits for the RPC service in switchdrvr to start. A Client Handle is returned by openapiClientRegister() which is used while invoking the OpEN APIs. The application then exercises the associated OpEN APIs and logs informational and/or error messages on the console. The example application runs to its completion and exits.
The mapping between the OpEN APIs and CLI commands is shown below.
CLI Command | OpEN API Functions
--------------------------------------—
(Config)# show lldp dcbx interface {all status| <u/s/p> [detail]}| openapiEtsPeerIncompatibleCfgCountGet(), openapiEtsPeerNumTcGet(), openapiEtsPeerWillingGet(), openapiEtsPeerCbsStatusGet()