]>
git.ipfire.org Git - nitsi.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jonatan Schlag [Fri, 27 Apr 2018 14:19:07 +0000 (16:19 +0200)]
Move machine class into an own file
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 27 Apr 2018 14:13:33 +0000 (16:13 +0200)]
Move the serial_connection class into a seperated file
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 27 Apr 2018 13:57:46 +0000 (15:57 +0200)]
Rename the connection class to serial_connection
This reflects our naming scheme better
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 27 Apr 2018 13:55:01 +0000 (15:55 +0200)]
Rename the vm class to machine
This reflects naming scheme better
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 27 Apr 2018 13:52:07 +0000 (15:52 +0200)]
Drop unused code
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 24 Apr 2018 07:25:45 +0000 (09:25 +0200)]
Support copying of files into all machines
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Mon, 23 Apr 2018 13:21:16 +0000 (15:21 +0200)]
Support comma seperated list of machines
We now support something like:
alice,bob: echo
Be carefull:
alice, bob:
will break our parsing
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Mon, 23 Apr 2018 13:04:42 +0000 (15:04 +0200)]
Add support for the all: statement
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Mon, 23 Apr 2018 11:40:04 +0000 (13:40 +0200)]
Always try to clean up all virtual machines and networks
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Mon, 23 Apr 2018 11:38:01 +0000 (13:38 +0200)]
Code cleanup in recipe parse
I cleaned up the code to avoid multiple identical code statements and to
improve readability.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Mon, 23 Apr 2018 11:28:00 +0000 (13:28 +0200)]
Add basic support for the include statement
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Sat, 21 Apr 2018 11:24:32 +0000 (13:24 +0200)]
Correctly handle exit codes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Sat, 21 Apr 2018 11:23:47 +0000 (13:23 +0200)]
Return exit code of executed commands
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Sat, 21 Apr 2018 11:18:51 +0000 (13:18 +0200)]
login: also check lines for login, which do not start with a l
When we get 'alice login:' the lines do not start with an 'l' so we can
not assume that all lines which start not with an 'l' are not our login
line.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Sat, 21 Apr 2018 11:16:15 +0000 (13:16 +0200)]
On login print all lines without doing further processing
We increase the speed by 5 when we print all lines which are terminated
by \n when we get the full boot log. The line we a re logging for is not
terminated by \n
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Sat, 21 Apr 2018 11:01:07 +0000 (13:01 +0200)]
Add new function line_in_buffer
This functions check if we can read line out of our buffer.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:17:12 +0000 (13:17 +0200)]
Adapt the test to our current functionality
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:16:37 +0000 (13:16 +0200)]
Add a working virtual environment config
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:15:55 +0000 (13:15 +0200)]
Call all functions in __main__
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:14:34 +0000 (13:14 +0200)]
Add more stuff to the virtual_environ() class
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:13:07 +0000 (13:13 +0200)]
Add all stuff to the test class
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:10:36 +0000 (13:10 +0200)]
Add the login credentials to the vm() class
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:06:49 +0000 (13:06 +0200)]
Remove unecessary inspect
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:04:43 +0000 (13:04 +0200)]
Add recipe parsing functionality
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:03:28 +0000 (13:03 +0200)]
Add network class
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:01:09 +0000 (13:01 +0200)]
Fix deleting the snapshot of our machines
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Thu, 19 Apr 2018 11:00:19 +0000 (13:00 +0200)]
Fix logging if we do not have an image file
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 13 Apr 2018 15:52:20 +0000 (17:52 +0200)]
Remove a lot of unused code and testing code
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 13 Apr 2018 15:48:24 +0000 (17:48 +0200)]
Remove duplicated file
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Fri, 13 Apr 2018 15:47:14 +0000 (17:47 +0200)]
Initial checkin
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>