Commit Graph

2681 Commits

Author SHA1 Message Date
Joshua Boniface 8fea073b55 Fix remaining instances of userdata_template 2020-01-04 13:42:16 -05:00
Joshua Boniface a4ad58e64c Add userdata and script options 2020-01-04 13:04:01 -05:00
Joshua Boniface 1c12a4c2f9 Fix bugs around userdata 2020-01-04 12:52:30 -05:00
Joshua Boniface e5d38ec6bd Implement template CLI functions 2020-01-04 11:58:30 -05:00
Joshua Boniface e1c7705c3e Add missing return value 2020-01-04 11:48:13 -05:00
Joshua Boniface 139672d8c9 Fix bug in function argument order 2020-01-04 11:43:35 -05:00
Joshua Boniface 19ea01e17e Don't strip down single-element lists
This is causing problems, so don't do it.
2020-01-04 11:14:55 -05:00
Joshua Boniface e4a83bb063 Use different MAC prefixes for MAC templates 2020-01-04 10:42:04 -05:00
Joshua Boniface a6b6c54422 Use consistent messages and formatting 2020-01-03 13:59:32 -05:00
Joshua Boniface c9b8355ff0 Fix bad handling of Nonetype 2020-01-03 12:07:32 -05:00
Joshua Boniface 816dbac912 Remove explicit flask.jsonify 2020-01-03 12:00:06 -05:00
Joshua Boniface 7ed6308e80 Correct handling of template arguments 2020-01-03 11:55:41 -05:00
Joshua Boniface 9b8dec8991 Add missing reqargs argument 2020-01-03 11:50:13 -05:00
Joshua Boniface f80b432d3b Handle the empty list better 2020-01-02 12:18:41 -05:00
Joshua Boniface 5d92a4aa62 Ensure zk_conn handling is consistent 2020-01-02 12:13:11 -05:00
Joshua Boniface f624cf9e24 Handle no-good-cluster scenarios 2020-01-02 11:19:11 -05:00
Joshua Boniface cb3cc2782a Add initial bits of provisioner CLI 2020-01-02 11:19:08 -05:00
Joshua Boniface e550d4589d Move userdata from templates
This arrangement was driving me somewhat mad; make userdata just like
script in that it is not a "template".
2019-12-30 15:01:28 -05:00
Joshua Boniface d6bd616b31 Fix some bad output 2019-12-30 14:35:44 -05:00
Joshua Boniface 0ced9b2777 Fix incorrect bolding on output 2019-12-30 14:19:17 -05:00
Joshua Boniface 217b163d4b Remove indented empty lines 2019-12-30 13:29:07 -05:00
Joshua Boniface 18e6192178 Add support for multiple clusters in CLI 2019-12-30 13:27:40 -05:00
Joshua Boniface 18c14cbf77 Handle there being no good nodes/VMs 2019-12-30 09:39:04 -05:00
Joshua Boniface a661fec105 Handle boolean config values properly 2019-12-30 09:34:45 -05:00
Joshua Boniface 2325f87389 Correct typo in header 2019-12-30 09:07:41 -05:00
Joshua Boniface 0671a81aa2 Add missing install line for cli_lib 2019-12-29 21:02:05 -05:00
Joshua Boniface 6de65378ca Fix bad metadata documentation 2019-12-29 20:58:02 -05:00
Joshua Boniface 4af95ecfcb Add API doc for cluster status 2019-12-29 20:54:20 -05:00
Joshua Boniface 3b08e887f8 Add cluster status to API 2019-12-29 20:52:05 -05:00
Joshua Boniface d2af6f4508 Complete conversion to API client 2019-12-29 20:33:51 -05:00
Joshua Boniface d2f27cc8fe Add network functions to API client 2019-12-29 16:34:32 -05:00
Joshua Boniface d0b6bb4cc3 Convert VM functions to API client 2019-12-29 16:33:50 -05:00
Joshua Boniface f4ef08df49 Add lxml dependency for pretty parsing of VM XML 2019-12-29 16:33:50 -05:00
Joshua Boniface a85d8e5c4d Add some QOL improvements 2019-12-29 16:33:50 -05:00
Joshua Boniface e0c7397703 Complete node API client functions 2019-12-29 16:33:50 -05:00
Joshua Boniface 28a0ce772b Node info moved to API 2019-12-29 16:33:50 -05:00
Joshua Boniface 3d178304f1 Convert some node functions to API 2019-12-29 16:33:50 -05:00
Joshua Boniface a9aeb2e836 Implement log viewing/following with API 2019-12-29 16:33:50 -05:00
Joshua Boniface b9fe918d7d Remove extraneous print 2019-12-29 16:33:50 -05:00
Joshua Boniface b7eddc6ae9 Add CLI lib 2019-12-29 16:33:50 -05:00
Joshua Boniface f5436ed8a9 Change dependencies for CLI client 2019-12-29 16:33:50 -05:00
Joshua Boniface 3e960b8adf Fix bugs in ACL 2019-12-29 16:33:28 -05:00
Joshua Boniface e55f2f0b92 Ensure var is valid first 2019-12-29 16:19:33 -05:00
Joshua Boniface a3df70014b Refactor modify_network to use nicer format 2019-12-27 12:30:45 -05:00
Joshua Boniface e29405c1ed Add missing argument to net_modify 2019-12-27 12:18:01 -05:00
Joshua Boniface e82b851643 Don't bother splitting name_servers 2019-12-27 12:15:57 -05:00
Joshua Boniface bc22c008dd Split the name_servers in the right place 2019-12-27 12:14:34 -05:00
Joshua Boniface 33e5dcd5e8 Add missing reqargs to network put 2019-12-27 12:12:07 -05:00
Joshua Boniface 4a0806d23e Fix bug setting node limit of CSV 2019-12-26 19:08:26 -05:00
Joshua Boniface 1d4e4d178c Correct bad comma 2019-12-26 18:58:46 -05:00