Invention Grant
- Patent Title: System and method for command processing
-
Application No.: US15905220Application Date: 2018-02-26
-
Publication No.: US10282331B1Publication Date: 2019-05-07
- Inventor: Diego Alfredo Asturias , Peter E. Rufer , Hua Zhong
- Applicant: Arista Networks, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: Arista Networks, Inc.
- Current Assignee: Arista Networks, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Chamberlain, Hrdlicka, White, Williams & Aughtry
- Main IPC: G06F13/362
- IPC: G06F13/362 ; H04L29/08 ; G06F13/24

Abstract:
A method and system for processing commands on a network device. The method may include instantiating a command execution back end that includes a parser, an activity thread, and a command execution server thread; receiving a connection; instantiating a command execution front end including a controlling terminal; detecting the instantiation of the command execution front end; creating a connection thread including an input communication channel, an output communication channel, an error communication channel, and a thread local working directory; receiving signal socket information, arguments socket information, connection environment information, a user identifier, a group identifier; a name of the controlling terminal, and a connection type; receiving additional command execution information; receiving a command; sending the command from the command execution front end to the connection thread; parsing the command using the parser; executing the parsed command to obtain a result; and providing the result to the command execution front end.
Information query