How to use Shaker existing network and VM

Bug #1781365 reported by Nahian Chowdhury on 2018-07-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Though it's not a bug, rather a question.

How to use shaker for existing network and VM?


Ilya Shakhat (shakhat) wrote :

It's possible, though requires some manual work.

For example to run network test between 2 VMs you approximately need to do the following:
 1) Create routable network (VM should be able to reach shaker server)
 2) Boot VM from the image built by shaker. Or, alternatively, you can use any other image with 'pyshaker' Python package installed
 3) Start shaker agent on VM: $ shaker-agent --server-endpoint <shaker host:port> --agent-id <e.g. a-001>
 4) Repeat 2) and 3) but with different agent-id, e.g. 'a-002'
 5) Start shaker (server) with scenario like this: Note that agent-ids in scenario should match those from VMs. The execution part of scenario can be taken from OpenStack scenarios, e.g.

summary: - How to use existing network and VM
+ How to use Shaker existing network and VM
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers