Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Functions
Serviceability: Support File APIs [OPENAPI_SUPPFILE]

Functions

open_error_t openapiSupportFileGenerate (openapiClientHandle_t *client_handle, open_buffdesc *outfileName)
 Generate the support file on the switch. More...
 

Detailed Description

Function Documentation

open_error_t openapiSupportFileGenerate ( openapiClientHandle_t client_handle,
open_buffdesc outfileName 
)

Generate the support file on the switch.

Parameters
[in]client_handleClient handle from registration API.
[out]outfileNameSupport file name output buffer descriptor.
Return values
OPEN_E_NONESuccessfully generated support file.
OPEN_E_PARAMError in parameter passed.
OPEN_E_UNAVAILOperation not supported on this platform.
OPEN_E_FAILFailed to create support file.
Note
Technical support data is written to a file whose full pathname is output through the outfileName parameter. Use openapiSystemFileNameMaxLengthGet() to determine the appropriate sized buffer to use.
This API may take a relatively long time to complete, on the order of 30 to 60 seconds, due to the amount of data it collects.

OpEN API Version: 1.6

Examples:
suppfile_example.c.