38 #ifndef OPENAPI_CLI_SCRIPT_H
39 #define OPENAPI_CLI_SCRIPT_H
43 #define OPENAPI_FILE_NAME_LENGTH_MAX 96
44 #define OPENAPI_CLI_MAX_STRING_LENGTH 255
open_error_t openapiTxtCfgApply(openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
Apply CLI text based configuration.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiTxtCfgNDCApply(openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
gracefully Apply CLI text based configuration
open_error_t openapiRunningCfgGenerate(openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile)
Generate running configuration into specified file.
open_error_t openapiSaveConfig(openapiClientHandle_t *client_handle)
Save running configuration into startup configuration file.
open_error_t openapiFileNameMaxLengthGet(openapiClientHandle_t *client_handle, uint32_t *maxLen)
Get the maximum file name length.
open_error_t openapiTxtCfgValidate(openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
Validate given configuration file.
open_error_t openapiTxtCfgNDCGenerate(openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
Generate configuration difference between running configuration and input configuration file...
open_error_t openapiCliShowExecuteToFile(openapiClientHandle_t *client_handle, open_buffdesc *showCliCommand, open_buffdesc *fileName)
Execute given show CLI command and redirect its output to the specified file.