Parameters options to be passed down to ip
.
Global parameters options that affects the command execution.
ParametersError - Throws when passed parameters are invalid.
CommandError - Throws when the executed command fails.
Import module
import { link } from 'iproute';
Add a link
await link.add({
link: 'lo',
name: 'dummy100',
address: '00:11:22:33:44:55',
mtu: 1500,
type: VirtualLinkTypes.Dummy
});
Generated using TypeDoc
Adds a virtual link.