Operation
post /eqm/cliRequest/processCLIRequest/{groupId}/{neId}
processCliCommandRequest (processCliCommandRequest : /eqm/cliRequest/processCLIRequest/{groupId}/{neId})
processCliCommandRequest
Path parameters
Name |
IsRequired |
Description |
Enum |
---|---|---|---|
groupId | required | groupId | --- |
neId | required | neId | --- |
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | optional | cliRequestCommand | CLIRequestCommand |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
CLIRequestCommand
|
201Created | --- |
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Example Request Data
REST call: /eqm/cliRequest/processCLIRequest/6601/2 Request Payload: <CLIRequestCommand> <neName>SVT-COMPOUND-1</neName> <ncName>100_SNA</ncName> <cliCommandText>show version</cliCommandText> </CLIRequestCommand>
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
Example Response Data
<CLIRequestCommand> <cliCommandText>show version Software Version: 1830PSSECX-8.2-0 SVT-COMPOUND-1#</cliCommandText> <opStatus>SUCCESS</opStatus> </CLIRequestCommand>
External Docs
See Also :