summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ogcli set mode commandRoberto Hueso Gómez2020-07-062-0/+33
| | | | | This requests POST /modes and changes a scope mode by calling something like: ogcli set modes --scope-id=1 --scope-type=computer --mode=pxe
* Add post() to OgRESTRoberto Hueso Gómez2020-07-031-0/+13
| | | | This is a wrapper that provides HTTP POST requests.
* Fix ogcli shebangRoberto Hueso Gómez2020-07-011-1/+1
| | | | This uses python3 and improves portability by using '/usr/bin/env'.
* add license header to source code filesOpenGnSys Support Team2020-07-015-0/+40
|
* Rename files to remove 'og' prefixRoberto Hueso Gómez2020-06-307-4/+4
| | | | | This prefix is redundant on almost every file, so the prefix is removed from filenames and imports.
* Add list modes commandRoberto Hueso Gómez2020-06-302-1/+10
| | | | This is consistent with HTTP GET /modes
* Check required config params are in config fileRoberto Hueso Gómez2020-06-251-0/+6
| | | | | In case a required config param is not in ogcli.json config file, this exits the program with an error code.
* Add list scopes commandRoberto Hueso Gómez2020-06-192-2/+12
| | | | This is consistent with HTTP GET /scopes
* Add ip and port parameters to configRoberto Hueso Gómez2020-06-191-1/+3
| | | | These are the ip and port of the ogServer.
* Rewrite basic structureRoberto Hueso Gómez2020-06-194-20/+32
| | | | | | | This commit: - Adds OgREST class as a wrapper for HTTP REST requests. - Adds objects folder which will contain available functions for each object in the OpenGnsys ecosystem (e.g. client, image, etc.).
* add .gitignoreOpenGnSys Support Team2020-06-181-0/+1
|
* add cfg directoryOpenGnSys Support Team2020-06-181-0/+3
| | | | Add configuration file template.
* First commitOpenGnSys Support Team2020-06-184-0/+723
Add basic OgCLI structure.