MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / initializeInterface

Method initializeInterface

network/bandwidth/linux.go:283–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281}
282
283func (t *tcShaper) initializeInterface() error {
284 return t.execAndLog("tc", "qdisc", "add", "dev", t.iface, "root", "handle", "1:", "htb", "default", "30")
285}
286
287func (t *tcShaper) Reset(cidr string) error {
288 classAndHandle, found, err := t.findCIDRClass(cidr)

Callers 1

ReconcileInterfaceMethod · 0.95

Calls 1

execAndLogMethod · 0.95

Tested by

no test coverage detected