Class: Nl::Linux::RtLink::AttributeSets::VfinfoAttrs

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Defined Under Namespace

Classes: Attribute, Broadcast, IbNodeGuid, IbPortGuid, LinkState, Mac, Rate, RssQueryEn, Spoofchk, Stats, Trust, TxRate, Vlan, VlanList

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



2153
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2153

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2159
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2159

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#broadcast ⇒ String

Returns:

  • (String)

See Also:



2146
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2146

def broadcast; self[:"broadcast"]&.value; end

#ib_node_guid ⇒ Structs::IflaVfGuid

Returns:

See Also:



2134
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2134

def ib_node_guid; self[:"ib_node_guid"]&.value; end

#ib_port_guid ⇒ Structs::IflaVfGuid

Returns:

See Also:



2138
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2138

def ib_port_guid; self[:"ib_port_guid"]&.value; end

Returns:

See Also:



2114
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2114

def link_state; self[:"link_state"]&.value; end

#mac ⇒ Structs::IflaVfMac

Returns:

See Also:



2098
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2098

def mac; self[:"mac"]&.value; end

#rate ⇒ Structs::IflaVfRate

Returns:

See Also:



2118
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2118

def rate; self[:"rate"]&.value; end

#rss_query_en ⇒ Structs::IflaVfRssQueryEn

Returns:

See Also:



2122
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2122

def rss_query_en; self[:"rss_query_en"]&.value; end

#spoofchk ⇒ Structs::IflaVfSpoofchk

Returns:

See Also:



2110
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2110

def spoofchk; self[:"spoofchk"]&.value; end

#stats ⇒ AttributeSets::VfStatsAttrs

Returns:

See Also:



2126
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2126

def stats; self[:"stats"]&.value; end

#trust ⇒ Structs::IflaVfTrust

Returns:

See Also:



2130
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2130

def trust; self[:"trust"]&.value; end

#tx_rate ⇒ Structs::IflaVfTxRate

Returns:

See Also:



2106
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2106

def tx_rate; self[:"tx_rate"]&.value; end

#vlan ⇒ Structs::IflaVfVlan

Returns:

See Also:



2102
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2102

def vlan; self[:"vlan"]&.value; end

#vlan_list ⇒ AttributeSets::VfVlanAttrs

Returns:

See Also:



2142
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2142

def vlan_list; self[:"vlan_list"]&.value; end