k3s/pkg/util/bandwidth
Paul Michali 65342a0000 IPv6 support for hexCIDR()
Includes these changes:
- Modified so that IPv6 CIDRs can be converted correctly.
- Added test cases for IPv6 addresses.
- Split UTs for hexCIDR() and asciiCIDR() so that masking can be tested.
- Add UTs for failure cases.

Note: Some code that calls hexCIDR() builds a CIDR from the pod IP string
and the concatenation of "/32". These should, in the future, use "128",
if/when the pod IP is IPv6. Not addressed as part of this commit.
2017-05-17 20:35:37 +00:00
..
BUILD autogenerated 2017-04-14 10:40:57 -07:00
doc.go
fake_shaper.go
interfaces.go
linux.go IPv6 support for hexCIDR() 2017-05-17 20:35:37 +00:00
linux_test.go IPv6 support for hexCIDR() 2017-05-17 20:35:37 +00:00
unsupported.go
utils.go teach kubenet to use annotation instead of pod object for traffic shaper 2017-02-27 10:11:09 -08:00
utils_test.go