Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.9.0.2
MSRP APIs

This document provides a brief description of the msrp OpEN APIs. It provides the following services:

Example C Application msrp_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.

msrp_example

msrp_example.c is a sample application that demonstrates the use of OpEN's msrp APIs. msrp_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

msrp CLI/API Cross Reference

CLI Command OpEN API Reference
show msrp summary openapiMsrpModeGet()
openapiMsrpTalkerPruningModeGet()

openapiMsrpMaxFanInPortsGet()
openapiMsrpBoundaryPropagateModeGet()
openapiMsrpSrQavPriorityGet()
openapiMsrpSrQavRePriorityGet()

show msrp interface u/s/p | openapiMsrpIntfModeGet()
openapiMsrpSRclassPVIDGet()
openapiMsrpIsBoundaryPortGet()
openapiMsrpQavDeltaBandwidthGet()
openapiMsrpQavMaxRateGet()
openapiMsrpQavCurrentBandwidthGet()
openapiMsrpSrQavPriorityGet()
openapiMsrpSrQavRePriorityGet()

show msrp interface bandwidth | openapiMsrpQavDeltaBandwidthGet()
openapiMsrpQavMaxRateGet()
openapiMsrpQavCurrentBandwidthGet()

show msrp reservations <intf> summary | openapiMsrpStreamIndexedGetNext()
openapimsrpReservationInformationGet()

show msrp statistics summary | openapiMsrpTrafficPduCounterGet()

show msrp statistics <interface u/s/p> | openapiMsrpTrafficPduCounterGet()
openapiMsrpIntfTrafficPduCounterGet()
openapiMsrpFailedRegistrationCounterGet()

show msrp stream detail | openapiMsrpStreamIndexedNextGet()
openapimsrpStreamInformationGet()

msrp | openapiMsrpModeSet()
openapiMsrpIntfModeSet() msrp boundaryPropagate | openapiMsrpBoundaryPropagateModeSet() msrp srClassQav class | openapiMsrpSrQavPrioritySet()
openapiMsrpSrQavRePrioritySet() msrp talker-pruning | openapiMsrpTalkerPruningModeSet() msrp max-fan-in-ports | openapiMsrpMaxFanInPortsSet() msrp srClassPVID | openapiMsrpSRclassPVIDSet() msrp deltaBandwidth | openapiMsrpQavDeltaBandwidthSet() clear msrp statistics <intf/all> | openapiMsrpTrafficCountersPerIfClear()
openapiMsrpTrafficCountersClear()