Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Macros | Functions
openapi_cli_script.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Macros

#define OPENAPI_CLI_MAX_STRING_LENGTH   255
 
#define OPENAPI_FILE_NAME_LENGTH_MAX   96
 

Functions

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. More...
 
open_error_t openapiFileNameMaxLengthGet (openapiClientHandle_t *client_handle, uint32_t *maxLen)
 Get the maximum file name length. More...
 
open_error_t openapiRunningCfgGenerate (openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile)
 Generate running configuration into specified file. More...
 
open_error_t openapiSaveConfig (openapiClientHandle_t *client_handle)
 Save running configuration into startup configuration file. More...
 
open_error_t openapiTxtCfgApply (openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
 Apply CLI text based configuration. More...
 
open_error_t openapiTxtCfgNDCApply (openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
 gracefully Apply CLI text based configuration More...
 
open_error_t openapiTxtCfgNDCGenerate (openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
 Generate configuration difference between running configuration and input configuration file. More...
 
open_error_t openapiTxtCfgValidate (openapiClientHandle_t *client_handle, open_buffdesc *txtCfgFile, open_buffdesc *outFile)
 Validate given configuration file. More...