chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
136 stars 63 forks source link

support vm attack #158

Closed WangXiangUSTC closed 2 years ago

WangXiangUSTC commented 2 years ago

Signed-off-by: xiang xiang13225080@163.com

close issue #25

usage:

./bin/chaosd attack vm -h
vm attack by using virsh

Usage:
  chaosd attack vm attack [flags]

Flags:
  -h, --help             help for vm
  -v, --vm-name string   The name of the vm to be destoryed

Global Flags:
      --log-level string   the log level of chaosd. The value can be 'debug', 'info', 'warn' and 'error'
      --uid string         the experiment ID
ti-chi-bot commented 2 years ago

[REVIEW NOTIFICATION]

This pull request has been approved by:

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
Andrewmatilde commented 2 years ago

In my opinion, codes for downloading virsh should be added in Makefile.

Andrewmatilde commented 2 years ago

Rest LGTM

WangXiangUSTC commented 2 years ago

In my opinion, codes for downloading virsh should be added in Makefile.

Users need to download virsh by yum or apt, depending on the Linux distribution. I think we can add the download command in the document

cwen0 commented 2 years ago

/merge

ti-chi-bot commented 2 years ago

This pull request has been accepted and is ready to merge.

Commit hash: c3494ccb0d48b1ef9670346e9c7e353f41152000

cwen0 commented 2 years ago

/merge

WangXiangUSTC commented 2 years ago

/run-all-tests

WangXiangUSTC commented 2 years ago

/run-all-tests

WangXiangUSTC commented 2 years ago

/merge

ti-chi-bot commented 2 years ago

This pull request has been accepted and is ready to merge.

Commit hash: b49eef0f3fd884db85f943021c3a8479e96450c4