Class: Nl::Linux::Devlink
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Devlink
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Overview
Partial family for Devlink.
Defined Under Namespace
Modules: AttributeSets, Constants, Enums, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"devlink"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_dpipe_entries_get(**args) ⇒ Messages::DoDpipeEntriesGetReply
Get dpipe entries attributes.
-
#do_dpipe_headers_get(**args) ⇒ Messages::DoDpipeHeadersGetReply
Get dpipe headers attributes.
-
#do_dpipe_table_counters_set(**args) ⇒ void
Set dpipe counter attributes.
-
#do_dpipe_table_get(**args) ⇒ Messages::DoDpipeTableGetReply
Get dpipe table attributes.
-
#do_eswitch_get(**args) ⇒ Messages::DoEswitchGetReply
Get eswitch attributes.
-
#do_eswitch_set(**args) ⇒ void
Set eswitch attributes.
-
#do_flash_update(**args) ⇒ void
Flash update devlink instances.
-
#do_get(**args) ⇒ Messages::DoGetReply
Get devlink instances.
-
#do_health_reporter_diagnose(**args) ⇒ void
Diagnose health reporter instances.
-
#do_health_reporter_dump_clear(**args) ⇒ void
Clear dump of health reporter instances.
-
#do_health_reporter_get(**args) ⇒ Messages::DoHealthReporterGetReply
Get health reporter instances.
-
#do_health_reporter_recover(**args) ⇒ void
Recover health reporter instances.
-
#do_health_reporter_set(**args) ⇒ void
Set health reporter instances.
-
#do_health_reporter_test(**args) ⇒ void
Test health reporter instances.
-
#do_info_get(**args) ⇒ Messages::DoInfoGetReply
Get device information, like driver name, hardware and firmware versions etc.
-
#do_linecard_get(**args) ⇒ Messages::DoLinecardGetReply
Get line card instances.
-
#do_linecard_set(**args) ⇒ void
Set line card instances.
-
#do_notify_filter_set(**args) ⇒ void
Set notification messages socket filter.
-
#do_param_get(**args) ⇒ Messages::DoParamGetReply
Get param instances.
-
#do_param_set(**args) ⇒ void
Set param instances.
-
#do_port_del(**args) ⇒ void
Delete devlink port instances.
-
#do_port_get(**args) ⇒ Messages::DoPortGetReply
Get devlink port instances.
-
#do_port_new(**args) ⇒ Messages::DoPortNewReply
Create devlink port instances.
-
#do_port_param_get(**args) ⇒ Messages::DoPortParamGetReply
Get port param instances.
-
#do_port_param_set(**args) ⇒ void
Set port param instances.
-
#do_port_set(**args) ⇒ void
Set devlink port instances.
-
#do_port_split(**args) ⇒ void
Split devlink port instances.
-
#do_port_unsplit(**args) ⇒ void
Unplit devlink port instances.
-
#do_rate_del(**args) ⇒ void
Delete rate instances.
-
#do_rate_get(**args) ⇒ Messages::DoRateGetReply
Get rate instances.
-
#do_rate_new(**args) ⇒ void
Create rate instances.
-
#do_rate_set(**args) ⇒ void
Set rate instances.
-
#do_region_del(**args) ⇒ void
Delete region snapshot.
-
#do_region_get(**args) ⇒ Messages::DoRegionGetReply
Get region instances.
-
#do_region_new(**args) ⇒ Messages::DoRegionNewReply
Create region snapshot.
-
#do_reload(**args) ⇒ Messages::DoReloadReply
Reload devlink.
-
#do_resource_dump(**args) ⇒ Messages::DoResourceDumpReply
Get resource attributes.
-
#do_resource_set(**args) ⇒ void
Set resource attributes.
-
#do_sb_get(**args) ⇒ Messages::DoSbGetReply
Get shared buffer instances.
-
#do_sb_occ_max_clear(**args) ⇒ void
Clear occupancy watermarks of shared buffer.
-
#do_sb_occ_snapshot(**args) ⇒ void
Take occupancy snapshot of shared buffer.
-
#do_sb_pool_get(**args) ⇒ Messages::DoSbPoolGetReply
Get shared buffer pool instances.
-
#do_sb_pool_set(**args) ⇒ void
Set shared buffer pool instances.
-
#do_sb_port_pool_get(**args) ⇒ Messages::DoSbPortPoolGetReply
Get shared buffer port-pool combinations and threshold.
-
#do_sb_port_pool_set(**args) ⇒ void
Set shared buffer port-pool combinations and threshold.
-
#do_sb_tc_pool_bind_get(**args) ⇒ Messages::DoSbTcPoolBindGetReply
Get shared buffer port-TC to pool bindings and threshold.
-
#do_sb_tc_pool_bind_set(**args) ⇒ void
Set shared buffer port-TC to pool bindings and threshold.
-
#do_selftests_get(**args) ⇒ Messages::DoSelftestsGetReply
Get device selftest instances.
-
#do_selftests_run(**args) ⇒ void
Run device selftest instances.
-
#do_trap_get(**args) ⇒ Messages::DoTrapGetReply
Get trap instances.
-
#do_trap_group_get(**args) ⇒ Messages::DoTrapGroupGetReply
Get trap group instances.
-
#do_trap_group_set(**args) ⇒ void
Set trap group instances.
-
#do_trap_policer_get(**args) ⇒ Messages::DoTrapPolicerGetReply
Get trap policer instances.
-
#do_trap_policer_set(**args) ⇒ void
Get trap policer instances.
-
#do_trap_set(**args) ⇒ void
Set trap instances.
-
#dump_get(**args, &block) ⇒ Object
Get devlink instances.
-
#dump_health_reporter_dump_get(**args, &block) ⇒ Object
Dump health reporter instances.
-
#dump_health_reporter_get(**args, &block) ⇒ Object
Get health reporter instances.
-
#dump_info_get(**args, &block) ⇒ Object
Get device information, like driver name, hardware and firmware versions etc.
-
#dump_linecard_get(**args, &block) ⇒ Object
Get line card instances.
-
#dump_param_get(**args, &block) ⇒ Object
Get param instances.
-
#dump_port_get(**args, &block) ⇒ Object
Get devlink port instances.
-
#dump_port_param_get(**args, &block) ⇒ Object
Get port param instances.
-
#dump_rate_get(**args, &block) ⇒ Object
Get rate instances.
-
#dump_region_get(**args, &block) ⇒ Object
Get region instances.
-
#dump_region_read(**args, &block) ⇒ Object
Read region data.
-
#dump_resource_dump(**args, &block) ⇒ Object
Get resource attributes.
-
#dump_sb_get(**args, &block) ⇒ Object
Get shared buffer instances.
-
#dump_sb_pool_get(**args, &block) ⇒ Object
Get shared buffer pool instances.
-
#dump_sb_port_pool_get(**args, &block) ⇒ Object
Get shared buffer port-pool combinations and threshold.
-
#dump_sb_tc_pool_bind_get(**args, &block) ⇒ Object
Get shared buffer port-TC to pool bindings and threshold.
-
#dump_selftests_get(**args, &block) ⇒ Object
Get device selftest instances.
-
#dump_trap_get(**args, &block) ⇒ Object
Get trap instances.
-
#dump_trap_group_get(**args, &block) ⇒ Object
Get trap group instances.
-
#dump_trap_policer_get(**args, &block) ⇒ Object
Get trap policer instances.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Devlink .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
10150 10151 10152 10153 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10150 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_dpipe_entries_get(**args) ⇒ Messages::DoDpipeEntriesGetReply
Get dpipe entries attributes.
8283 8284 8285 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8283 def do_dpipe_entries_get(**args) (:"do", Messages::DoDpipeEntriesGetRequest, Messages::DoDpipeEntriesGetReply, args) end |
#do_dpipe_headers_get(**args) ⇒ Messages::DoDpipeHeadersGetReply
Get dpipe headers attributes.
8294 8295 8296 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8294 def do_dpipe_headers_get(**args) (:"do", Messages::DoDpipeHeadersGetRequest, Messages::DoDpipeHeadersGetReply, args) end |
#do_dpipe_table_counters_set(**args) ⇒ void
This method returns an undefined value.
Set dpipe counter attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
8309 8310 8311 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8309 def do_dpipe_table_counters_set(**args) (:"do", Messages::DoDpipeTableCountersSetRequest, nil, args) end |
#do_dpipe_table_get(**args) ⇒ Messages::DoDpipeTableGetReply
Get dpipe table attributes.
8271 8272 8273 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8271 def do_dpipe_table_get(**args) (:"do", Messages::DoDpipeTableGetRequest, Messages::DoDpipeTableGetReply, args) end |
#do_eswitch_get(**args) ⇒ Messages::DoEswitchGetReply
Get eswitch attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
8243 8244 8245 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8243 def do_eswitch_get(**args) (:"do", Messages::DoEswitchGetRequest, Messages::DoEswitchGetReply, args) end |
#do_eswitch_set(**args) ⇒ void
This method returns an undefined value.
Set eswitch attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
8259 8260 8261 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8259 def do_eswitch_set(**args) (:"do", Messages::DoEswitchSetRequest, nil, args) end |
#do_flash_update(**args) ⇒ void
This method returns an undefined value.
Flash update devlink instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8760 8761 8762 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8760 def do_flash_update(**args) (:"do", Messages::DoFlashUpdateRequest, nil, args) end |
#do_get(**args) ⇒ Messages::DoGetReply
Get devlink instances.
7880 7881 7882 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7880 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#do_health_reporter_diagnose(**args) ⇒ void
This method returns an undefined value.
Diagnose health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8701 8702 8703 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8701 def do_health_reporter_diagnose(**args) (:"do", Messages::DoHealthReporterDiagnoseRequest, nil, args) end |
#do_health_reporter_dump_clear(**args) ⇒ void
This method returns an undefined value.
Clear dump of health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8744 8745 8746 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8744 def do_health_reporter_dump_clear(**args) (:"do", Messages::DoHealthReporterDumpClearRequest, nil, args) end |
#do_health_reporter_get(**args) ⇒ Messages::DoHealthReporterGetReply
Get health reporter instances.
8628 8629 8630 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8628 def do_health_reporter_get(**args) (:"do", Messages::DoHealthReporterGetRequest, Messages::DoHealthReporterGetReply, args) end |
#do_health_reporter_recover(**args) ⇒ void
This method returns an undefined value.
Recover health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8686 8687 8688 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8686 def do_health_reporter_recover(**args) (:"do", Messages::DoHealthReporterRecoverRequest, nil, args) end |
#do_health_reporter_set(**args) ⇒ void
This method returns an undefined value.
Set health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8671 8672 8673 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8671 def do_health_reporter_set(**args) (:"do", Messages::DoHealthReporterSetRequest, nil, args) end |
#do_health_reporter_test(**args) ⇒ void
This method returns an undefined value.
Test health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8924 8925 8926 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8924 def do_health_reporter_test(**args) (:"do", Messages::DoHealthReporterTestRequest, nil, args) end |
#do_info_get(**args) ⇒ Messages::DoInfoGetReply
Get device information, like driver name, hardware and firmware versions etc.
8598 8599 8600 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8598 def do_info_get(**args) (:"do", Messages::DoInfoGetRequest, Messages::DoInfoGetReply, args) end |
#do_linecard_get(**args) ⇒ Messages::DoLinecardGetReply
Get line card instances.
9025 9026 9027 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9025 def do_linecard_get(**args) (:"do", Messages::DoLinecardGetRequest, Messages::DoLinecardGetReply, args) end |
#do_linecard_set(**args) ⇒ void
This method returns an undefined value.
Set line card instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9062 9063 9064 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9062 def do_linecard_set(**args) (:"do", Messages::DoLinecardSetRequest, nil, args) end |
#do_notify_filter_set(**args) ⇒ void
This method returns an undefined value.
Set notification messages socket filter.
9115 9116 9117 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9115 def do_notify_filter_set(**args) (:"do", Messages::DoNotifyFilterSetRequest, nil, args) end |
#do_param_get(**args) ⇒ Messages::DoParamGetReply
Get param instances.
8402 8403 8404 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8402 def do_param_get(**args) (:"do", Messages::DoParamGetRequest, Messages::DoParamGetReply, args) end |
#do_param_set(**args) ⇒ void
This method returns an undefined value.
Set param instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8441 8442 8443 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8441 def do_param_set(**args) (:"do", Messages::DoParamSetRequest, nil, args) end |
#do_port_del(**args) ⇒ void
This method returns an undefined value.
Delete devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
7978 7979 7980 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7978 def do_port_del(**args) (:"do", Messages::DoPortDelRequest, nil, args) end |
#do_port_get(**args) ⇒ Messages::DoPortGetReply
Get devlink port instances.
7908 7909 7910 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7908 def do_port_get(**args) (:"do", Messages::DoPortGetRequest, Messages::DoPortGetReply, args) end |
#do_port_new(**args) ⇒ Messages::DoPortNewReply
Create devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
7964 7965 7966 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7964 def do_port_new(**args) (:"do", Messages::DoPortNewRequest, Messages::DoPortNewReply, args) end |
#do_port_param_get(**args) ⇒ Messages::DoPortParamGetReply
Get port param instances.
8556 8557 8558 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8556 def do_port_param_get(**args) (:"do", Messages::DoPortParamGetRequest, Messages::DoPortParamGetReply, args) end |
#do_port_param_set(**args) ⇒ void
This method returns an undefined value.
Set port param instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8586 8587 8588 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8586 def do_port_param_set(**args) (:"do", Messages::DoPortParamSetRequest, nil, args) end |
#do_port_set(**args) ⇒ void
This method returns an undefined value.
Set devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
7946 7947 7948 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7946 def do_port_set(**args) (:"do", Messages::DoPortSetRequest, nil, args) end |
#do_port_split(**args) ⇒ void
This method returns an undefined value.
Split devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
7993 7994 7995 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7993 def do_port_split(**args) (:"do", Messages::DoPortSplitRequest, nil, args) end |
#do_port_unsplit(**args) ⇒ void
This method returns an undefined value.
Unplit devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8007 8008 8009 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8007 def do_port_unsplit(**args) (:"do", Messages::DoPortUnsplitRequest, nil, args) end |
#do_rate_del(**args) ⇒ void
This method returns an undefined value.
Delete rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9013 9014 9015 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9013 def do_rate_del(**args) (:"do", Messages::DoRateDelRequest, nil, args) end |
#do_rate_get(**args) ⇒ Messages::DoRateGetReply
Get rate instances.
8937 8938 8939 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8937 def do_rate_get(**args) (:"do", Messages::DoRateGetRequest, Messages::DoRateGetReply, args) end |
#do_rate_new(**args) ⇒ void
This method returns an undefined value.
Create rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8999 9000 9001 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8999 def do_rate_new(**args) (:"do", Messages::DoRateNewRequest, nil, args) end |
#do_rate_set(**args) ⇒ void
This method returns an undefined value.
Set rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8979 8980 8981 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8979 def do_rate_set(**args) (:"do", Messages::DoRateSetRequest, nil, args) end |
#do_region_del(**args) ⇒ void
This method returns an undefined value.
Delete region snapshot.
Requires CAP_NET_ADMIN in the initial user namespace.
8508 8509 8510 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8508 def do_region_del(**args) (:"do", Messages::DoRegionDelRequest, nil, args) end |
#do_region_get(**args) ⇒ Messages::DoRegionGetReply
Get region instances.
8454 8455 8456 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8454 def do_region_get(**args) (:"do", Messages::DoRegionGetRequest, Messages::DoRegionGetReply, args) end |
#do_region_new(**args) ⇒ Messages::DoRegionNewReply
Create region snapshot.
Requires CAP_NET_ADMIN in the initial user namespace.
8492 8493 8494 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8492 def do_region_new(**args) (:"do", Messages::DoRegionNewRequest, Messages::DoRegionNewReply, args) end |
#do_reload(**args) ⇒ Messages::DoReloadReply
Reload devlink.
Requires CAP_NET_ADMIN in the initial user namespace.
8390 8391 8392 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8390 def do_reload(**args) (:"do", Messages::DoReloadRequest, Messages::DoReloadReply, args) end |
#do_resource_dump(**args) ⇒ Messages::DoResourceDumpReply
Get resource attributes.
8336 8337 8338 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8336 def do_resource_dump(**args) (:"do", Messages::DoResourceDumpRequest, Messages::DoResourceDumpReply, args) end |
#do_resource_set(**args) ⇒ void
This method returns an undefined value.
Set resource attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
8324 8325 8326 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8324 def do_resource_set(**args) (:"do", Messages::DoResourceSetRequest, nil, args) end |
#do_sb_get(**args) ⇒ Messages::DoSbGetReply
Get shared buffer instances.
8019 8020 8021 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8019 def do_sb_get(**args) (:"do", Messages::DoSbGetRequest, Messages::DoSbGetReply, args) end |
#do_sb_occ_max_clear(**args) ⇒ void
This method returns an undefined value.
Clear occupancy watermarks of shared buffer.
Requires CAP_NET_ADMIN in the initial user namespace.
8230 8231 8232 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8230 def do_sb_occ_max_clear(**args) (:"do", Messages::DoSbOccMaxClearRequest, nil, args) end |
#do_sb_occ_snapshot(**args) ⇒ void
This method returns an undefined value.
Take occupancy snapshot of shared buffer.
Requires CAP_NET_ADMIN in the initial user namespace.
8216 8217 8218 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8216 def do_sb_occ_snapshot(**args) (:"do", Messages::DoSbOccSnapshotRequest, nil, args) end |
#do_sb_pool_get(**args) ⇒ Messages::DoSbPoolGetReply
Get shared buffer pool instances.
8054 8055 8056 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8054 def do_sb_pool_get(**args) (:"do", Messages::DoSbPoolGetRequest, Messages::DoSbPoolGetReply, args) end |
#do_sb_pool_set(**args) ⇒ void
This method returns an undefined value.
Set shared buffer pool instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8093 8094 8095 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8093 def do_sb_pool_set(**args) (:"do", Messages::DoSbPoolSetRequest, nil, args) end |
#do_sb_port_pool_get(**args) ⇒ Messages::DoSbPortPoolGetReply
Get shared buffer port-pool combinations and threshold.
8107 8108 8109 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8107 def do_sb_port_pool_get(**args) (:"do", Messages::DoSbPortPoolGetRequest, Messages::DoSbPortPoolGetReply, args) end |
#do_sb_port_pool_set(**args) ⇒ void
This method returns an undefined value.
Set shared buffer port-pool combinations and threshold.
Requires CAP_NET_ADMIN in the initial user namespace.
8146 8147 8148 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8146 def do_sb_port_pool_set(**args) (:"do", Messages::DoSbPortPoolSetRequest, nil, args) end |
#do_sb_tc_pool_bind_get(**args) ⇒ Messages::DoSbTcPoolBindGetReply
Get shared buffer port-TC to pool bindings and threshold.
8161 8162 8163 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8161 def do_sb_tc_pool_bind_get(**args) (:"do", Messages::DoSbTcPoolBindGetRequest, Messages::DoSbTcPoolBindGetReply, args) end |
#do_sb_tc_pool_bind_set(**args) ⇒ void
This method returns an undefined value.
Set shared buffer port-TC to pool bindings and threshold.
Requires CAP_NET_ADMIN in the initial user namespace.
8202 8203 8204 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8202 def do_sb_tc_pool_bind_set(**args) (:"do", Messages::DoSbTcPoolBindSetRequest, nil, args) end |
#do_selftests_get(**args) ⇒ Messages::DoSelftestsGetReply
Get device selftest instances.
9073 9074 9075 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9073 def do_selftests_get(**args) (:"do", Messages::DoSelftestsGetRequest, Messages::DoSelftestsGetReply, args) end |
#do_selftests_run(**args) ⇒ void
This method returns an undefined value.
Run device selftest instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9103 9104 9105 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9103 def do_selftests_run(**args) (:"do", Messages::DoSelftestsRunRequest, nil, args) end |
#do_trap_get(**args) ⇒ Messages::DoTrapGetReply
Get trap instances.
8772 8773 8774 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8772 def do_trap_get(**args) (:"do", Messages::DoTrapGetRequest, Messages::DoTrapGetReply, args) end |
#do_trap_group_get(**args) ⇒ Messages::DoTrapGroupGetReply
Get trap group instances.
8821 8822 8823 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8821 def do_trap_group_get(**args) (:"do", Messages::DoTrapGroupGetRequest, Messages::DoTrapGroupGetReply, args) end |
#do_trap_group_set(**args) ⇒ void
This method returns an undefined value.
Set trap group instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8859 8860 8861 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8859 def do_trap_group_set(**args) (:"do", Messages::DoTrapGroupSetRequest, nil, args) end |
#do_trap_policer_get(**args) ⇒ Messages::DoTrapPolicerGetReply
Get trap policer instances.
8871 8872 8873 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8871 def do_trap_policer_get(**args) (:"do", Messages::DoTrapPolicerGetRequest, Messages::DoTrapPolicerGetReply, args) end |
#do_trap_policer_set(**args) ⇒ void
This method returns an undefined value.
Get trap policer instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8909 8910 8911 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8909 def do_trap_policer_set(**args) (:"do", Messages::DoTrapPolicerSetRequest, nil, args) end |
#do_trap_set(**args) ⇒ void
This method returns an undefined value.
Set trap instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8809 8810 8811 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8809 def do_trap_set(**args) (:"do", Messages::DoTrapSetRequest, nil, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Get devlink instances.
7896 7897 7898 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7896 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |
#dump_health_reporter_dump_get(**args) ⇒ Array<Messages::DumpHealthReporterDumpGetReply> #dump_health_reporter_dump_get(**args) {|reply| ... } ⇒ void
Dump health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
8729 8730 8731 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8729 def dump_health_reporter_dump_get(**args, &block) (:"dump", Messages::DumpHealthReporterDumpGetRequest, Messages::DumpHealthReporterDumpGetReply, args, &block) end |
#dump_health_reporter_get(**args) ⇒ Array<Messages::DumpHealthReporterGetReply> #dump_health_reporter_get(**args) {|reply| ... } ⇒ void
Get health reporter instances.
8652 8653 8654 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8652 def dump_health_reporter_get(**args, &block) (:"dump", Messages::DumpHealthReporterGetRequest, Messages::DumpHealthReporterGetReply, args, &block) end |
#dump_info_get(**args) ⇒ Array<Messages::DumpInfoGetReply> #dump_info_get(**args) {|reply| ... } ⇒ void
Get device information, like driver name, hardware and firmware versions etc.
8615 8616 8617 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8615 def dump_info_get(**args, &block) (:"dump", Messages::DumpInfoGetRequest, Messages::DumpInfoGetReply, args, &block) end |
#dump_linecard_get(**args) ⇒ Array<Messages::DumpLinecardGetReply> #dump_linecard_get(**args) {|reply| ... } ⇒ void
Get line card instances.
9047 9048 9049 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9047 def dump_linecard_get(**args, &block) (:"dump", Messages::DumpLinecardGetRequest, Messages::DumpLinecardGetReply, args, &block) end |
#dump_param_get(**args) ⇒ Array<Messages::DumpParamGetReply> #dump_param_get(**args) {|reply| ... } ⇒ void
Get param instances.
8424 8425 8426 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8424 def dump_param_get(**args, &block) (:"dump", Messages::DumpParamGetRequest, Messages::DumpParamGetReply, args, &block) end |
#dump_port_get(**args) ⇒ Array<Messages::DumpPortGetReply> #dump_port_get(**args) {|reply| ... } ⇒ void
Get devlink port instances.
7930 7931 7932 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 7930 def dump_port_get(**args, &block) (:"dump", Messages::DumpPortGetRequest, Messages::DumpPortGetReply, args, &block) end |
#dump_port_param_get(**args) ⇒ Array<Messages::DumpPortParamGetReply> #dump_port_param_get(**args) {|reply| ... } ⇒ void
Get port param instances.
8572 8573 8574 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8572 def dump_port_param_get(**args, &block) (:"dump", Messages::DumpPortParamGetRequest, Messages::DumpPortParamGetReply, args, &block) end |
#dump_rate_get(**args) ⇒ Array<Messages::DumpRateGetReply> #dump_rate_get(**args) {|reply| ... } ⇒ void
Get rate instances.
8959 8960 8961 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8959 def dump_rate_get(**args, &block) (:"dump", Messages::DumpRateGetRequest, Messages::DumpRateGetReply, args, &block) end |
#dump_region_get(**args) ⇒ Array<Messages::DumpRegionGetReply> #dump_region_get(**args) {|reply| ... } ⇒ void
Get region instances.
8476 8477 8478 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8476 def dump_region_get(**args, &block) (:"dump", Messages::DumpRegionGetRequest, Messages::DumpRegionGetReply, args, &block) end |
#dump_region_read(**args) ⇒ Array<Messages::DumpRegionReadReply> #dump_region_read(**args) {|reply| ... } ⇒ void
Read region data.
Requires CAP_NET_ADMIN in the initial user namespace.
8544 8545 8546 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8544 def dump_region_read(**args, &block) (:"dump", Messages::DumpRegionReadRequest, Messages::DumpRegionReadReply, args, &block) end |
#dump_resource_dump(**args) ⇒ Array<Messages::DumpResourceDumpReply> #dump_resource_dump(**args) {|reply| ... } ⇒ void
Get resource attributes.
8372 8373 8374 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8372 def dump_resource_dump(**args, &block) (:"dump", Messages::DumpResourceDumpRequest, Messages::DumpResourceDumpReply, args, &block) end |
#dump_sb_get(**args) ⇒ Array<Messages::DumpSbGetReply> #dump_sb_get(**args) {|reply| ... } ⇒ void
Get shared buffer instances.
8041 8042 8043 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8041 def dump_sb_get(**args, &block) (:"dump", Messages::DumpSbGetRequest, Messages::DumpSbGetReply, args, &block) end |
#dump_sb_pool_get(**args) ⇒ Array<Messages::DumpSbPoolGetReply> #dump_sb_pool_get(**args) {|reply| ... } ⇒ void
Get shared buffer pool instances.
8076 8077 8078 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8076 def dump_sb_pool_get(**args, &block) (:"dump", Messages::DumpSbPoolGetRequest, Messages::DumpSbPoolGetReply, args, &block) end |
#dump_sb_port_pool_get(**args) ⇒ Array<Messages::DumpSbPortPoolGetReply> #dump_sb_port_pool_get(**args) {|reply| ... } ⇒ void
Get shared buffer port-pool combinations and threshold.
8129 8130 8131 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8129 def dump_sb_port_pool_get(**args, &block) (:"dump", Messages::DumpSbPortPoolGetRequest, Messages::DumpSbPortPoolGetReply, args, &block) end |
#dump_sb_tc_pool_bind_get(**args) ⇒ Array<Messages::DumpSbTcPoolBindGetReply> #dump_sb_tc_pool_bind_get(**args) {|reply| ... } ⇒ void
Get shared buffer port-TC to pool bindings and threshold.
8183 8184 8185 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8183 def dump_sb_tc_pool_bind_get(**args, &block) (:"dump", Messages::DumpSbTcPoolBindGetRequest, Messages::DumpSbTcPoolBindGetReply, args, &block) end |
#dump_selftests_get(**args) ⇒ Array<Messages::DumpSelftestsGetReply> #dump_selftests_get(**args) {|reply| ... } ⇒ void
Get device selftest instances.
9089 9090 9091 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9089 def dump_selftests_get(**args, &block) (:"dump", Messages::DumpSelftestsGetRequest, Messages::DumpSelftestsGetReply, args, &block) end |
#dump_trap_get(**args) ⇒ Array<Messages::DumpTrapGetReply> #dump_trap_get(**args) {|reply| ... } ⇒ void
Get trap instances.
8794 8795 8796 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8794 def dump_trap_get(**args, &block) (:"dump", Messages::DumpTrapGetRequest, Messages::DumpTrapGetReply, args, &block) end |
#dump_trap_group_get(**args) ⇒ Array<Messages::DumpTrapGroupGetReply> #dump_trap_group_get(**args) {|reply| ... } ⇒ void
Get trap group instances.
8843 8844 8845 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8843 def dump_trap_group_get(**args, &block) (:"dump", Messages::DumpTrapGroupGetRequest, Messages::DumpTrapGroupGetReply, args, &block) end |
#dump_trap_policer_get(**args) ⇒ Array<Messages::DumpTrapPolicerGetReply> #dump_trap_policer_get(**args) {|reply| ... } ⇒ void
Get trap policer instances.
8893 8894 8895 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 8893 def dump_trap_policer_get(**args, &block) (:"dump", Messages::DumpTrapPolicerGetRequest, Messages::DumpTrapPolicerGetReply, args, &block) end |