Class: Nl::Linux::OvsFlow::AttributeSets::NatAttrs

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

Defined Under Namespace

Classes: Attribute, Dst, IpMax, IpMin, Persistent, ProtoHash, ProtoMax, ProtoMin, ProtoRandom, Src

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#dst ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ip_max ⇒ String

Returns:

  • (String)

See Also:



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

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

#ip_min ⇒ String

Returns:

  • (String)

See Also:



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

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

#persistent ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_hash ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_min ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_random ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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