Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
Macros | Enumerations | Functions
This Code Implements The OpEN MVR API [OPENAPI_MVR]

Macros

#define OPEN_MVR_MULT_IP_ADDR_MAX   0xefffffff
 
#define OPEN_MVR_MULT_IP_ADDR_MIN   0xe0000100
 
#define OPEN_MVR_QUERY_TIME_MAX   100
 
#define OPEN_MVR_QUERY_TIME_MIN   1
 

Enumerations

enum  OPEN_MVR_ENTRY_TYPE_t { OPEN_MVR_NONE_TYPE = 0, OPEN_MVR_STATIC_TYPE, OPEN_MVR_DYNAMIC_TYPE }
 
enum  OPEN_MVR_INTF_TYPE_t { OPEN_MVR_NONE_PORT_TYPE = 0, OPEN_MVR_SOURCE_PORT_TYPE, OPEN_MVR_RECEIVER_PORT_TYPE, OPEN_MVR_LAST_TYPE }
 
enum  OPEN_MVR_MODE_TYPE_t { OPEN_MVR_NONE_MODE = 0, OPEN_MVR_COMPATIBLE_MODE, OPEN_MVR_DYNAMIC_MODE }
 
enum  OPEN_MVR_PDU_COUNTER_t {
  OPEN_MVR_PKT_IGMP_QUERY_RX_COUNTER = 0, OPEN_MVR_PKT_IGMP_REPORT_V1_RX_COUNTER, OPEN_MVR_PKT_IGMP_REPORT_V2_RX_COUNTER, OPEN_MVR_PKT_IGMP_LEAVE_RX_COUNTER,
  OPEN_MVR_PKT_IGMP_QUERY_TX_COUNTER, OPEN_MVR_PKT_IGMP_REPORT_V1_TX_COUNTER, OPEN_MVR_PKT_IGMP_REPORT_V2_TX_COUNTER, OPEN_MVR_PKT_IGMP_LEAVE_TX_COUNTER,
  OPEN_MVR_PKT_RX_FAILURE_COUNTER, OPEN_MVR_PKT_TX_FAILURE_COUNTER, OPEN_MVR_PKT_COUNTER_LAST
}
 

Functions

open_error_t openapiMvrAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Gets the MVR admin mode. More...
 
open_error_t openapiMvrAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Sets the MVR admin mode. More...
 
open_error_t openapiMvrEntryGetNext (openapiClientHandle_t *client_handle, uint32_t groupIp, uint32_t *nextGroupIp)
 Get next group IP address. More...
 
open_error_t openapiMvrGroupEntryGetNext (openapiClientHandle_t *client_handle, uint32_t groupId, uint32_t *nextGroupId)
 Get next group ID. More...
 
open_error_t openapiMvrGroupIdGet (openapiClientHandle_t *client_handle, uint32_t groupIp, uint32_t *groupId)
 Get the group ID of the given IP address. More...
 
open_error_t openapiMvrGroupIpAdd (openapiClientHandle_t *client_handle, uint32_t groupIp)
 Add static group IP address. More...
 
open_error_t openapiMvrGroupIpDelete (openapiClientHandle_t *client_handle, uint32_t groupIp)
 Delete static group IP address. More...
 
open_error_t openapiMvrGroupIpGet (openapiClientHandle_t *client_handle, uint32_t groupId, uint32_t *groupIp)
 Get the ip address of the group with specified ID. More...
 
open_error_t openapiMvrGroupNumGet (openapiClientHandle_t *client_handle, uint32_t *groupEntries)
 Get the number of the group entries. More...
 
open_error_t openapiMvrGroupStatusGet (openapiClientHandle_t *client_handle, uint32_t groupId, OPEN_BOOL_t *status)
 Get the group status whether active or not. More...
 
open_error_t openapiMvrIntfEntryTypeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId, OPEN_MVR_ENTRY_TYPE_t *type)
 Get the interface type static or dynamic. More...
 
open_error_t openapiMvrIntfGetNext (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
 Get next MVR interface. More...
 
open_error_t openapiMvrIntfGroupGetNext (openapiClientHandle_t *client_handle, uint32_t groupId, uint32_t ifNum, uint32_t *nextIfNum)
 Get next interface from the group with specified ID. More...
 
open_error_t openapiMvrIntfGroupIdGetNext (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId, uint32_t *nextGroupId)
 Get next group registered on specified interface. More...
 
open_error_t openapiMvrIntfGroupIpAdd (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupIp)
 Add specified interface to the group. More...
 
open_error_t openapiMvrIntfGroupIpDelete (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupIp)
 Delete specified interface from the group. More...
 
open_error_t openapiMvrIntfImmediateModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *immediateMode)
 Gets the immediate leave mode of a specified interface. More...
 
open_error_t openapiMvrIntfImmediateModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t immediateMode)
 Sets the immediate leave mode of a specified interface. More...
 
open_error_t openapiMvrIntfModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *intfMode)
 Gets the MVR interface mode. More...
 
open_error_t openapiMvrIntfModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t intfMode)
 Sets the MVR interface mode. More...
 
open_error_t openapiMvrIntfMvrTypeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_MVR_INTF_TYPE_t *intfMvrType)
 Gets the interface MVR type of a specified interface. More...
 
open_error_t openapiMvrIntfMvrTypeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_MVR_INTF_TYPE_t intfMvrType)
 Sets the interface MVR type of a specified interface. More...
 
open_error_t openapiMvrIntfStaticGroupIpGetNext (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupIp, uint32_t *nextGroupIp)
 Get next group IP statically registered on specified interface. More...
 
open_error_t openapiMvrIsReceiversInVlan (openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *rxVlanParticipationStatus)
 Check if receivers participate in specific vlan. More...
 
open_error_t openapiMvrModeTypeGet (openapiClientHandle_t *client_handle, OPEN_MVR_MODE_TYPE_t *modeType)
 Gets the MVR mode type. More...
 
open_error_t openapiMvrModeTypeSet (openapiClientHandle_t *client_handle, OPEN_MVR_MODE_TYPE_t modeType)
 Sets the MVR mode type. More...
 
open_error_t openapiMvrMulticastVlanGet (openapiClientHandle_t *client_handle, uint32_t *multicastVlan)
 Gets the MVR multicast vlan. More...
 
open_error_t openapiMvrMulticastVlanSet (openapiClientHandle_t *client_handle, uint32_t multicastVlan)
 Sets the MVR multicast vlan. More...
 
open_error_t openapiMvrPduCounterGet (openapiClientHandle_t *client_handle, OPEN_MVR_PDU_COUNTER_t counterType, uint32_t *counterValue)
 Get the global pdu counter values. More...
 
open_error_t openapiMvrQueryTimeGet (openapiClientHandle_t *client_handle, uint32_t *queryTime)
 Gets the MVR query time. More...
 
open_error_t openapiMvrQueryTimeSet (openapiClientHandle_t *client_handle, uint32_t queryTime)
 Sets the MVR query time. More...
 

Detailed Description

Function Documentation

open_error_t openapiMvrAdminModeGet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t adminMode 
)

Gets the MVR admin mode.

Parameters
[in]client_handleclient handle from registration API
[out]adminModeMVR admin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrAdminModeSet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t  adminMode 
)

Sets the MVR admin mode.

Parameters
[in]client_handleclient handle from registration API
[in]adminModeMVR admin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available
Note
Calling this API will change the running configuration of the switch

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrEntryGetNext ( openapiClientHandle_t client_handle,
uint32_t  groupIp,
uint32_t *  nextGroupIp 
)

Get next group IP address.

Parameters
[in]client_handleclient handle from registration API
[in]groupIpGroup IP
[out]nextGroupIpNext group IP
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupEntryGetNext ( openapiClientHandle_t client_handle,
uint32_t  groupId,
uint32_t *  nextGroupId 
)

Get next group ID.

Parameters
[in]client_handleclient handle from registration API
[in]groupIdGroup ID
[out]nextGroupIdNext group Id
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupIdGet ( openapiClientHandle_t client_handle,
uint32_t  groupIp,
uint32_t *  groupId 
)

Get the group ID of the given IP address.

Parameters
[in]client_handleclient handle from registration API
[in]groupIpGroup IP address
[out]groupIdGroup ID
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupIpAdd ( openapiClientHandle_t client_handle,
uint32_t  groupIp 
)

Add static group IP address.

Parameters
[in]client_handleclient handle from registration API
[in]groupIpGroup IP address
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupIpDelete ( openapiClientHandle_t client_handle,
uint32_t  groupIp 
)

Delete static group IP address.

Parameters
[in]client_handleclient handle from registration API
[in]groupIpGroup IP address
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupIpGet ( openapiClientHandle_t client_handle,
uint32_t  groupId,
uint32_t *  groupIp 
)

Get the ip address of the group with specified ID.

Parameters
[in]client_handleclient handle from registration API
[in]groupIdGroup Id
[out]groupIpGroup IP address
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupNumGet ( openapiClientHandle_t client_handle,
uint32_t *  groupEntries 
)

Get the number of the group entries.

Parameters
[in]client_handleclient handle from registration API
[out]groupEntriesNumber of the group entries
Return values
OPEN_E_NONEOn success.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrGroupStatusGet ( openapiClientHandle_t client_handle,
uint32_t  groupId,
OPEN_BOOL_t status 
)

Get the group status whether active or not.

Parameters
[in]client_handleclient handle from registration API
[in]groupIdGroup ID
[out]statusGroup status
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfEntryTypeGet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t  groupId,
OPEN_MVR_ENTRY_TYPE_t *  type 
)

Get the interface type static or dynamic.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]groupIdGroup Id
[out]intfTypeEntry type
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfGetNext ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t *  nextIfNum 
)

Get next MVR interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[out]nextIfNumNext MVR interface
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfGroupGetNext ( openapiClientHandle_t client_handle,
uint32_t  groupId,
uint32_t  ifNum,
uint32_t *  nextIfNum 
)

Get next interface from the group with specified ID.

Parameters
[in]client_handleclient handle from registration API
[in]groupIdGroup Id
[in]ifNuminterface
[out]nextIfNumNext MVR interface
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfGroupIdGetNext ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t  groupId,
uint32_t *  nextGroupId 
)

Get next group registered on specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]groupIdGroup Id
[out]nextGroupIdNext registered group ID on the interface
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfGroupIpAdd ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t  groupIp 
)

Add specified interface to the group.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]groupIpGroup IP address
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfGroupIpDelete ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t  groupIp 
)

Delete specified interface from the group.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]groupIpGroup IP address
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfImmediateModeGet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_CONTROL_t immediateMode 
)

Gets the immediate leave mode of a specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[out]immediateModeImmediate leave mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfImmediateModeSet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_CONTROL_t  immediateMode 
)

Sets the immediate leave mode of a specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]immediateModeImmediate leave mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfModeGet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_CONTROL_t intfMode 
)

Gets the MVR interface mode.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[out]intfModeMVR interface mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfModeSet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_CONTROL_t  intfMode 
)

Sets the MVR interface mode.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]intfModeMVR interface mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available
Note
Calling this API will change the running configuration of the switch

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfMvrTypeGet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_MVR_INTF_TYPE_t *  intfMvrType 
)

Gets the interface MVR type of a specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[out]intfMvrTypeInterface MVR type
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfMvrTypeSet ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
OPEN_MVR_INTF_TYPE_t  intfMvrType 
)

Sets the interface MVR type of a specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]intfMvrTypeInterface MVR type
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIntfStaticGroupIpGetNext ( openapiClientHandle_t client_handle,
uint32_t  ifNum,
uint32_t  groupIp,
uint32_t *  nextGroupIp 
)

Get next group IP statically registered on specified interface.

Parameters
[in]client_handleclient handle from registration API
[in]ifNuminterface
[in]groupIpGroup IP
[out]nextGroupIpNext statically registered group IP on the interface
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrIsReceiversInVlan ( openapiClientHandle_t client_handle,
uint32_t  vlanId,
OPEN_BOOL_t rxVlanParticipationStatus 
)

Check if receivers participate in specific vlan.

Parameters
[in]client_handleclient handle from registration API
[in]vlanIdMVR multicast vlan
[out]rxVlanParticipationStatusReceiver's vlan participation status
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrModeTypeGet ( openapiClientHandle_t client_handle,
OPEN_MVR_MODE_TYPE_t *  modeType 
)

Gets the MVR mode type.

Parameters
[in]client_handleclient handle from registration API
[out]modeTypeMVR mode type
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrModeTypeSet ( openapiClientHandle_t client_handle,
OPEN_MVR_MODE_TYPE_t  modeType 
)

Sets the MVR mode type.

Parameters
[in]client_handleclient handle from registration API
[in]modeTypeMVR mode type
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrMulticastVlanGet ( openapiClientHandle_t client_handle,
uint32_t *  multicastVlan 
)

Gets the MVR multicast vlan.

Parameters
[in]client_handleclient handle from registration API
[out]multicastVlanMVR multicast vlan
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrMulticastVlanSet ( openapiClientHandle_t client_handle,
uint32_t  multicastVlan 
)

Sets the MVR multicast vlan.

Parameters
[in]client_handleclient handle from registration API
[in]multicastVlanMVR multicast vlan
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available
Note
Calling this API will change the running configuration of the switch

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrPduCounterGet ( openapiClientHandle_t client_handle,
OPEN_MVR_PDU_COUNTER_t  counterType,
uint32_t *  counterValue 
)

Get the global pdu counter values.

Parameters
[in]client_handleclient handle from registration API
[in]counterTypeType of the counter
[out]counterValueCounter value
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrQueryTimeGet ( openapiClientHandle_t client_handle,
uint32_t *  queryTime 
)

Gets the MVR query time.

Parameters
[in]client_handleclient handle from registration API
[out]queryTimeMVR query time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available

OpEN API Version: 1.25

Examples:
mvr_example.c.
open_error_t openapiMvrQueryTimeSet ( openapiClientHandle_t client_handle,
uint32_t  queryTime 
)

Sets the MVR query time.

Parameters
[in]client_handleclient handle from registration API
[in]queryTimeMVR query time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_UNAVAILFeature not available
Note
Calling this API will change the running configuration of the switch

OpEN API Version: 1.25

Examples:
mvr_example.c.