d2af6f4508
Complete conversion to API client
2019-12-29 20:33:51 -05:00
d2f27cc8fe
Add network functions to API client
2019-12-29 16:34:32 -05:00
d0b6bb4cc3
Convert VM functions to API client
2019-12-29 16:33:50 -05:00
f4ef08df49
Add lxml dependency for pretty parsing of VM XML
2019-12-29 16:33:50 -05:00
a85d8e5c4d
Add some QOL improvements
2019-12-29 16:33:50 -05:00
e0c7397703
Complete node API client functions
2019-12-29 16:33:50 -05:00
28a0ce772b
Node info moved to API
2019-12-29 16:33:50 -05:00
3d178304f1
Convert some node functions to API
2019-12-29 16:33:50 -05:00
a9aeb2e836
Implement log viewing/following with API
2019-12-29 16:33:50 -05:00
b9fe918d7d
Remove extraneous print
2019-12-29 16:33:50 -05:00
b7eddc6ae9
Add CLI lib
2019-12-29 16:33:50 -05:00
f5436ed8a9
Change dependencies for CLI client
2019-12-29 16:33:50 -05:00
3e960b8adf
Fix bugs in ACL
2019-12-29 16:33:28 -05:00
e55f2f0b92
Ensure var is valid first
2019-12-29 16:19:33 -05:00
a3df70014b
Refactor modify_network to use nicer format
2019-12-27 12:30:45 -05:00
e29405c1ed
Add missing argument to net_modify
2019-12-27 12:18:01 -05:00
e82b851643
Don't bother splitting name_servers
2019-12-27 12:15:57 -05:00
bc22c008dd
Split the name_servers in the right place
2019-12-27 12:14:34 -05:00
33e5dcd5e8
Add missing reqargs to network put
2019-12-27 12:12:07 -05:00
4a0806d23e
Fix bug setting node limit of CSV
2019-12-26 19:08:26 -05:00
1d4e4d178c
Correct bad comma
2019-12-26 18:58:46 -05:00
5e226af4a1
Pass VM argument into function
2019-12-26 18:56:34 -05:00
89f598e429
Fix another instance of selector name
2019-12-26 18:55:01 -05:00
f178436025
Fix selector name in POST
2019-12-26 18:53:35 -05:00
c9fb9600a4
Fix two small bugs and regen docs
2019-12-26 18:45:11 -05:00
49dfc6564f
Add additional bit about response bodies
2019-12-26 11:26:30 -05:00
20ae2186f9
Run VM state actions in a thread
...
Prevents blocking the main thread(s) while a VM is changing state. In
particular, this caused some issues with nodes not responding to
cancellation/reversal of a flush/ready state until the previous
migration was finished, which could cause issues. This entire subset of
actions is now threaded and so can run on its own in the background.
2019-12-26 11:08:16 -05:00
b3483fa810
Add explicit returns from flush/ready threads
2019-12-26 11:08:00 -05:00
47cf0a8006
Ensure migration out occurs
2019-12-25 21:11:02 -05:00
77db36a891
Ensure migration out occurs
2019-12-25 21:02:46 -05:00
9a39d739e8
Ensure we empty of flush_thread
2019-12-25 20:29:17 -05:00
e8d8fb161b
Add wait functionality to API domain-state
2019-12-25 20:24:12 -05:00
b1c19a21ba
Move int cast to helper try block
2019-12-25 19:31:51 -05:00
1f77b382ef
Support providing console log lines from API
2019-12-25 19:13:53 -05:00
8a0a278fe9
Cast numbers to strings for length
2019-12-25 13:47:46 -05:00
1f6f486b3b
Fix broken unwanted change to pvc.py
2019-12-25 13:35:31 -05:00
b92c1876d6
Make sure we return True from init function
2019-12-25 12:18:26 -05:00
9b81a02805
Disable doc endpoint to avoid flask_swagger dep
2019-12-24 11:19:06 -05:00
88f1be8cc9
Add API reference link
2019-12-24 10:53:58 -05:00
e4c96ee43d
Add flask-restful dependency
2019-12-24 10:48:15 -05:00
f48d1e6d40
Add documentation for API_Doc endpoint
2019-12-24 08:59:17 -05:00
ebcf0cee43
Add doc endpoint
2019-12-23 23:11:55 -05:00
2dec61ce88
Fix the host in the output file
2019-12-23 21:22:09 -05:00
914b3d84e1
Fix URL hosts
2019-12-23 21:17:30 -05:00
142e1f186d
Fix in-app host URL
2019-12-23 21:15:26 -05:00
d75a9749ac
Regenerate host value
2019-12-23 21:14:59 -05:00
398fb2dfe9
Set URL and information in local swagger.json
2019-12-23 21:09:58 -05:00
60ffe534a1
Add proper (local) URL to swagger docs
2019-12-23 21:06:08 -05:00
05f08a714a
Update link to API reference document
2019-12-23 20:59:46 -05:00
14b811e3c7
Rename API reference page
2019-12-23 20:59:24 -05:00