Commit Graph

137 Commits

Author SHA1 Message Date
Joshua Boniface b7960cd221 Use only one element in OSD state 2019-07-26 11:57:14 -04:00
Joshua Boniface 17b463afd4 Replace retcodes with 400; implement OSD status 2019-07-26 11:23:19 -04:00
Joshua Boniface 4cf3ade10a RESTify the remaining components 2019-07-26 11:00:11 -04:00
Joshua Boniface d43ced176f RESTify the network endpoints; remove some cruft 2019-07-26 09:41:46 -04:00
Joshua Boniface 375bbf4b82 Fix quoting bugs in API 2019-07-25 16:50:17 -04:00
Joshua Boniface 1d944f5627 Fully remove dump endpoing; data is now in output 2019-07-25 16:46:03 -04:00
Joshua Boniface f4d63b9088 Remove vm_dump API function 2019-07-25 15:45:31 -04:00
Joshua Boniface dff1c68f6e RESTify the VM functions and enable debug mode 2019-07-25 15:42:17 -04:00
Joshua Boniface 9ccf3390ab Add storage prefix to Ceph commands
Add the "storage" prefix to all Ceph-based commands in both the CLI and
the API. This partially abstracts the storage subsystem from the Ceph
tool specifically, should future storage subsystems be added or changed.
The name "ceph" is still used due to the non-abstracted components of
the Ceph management, e.g. referencing Ceph-specific concepts like OSDs
or pools.
2019-07-10 15:14:17 -04:00
Joshua Boniface b0bdf72310 Fix bad variable name 2019-07-08 22:24:18 -04:00
Joshua Boniface 7889bd88e3 Use equality instead of in 2019-07-08 22:22:43 -04:00
Joshua Boniface 31b4dd9aed Show radosdf output in clients 2019-07-08 10:59:49 -04:00
Joshua Boniface 771c193343 Add even nicer startup message 2019-07-07 15:46:38 -04:00
Joshua Boniface c9bad6edf9 Log messages during startup 2019-07-07 15:44:47 -04:00
Joshua Boniface c3e86be6a3 Disable debugging of API 2019-07-07 02:26:46 -04:00
Joshua Boniface 425392f2e6 Better handle auth enabling 2019-07-07 00:16:50 -04:00
Joshua Boniface 4724f79877 Change order in sample yaml 2019-07-07 00:10:01 -04:00
Joshua Boniface 9215931ceb Support token authentication with login/logout 2019-07-07 00:08:02 -04:00
Joshua Boniface 8aedd78879 Support SSL for the API 2019-07-06 23:28:29 -04:00
Joshua Boniface 837b47c366 Use coordinators list like node daemon 2019-07-06 02:35:37 -04:00
Joshua Boniface e6012965f1 Add YAML header to sample config files 2019-07-06 02:24:35 -04:00
Joshua Boniface 9d4acc91a5 Correct typo 2019-07-06 02:12:24 -04:00
Joshua Boniface 582a9f4f75 Make defaults nicer 2019-07-06 02:11:42 -04:00
Joshua Boniface c638bdeaee Add configuration file, authentication, pywsgi 2019-07-06 02:04:26 -04:00
Joshua Boniface e4576c016f Move API client filename 2019-07-05 23:26:41 -04:00
Joshua Boniface f5644e53bf Add unit file for API client daemon 2019-07-05 22:25:07 -04:00
Joshua Boniface 2ce08b6369 Implement API for Ceph functions 2019-07-05 22:14:58 -04:00
Joshua Boniface 4e94331d1a Implement API for network functions 2019-07-05 21:39:04 -04:00
Joshua Boniface b7480b3bbc Implement all VM API functions 2019-07-05 18:24:14 -04:00
Joshua Boniface 061b4eb61e Refactor API into separate files
Make it easier to separate the model (i.e. API endpoints) from the
controller (i.e. the actual functions which talk to ZK). Helps to keep
the main API file smaller and more regular.
2019-07-05 14:11:01 -04:00
Joshua Boniface e31e1264e5 RESTify the API removing specific list endpoints 2019-07-05 13:20:06 -04:00
Joshua Boniface c7269a092e Use request.values instead of request.args 2019-07-05 13:05:33 -04:00
Joshua Boniface 193567f965 Further work on API client
Add list and info endpoints for all areas; add dummy endpoints for all
remaining endpoints.
2019-07-05 01:19:39 -04:00
Joshua Boniface 8d5549c68f Implement better arg handling and lists 2019-07-04 12:56:41 -04:00
Joshua Boniface ae1650759b Add new endpoints 2019-05-10 23:26:59 -04:00
Joshua Boniface e41b3053f7 Update methods to POST where relevant 2019-04-12 12:27:49 -04:00
Joshua Boniface 1126382ac9 Initial API including fixes to common functons
Some functions were doing `click.echo` inside themselves; don't
do that as it's not API compatible, just return everything.
2019-03-21 11:19:28 -04:00