Class: Nl::Linux::OvsFlow::AttributeSets::NatAttrs
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
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
2364
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2364
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
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
2329
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2329
def dst; self[:"dst"]&.value; end
|
#ip_max ⇒ String
2337
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2337
def ip_max; self[:"ip_max"]&.value; end
|
#ip_min ⇒ String
2333
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2333
def ip_min; self[:"ip_min"]&.value; end
|
#persistent ⇒ Integer
2349
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2349
def persistent; self[:"persistent"]&.value; end
|
#proto_hash ⇒ Integer
2353
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2353
def proto_hash; self[:"proto_hash"]&.value; end
|
#proto_max ⇒ Integer
2345
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2345
def proto_max; self[:"proto_max"]&.value; end
|
#proto_min ⇒ Integer
2341
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2341
def proto_min; self[:"proto_min"]&.value; end
|
#proto_random ⇒ Integer
2357
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2357
def proto_random; self[:"proto_random"]&.value; end
|
#src ⇒ Integer
2325
|
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2325
def src; self[:"src"]&.value; end
|