Cisco Cisco ASA 5555-X Adaptive Security Appliance

下载
页码 29
 
About the ASA REST API v1.2.1 
Overview 
 
High Level Architecture 
 
Typical request flow 
The following is the flow for any REST PUT/POST/DELETE API request: 
•  REST Client establishes SSL connection to ASA. 
•  REST Client sends API request with basic authentication header to ASA. 
•  ASA HTTP server validates and processes client’s request. 
•  ASA HTTP server opens the connection to REST Agent using TCP channel, and writes the HTTP request to the 
REST Agent. 
•  ASA HTTP server waits for a response from the REST Agent process. 
•  REST Agent processes API request, picks the session/user info and invokes CLI commands request to LINA 
listening on localhost port in ASA. REST Agent includes the session/user info in the request. 
•  Lina admin handler processes the CLI commands and collects the results output. 
•  Lina sends the response for the CLI commands request to REST Agent. 
•  REST Agent prepares the response for REST API request and sends to the ASA HTTP server. 
•  ASA HTTP server forwards the response to the client. Server doesn’t do any processing on the response 
received from REST Agent process.