Class: Nl::Linux::OvsFlow::AttributeSets::CtAttrs

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

Defined Under Namespace

Classes: Attribute, Commit, Eventmask, ForceCommit, Helper, Labels, Mark, Nat, Timeout, Zone

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:



2233
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2233

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2239
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2239

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

Instance Method Details

#commit ⇒ Integer

Returns:

  • (Integer)

See Also:



2194
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2194

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

#eventmask ⇒ Integer

Returns:

  • (Integer)

See Also:



2222
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2222

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

#force_commit ⇒ Integer

Returns:

  • (Integer)

See Also:



2218
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2218

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

#helper ⇒ String

Returns:

  • (String)

See Also:



2210
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2210

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

#labels ⇒ String

Returns:

  • (String)

See Also:



2206
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2206

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

#mark ⇒ String

Returns:

  • (String)

See Also:



2202
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2202

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

#nat ⇒ AttributeSets::NatAttrs

Returns:

See Also:



2214
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2214

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

#timeout ⇒ String

Returns:

  • (String)

See Also:



2226
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2226

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

#zone ⇒ Integer

Returns:

  • (Integer)

See Also:



2198
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2198

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