Gjsify LogoGjsify Logo

Hierarchy

  • SriovVF

Index

Constructors

  • new SriovVF(index: number): SriovVF

Properties

name: string

Methods

  • add_vlan(vlan_id: number): boolean
  • Adds a VLAN to the VF. Currently kernel only supports one VLAN per VF.

    Parameters

    • vlan_id: number

      the VLAN id

    Returns boolean

  • Determines if two #NMSriovVF objects have the same index, attributes and VLANs.

    Parameters

    • other: SriovVF

      the #NMSriovVF to compare vf to.

    Returns boolean

  • get_attribute_names(): string[]
  • get_index(): number
  • get_vlan_ids(): number[]
  • Returns the VLANs currently configured on the VF. Currently kernel only supports one VLAN per VF.

    Returns number[]

  • get_vlan_qos(vlan_id: number): number
  • ref(): void
  • remove_vlan(vlan_id: number): boolean
  • set_vlan_qos(vlan_id: number, qos: number): void
  • Sets a QoS value for the given VLAN.

    Parameters

    • vlan_id: number

      the VLAN id

    • qos: number

      a QoS (priority) value

    Returns void

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

    Returns void

  • attribute_validate(name: string, value: GLib.Variant): [boolean, boolean]
  • Validates a VF attribute, i.e. checks that the attribute is a known one, the value is of the correct type and well-formed.

    Parameters

    • name: string

      the attribute name

    • value: GLib.Variant

      the attribute value

    Returns [boolean, boolean]

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