Documentation ¶
Index ¶
- Constants
- Variables
- type Netem
- func (n *Netem) BlockLink(source orchestrator.MachineID, target net.IPNet) error
- func (n *Netem) Register(id orchestrator.MachineID, netIf string) error
- func (n *Netem) SetBandwidth(source orchestrator.MachineID, target net.IPNet, bandwidthKbps uint64) error
- func (n *Netem) SetLatency(source orchestrator.MachineID, target net.IPNet, latencyUs uint32) error
- func (n *Netem) Stop() error
- func (n *Netem) UnblockLink(source orchestrator.MachineID, target net.IPNet) error
Constants ¶
View Source
const DEFAULTRATE = "10.0Gbps"
Variables ¶
View Source
var ( IPTABLES_BIN string IPSET_BIN string TC_BIN string )
Functions ¶
This section is empty.
Types ¶
type Netem ¶
type Netem struct {
// contains filtered or unexported fields
}
func (*Netem) SetBandwidth ¶
func (*Netem) SetLatency ¶
func (*Netem) UnblockLink ¶
Click to show internal directories.
Click to hide internal directories.