Class: Nl::Linux::OvsDatapath::AttributeSets::Datapath
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::OvsDatapath::AttributeSets::Datapath
- Defined in:
- nl-linux/generated/nl/linux/ovs_datapath.rb
Defined Under Namespace
Classes: Attribute, Ifindex, MasksCacheSize, MegaflowStats, Name, PerCpuPids, Stats, UpcallPid, UserFeatures
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #ifindex ⇒ Integer
- #masks_cache_size ⇒ Integer
- #megaflow_stats ⇒ Structs::OvsDpMegaflowStats
- #name ⇒ String
- #per_cpu_pids ⇒ Array<Integer>
- #stats ⇒ Structs::OvsDpStats
-
#upcall_pid ⇒ Integer
upcall pid.
-
#user_features ⇒ Integer
Known flags are defined in Flags::UserFeatures.
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.
256 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 256 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
262 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 262 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#ifindex ⇒ Integer
249 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 249 def ifindex; self[:"ifindex"]&.value; end |
#masks_cache_size ⇒ Integer
241 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 241 def masks_cache_size; self[:"masks_cache_size"]&.value; end |
#megaflow_stats ⇒ Structs::OvsDpMegaflowStats
232 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 232 def megaflow_stats; self[:"megaflow_stats"]&.value; end |
#name ⇒ String
219 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 219 def name; self[:"name"]&.value; end |
#per_cpu_pids ⇒ Array<Integer>
245 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 245 def per_cpu_pids; self[:"per_cpu_pids"]&.value; end |
#stats ⇒ Structs::OvsDpStats
228 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 228 def stats; self[:"stats"]&.value; end |
#upcall_pid ⇒ Integer
upcall pid
224 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 224 def upcall_pid; self[:"upcall_pid"]&.value; end |
#user_features ⇒ Integer
Known flags are defined in Flags::UserFeatures.
237 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 237 def user_features; self[:"user_features"]&.value; end |