]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Task to emulate network delay and packet drop between two given hosts
authorShilpa Jagannath <smanjara@redhat.com>
Thu, 16 Aug 2018 09:56:15 +0000 (15:26 +0530)
committerShilpa Jagannath <smanjara@redhat.com>
Wed, 5 Sep 2018 10:31:11 +0000 (16:01 +0530)
commite7d0cdacc13661b74a4125430788f573a5dc36b2
treeeea985e26c15f999dec478f7303b954d181f928c
parentfd593fde3d1e51025b7fcef37e87df7e9f6fbf04
qa: Task to emulate network delay and packet drop between two given hosts

The task uses netem to emulate wide area network delay.
Provides three different configurable options.
1. standard delay: Constant delay with +/- 5ms jitter with normal distribution as default.
2. variable delay: To provide a delay between two given min-max range in milliseconds.
3. packet drop: Toggles packet drop and recovery in regular interval.

Useful in simulating network delays between two clusters while testing
rgw multisite and rbd mirroring configurations.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
qa/tasks/netem.py [new file with mode: 0644]