Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
QinQ Configuration And Status

This document provides a brief description of the QinQ Configuration and Status OpEN APIs. It provides the following services:

All 'Set' operations would affect the Switch behavior and configuration.

Example C Application dot1ad_example

Initialization

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.

dot1ad_example

dot1ad_example.c is a sample application that demonstrates the use of the DOT1AD OpEN API. dot1ad_example is started from the command line and create VLAN, switch it to e-line mode and create DOT1AD service.