Project

General

Profile

action #466

Create a basic signaling architecture for os-autoinst

Added by aplanas about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2013-05-15
Due date:
2013-05-22
% Done:

80%

Estimated time:
16.00 h

Description

  • Create a named pipe in the os-autoinst pool result, that can be used to control QEMU instances via webIU
  • Create the basic API and protocol (JSON-RPC) to emulate the crop.py functionallity: ** Stop ** Continue ** Create / edit needles

History

#1 Updated by lnussel about 9 years ago

  • % Done changed from 0 to 20
  • Status changed from New to In Progress

basic json rpc interface is implemented. there are quite some threading problems to solve for making an interactive editing mode possible

#2 Updated by lnussel about 9 years ago

  • % Done changed from 20 to 80

done for giving it a try

you need to call set_interactive("sometag") to enable interactive mode. results.json will contain waitforneedle => 1 if os-autoinst stopped to wait for intput. you need to call save_needle("jsonstring") to save a needle and continue. pass an empty string to continue without saving a new needle. see bmwrpc.pm for source.

#3 Updated by toscalix about 9 years ago

  • Estimated time set to 3.00 h

#4 Updated by aplanas about 9 years ago

  • Estimated time changed from 3.00 h to 16.00 h

#5 Updated by aplanas about 9 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF