Added ability to tie benchmark to single node. Uses offer hostname for this, maybe a better soluition would be to look at offer attributes. Added shorthand for workloads flag -w

This commit is contained in:
Renan DelValle 2016-09-27 18:12:50 -04:00
parent 7666167d87
commit c4ea0321c1
2 changed files with 20 additions and 4 deletions

View file

@ -14,6 +14,7 @@ type Task struct {
Image string `json:"image"`
CMD string `json:"cmd"`
Instances *int `json:"inst"`
Host string `json:"host"`
}
func TasksFromJSON(uri string) ([]Task, error) {