Class: Nl::Linux::Devlink::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::Devlink::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Instance Method Summary collapse
-
#do_dpipe_entries_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeEntriesGetReply>
Get dpipe entries attributes.
-
#do_dpipe_headers_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeHeadersGetReply>
Get dpipe headers attributes.
-
#do_dpipe_table_counters_set(**args) ⇒ Nl::Async::Future<void>
Set dpipe counter attributes.
-
#do_dpipe_table_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeTableGetReply>
Get dpipe table attributes.
-
#do_eswitch_get(**args) ⇒ Nl::Async::Future<Messages::DoEswitchGetReply>
Get eswitch attributes.
-
#do_eswitch_set(**args) ⇒ Nl::Async::Future<void>
Set eswitch attributes.
-
#do_flash_update(**args) ⇒ Nl::Async::Future<void>
Flash update devlink instances.
-
#do_get(**args) ⇒ Nl::Async::Future<Messages::DoGetReply>
Get devlink instances.
-
#do_health_reporter_diagnose(**args) ⇒ Nl::Async::Future<void>
Diagnose health reporter instances.
-
#do_health_reporter_dump_clear(**args) ⇒ Nl::Async::Future<void>
Clear dump of health reporter instances.
-
#do_health_reporter_get(**args) ⇒ Nl::Async::Future<Messages::DoHealthReporterGetReply>
Get health reporter instances.
-
#do_health_reporter_recover(**args) ⇒ Nl::Async::Future<void>
Recover health reporter instances.
-
#do_health_reporter_set(**args) ⇒ Nl::Async::Future<void>
Set health reporter instances.
-
#do_health_reporter_test(**args) ⇒ Nl::Async::Future<void>
Test health reporter instances.
-
#do_info_get(**args) ⇒ Nl::Async::Future<Messages::DoInfoGetReply>
Get device information, like driver name, hardware and firmware versions etc.
-
#do_linecard_get(**args) ⇒ Nl::Async::Future<Messages::DoLinecardGetReply>
Get line card instances.
-
#do_linecard_set(**args) ⇒ Nl::Async::Future<void>
Set line card instances.
-
#do_notify_filter_set(**args) ⇒ Nl::Async::Future<void>
Set notification messages socket filter.
-
#do_param_get(**args) ⇒ Nl::Async::Future<Messages::DoParamGetReply>
Get param instances.
-
#do_param_set(**args) ⇒ Nl::Async::Future<void>
Set param instances.
-
#do_port_del(**args) ⇒ Nl::Async::Future<void>
Delete devlink port instances.
-
#do_port_get(**args) ⇒ Nl::Async::Future<Messages::DoPortGetReply>
Get devlink port instances.
-
#do_port_new(**args) ⇒ Nl::Async::Future<Messages::DoPortNewReply>
Create devlink port instances.
-
#do_port_param_get(**args) ⇒ Nl::Async::Future<Messages::DoPortParamGetReply>
Get port param instances.
-
#do_port_param_set(**args) ⇒ Nl::Async::Future<void>
Set port param instances.
-
#do_port_set(**args) ⇒ Nl::Async::Future<void>
Set devlink port instances.
-
#do_port_split(**args) ⇒ Nl::Async::Future<void>
Split devlink port instances.
-
#do_port_unsplit(**args) ⇒ Nl::Async::Future<void>
Unplit devlink port instances.
-
#do_rate_del(**args) ⇒ Nl::Async::Future<void>
Delete rate instances.
-
#do_rate_get(**args) ⇒ Nl::Async::Future<Messages::DoRateGetReply>
Get rate instances.
-
#do_rate_new(**args) ⇒ Nl::Async::Future<void>
Create rate instances.
-
#do_rate_set(**args) ⇒ Nl::Async::Future<void>
Set rate instances.
-
#do_region_del(**args) ⇒ Nl::Async::Future<void>
Delete region snapshot.
-
#do_region_get(**args) ⇒ Nl::Async::Future<Messages::DoRegionGetReply>
Get region instances.
-
#do_region_new(**args) ⇒ Nl::Async::Future<Messages::DoRegionNewReply>
Create region snapshot.
-
#do_reload(**args) ⇒ Nl::Async::Future<Messages::DoReloadReply>
Reload devlink.
-
#do_resource_dump(**args) ⇒ Nl::Async::Future<Messages::DoResourceDumpReply>
Get resource attributes.
-
#do_resource_set(**args) ⇒ Nl::Async::Future<void>
Set resource attributes.
-
#do_sb_get(**args) ⇒ Nl::Async::Future<Messages::DoSbGetReply>
Get shared buffer instances.
-
#do_sb_occ_max_clear(**args) ⇒ Nl::Async::Future<void>
Clear occupancy watermarks of shared buffer.
-
#do_sb_occ_snapshot(**args) ⇒ Nl::Async::Future<void>
Take occupancy snapshot of shared buffer.
-
#do_sb_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoSbPoolGetReply>
Get shared buffer pool instances.
-
#do_sb_pool_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer pool instances.
-
#do_sb_port_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoSbPortPoolGetReply>
Get shared buffer port-pool combinations and threshold.
-
#do_sb_port_pool_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer port-pool combinations and threshold.
-
#do_sb_tc_pool_bind_get(**args) ⇒ Nl::Async::Future<Messages::DoSbTcPoolBindGetReply>
Get shared buffer port-TC to pool bindings and threshold.
-
#do_sb_tc_pool_bind_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer port-TC to pool bindings and threshold.
-
#do_selftests_get(**args) ⇒ Nl::Async::Future<Messages::DoSelftestsGetReply>
Get device selftest instances.
-
#do_selftests_run(**args) ⇒ Nl::Async::Future<void>
Run device selftest instances.
-
#do_trap_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapGetReply>
Get trap instances.
-
#do_trap_group_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapGroupGetReply>
Get trap group instances.
-
#do_trap_group_set(**args) ⇒ Nl::Async::Future<void>
Set trap group instances.
-
#do_trap_policer_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapPolicerGetReply>
Get trap policer instances.
-
#do_trap_policer_set(**args) ⇒ Nl::Async::Future<void>
Get trap policer instances.
-
#do_trap_set(**args) ⇒ Nl::Async::Future<void>
Set trap instances.
-
#dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpGetReply>
Get devlink instances.
-
#dump_health_reporter_dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpHealthReporterDumpGetReply>
Dump health reporter instances.
-
#dump_health_reporter_get(**args) ⇒ Nl::Async::Stream<Messages::DumpHealthReporterGetReply>
Get health reporter instances.
-
#dump_info_get(**args) ⇒ Nl::Async::Stream<Messages::DumpInfoGetReply>
Get device information, like driver name, hardware and firmware versions etc.
-
#dump_linecard_get(**args) ⇒ Nl::Async::Stream<Messages::DumpLinecardGetReply>
Get line card instances.
-
#dump_param_get(**args) ⇒ Nl::Async::Stream<Messages::DumpParamGetReply>
Get param instances.
-
#dump_port_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPortGetReply>
Get devlink port instances.
-
#dump_port_param_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPortParamGetReply>
Get port param instances.
-
#dump_rate_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRateGetReply>
Get rate instances.
-
#dump_region_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRegionGetReply>
Get region instances.
-
#dump_region_read(**args) ⇒ Nl::Async::Stream<Messages::DumpRegionReadReply>
Read region data.
-
#dump_resource_dump(**args) ⇒ Nl::Async::Stream<Messages::DumpResourceDumpReply>
Get resource attributes.
-
#dump_sb_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbGetReply>
Get shared buffer instances.
-
#dump_sb_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbPoolGetReply>
Get shared buffer pool instances.
-
#dump_sb_port_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbPortPoolGetReply>
Get shared buffer port-pool combinations and threshold.
-
#dump_sb_tc_pool_bind_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbTcPoolBindGetReply>
Get shared buffer port-TC to pool bindings and threshold.
-
#dump_selftests_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSelftestsGetReply>
Get device selftest instances.
-
#dump_trap_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapGetReply>
Get trap instances.
-
#dump_trap_group_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapGroupGetReply>
Get trap group instances.
-
#dump_trap_policer_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapPolicerGetReply>
Get trap policer instances.
Instance Method Details
#do_dpipe_entries_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeEntriesGetReply>
Get dpipe entries attributes.
9471 9472 9473 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9471 def do_dpipe_entries_get(**args) @exchange.call(:"do", Messages::DoDpipeEntriesGetRequest, Messages::DoDpipeEntriesGetReply, args) end |
#do_dpipe_headers_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeHeadersGetReply>
Get dpipe headers attributes.
9482 9483 9484 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9482 def do_dpipe_headers_get(**args) @exchange.call(:"do", Messages::DoDpipeHeadersGetRequest, Messages::DoDpipeHeadersGetReply, args) end |
#do_dpipe_table_counters_set(**args) ⇒ Nl::Async::Future<void>
Set dpipe counter attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
9497 9498 9499 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9497 def do_dpipe_table_counters_set(**args) @exchange.call(:"do", Messages::DoDpipeTableCountersSetRequest, nil, args) end |
#do_dpipe_table_get(**args) ⇒ Nl::Async::Future<Messages::DoDpipeTableGetReply>
Get dpipe table attributes.
9459 9460 9461 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9459 def do_dpipe_table_get(**args) @exchange.call(:"do", Messages::DoDpipeTableGetRequest, Messages::DoDpipeTableGetReply, args) end |
#do_eswitch_get(**args) ⇒ Nl::Async::Future<Messages::DoEswitchGetReply>
Get eswitch attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
9431 9432 9433 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9431 def do_eswitch_get(**args) @exchange.call(:"do", Messages::DoEswitchGetRequest, Messages::DoEswitchGetReply, args) end |
#do_eswitch_set(**args) ⇒ Nl::Async::Future<void>
Set eswitch attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
9447 9448 9449 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9447 def do_eswitch_set(**args) @exchange.call(:"do", Messages::DoEswitchSetRequest, nil, args) end |
#do_flash_update(**args) ⇒ Nl::Async::Future<void>
Flash update devlink instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9850 9851 9852 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9850 def do_flash_update(**args) @exchange.call(:"do", Messages::DoFlashUpdateRequest, nil, args) end |
#do_get(**args) ⇒ Nl::Async::Future<Messages::DoGetReply>
Get devlink instances.
9131 9132 9133 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9131 def do_get(**args) @exchange.call(:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#do_health_reporter_diagnose(**args) ⇒ Nl::Async::Future<void>
Diagnose health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9804 9805 9806 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9804 def do_health_reporter_diagnose(**args) @exchange.call(:"do", Messages::DoHealthReporterDiagnoseRequest, nil, args) end |
#do_health_reporter_dump_clear(**args) ⇒ Nl::Async::Future<void>
Clear dump of health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9834 9835 9836 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9834 def do_health_reporter_dump_clear(**args) @exchange.call(:"do", Messages::DoHealthReporterDumpClearRequest, nil, args) end |
#do_health_reporter_get(**args) ⇒ Nl::Async::Future<Messages::DoHealthReporterGetReply>
Get health reporter instances.
9743 9744 9745 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9743 def do_health_reporter_get(**args) @exchange.call(:"do", Messages::DoHealthReporterGetRequest, Messages::DoHealthReporterGetReply, args) end |
#do_health_reporter_recover(**args) ⇒ Nl::Async::Future<void>
Recover health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9789 9790 9791 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9789 def do_health_reporter_recover(**args) @exchange.call(:"do", Messages::DoHealthReporterRecoverRequest, nil, args) end |
#do_health_reporter_set(**args) ⇒ Nl::Async::Future<void>
Set health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9774 9775 9776 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9774 def do_health_reporter_set(**args) @exchange.call(:"do", Messages::DoHealthReporterSetRequest, nil, args) end |
#do_health_reporter_test(**args) ⇒ Nl::Async::Future<void>
Test health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9981 9982 9983 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9981 def do_health_reporter_test(**args) @exchange.call(:"do", Messages::DoHealthReporterTestRequest, nil, args) end |
#do_info_get(**args) ⇒ Nl::Async::Future<Messages::DoInfoGetReply>
Get device information, like driver name, hardware and firmware versions etc.
9721 9722 9723 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9721 def do_info_get(**args) @exchange.call(:"do", Messages::DoInfoGetRequest, Messages::DoInfoGetReply, args) end |
#do_linecard_get(**args) ⇒ Nl::Async::Future<Messages::DoLinecardGetReply>
Get line card instances.
10071 10072 10073 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10071 def do_linecard_get(**args) @exchange.call(:"do", Messages::DoLinecardGetRequest, Messages::DoLinecardGetReply, args) end |
#do_linecard_set(**args) ⇒ Nl::Async::Future<void>
Set line card instances.
Requires CAP_NET_ADMIN in the initial user namespace.
10097 10098 10099 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10097 def do_linecard_set(**args) @exchange.call(:"do", Messages::DoLinecardSetRequest, nil, args) end |
#do_notify_filter_set(**args) ⇒ Nl::Async::Future<void>
Set notification messages socket filter.
10142 10143 10144 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10142 def do_notify_filter_set(**args) @exchange.call(:"do", Messages::DoNotifyFilterSetRequest, nil, args) end |
#do_param_get(**args) ⇒ Nl::Async::Future<Messages::DoParamGetReply>
Get param instances.
9572 9573 9574 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9572 def do_param_get(**args) @exchange.call(:"do", Messages::DoParamGetRequest, Messages::DoParamGetReply, args) end |
#do_param_set(**args) ⇒ Nl::Async::Future<void>
Set param instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9600 9601 9602 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9600 def do_param_set(**args) @exchange.call(:"do", Messages::DoParamSetRequest, nil, args) end |
#do_port_del(**args) ⇒ Nl::Async::Future<void>
Delete devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9210 9211 9212 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9210 def do_port_del(**args) @exchange.call(:"do", Messages::DoPortDelRequest, nil, args) end |
#do_port_get(**args) ⇒ Nl::Async::Future<Messages::DoPortGetReply>
Get devlink port instances.
9151 9152 9153 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9151 def do_port_get(**args) @exchange.call(:"do", Messages::DoPortGetRequest, Messages::DoPortGetReply, args) end |
#do_port_new(**args) ⇒ Nl::Async::Future<Messages::DoPortNewReply>
Create devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9196 9197 9198 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9196 def do_port_new(**args) @exchange.call(:"do", Messages::DoPortNewRequest, Messages::DoPortNewReply, args) end |
#do_port_param_get(**args) ⇒ Nl::Async::Future<Messages::DoPortParamGetReply>
Get port param instances.
9687 9688 9689 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9687 def do_port_param_get(**args) @exchange.call(:"do", Messages::DoPortParamGetRequest, Messages::DoPortParamGetReply, args) end |
#do_port_param_set(**args) ⇒ Nl::Async::Future<void>
Set port param instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9709 9710 9711 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9709 def do_port_param_set(**args) @exchange.call(:"do", Messages::DoPortParamSetRequest, nil, args) end |
#do_port_set(**args) ⇒ Nl::Async::Future<void>
Set devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9178 9179 9180 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9178 def do_port_set(**args) @exchange.call(:"do", Messages::DoPortSetRequest, nil, args) end |
#do_port_split(**args) ⇒ Nl::Async::Future<void>
Split devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9225 9226 9227 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9225 def do_port_split(**args) @exchange.call(:"do", Messages::DoPortSplitRequest, nil, args) end |
#do_port_unsplit(**args) ⇒ Nl::Async::Future<void>
Unplit devlink port instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9239 9240 9241 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9239 def do_port_unsplit(**args) @exchange.call(:"do", Messages::DoPortUnsplitRequest, nil, args) end |
#do_rate_del(**args) ⇒ Nl::Async::Future<void>
Delete rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
10059 10060 10061 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10059 def do_rate_del(**args) @exchange.call(:"do", Messages::DoRateDelRequest, nil, args) end |
#do_rate_get(**args) ⇒ Nl::Async::Future<Messages::DoRateGetReply>
Get rate instances.
9994 9995 9996 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9994 def do_rate_get(**args) @exchange.call(:"do", Messages::DoRateGetRequest, Messages::DoRateGetReply, args) end |
#do_rate_new(**args) ⇒ Nl::Async::Future<void>
Create rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
10045 10046 10047 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10045 def do_rate_new(**args) @exchange.call(:"do", Messages::DoRateNewRequest, nil, args) end |
#do_rate_set(**args) ⇒ Nl::Async::Future<void>
Set rate instances.
Requires CAP_NET_ADMIN in the initial user namespace.
10025 10026 10027 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10025 def do_rate_set(**args) @exchange.call(:"do", Messages::DoRateSetRequest, nil, args) end |
#do_region_del(**args) ⇒ Nl::Async::Future<void>
Delete region snapshot.
Requires CAP_NET_ADMIN in the initial user namespace.
9656 9657 9658 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9656 def do_region_del(**args) @exchange.call(:"do", Messages::DoRegionDelRequest, nil, args) end |
#do_region_get(**args) ⇒ Nl::Async::Future<Messages::DoRegionGetReply>
Get region instances.
9613 9614 9615 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9613 def do_region_get(**args) @exchange.call(:"do", Messages::DoRegionGetRequest, Messages::DoRegionGetReply, args) end |
#do_region_new(**args) ⇒ Nl::Async::Future<Messages::DoRegionNewReply>
Create region snapshot.
Requires CAP_NET_ADMIN in the initial user namespace.
9640 9641 9642 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9640 def do_region_new(**args) @exchange.call(:"do", Messages::DoRegionNewRequest, Messages::DoRegionNewReply, args) end |
#do_reload(**args) ⇒ Nl::Async::Future<Messages::DoReloadReply>
Reload devlink.
Requires CAP_NET_ADMIN in the initial user namespace.
9560 9561 9562 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9560 def do_reload(**args) @exchange.call(:"do", Messages::DoReloadRequest, Messages::DoReloadReply, args) end |
#do_resource_dump(**args) ⇒ Nl::Async::Future<Messages::DoResourceDumpReply>
Get resource attributes.
9524 9525 9526 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9524 def do_resource_dump(**args) @exchange.call(:"do", Messages::DoResourceDumpRequest, Messages::DoResourceDumpReply, args) end |
#do_resource_set(**args) ⇒ Nl::Async::Future<void>
Set resource attributes.
Requires CAP_NET_ADMIN in the initial user namespace.
9512 9513 9514 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9512 def do_resource_set(**args) @exchange.call(:"do", Messages::DoResourceSetRequest, nil, args) end |
#do_sb_get(**args) ⇒ Nl::Async::Future<Messages::DoSbGetReply>
Get shared buffer instances.
9251 9252 9253 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9251 def do_sb_get(**args) @exchange.call(:"do", Messages::DoSbGetRequest, Messages::DoSbGetReply, args) end |
#do_sb_occ_max_clear(**args) ⇒ Nl::Async::Future<void>
Clear occupancy watermarks of shared buffer.
Requires CAP_NET_ADMIN in the initial user namespace.
9418 9419 9420 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9418 def do_sb_occ_max_clear(**args) @exchange.call(:"do", Messages::DoSbOccMaxClearRequest, nil, args) end |
#do_sb_occ_snapshot(**args) ⇒ Nl::Async::Future<void>
Take occupancy snapshot of shared buffer.
Requires CAP_NET_ADMIN in the initial user namespace.
9404 9405 9406 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9404 def do_sb_occ_snapshot(**args) @exchange.call(:"do", Messages::DoSbOccSnapshotRequest, nil, args) end |
#do_sb_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoSbPoolGetReply>
Get shared buffer pool instances.
9275 9276 9277 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9275 def do_sb_pool_get(**args) @exchange.call(:"do", Messages::DoSbPoolGetRequest, Messages::DoSbPoolGetReply, args) end |
#do_sb_pool_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer pool instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9303 9304 9305 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9303 def do_sb_pool_set(**args) @exchange.call(:"do", Messages::DoSbPoolSetRequest, nil, args) end |
#do_sb_port_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoSbPortPoolGetReply>
Get shared buffer port-pool combinations and threshold.
9317 9318 9319 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9317 def do_sb_port_pool_get(**args) @exchange.call(:"do", Messages::DoSbPortPoolGetRequest, Messages::DoSbPortPoolGetReply, args) end |
#do_sb_port_pool_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer port-pool combinations and threshold.
Requires CAP_NET_ADMIN in the initial user namespace.
9345 9346 9347 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9345 def do_sb_port_pool_set(**args) @exchange.call(:"do", Messages::DoSbPortPoolSetRequest, nil, args) end |
#do_sb_tc_pool_bind_get(**args) ⇒ Nl::Async::Future<Messages::DoSbTcPoolBindGetReply>
Get shared buffer port-TC to pool bindings and threshold.
9360 9361 9362 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9360 def do_sb_tc_pool_bind_get(**args) @exchange.call(:"do", Messages::DoSbTcPoolBindGetRequest, Messages::DoSbTcPoolBindGetReply, args) end |
#do_sb_tc_pool_bind_set(**args) ⇒ Nl::Async::Future<void>
Set shared buffer port-TC to pool bindings and threshold.
Requires CAP_NET_ADMIN in the initial user namespace.
9390 9391 9392 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9390 def do_sb_tc_pool_bind_set(**args) @exchange.call(:"do", Messages::DoSbTcPoolBindSetRequest, nil, args) end |
#do_selftests_get(**args) ⇒ Nl::Async::Future<Messages::DoSelftestsGetReply>
Get device selftest instances.
10108 10109 10110 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10108 def do_selftests_get(**args) @exchange.call(:"do", Messages::DoSelftestsGetRequest, Messages::DoSelftestsGetReply, args) end |
#do_selftests_run(**args) ⇒ Nl::Async::Future<void>
Run device selftest instances.
Requires CAP_NET_ADMIN in the initial user namespace.
10130 10131 10132 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10130 def do_selftests_run(**args) @exchange.call(:"do", Messages::DoSelftestsRunRequest, nil, args) end |
#do_trap_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapGetReply>
Get trap instances.
9862 9863 9864 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9862 def do_trap_get(**args) @exchange.call(:"do", Messages::DoTrapGetRequest, Messages::DoTrapGetReply, args) end |
#do_trap_group_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapGroupGetReply>
Get trap group instances.
9900 9901 9902 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9900 def do_trap_group_get(**args) @exchange.call(:"do", Messages::DoTrapGroupGetRequest, Messages::DoTrapGroupGetReply, args) end |
#do_trap_group_set(**args) ⇒ Nl::Async::Future<void>
Set trap group instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9927 9928 9929 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9927 def do_trap_group_set(**args) @exchange.call(:"do", Messages::DoTrapGroupSetRequest, nil, args) end |
#do_trap_policer_get(**args) ⇒ Nl::Async::Future<Messages::DoTrapPolicerGetReply>
Get trap policer instances.
9939 9940 9941 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9939 def do_trap_policer_get(**args) @exchange.call(:"do", Messages::DoTrapPolicerGetRequest, Messages::DoTrapPolicerGetReply, args) end |
#do_trap_policer_set(**args) ⇒ Nl::Async::Future<void>
Get trap policer instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9966 9967 9968 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9966 def do_trap_policer_set(**args) @exchange.call(:"do", Messages::DoTrapPolicerSetRequest, nil, args) end |
#do_trap_set(**args) ⇒ Nl::Async::Future<void>
Set trap instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9888 9889 9890 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9888 def do_trap_set(**args) @exchange.call(:"do", Messages::DoTrapSetRequest, nil, args) end |
#dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpGetReply>
Get devlink instances.
9139 9140 9141 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9139 def dump_get(**args) @exchange.call(:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args) end |
#dump_health_reporter_dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpHealthReporterDumpGetReply>
Dump health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
9819 9820 9821 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9819 def dump_health_reporter_dump_get(**args) @exchange.call(:"dump", Messages::DumpHealthReporterDumpGetRequest, Messages::DumpHealthReporterDumpGetReply, args) end |
#dump_health_reporter_get(**args) ⇒ Nl::Async::Stream<Messages::DumpHealthReporterGetReply>
Get health reporter instances.
9755 9756 9757 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9755 def dump_health_reporter_get(**args) @exchange.call(:"dump", Messages::DumpHealthReporterGetRequest, Messages::DumpHealthReporterGetReply, args) end |
#dump_info_get(**args) ⇒ Nl::Async::Stream<Messages::DumpInfoGetReply>
Get device information, like driver name, hardware and firmware versions etc.
9730 9731 9732 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9730 def dump_info_get(**args) @exchange.call(:"dump", Messages::DumpInfoGetRequest, Messages::DumpInfoGetReply, args) end |
#dump_linecard_get(**args) ⇒ Nl::Async::Stream<Messages::DumpLinecardGetReply>
Get line card instances.
10082 10083 10084 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10082 def dump_linecard_get(**args) @exchange.call(:"dump", Messages::DumpLinecardGetRequest, Messages::DumpLinecardGetReply, args) end |
#dump_param_get(**args) ⇒ Nl::Async::Stream<Messages::DumpParamGetReply>
Get param instances.
9583 9584 9585 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9583 def dump_param_get(**args) @exchange.call(:"dump", Messages::DumpParamGetRequest, Messages::DumpParamGetReply, args) end |
#dump_port_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPortGetReply>
Get devlink port instances.
9162 9163 9164 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9162 def dump_port_get(**args) @exchange.call(:"dump", Messages::DumpPortGetRequest, Messages::DumpPortGetReply, args) end |
#dump_port_param_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPortParamGetReply>
Get port param instances.
9695 9696 9697 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9695 def dump_port_param_get(**args) @exchange.call(:"dump", Messages::DumpPortParamGetRequest, Messages::DumpPortParamGetReply, args) end |
#dump_rate_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRateGetReply>
Get rate instances.
10005 10006 10007 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10005 def dump_rate_get(**args) @exchange.call(:"dump", Messages::DumpRateGetRequest, Messages::DumpRateGetReply, args) end |
#dump_region_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRegionGetReply>
Get region instances.
9624 9625 9626 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9624 def dump_region_get(**args) @exchange.call(:"dump", Messages::DumpRegionGetRequest, Messages::DumpRegionGetReply, args) end |
#dump_region_read(**args) ⇒ Nl::Async::Stream<Messages::DumpRegionReadReply>
Read region data.
Requires CAP_NET_ADMIN in the initial user namespace.
9675 9676 9677 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9675 def dump_region_read(**args) @exchange.call(:"dump", Messages::DumpRegionReadRequest, Messages::DumpRegionReadReply, args) end |
#dump_resource_dump(**args) ⇒ Nl::Async::Stream<Messages::DumpResourceDumpReply>
Get resource attributes.
9542 9543 9544 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9542 def dump_resource_dump(**args) @exchange.call(:"dump", Messages::DumpResourceDumpRequest, Messages::DumpResourceDumpReply, args) end |
#dump_sb_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbGetReply>
Get shared buffer instances.
9262 9263 9264 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9262 def dump_sb_get(**args) @exchange.call(:"dump", Messages::DumpSbGetRequest, Messages::DumpSbGetReply, args) end |
#dump_sb_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbPoolGetReply>
Get shared buffer pool instances.
9286 9287 9288 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9286 def dump_sb_pool_get(**args) @exchange.call(:"dump", Messages::DumpSbPoolGetRequest, Messages::DumpSbPoolGetReply, args) end |
#dump_sb_port_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbPortPoolGetReply>
Get shared buffer port-pool combinations and threshold.
9328 9329 9330 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9328 def dump_sb_port_pool_get(**args) @exchange.call(:"dump", Messages::DumpSbPortPoolGetRequest, Messages::DumpSbPortPoolGetReply, args) end |
#dump_sb_tc_pool_bind_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSbTcPoolBindGetReply>
Get shared buffer port-TC to pool bindings and threshold.
9371 9372 9373 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9371 def dump_sb_tc_pool_bind_get(**args) @exchange.call(:"dump", Messages::DumpSbTcPoolBindGetRequest, Messages::DumpSbTcPoolBindGetReply, args) end |
#dump_selftests_get(**args) ⇒ Nl::Async::Stream<Messages::DumpSelftestsGetReply>
Get device selftest instances.
10116 10117 10118 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 10116 def dump_selftests_get(**args) @exchange.call(:"dump", Messages::DumpSelftestsGetRequest, Messages::DumpSelftestsGetReply, args) end |
#dump_trap_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapGetReply>
Get trap instances.
9873 9874 9875 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9873 def dump_trap_get(**args) @exchange.call(:"dump", Messages::DumpTrapGetRequest, Messages::DumpTrapGetReply, args) end |
#dump_trap_group_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapGroupGetReply>
Get trap group instances.
9911 9912 9913 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9911 def dump_trap_group_get(**args) @exchange.call(:"dump", Messages::DumpTrapGroupGetRequest, Messages::DumpTrapGroupGetReply, args) end |
#dump_trap_policer_get(**args) ⇒ Nl::Async::Stream<Messages::DumpTrapPolicerGetReply>
Get trap policer instances.
9950 9951 9952 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 9950 def dump_trap_policer_get(**args) @exchange.call(:"dump", Messages::DumpTrapPolicerGetRequest, Messages::DumpTrapPolicerGetReply, args) end |