Add juju action (or config) to blackhole IPs, and list blackholed IPs
Bug #1968024 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Content Cache Charm |
Fix Released
|
Medium
|
Weii Wang |
Bug Description
We should have a mechanism for blackholing IPs built into the charm.
This could take the form of either a juju action to blackhole individual IPs and another action to list blackholed IPs, or a juju config option to list/update IPs to blackhole.
Related branches
~weii-wang/content-cache-charm:feat-blacklist-ips
- Haw Loeung: Approve (+1)
- Arturo Enrique Seijas Fernández (community): Approve
- Canonical IS Reviewers: Pending requested
- Content Cache Charmers: Pending requested
-
Diff: 471 lines (+301/-2)8 files modifiedMakefile (+4/-0)
config.yaml (+7/-0)
lib/utils.py (+20/-0)
reactive/content_cache.py (+66/-1)
tests/integration/integration_test.py (+131/-0)
tests/unit/test_content_cache.py (+8/-0)
tests/unit/test_utils.py (+54/-0)
tox.ini (+11/-1)
Changed in content-cache-charm: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in content-cache-charm: | |
status: | Confirmed → In Progress |
assignee: | nobody → Weii Wang (weii-wang) |
Changed in content-cache-charm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Sounds like a good idea and should be pretty simple to implement. We would have the action call "ip route add blackhole 10.20.30.40/32" and another action to show all those blackholed.