Skip to content

feat: add chaos-network workload#54

Merged
mrhillsman merged 1 commit into
mainfrom
feat/chaos-network-workload
May 22, 2026
Merged

feat: add chaos-network workload#54
mrhillsman merged 1 commit into
mainfrom
feat/chaos-network-workload

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

Implements chaos-network workload using tc/netem for network chaos injection. Supports configurable latency (default 100ms) and packet loss (default 5%).

Features:

  • Single VM workload model
  • Uses tc qdisc and netem for network emulation
  • Systemd service for continuous operation
  • Assumes iproute-tc pre-installed via golden image
  • Comprehensive test coverage

Updates:

  • Add ChaosNetworkWorkload struct and factory
  • Register in DefaultRegistry
  • Update AllWorkloadNames
  • Add test suite with 11 test cases
  • Update main_test.go for new workload count

Resolves #17

@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 21, 2026
@mrhillsman mrhillsman changed the title feat: add chaos-network workload for network chaos injection feat: add chaos-network workload May 21, 2026
@mrhillsman mrhillsman force-pushed the feat/chaos-network-workload branch 4 times, most recently from eb55640 to 0546949 Compare May 22, 2026 02:05
Implements chaos-network workload using tc/netem for network chaos
injection. Supports configurable latency (default 100ms) and packet
loss (default 5%).

Features:
- Single VM workload model
- Uses tc qdisc and netem for network emulation
- Systemd service for continuous operation
- Assumes iproute-tc pre-installed via golden image
- Comprehensive test coverage

Updates:
- Add ChaosNetworkWorkload struct and factory
- Register in DefaultRegistry
- Update AllWorkloadNames
- Add test suite with 11 test cases
- Update main_test.go for new workload count

Resolves #17

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@mrhillsman mrhillsman force-pushed the feat/chaos-network-workload branch from 0546949 to 5c13e6a Compare May 22, 2026 03:38
@mrhillsman mrhillsman merged commit 744e3f3 into main May 22, 2026
3 of 4 checks passed
@mrhillsman mrhillsman deleted the feat/chaos-network-workload branch May 22, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Workload]: chaos-network workload (tc/netem-based latency, packet loss, bandwidth limiting)

1 participant