Class: Nl::Linux::OvsVport::AttributeSets::Vport
Defined Under Namespace
Classes: Attribute, Ifindex, Name, Netnsid, Options, PortNo, Stats, Type, UpcallPid, UpcallStats
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.
329
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 329
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
335
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 335
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#ifindex ⇒ Integer
314
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 314
def ifindex; self[:"ifindex"]&.value; end
|
#name ⇒ String
298
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 298
def name; self[:"name"]&.value; end
|
#netnsid ⇒ Integer
318
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 318
def netnsid; self[:"netnsid"]&.value; end
|
302
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 302
def options; self[:"options"]&.value; end
|
#port_no ⇒ Integer
289
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 289
def port_no; self[:"port_no"]&.value; end
|
310
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 310
def stats; self[:"stats"]&.value; end
|
#type ⇒ Integer
294
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 294
def type; self[:"type"]&.value; end
|
#upcall_pid ⇒ Array<Integer>
306
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 306
def upcall_pid; self[:"upcall_pid"]&.value; end
|
322
|
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 322
def upcall_stats; self[:"upcall_stats"]&.value; end
|