Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 70242 Build 67125: arc lint + arc unit
Event Timeline
| tests/atf_python/sys/net/vnet.py | ||
|---|---|---|
| 146 | The 0 is a perfect valid fib number. Why not supporting setting fib 0 ? | |
| tests/atf_python/sys/net/vnet.py | ||
|---|---|---|
| 60 | Setting a default here would be wise: that allows you to skip a lot of the baked-in defaults elsewhere in the diff. Other considerations:
| |
| 146 | No need for an explicit test, per PEP8. | |
| 381–384 | General comment: using dict.get with hardcoded defaults sprinkled around instead of using explicit property variables adds a lot of fragile complexity in this module (and other API consumers):
| |
| tests/atf_python/sys/net/vnet.py | ||
|---|---|---|
| 146 | Only because that's the default. But yes we could set it unconditionally. The only downside is an extra fork+exec per interface (which isn't free when running tests under QEMU). | |