Gjsify LogoGjsify Logo

Hierarchy

  • SriovVF

Index

Constructors

  • new SriovVF(index: number): SriovVF

Properties

name: string

Methods

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

    Parameters

    • vlanId: 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

  • Gets the value of the attribute with name name on vf

    Parameters

    • name: string

      the name of a VF attribute

    Returns GLib.Variant

  • getAttributeNames(): string[]
  • Gets an array of attribute names defined on vf.

    Returns string[]

  • getIndex(): number
  • Gets the index property of this VF object.

    Returns number

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

    Returns number[]

  • getVlanQos(vlanId: number): number
  • Returns the QoS value for the given VLAN.

    Parameters

    • vlanId: number

      the VLAN id

    Returns number

  • ref(): void
  • Increases the reference count of the object.

    Returns void

  • removeVlan(vlanId: number): boolean
  • Removes a VLAN from a VF.

    Parameters

    • vlanId: number

      the VLAN id

    Returns boolean

  • Sets the named attribute on vf to the given value.

    Parameters

    • name: string

      the name of a route attribute

    • value: GLib.Variant

      the value

    Returns void

  • setVlanQos(vlanId: number, qos: number): void
  • Sets a QoS value for the given VLAN.

    Parameters

    • vlanId: 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

  • attributeValidate(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