Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
QoS Auto VLAN API

This document provides a brief description of the QoS Auto VLAN OpEN APIs. It provides the following services:

Example C Application qos auto vlan_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.

qos auto vlan_example

auto vlan_example.c is a sample application that demonstrates the use of OpEN's QoS Auto VLAN APIs. qos auto vlan_example is started from the command line and can be used to exercise the various APIs by specifying arguments on the command line.

Sample Output

QoS Auto VLAN CLI/API Cross Reference

CLI Command OpEN API Reference
(Config)#
[no] auto-camera
openapiQosAutoVlanGlobalModeSet()
(Config)#
[no] auto-wifi
openapiQosAutoVlanGlobalModeSet()
(Config)#
[no] auto-camera oui <OUI> oui-desc <desc>
openapiQosAutoVlanOuiAdd()
(Config)#
[no] auto-camera priority <priority-value>
openapiQosAutoVlanPrioritySet()
(Interface-Config Mode)#
[no] auto-camera
openapiQosAutoVlanIntfModeSet()
(Interface-Config Mode)#
[no] auto-wifi
openapiQosAutoVlanIntfModeSet()
(Priv-User Mode)#
show auto-camera
openapiQosAutoVlanGlobalModeGet()
openapiQosAutoVlanIdGet()
openapiQosAutoVlanPriorityGet()
(Priv-User Mode)#
show auto-wifi
openapiQosAutoVlanGlobalModeGet()
openapiQosAutoVlanIdGet()
openapiQosAutoVlanPriorityGet()
(Priv-User Mode)#
show auto-wifi interface <slot/port>
openapiQosAutoVlanIntfModeGet()
openapiQosAutoVlanPortStatusGet()
(Priv-User Mode)#
show auto-camera interface <slot/port>
openapiQosAutoVlanIntfModeGet()
openapiQosAutoVlanPortStatusGet()
(Priv-User Mode)#
show auto-camera oui-table
openapiQosAutoVlanOuiFirstEntryGet()
openapiQosAutoVlanOuiEntryNextGet()
openapiQosAutoVlanOuiEntryGet()
(Priv-User Mode)#
show auto-vlan interface all
openapiQosAutoVlanLearnedEntryNextGet()