Skip to content

Commit

Permalink
adding code bock
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 authored and chaitanyaenr committed Dec 5, 2024
1 parent 97035a7 commit 2ba20fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/network_chaos.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ network_chaos: # Scenario to create an outage
```

##### Sample scenario config for ingress traffic shaping (using a plugin)
'''
```
- id: network_chaos
config:
node_interface_name: # Dictionary with key as node name(s) and value as a list of its interfaces to test
Expand All @@ -35,7 +35,7 @@ network_chaos: # Scenario to create an outage
bandwidth: 10mbit
wait_duration: 120
test_duration: 60
'''
```

Note: For ingress traffic shaping, ensure that your node doesn't have any [IFB](https://wiki.linuxfoundation.org/networking/ifb) interfaces already present. The scenario relies on creating IFBs to do the shaping, and they are deleted at the end of the scenario.

Expand Down

0 comments on commit 2ba20fa

Please sign in to comment.