summaryrefslogtreecommitdiffstats
path: root/src/HTTPParser.py
Commit message (Collapse)AuthorAgeFilesLines
* Add session command to init the opengnsys sessionAlvaro Neira Ayuso2020-01-191-0/+14
| | | | | | | | ogAdmClient has a support for initializing the session in the machine. This new command allows the new ogClient to execute the same script to init the session. The arguments will be received from the server as a json message. Format: { "disk" : "0", "partition" : "1"}
* (BUG) Fix crash when json message received is incompleteAlvaro Neira Ayuso2020-01-191-1/+6
|
* Add shell run and output commandsAlvaro Neira Ayuso2020-01-191-6/+18
| | | | | | | | Opengnsys needs a support to execute commands on the machine. This patch adds the support for executing two new commands "shell/run" and "shell/output". The first one, give us the support for executing a command in the machine and keep save in a queue the output. The second one, give us the support for sending the output from the command executed.
* Port program to Python 3Alvaro Neira Ayuso2020-01-191-3/+3
| | | | | Python 2.7 will be deprecated in January of 2020. So, we need to have the program with a supported api.
* Add HTTP parser supportAlvaro Neira Ayuso2020-01-191-0/+54
The new OpenGnsys support to communicate server and client side will be HTTP. This new class allows us the support for parsing all the message received from the server in HTTP format.