Commit Graph

1073 Commits

Author SHA1 Message Date
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 779af7a66d Split out XML parsing into multiple discrete functions 2018-06-11 01:23:53 -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 3851069b7a Fix handling of failed-start 2018-06-10 21:04:00 -04:00
Joshua Boniface 94abdf9041 Add move command 2018-06-10 21:03:41 -04:00
Joshua Boniface 974c708c82 Missing return if failed to start 2018-06-10 20:52:53 -04:00
Joshua Boniface 0a882ef693 More work to make stuff work right 2018-06-10 20:45:32 -04:00
Joshua Boniface 93385836e4 Update pfcd.conf file 2018-06-10 20:42:09 -04:00
Joshua Boniface d0926afe95 Better parsing of config file with default section 2018-06-10 20:41:11 -04:00
Joshua Boniface c0808b40b4 Fix up pvcd.conf a bit 2018-06-10 20:29:53 -04:00
Joshua Boniface 6fd2508ff6 Some better handling 2018-06-10 20:21:00 -04:00
Joshua Boniface dec88f6c1a Improve handling to use hostname 2018-06-08 12:44:47 -04:00
Joshua Boniface 6cd84f725a Add config file support 2018-06-08 12:19:48 -04:00
Joshua Boniface 33e0100687 Complete fencing configurations 2018-06-08 12:19:30 -04:00
Joshua Boniface eb038dfbbb Add self 2018-06-07 00:40:32 -04:00
Joshua Boniface d67ef9c9de Make colouring of keepalive printouts nicer 2018-06-07 00:39:09 -04:00
Joshua Boniface 1ee8fb99dc Add colours to node status 2018-06-07 00:32:10 -04:00
Joshua Boniface 8176bd0416 Add some more comments and spaces for readability 2018-06-07 00:30:20 -04:00
Joshua Boniface 79fd22305c Add auto-space to prefix 2018-06-07 00:29:57 -04:00
Joshua Boniface c89ec52019 Revert "Add space in prefix"
This reverts commit 577954ddd4.
2018-06-07 00:29:04 -04:00
Joshua Boniface 577954ddd4 Add space in prefix 2018-06-07 00:28:48 -04:00
Joshua Boniface c642a20d73 Add error text to error prints 2018-06-07 00:26:55 -04:00
Joshua Boniface e3c789ea54 And some more 2018-06-07 00:21:53 -04:00
Joshua Boniface 8ce24d9660 Prettifiy formatting of columns 2018-06-07 00:21:15 -04:00
Joshua Boniface 7309af5ec0 Lengthen field a bit 2018-06-07 00:14:35 -04:00
Joshua Boniface fb796b74a7 Add colours to information printout 2018-06-07 00:12:55 -04:00
Joshua Boniface 3e51988e9a Make the ansiiprint more portable (give colour functions), have pvcd.py use it too 2018-06-06 23:57:25 -04:00
Joshua Boniface c6c058d832 Merge branch 'master' of ssh://dev.bonifacelabs.ca:2222/bonifacelabs/pvc 2018-06-06 23:50:30 -04:00
Joshua Boniface 18d5e3e33d Make that simpler 2018-06-06 23:49:25 -04:00
Joshua Boniface b6b7bb86b6 Use new ansiiprint setup 2018-06-06 23:46:32 -04:00
Joshua Boniface 4ca79f6a81 Consistent wording 2018-06-06 22:59:31 -04:00
Joshua Boniface 640f38c3aa Add ANSII colours to output commands for easy parsing 2018-06-06 22:56:03 -04:00
Joshua Boniface ad1bf35837 Formatting cleanup and colours! 2018-06-06 22:13:16 -04:00
Joshua Boniface c124cae24b Remove zkey variable for better readability 2018-06-06 21:57:58 -04:00
Joshua Boniface f4bdc22602 Use string format() consistently 2018-06-06 21:54:38 -04:00
Joshua Boniface 155e48ce94 Add terminate option instead of using stop (which screws with ZK state) 2018-06-06 21:47:06 -04:00
Joshua Boniface 3f25f89324 Add additional state - vm should be stopped as it shouldn't run on that node 2018-06-06 21:45:03 -04:00
Joshua Boniface 6bc935c38a Another missed 2018-06-06 21:41:02 -04:00
Joshua Boniface 452681b812 Correct name to confirm 2018-06-06 21:37:36 -04:00
Joshua Boniface 34cbb5dc96 Fix wrong state during flush 2018-06-06 21:35:32 -04:00
Joshua Boniface f6b71efb1b Wrong variable name 2018-06-06 21:34:33 -04:00
Joshua Boniface 19561faa5e Define target_hypervisor variable 2018-06-06 21:31:20 -04:00
Joshua Boniface b7c7b5f647 Update variable name to match 2018-06-06 21:28:58 -04:00
Joshua Boniface 55f52bb3d7 Wrong key name 2018-06-06 21:28:02 -04:00
Joshua Boniface 90fa2e6b5e Fix missing self reference for ZK conn 2018-06-06 20:49:21 -04:00
Joshua Boniface 700f2e8cc4 Implement flush and unflush finally 2018-06-06 20:49:07 -04:00
Joshua Boniface 8282a35ff8 Remove remaining zkey references 2018-06-06 20:42:33 -04:00
Joshua Boniface 26d7c3e27b One extra bracket 2018-06-06 20:39:54 -04:00
Joshua Boniface 53e625e1a5 Update remaining instances of % to format() 2018-06-06 20:39:21 -04:00
Joshua Boniface 6a0e262e96 Add flush component to fence 2018-06-06 20:36:21 -04:00