Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • 3934030 (HEAD -> main) flesh out the docs for this a little bit. There is still a lot more to write.. by John-Mark Gurney 2021-03-05 11:34:52 -0800
  • b94da61 add test stub for a function to fetch the auth... by John-Mark Gurney 2021-03-05 11:33:56 -0800
  • 9b54396 fix handling of failures during activating board resources and report the errors properly... by John-Mark Gurney 2021-03-05 01:04:36 -0800
  • adbd8e9 include the failed command in the error output... by John-Mark Gurney 2021-03-04 18:13:01 -0800
  • a303dc2 hash the access token in the DB.. by John-Mark Gurney 2020-12-24 13:23:30 -0800
  • 5231328 add command to connect to the controller ssh via https... by John-Mark Gurney 2020-12-23 15:54:01 -0800
  • ce84688 use single ticks.. by John-Mark Gurney 2020-12-23 15:46:58 -0800
  • 612fa8b add local end point for ssh to the controller... by John-Mark Gurney 2020-12-23 15:33:29 -0800
  • d89c90f drop BoardStatus from the db.. all user is managed by BoardImpl now.. by John-Mark Gurney 2020-12-22 17:51:26 -0800
  • 085aee2 add some more documentation, reorder api paths for better flow.. by John-Mark Gurney 2020-12-22 17:32:16 -0800
  • 9e2e993 add some notes about future improvements for auth.. by John-Mark Gurney 2020-12-22 17:31:43 -0800
  • d7927f1 push down code for reserve/release into BoardImpl... by John-Mark Gurney 2020-12-21 19:49:22 -0800
  • c372051 first stages of reworking so that BoardImpl implements all the logic for reserve/release, relocating this logic out of the API logic. by John-Mark Gurney 2020-12-21 12:48:42 -0800
  • a61ca1c mark this as requiring 3.8.. needed for asyncio tests and more.. by John-Mark Gurney 2020-12-21 11:19:57 -0800
  • 338c33a forgot to remove debug prints, add comment about BoardImpl lock.. by John-Mark Gurney 2020-12-21 11:16:51 -0800
  • a4eaf48 add a timeout attribute to prevent boards from being used too long.. by John-Mark Gurney 2020-12-19 22:45:37 -0800
  • cc86e21 improve comments, remove unneeded closes... by John-Mark Gurney 2020-12-18 11:38:16 -0800
  • b68a5da start work on timeout, make sure board is locked/reserved during activate/deactivate by John-Mark Gurney 2020-12-18 10:52:32 -0800
  • 44d7f2d merge stderr into stdout for now... by John-Mark Gurney 2020-12-17 15:41:42 -0800
  • fe76b5a wrap lines at 80 chars.. by John-Mark Gurney 2020-12-17 11:38:57 -0800
  • 8fa9671 test was wrong, needed a ws scheme... convert from http -> ws.. by John-Mark Gurney 2020-12-17 11:31:22 -0800
  • e0bf1c0 convert tabs to spaces (ugh) and sort... by John-Mark Gurney 2020-12-17 11:30:54 -0800
  • 5c1fa0d add websockets dep, forgot in previous commit.. by John-Mark Gurney 2020-12-17 11:11:18 -0800
  • 6973b1d Implement tests for bitelab exec board cmd. by John-Mark Gurney 2020-12-16 17:52:41 -0800
  • 61bb076 enforce that the board is reserved by correct user.. by John-Mark Gurney 2020-12-15 16:48:42 -0800
  • 32c2fd1 implement the backend part of exec via websockets.. This should also more direct testing in the jail, and allow ssh in to the jails w/o having to do crazy nat... by John-Mark Gurney 2020-12-15 15:02:16 -0800
  • f673b8a expand the emulated Process mock.. by John-Mark Gurney 2020-12-15 15:01:53 -0800
  • 58130f1 don't need aiokq anymore, drop it's import.. by John-Mark Gurney 2020-12-14 11:22:34 -0800
  • f36f9b5 add bitelab as a script to get installed, display usage if no commands.. by John-Mark Gurney 2020-12-10 21:59:47 -0800
  • 0bc61b7 add logging of reserve and release events.. by John-Mark Gurney 2020-12-10 18:13:35 -0800
  • 06531c1 log the access to stdout for now.. by John-Mark Gurney 2020-12-10 18:04:14 -0800
  • 954ab3e make sure that we have the lock here... by John-Mark Gurney 2020-12-10 13:25:35 -0800
  • 498cffe now that we use deactivate to turn off power, make sure it's called.. by John-Mark Gurney 2020-12-09 17:49:46 -0800
  • d157861 make sure that when the board is released, power is turned off... by John-Mark Gurney 2020-12-09 17:42:46 -0800
  • 0af8440 add to the mapping.. by John-Mark Gurney 2020-12-09 17:23:53 -0800
  • d691bad add attribute to add the board's ethernet interface to the jail.. by John-Mark Gurney 2020-12-09 17:21:15 -0800
  • 3f341b0 add devfspath as one of the options to pass back... by John-Mark Gurney 2020-12-09 15:21:52 -0800
  • d1fbf22 unhide the associated .init and .lock files as well... by John-Mark Gurney 2020-12-09 14:59:48 -0800
  • 47a2869 wasn't making sure this was called and with the correct parameters.. by John-Mark Gurney 2020-12-09 14:53:24 -0800
  • 182d0f1 don't imply that this filename is used, it's just a place holder... by John-Mark Gurney 2020-12-09 14:51:49 -0800
  • 53f8c70 add support for activating resources, such as unhiding device nodes.. by John-Mark Gurney 2020-12-09 14:49:41 -0800
  • 091ab57 add support for passing through the ssh pub key... by John-Mark Gurney 2020-12-09 00:22:10 -0800
  • 6a1b852 move arg parsing a bit earlier, handle non-json error responses... by John-Mark Gurney 2020-12-08 23:58:52 -0800
  • ad6e5de implement get_sshpubkey.. This will attempt to get the local key if non-provided... by John-Mark Gurney 2020-12-08 23:12:05 -0800
  • a4c8296 convert to argparse, implement ssh pub key partly, need to test the func by John-Mark Gurney 2020-12-08 21:33:02 -0800
  • e3934d6 reorg code slightly, make it easier to update constant, also flip this around as addkeys should be smaller than attrs... by John-Mark Gurney 2020-12-08 17:45:48 -0800
  • 3668d21 add the necessary env vars to the release script.. by John-Mark Gurney 2020-12-08 17:14:00 -0800
  • 763a7af add serialconsole support... this will change in the future.. by John-Mark Gurney 2020-12-08 16:21:43 -0800
  • 262548d use a configuration file for board setup... by John-Mark Gurney 2020-12-08 16:13:27 -0800
  • 764373c fail on first failure when testing, this makes debug prints more likely to be visible.. by John-Mark Gurney 2020-12-08 15:37:43 -0800
  • a465bb5 This isn't used anymore, moved to the sqlite database.. by John-Mark Gurney 2020-12-08 15:10:14 -0800
  • e641a34 factor out board output, make it repr so multiple lines (ssh keys or bootup messages) are escaped... by John-Mark Gurney 2020-12-07 21:47:30 -0800
  • 897f7be make sure that the defattrname is set properly.. by John-Mark Gurney 2020-12-07 18:02:32 -0800
  • dbf53bb add in simple ro attrib definition.. by John-Mark Gurney 2020-12-07 18:01:46 -0800
  • 6675774 normalize errors, and use a global var for board manager... by John-Mark Gurney 2020-12-03 15:58:48 -0800
  • 474ff60 add standard args, and increase timeout to 20, as the default of 5 is too short for startup/teardown.. by John-Mark Gurney 2020-12-03 15:56:23 -0800
  • 5fc747a Document what ORM we use, and how to manually manipulate data.. by John-Mark Gurney 2020-12-03 14:29:45 -0800
  • c81261a add logging when the release script fails... by John-Mark Gurney 2020-12-03 13:51:18 -0800
  • efe0bd2 add support to the client for setting attributes.. by John-Mark Gurney 2020-12-03 13:21:30 -0800
  • d7c38c1 implement updating of board attributes... by John-Mark Gurney 2020-12-03 11:48:37 -0800
  • cce8384 the type is internal to this class... by John-Mark Gurney 2020-12-03 11:48:10 -0800
  • 55620d1 move the database tests to the respective file... by John-Mark Gurney 2020-12-02 17:47:04 -0800
  • 285acda move the main client to __main__.. by John-Mark Gurney 2020-12-02 16:18:38 -0800
  • 569a688 add code for snmpset by John-Mark Gurney 2020-12-02 16:04:24 -0800
  • b162960 limit what gets imported when importing * by John-Mark Gurney 2020-12-02 13:54:23 -0800
  • 05cdde6 pull the SNMP tests directly instead of indirect... by John-Mark Gurney 2020-12-02 13:53:35 -0800
  • 069312d add missing Copyright statement.. by John-Mark Gurney 2020-12-02 13:53:15 -0800
  • 12a6162 refactor things a bit.. break out from one large file.. by John-Mark Gurney 2020-12-02 13:48:22 -0800
  • 1fedb30 refactor code a bit, break things out, and make a static function global by John-Mark Gurney 2020-12-02 12:19:34 -0800
  • fd506c5 Only make the environment if it doesn't exist.. by John-Mark Gurney 2020-11-25 12:13:48 -0800
  • f185c3a handle that subprocess_exec takes/returns bytes... by John-Mark Gurney 2020-11-24 18:57:06 -0800
  • 7dfa097 add notes on things that are known issues that will take some work to fix.. by John-Mark Gurney 2020-11-24 18:56:47 -0800
  • f5f9966 make sure we get the output from the setup script.. by John-Mark Gurney 2020-11-24 18:23:22 -0800
  • ccfc232 sort attributes... properly post for reserve, and add release support... by John-Mark Gurney 2020-11-24 18:12:27 -0800
  • fd75098 have the CLI handle auth errors... enforce proper return values... by John-Mark Gurney 2020-11-24 18:00:26 -0800
  • a237053 add missing comma... this causes issue as they get concatenated together by John-Mark Gurney 2020-11-24 17:56:22 -0800
  • 0d16204 add FreeBSD Foundation copyright by John-Mark Gurney 2020-11-24 14:39:08 -0800
  • 1ef71d4 add tests for running script at reserve/release by John-Mark Gurney 2020-11-23 17:11:15 -0800
  • 3b8ef85 add starting point of UI... by John-Mark Gurney 2020-11-19 15:57:44 -0800
  • 0007ed5 prepare for making a client available... by John-Mark Gurney 2020-11-18 15:39:46 -0800
  • f5e318e implement basic reserve/release... need to call the functions to implement them... add warning about other databases... by John-Mark Gurney 2020-11-17 21:37:20 -0800
  • cfcb417 add comments and name functions correct.. get ready for reserving a board... by John-Mark Gurney 2020-11-17 14:16:21 -0800
  • 5586a61 change the paths to be a bit more hierarchical by John-Mark Gurney 2020-11-16 21:58:09 -0800
  • 39e9ced add snmpget routines, and basic power status fetching.. by John-Mark Gurney 2020-11-16 21:51:37 -0800
  • f8a0dd2 add an BoardImpl that will contain the implementation... by John-Mark Gurney 2020-11-16 17:48:20 -0800
  • 7260db1 make sure a bad api key is unauthorized by John-Mark Gurney 2020-11-16 16:24:58 -0800
  • c2e59e7 switch to using an sqlite db instead of flat file... by John-Mark Gurney 2020-11-16 16:20:26 -0800
  • 0b5546d Initial work on the API for the lab... by John-Mark Gurney 2020-11-14 01:29:13 -0800