Commit Graph

60 Commits

Author SHA1 Message Date
Joshua Boniface 60b5156c37 Fix a typo 2018-06-14 23:04:32 -04:00
Joshua Boniface 8b294d4bdb Add some validations that a VM is in start state before doing actions 2018-06-14 22:45:34 -04:00
Joshua Boniface 5a0599d2bc Forgot to import uuid too 2018-06-14 22:39:24 -04:00
Joshua Boniface 260a403c0a Add failed state to output 2018-06-14 12:16:44 -04:00
Joshua Boniface f2d7b5a62a More cleanup of stuff to make the pvcd module 2018-06-14 12:07:46 -04:00
Joshua Boniface 705f7a9b29 Move all the stuff from pvcf.py into pvc.py to keep everything in a single "binary" 2018-06-14 11:57:36 -04:00
Joshua Boniface a3c6f22b02 Make shutdown list colour yellow 2018-06-13 12:58:26 -04:00
Joshua Boniface f543c43978 Typo 2018-06-13 12:50:38 -04:00
Joshua Boniface ae28cc932e Add restart command support 2018-06-13 12:49:51 -04:00
Joshua Boniface 86cf3a57ee Another bugfix 2018-06-12 22:03:01 -04:00
Joshua Boniface 75efefada3 More bugfixes 2018-06-12 21:44:06 -04:00
Joshua Boniface f6921816fa Fix typo 2018-06-12 21:24:05 -04:00
Joshua Boniface 75477c7297 Finish up output printing and several other tweaks 2018-06-12 21:21:22 -04:00
Joshua Boniface 7b95f8b283 Some wording tweaks 2018-06-12 02:15:51 -04:00
Joshua Boniface df057c8f6d Lower width of daemon state 2018-06-12 02:14:50 -04:00
Joshua Boniface 5612dec66d Typo 2018-06-12 02:14:06 -04:00
Joshua Boniface d0a76b2ecb Reword some of the stuff and handle updates better 2018-06-12 02:12:36 -04:00
Joshua Boniface dd2560c2f8 Very beautiful and elegant list functions 2018-06-12 01:26:06 -04:00
Joshua Boniface de68519153 Remove superfluous state 2018-06-11 23:03:44 -04:00
Joshua Boniface bb1b2de77d Bikeshed this more 2018-06-11 22:58:19 -04:00
Joshua Boniface 12fe281169 Fix up spacing 2018-06-11 22:57:18 -04:00
Joshua Boniface d0c8f006c6 Forgot to replace state here 2018-06-11 21:30:32 -04:00
Joshua Boniface 8db80fd3dc Reformat the output a bit to optimize visuals against terminal width 2018-06-11 20:44:39 -04:00
Joshua Boniface 7309d22a17 Add node list output and fix up VM output 2018-06-11 12:26:51 -04:00
Joshua Boniface e6d0f6e4bc Change short version of hypervisor flag for define command 2018-06-11 02:51:42 -04:00
Joshua Boniface 774dcc824e Make client work with new domainstate setup; add basic node info and node list commands 2018-06-11 02:50:45 -04:00
Joshua Boniface 8447c6890b Typo 2018-06-11 02:16:56 -04:00
Joshua Boniface 48326226da Typo 2018-06-11 02:16:08 -04:00
Joshua Boniface 33b6b46935 Add verification and output text to flush/ready commands 2018-06-11 02:15:46 -04:00
Joshua Boniface 8a1bc46bf0 Move some things around and rename vars 2018-06-11 01:35:50 -04:00
Joshua Boniface 002173a470 Add nice sorted list view and move "search" (now "info") and "list" tasks under "vm" 2018-06-11 01:24:14 -04:00
Joshua Boniface e4fd4f858c Don't try to stop a stopped VM when undefining 2018-06-10 21:07:21 -04:00
Joshua Boniface 94abdf9041 Add move command 2018-06-10 21:03:41 -04:00
Joshua Boniface 6fd2508ff6 Some better handling 2018-06-10 20:21:00 -04:00
Joshua Boniface c642a20d73 Add error text to error prints 2018-06-07 00:26:55 -04:00
Joshua Boniface 700f2e8cc4 Implement flush and unflush finally 2018-06-06 20:49:07 -04:00
Joshua Boniface 8f31f49252 Remove some old help text 2018-06-06 13:35:16 -04:00
Joshua Boniface 5b9482be2f Fix double quote issue 2018-06-06 13:25:32 -04:00
Joshua Boniface 440ce77585 Formatting fixup 2018-06-06 13:06:21 -04:00
Joshua Boniface ab13c555f0 Some more cleanups and fix LXML objectify import 2018-06-06 13:03:02 -04:00
Joshua Boniface 6b6ebaa9be Use proper name 2018-06-06 12:29:19 -04:00
Joshua Boniface eeeb54c23d Validate our UUIDs and fix some formatting inconsistencies 2018-06-06 12:28:15 -04:00
Joshua Boniface 2c09ee2a17 Add undefine function; clean up superflous functions from testing 2018-06-06 12:00:52 -04:00
Joshua Boniface f7bbca128a Add LICENSE and headers; move some functions out of pvcf.py and into VMInstance 2018-06-06 01:47:53 -04:00
Joshua Boniface c5a13afbb8 Add success message to init function 2018-06-06 01:29:11 -04:00
Joshua Boniface ec0dacb042 Make initialization function nicer 2018-06-06 01:20:09 -04:00
Joshua Boniface d803b417f9 Improve client a bit more, add init function, add configurable zk_host 2018-06-06 01:07:59 -04:00
Joshua Boniface e3aee843d4 Remove old debug print statement 2018-06-06 00:49:46 -04:00
Joshua Boniface f2ec143544 Some minor tweaks to fix stuff 2018-06-06 00:44:43 -04:00
Joshua Boniface dacce87175 Some more major tweaks to client and rename the 'formerhypervisor' to 'lasthypervisor' 2018-06-05 22:06:08 -04:00