Gjsify LogoGjsify Logo

Hierarchy

  • BridgeVlan

Index

Constructors

  • new BridgeVlan(vid_start: number, vid_end: number): BridgeVlan
  • Creates a new #NMBridgeVlan object for the given VLAN id range. Setting vid_end to 0 is equivalent to setting it to vid_start and creates a single-id VLAN.

    Parameters

    • vid_start: number

      the start VLAN id, must be between 1 and 4094.

    • vid_end: number

      the end VLAN id, must be 0 or between vid_start and 4094.

    Returns BridgeVlan

Properties

name: string

Methods

  • get_vid_range(): [boolean, number, number]
  • is_pvid(): boolean
  • is_sealed(): boolean
  • is_untagged(): boolean
  • seal(): void
  • Seal the #NMBridgeVlan instance. Afterwards, it is a bug to call all functions that modify the instance (except ref/unref). A sealed instance cannot be unsealed again, but you can create an unsealed copy with nm_bridge_vlan_new_clone().

    Returns void

  • set_pvid(value: boolean): void
  • Change the value of the PVID property of the VLAN. It is invalid to set the value to %TRUE for non-single-id VLANs.

    Parameters

    • value: boolean

      the new value

    Returns void

  • set_untagged(value: boolean): void
  • Change the value of the untagged property of the VLAN.

    Parameters

    • value: boolean

      the new value

    Returns void

  • to_str(): string
  • unref(): void
  • Decreases the reference count of the object. If the reference count reaches zero the object will be destroyed.

    Returns void

  • Parses the string representation of the queueing discipline to a %NMBridgeVlan instance.

    Parameters

    • str: string

      the string representation of a bridge VLAN

    Returns BridgeVlan

  • new(vid_start: number, vid_end: number): BridgeVlan
  • Creates a new #NMBridgeVlan object for the given VLAN id range. Setting vid_end to 0 is equivalent to setting it to vid_start and creates a single-id VLAN.

    Parameters

    • vid_start: number

      the start VLAN id, must be between 1 and 4094.

    • vid_end: number

      the end VLAN id, must be 0 or between vid_start and 4094.

    Returns BridgeVlan

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method