Interface LinkAddOptions

Link add options.

Hierarchy

  • LinkAddOptions

Properties

address?: string

Specifies the device Link Layer Address (LLADDR) parameter, commonly known as mac address.

broadcast?: string

Specifies the device Link Layer Address (LLADDR) broadcast, for the already specified mac address.

gso_max_segs?: number

Specifies the recommended maximum number of a Generic Segment Offload segments the new device should accept.

gso_max_size?: number

Specifies the recommended maximum size of a Generic Segment Offload packet the new device should accept.

index?: number

Specifies the desired index of the new virtual device. The link creation fails, if the index is busy.

link?: string

Specifies the physical device to act operate on.

mtu?: number

Specifies the Maximum Transmission Unit (mtu).

name: string

Specifies the name of the new virtual device.

numrxqueues?: number

Specifies the number of receive queues for new device.

numtxqueues?: number

Specifies the number of transmit queues for new device.

txqueuelen?: number

The transmit queue length of the device.

type: {
    bareudp: undefined | AddLinkBareudpTypeArgs;
    bond: undefined | true;
    bridge: undefined | AddLinkBridgeTypeArgs;
    can: undefined | AddLinkCanTypeArgs;
    dummy: undefined | true;
    erspan: undefined | AddLinkErspanIp6erspanTypeArgs;
    geneve: undefined | AddLinkGeneveTypeArgs;
    gre: undefined | AddLinkGreGretapTypeArgs;
    gretap: undefined | AddLinkGreGretapTypeArgs;
    hsr: undefined | AddLinkHsrTypeArgs;
    ifb: undefined | true;
    ip6erspan: undefined | AddLinkErspanIp6erspanTypeArgs;
    ip6gre: undefined | AddLinkIp6GreIp6gretapTypeArgs;
    ip6gretap: undefined | AddLinkIp6GreIp6gretapTypeArgs;
    ip6tnl: undefined | true;
    ipip: undefined | AddLinkIpipSitTypeArgs;
    ipoib: undefined | AddLinkIpoibTypeArgs;
    ipvlan: undefined | true;
    ipvtap: undefined | true;
    lowpan: undefined | true;
    macsec: undefined | AddLinkMacsecTypeArgs;
    macvlan: undefined | AddLinkMacvlanMacvtapTypeArgs;
    macvtap: undefined | AddLinkMacvlanMacvtapTypeArgs;
    netdevsim: undefined | true;
    nlmon: undefined | true;
    rmnet: undefined | AddLinkRmnetTypeArgs;
    sit: undefined | AddLinkIpipSitTypeArgs;
    vcan: undefined | true;
    veth: undefined | AddLinkVethVxcanTypeArgs;
    vlan: undefined | AddLinkVlanTypeArgs;
    vrf: undefined | AddLinkVrfTypeArgs;
    vti: undefined | true;
    vxcan: undefined | AddLinkVethVxcanTypeArgs;
    vxlan: undefined | AddLinkVxlanTypeArgs;
    xfrm: undefined | AddLinkXfrmTypeArgs;
}

Specifies the type of the new device.

Type declaration

Generated using TypeDoc