Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 29) sorted by relevance

12

/spdk/python/spdk/spdkcli/
H A Dui_root.py16 def __init__(self, client, shell): argument
29 refresh(self) global() argument
52 set_rpc_target(self, client) global() argument
55 print_array(self, a) global() argument
63 w(self, **kwargs) global() argument
72 w(self, **kwargs) global() argument
81 ui_command_framework_start_init(self) global() argument
86 ui_command_load_config(self, filename) global() argument
90 ui_command_load_subsystem_config(self, filename) global() argument
94 ui_command_save_config(self, filename, indent=2) global() argument
98 ui_command_save_subsystem_config(self, filename, subsystem, indent=2) global() argument
102 rpc_get_methods(self, current=False) global() argument
105 check_init(self) global() argument
108 bdev_get_bdevs(self, bdev_type) global() argument
120 bdev_get_iostat(self, **kwargs) global() argument
124 bdev_split_create(self, **kwargs) global() argument
129 bdev_split_delete(self, **kwargs) global() argument
133 create_malloc_bdev(self, **kwargs) global() argument
138 bdev_malloc_delete(self, **kwargs) global() argument
142 create_iscsi_bdev(self, **kwargs) global() argument
147 bdev_iscsi_delete(self, **kwargs) global() argument
151 bdev_aio_create(self, **kwargs) global() argument
156 bdev_aio_delete(self, **kwargs) global() argument
160 create_lvol_bdev(self, **kwargs) global() argument
165 bdev_lvol_delete(self, **kwargs) global() argument
170 create_nvme_bdev(self, **kwargs) global() argument
175 bdev_nvme_detach_controller(self, **kwargs) global() argument
179 bdev_null_create(self, **kwargs) global() argument
184 bdev_null_delete(self, **kwargs) global() argument
188 create_error_bdev(self, **kwargs) global() argument
192 bdev_error_delete(self, **kwargs) global() argument
197 bdev_lvol_get_lvstores(self) global() argument
204 bdev_lvol_create_lvstore(self, **kwargs) global() argument
209 bdev_lvol_delete_lvstore(self, **kwargs) global() argument
213 create_rbd_bdev(self, **kwargs) global() argument
218 bdev_rbd_delete(self, **kwargs) global() argument
223 create_virtio_dev(self, **kwargs) global() argument
228 bdev_virtio_detach_controller(self, **kwargs) global() argument
233 bdev_raid_create(self, **kwargs) global() argument
237 bdev_raid_delete(self, **kwargs) global() argument
241 bdev_uring_create(self, **kwargs) global() argument
246 bdev_uring_delete(self, **kwargs) global() argument
251 bdev_virtio_scsi_get_devices(self) global() argument
257 list_vhost_ctrls(self) global() argument
263 vhost_get_controllers(self, ctrlr_type) global() argument
270 vhost_delete_controller(self, **kwargs) global() argument
274 vhost_create_scsi_controller(self, **kwargs) global() argument
278 vhost_start_scsi_controller(self, **kwargs) global() argument
282 vhost_create_blk_controller(self, **kwargs) global() argument
286 vhost_scsi_controller_remove_target(self, **kwargs) global() argument
290 vhost_scsi_controller_add_target(self, **kwargs) global() argument
293 vhost_controller_set_coalescing(self, **kwargs) global() argument
297 create_nvmf_transport(self, **kwargs) global() argument
300 list_nvmf_transports(self) global() argument
306 nvmf_get_transports(self) global() argument
312 list_nvmf_subsystems(self) global() argument
318 nvmf_get_subsystems(self) global() argument
324 list_nvmf_referrals(self) global() argument
330 nvmf_discovery_get_referrals(self) global() argument
337 nvmf_discovery_add_referral(self, **kwargs) global() argument
341 nvmf_discovery_remove_referral(self, **kwargs) global() argument
345 create_nvmf_subsystem(self, **kwargs) global() argument
349 nvmf_delete_subsystem(self, **kwargs) global() argument
353 nvmf_subsystem_add_listener(self, **kwargs) global() argument
357 nvmf_subsystem_remove_listener(self, **kwargs) global() argument
361 nvmf_subsystem_add_host(self, **kwargs) global() argument
365 nvmf_subsystem_remove_host(self, **kwargs) global() argument
369 nvmf_subsystem_allow_any_host(self, **kwargs) global() argument
373 nvmf_subsystem_add_ns(self, **kwargs) global() argument
377 nvmf_subsystem_remove_ns(self, **kwargs) global() argument
381 nvmf_subsystem_allow_any_host(self, **kwargs) global() argument
386 scsi_get_devices(self) global() argument
393 iscsi_get_target_nodes(self) global() argument
399 iscsi_create_target_node(self, **kwargs) global() argument
403 iscsi_delete_target_node(self, **kwargs) global() argument
408 iscsi_get_portal_groups(self) global() argument
415 iscsi_get_initiator_groups(self) global() argument
421 construct_portal_group(self, **kwargs) global() argument
425 iscsi_delete_portal_group(self, **kwargs) global() argument
429 construct_initiator_group(self, **kwargs) global() argument
433 iscsi_delete_initiator_group(self, **kwargs) global() argument
438 iscsi_get_connections(self, **kwargs) global() argument
444 iscsi_initiator_group_add_initiators(self, **kwargs) global() argument
448 iscsi_initiator_group_remove_initiators(self, **kwargs) global() argument
452 iscsi_target_node_add_pg_ig_maps(self, **kwargs) global() argument
456 iscsi_target_node_remove_pg_ig_maps(self, **kwargs) global() argument
460 iscsi_auth_group_add_secret(self, **kwargs) global() argument
464 iscsi_auth_group_remove_secret(self, **kwargs) global() argument
469 iscsi_get_auth_groups(self, **kwargs) global() argument
473 iscsi_create_auth_group(self, **kwargs) global() argument
477 iscsi_delete_auth_group(self, **kwargs) global() argument
481 iscsi_target_node_set_auth(self, **kwargs) global() argument
485 iscsi_target_node_add_lun(self, **kwargs) global() argument
489 iscsi_set_discovery_auth(self, **kwargs) global() argument
494 iscsi_get_options(self, **kwargs) global() argument
497 has_subsystem(self, subsystem) global() argument
505 __init__(self, bdev_info) global() argument
517 __init__(self, lvs_info) global() argument
529 __init__(self, ctrlr_info) global() argument
541 __init__(self, transport_info) global() argument
553 __init__(self, subsystem_info) global() argument
565 __init__(self, referral_info) global() argument
575 __init__(self, device_info) global() argument
[all...]
H A Dui_node.py23 def __init__(self, name, parent=None, shell=None): argument
26 def refresh(self): argument
30 def refresh_node(self): argument
33 def ui_command_refresh(self): argument
36 def ui_command_ll(self, path=None, depth=None): argument
42 execute_command(self, command, pparams=[], kparams={}) global() argument
65 __init__(self, parent) global() argument
69 refresh(self) global() argument
87 __init__(self, parent) global() argument
91 refresh(self) global() argument
96 delete(self, name, uuid) global() argument
102 ui_command_create(self, name, bdev_name, cluster_size=None) global() argument
115 ui_command_delete(self, name=None, uuid=None) global() argument
126 ui_command_delete_all(self) global() argument
136 summary(self) global() argument
141 __init__(self, name, parent) global() argument
145 refresh(self) global() argument
150 ui_command_get_bdev_iostat(self, name=None) global() argument
154 ui_command_delete_all(self) global() argument
165 summary(self) global() argument
170 __init__(self, parent) global() argument
173 delete(self, name) global() argument
176 ui_command_create(self, size, block_size, name=None, uuid=None) global() argument
196 ui_command_delete(self, name) global() argument
207 __init__(self, parent) global() argument
210 delete(self, name) global() argument
213 ui_command_create(self, name, filename, block_size) global() argument
231 ui_command_delete(self, name) global() argument
242 __init__(self, parent) global() argument
245 delete(self, name) global() argument
248 ui_command_create(self, name, size, lvs, thin_provision=None) global() argument
276 ui_command_delete(self, name) global() argument
287 __init__(self, parent) global() argument
290 delete(self, name) global() argument
293 ui_command_create(self, name, trtype, traddr, adrfam=None, trsvcid=None, subnqn=None) global() argument
303 ui_command_delete_all(self) global() argument
316 ui_command_delete(self, name) global() argument
327 __init__(self, parent) global() argument
330 delete(self, name) global() argument
333 ui_command_create(self, name, size, block_size, uuid=None) global() argument
353 ui_command_delete(self, name) global() argument
364 __init__(self, parent) global() argument
367 delete(self, name) global() argument
370 ui_command_create(self, base_name) global() argument
380 ui_command_delete(self, name) global() argument
391 __init__(self, parent) global() argument
394 delete(self, name) global() argument
397 ui_command_bdev_split_create(self, base_bdev, split_count, split_size_mb=None) global() argument
415 ui_command_bdev_split_delete(self, base_bdev) global() argument
426 __init__(self, parent) global() argument
429 delete(self, name) global() argument
432 ui_command_create(self, pool_name, rbd_name, block_size, name=None) global() argument
441 ui_command_delete(self, name) global() argument
452 __init__(self, parent) global() argument
455 delete(self, name) global() argument
458 ui_command_create(self, name, url, initiator_iqn) global() argument
474 ui_command_delete(self, name) global() argument
485 __init__(self, parent) global() argument
488 ui_command_create(self, name, trtype, traddr, vq_count=None, vq_size=None) global() argument
503 ui_command_delete(self, name) global() argument
514 __init__(self, parent) global() argument
517 refresh(self) global() argument
522 ui_command_create(self, name, trtype, traddr, vq_count=None, vq_size=None) global() argument
537 ui_command_delete(self, name) global() argument
542 __init__(self, bdev, parent) global() argument
556 ui_command_show_details(self) global() argument
559 summary(self) global() argument
576 __init__(self, bdev, parent) global() argument
580 refresh(self) global() argument
586 summary(self) global() argument
595 __init__(self, lvs, parent) global() argument
599 ui_command_show_details(self) global() argument
602 summary(self) global() argument
614 __init__(self, parent) global() argument
618 refresh(self) global() argument
626 __init__(self, name, parent) global() argument
630 ui_command_delete(self, name) global() argument
641 __init__(self, parent) global() argument
645 refresh(self) global() argument
650 ui_command_create(self, name, bdev, cpumask=None, readonly=False) global() argument
669 __init__(self, parent) global() argument
673 refresh(self) global() argument
678 ui_command_create(self, name, delay=None, cpumask=None) global() argument
697 __init__(self, ctrlr, parent) global() argument
702 ui_command_show_details(self) global() argument
705 ui_command_set_coalescing(self, delay_base_us, iops_threshold) global() argument
715 refresh(self) global() argument
720 ui_command_start(self, name) global() argument
729 ui_command_remove_target(self, target_num) global() argument
742 ui_command_add_lun(self, target_num, bdev_name) global() argument
759 summary(self) global() argument
765 refresh(self) global() argument
769 summary(self) global() argument
778 __init__(self, target, parent) global() argument
784 refresh(self) global() argument
789 ui_command_show_details(self) global() argument
792 summary(self) global() argument
800 __init__(self, name, parent) global() argument
805 __init__(self, parent) global() argument
808 delete(self, name) global() argument
811 ui_command_create(self, name, raid_level, base_bdevs, strip_size_kb) global() argument
833 ui_command_delete(self, name) global() argument
844 __init__(self, parent) global() argument
847 delete(self, name) global() argument
850 ui_command_create(self, filename, name, block_size, uuid=None) global() argument
868 ui_command_delete(self, name) global() argument
[all...]
H A Dui_node_iscsi.py11 def __init__(self, parent): argument
15 def refresh(self): argument
26 def __init__(self, parent): argument
30 def refresh(self): argument
38 def ui_command_set_auth(self, g=None, d=None, r=None, m=None): argument
57 def __init__(self, param, parent): argument
62 def __init__(self, parent): argument
67 def refresh(self): argument
77 def delete(self, name): argument
80 def ui_command_create(self, name, alias_name, bdev_name_id_pairs, argument
[all …]
H A Dui_node_nvmf.py10 def __init__(self, parent): argument
14 def refresh(self): argument
22 def __init__(self, parent): argument
26 def refresh(self): argument
31 def ui_command_create(self, trtype, max_queue_depth=None, max_io_qpairs_per_ctrlr=None, argument
59 def summary(self): argument
64 def __init__(self, transport, parent): argument
70 def __init__(self, parent): argument
74 def refresh(self): argument
79 def delete(self, subsystem_nqn): argument
[all …]
/spdk/scripts/
H A Dgdb_macros.py12 def __init__(self, list_pointer, list_member, tailq_name_list): argument
18 def __iter__(self): argument
29 def __init__(self, list_pointer, list_member): argument
36 def __init__(self, tree_pointer, tree_member, tree_name_list): argument
42 def get_left_node(self, node): argument
45 def get_right_node(self, node): argument
48 def traverse_rb_tree(self, node): argument
54 def __iter__(self): argument
67 def __init__(self, arr_pointer, num_elements, element_type): argument
72 def __iter__(self): argument
[all …]
H A Ddpdk_mem_info.py13 def __init__(self, size): argument
19 def get_size(self): argument
22 def add_mempool(self, pool): argument
25 def add_memzone(self, zone): argument
28 def add_heap(self, heap): argument
31 def get_total_heap_size(self): argument
37 def get_total_mempool_size(self): argument
43 def get_total_memzone_size(self): argument
49 def print_summary(self): argument
65 def print_heap_summary(self, heap_id): argument
[all …]
H A Dcalc-iobuf.py18 def add(self, other): argument
33 def __init__(self, name, is_target=False): argument
37 def calc(self, config): argument
40 def ask_config(self): argument
43 def _get_input(self, inputs): argument
80 def __init__(self): argument
83 def ask_config(self): argument
95 def __init__(self): argument
98 def calc(self, config, mask): argument
107 def ask_config(self): argument
[all …]
H A Drpc_http_proxy.py78 def do_HEAD(self): argument
83 def do_AUTHHEAD(self): argument
89 def do_INTERNALERROR(self): argument
94 def do_POST(self): argument
H A Dsma-client.py25 def __init__(self, addr, port): argument
30 def _get_message_type(self, descriptor): argument
33 def _get_method_types(self, method_name): argument
38 def call(self, method, params): argument
/spdk/scripts/perf/nvmf/
H A Drun_nvmf.py46 __init__(self, name, general_config, server_config) global() argument
87 read_config(self, config_fields, config) global() argument
99 get_nic_name_by_ip(self, ip) global() argument
109 set_local_nic_info_helper(self) global() argument
112 set_local_nic_info(self, pci_info) global() argument
127 get_nic_numa_node(self, nic_name) global() argument
130 get_numa_cpu_map(self) global() argument
143 exec_cmd(self, cmd, stderr_redirect=False, change_dir=None) global() argument
146 configure_system(self) global() argument
160 check_rdma_protocol(self) global() argument
173 load_drivers(self) global() argument
191 set_pause_frames(self, rx_state, tx_state) global() argument
196 configure_pause_frames(self) global() argument
207 configure_arfs(self) global() argument
228 configure_adq(self) global() argument
232 adq_load_modules(self) global() argument
243 adq_configure_tc(self) global() argument
296 reload_driver(self, driver, *modprobe_args) global() argument
305 adq_configure_nic(self) global() argument
331 configure_services(self) global() argument
359 configure_sysctl(self) global() argument
394 configure_tuned(self) global() argument
422 configure_cpu_governor(self) global() argument
429 get_core_list_from_mask(self, core_mask) global() argument
458 configure_irq_affinity(self, mode="default", cpulist=None, exclude_cpulist=False) global() argument
505 restore_services(self) global() argument
511 restore_sysctl(self) global() argument
516 restore_tuned(self) global() argument
529 restore_governor(self) global() argument
535 restore_settings(self) global() argument
543 check_for_throttling(self) global() argument
566 stop(self) global() argument
574 __init__(self, name, general_config, target_config) global() argument
618 set_local_nic_info_helper(self) global() argument
621 exec_cmd(self, cmd, stderr_redirect=False, change_dir=None) global() argument
637 zip_spdk_sources(self, spdk_dir, dest_file) global() argument
653 spread_bdevs(self, req_disks) global() argument
670 measure_sar(self, results_dir, sar_file_prefix, ramp_time, run_time) global() argument
697 measure_power(self, results_dir, prefix, script_full_dir, ramp_time, run_time) global() argument
704 measure_pcm(self, results_dir, pcm_file_name, ramp_time, run_time) global() argument
715 measure_network_bandwidth(self, results_dir, bandwidth_file_name, ramp_time, run_time) global() argument
725 measure_dpdk_memory(self, results_dir, dump_file_name, ramp_time) global() argument
732 sys_config(self) global() argument
752 __init__(self, name, general_config, initiator_config) global() argument
793 set_local_nic_info_helper(self) global() argument
796 stop(self) global() argument
805 exec_cmd(self, cmd, stderr_redirect=False, change_dir=None) global() argument
828 put_file(self, local, remote_dest) global() argument
833 get_file(self, remote, local_dest) global() argument
838 copy_spdk(self, local_spdk_zip) global() argument
845 copy_result_files(self, dest_dir) global() argument
859 match_subsystems(self, target_subsystems) global() argument
870 init_connect(self) global() argument
874 init_disconnect(self) global() argument
878 gen_fio_filename_conf(self, *args, **kwargs) global() argument
882 get_route_nic_numa(self, remote_nvme_ip) global() argument
894 gen_fio_numa_section(self, fio_filenames_list, num_jobs) global() argument
927 gen_fio_config(self, rw, rwmixread, block_size, io_depth, subsys_no, num_jobs=None, ramp_time=0, run_time=10, rate_iops=0, offset=False, offset_inc=0, numa_align=True) global() argument
1005 set_cpu_frequency(self) global() argument
1017 run_fio(self, fio_config_file, run_num=1) global() argument
1032 sys_config(self) global() argument
1046 __init__(self, name, general_config, target_config) global() argument
1051 load_drivers(self) global() argument
1057 configure_adq(self) global() argument
1060 adq_configure_tc(self) global() argument
1063 adq_set_busy_read(self, busy_read_val) global() argument
1067 stop(self) global() argument
1072 get_nvme_device_bdf(self, nvme_dev_path) global() argument
1076 get_nvme_devices(self) global() argument
1091 nvmet_command(self, nvmet_bin, command) global() argument
1094 kernel_tgt_gen_subsystem_conf(self, nvme_list) global() argument
1146 tgt_start(self) global() argument
1169 __init__(self, name, general_config, target_config) global() argument
1201 configure_irq_affinity(self, mode="default", cpulist=None, exclude_cpulist=False) global() argument
1222 adq_set_busy_read(self, busy_read_val) global() argument
1225 get_nvme_devices_count(self) global() argument
1228 get_nvme_devices(self) global() argument
1241 spdk_tgt_configure(self) global() argument
1274 spdk_tgt_add_nullblock(self, null_block_count) global() argument
1288 spdk_tgt_add_nvme_conf(self, req_num_disks=None) global() argument
1307 spdk_tgt_add_subsystem_conf(self, ips=None, req_num_disks=None) global() argument
1334 bpf_start(self) global() argument
1347 tgt_start(self) global() argument
1398 stop(self) global() argument
1425 __init__(self, name, general_config, initiator_config) global() argument
1442 configure_adq(self) global() argument
1445 adq_configure_tc(self) global() argument
1448 adq_set_busy_read(self, busy_read_val) global() argument
1452 get_connected_nvme_list(self) global() argument
1458 init_connect(self) global() argument
1490 init_disconnect(self) global() argument
1495 get_nvme_subsystem_numa(self, dev_name) global() argument
1502 gen_fio_filename_conf(self, subsystems, threads, io_depth, num_jobs=1, offset=False, offset_inc=0, numa_align=True) global() argument
1547 __init__(self, name, general_config, initiator_config) global() argument
1565 adq_set_busy_read(self, busy_read_val) global() argument
1568 install_spdk(self) global() argument
1581 init_connect(self) global() argument
1591 init_disconnect(self) global() argument
1596 gen_spdk_bdev_conf(self, remote_subsystem_list) global() argument
1653 gen_fio_filename_conf(self, subsystems, threads, io_depth, num_jobs=1, offset=False, offset_inc=0, numa_align=True) global() argument
1696 get_nvme_subsystem_numa(self, bdev_name) global() argument
1817 __init__(self, message) global() argument
[all...]
/spdk/python/spdk/sma/
H A Dqmp.py35 def __init__(self, message, code='internal'): argument
40 def __str__(self): argument
48 def __init__(self, message, code='socket'): argument
56 def __init__(self, repl argument
72 __init__(self, address=('127.0.0.1', 10500), family: socket.AddressFamily = socket.AF_INET, timeout: float = 8.0) global() argument
87 __enter__(self) global() argument
91 __exit__(self, exception_type, exception_value, traceback) global() argument
94 _start(self) global() argument
111 _get_next_exec_id(self) global() argument
115 _connect(self) global() argument
123 _disconnect_socket(self) global() argument
131 _is_connected(self) global() argument
134 _check_event(self, event, received) global() argument
149 _receive(self, event=None) global() argument
181 _send(self, msg: Dict) global() argument
190 exec(self, cmd: str, args: Dict = None, event: Dict = None) global() argument
219 device_add(self, params: Dict, event: Dict = None) global() argument
222 device_del(self, params: Dict, event: Dict = None) global() argument
225 chardev_add(self, params: Dict, event: Dict = None) global() argument
228 chardev_remove(self, params: Dict, event: Dict = None) global() argument
231 query_pci(self) global() argument
234 query_chardev(self) global() argument
237 device_list_properties(self, typename: str) global() argument
[all...]
H A Dsma.py19 def __init__(self, config, client): argument
29 def wrapper(self, request, context): argument
34 def register_device(self, device_manager): argument
37 def start(self): argument
41 def stop(self): argument
45 def _find_device_by_name(self, name): argument
48 def _find_device_by_handle(self, handle): argument
57 def _cleanup_volume(self, volume_id, existing): argument
66 def CreateDevice(self, request, context): argument
93 def DeleteDevice(self, request, context): argument
[all …]
H A Dqos.py16 def __init__(self, code, message): argument
23 def __init__(self, name, transform=lambda v: v): argument
27 def get_value(self, value): argument
/spdk/python/spdk/sma/volume/
H A Dvolume.py21 def __init__(self, code, message): argument
27 def __init__(self, volume_id, device_handle, discovery_services): argument
34 def __init__(self, client, discovery_timeout, cleanup_period): argument
48 def wrapper(self, *args, **kwargs): argument
56 def start(self): argument
63 def stop(self): argument
80 def _cleanup_volumes(self): argument
96 def _get_discovery_info(self): argument
104 def _compare_trid(self, trid1, trid2): argument
110 def _get_adrfam(self, traddr): argument
[all …]
H A Dcrypto.py13 def __init__(self, code, message): argument
19 def __init__(self, name): argument
22 def init(self, client, params): argument
26 def setup(self, volume_id, key, cipher, key2=None, tweak_mode=None): argument
30 def cleanup(self, volume_id): argument
37 def verify(self, volume_i argument
46 get_crypto_bdev(self, volume_id) global() argument
56 __init__(self) global() argument
59 setup(self, volume_id, key, cipher, key2=None, tweak_mode=None) global() argument
62 cleanup(self, volume_id) global() argument
65 verify(self, volume_id, key, cipher, key2=None, tweak_mode=None) global() argument
68 get_crypto_bdev(self, volume_id) global() argument
[all...]
H A Dcrypto_bdev.py21 def __init__(self): argument
24 def init(self, client, params): argument
29 def setup(self, volume_id, key, cipher, key2=None, tweak_mode=None): argument
55 def cleanup(self, volume_id): argument
69 def verify(self, volume_id, key, cipher, key2=None, tweak_mode=None): argument
102 def _get_crypto_bdev(self, volume_id): argument
122 def _get_crypto_key(self, key_name): argument
132 def get_crypto_bdev(self, volume_id): argument
/spdk/scripts/bpf/
H A Dtrace.py47 def __init__(self, name, args): argument
58 def __init__(self, probe, args): argument
74 def __init__(self, probes, file=None): argument
88 def _parse(self, file): argument
106 def _list_probes(self): argument
122 def _gen_usdt(self, probe): argument
137 def generate(self): argument
140 def record(self, pid): argument
190 def tpoints(self): argument
194 def entries(self): argument
[all …]
H A Dgen.py15 def __init__(self, pid): argument
20 def _init_probes(self): argument
31 def fixup(self, script): argument
/spdk/python/spdk/sma/device/
H A Dnvmf_vfiouser.py26 def __init__(self, client): argument
29 def init(self, config): argument
50 def _create_transport(self): argument
63 def _client_wrap(self): argument
71 def _get_subsys(self, client, nqn): argument
77 def _create_subsystem(self, client, subnqn): argument
86 def _delete_subsystem(self, client, subnqn): argument
95 def _check_addr(self, addr, addrlist): argument
100 def _subsystem_add_listener(self, client, subnqn, addr): argument
114 def _create_socket_dir(self, dev_id): argument
[all …]
H A Dnvmf_tcp.py18 def __init__(self, client): argument
21 def init(self, config): argument
24 def _create_transport(self): argument
39 def wrapper(self, *args): argument
46 def _get_params(self, request, params): argument
53 def _check_addr(self, addr, addrlist): argument
60 def _get_nqn_from_handle(self, handle): argument
64 def create_device(self, request): argument
122 def delete_device(self, request): argument
137 def _find_bdev(self, client, guid): argument
[all …]
H A Dvhost_blk.py22 def __init__(self, client): argument
25 def init(self, config): argument
43 def owns_device(self, id): argument
46 def _find_controller(self, client, controller): argument
56 def _qmp_delete_device(self, ctrlr): argument
74 def _delete_controller(self, client, ctrlr): argument
83 def _find_bdev(self, client, guid): argument
90 def _bdev_cmp(self, client, bdev1, bdev2): argument
96 def _create_controller(self, client, ctrlr, volume_guid): argument
108 def _find_pcidev(self, qclient, name): argument
[all …]
H A Ddevice.py9 def __init__(self, code, message): argument
15 def __init__(self, name, protocol, client, allow_delete_volumes=False): argument
22 def init(self, config): argument
25 def create_device(self, request): argument
28 def delete_device(self, request): argument
31 def attach_volume(self, request): argument
34 def detach_volume(self, request): argument
37 def owns_device(self, id): argument
40 def set_qos(self, request): argument
43 def get_qos_capabilities(self, request): argument
/spdk/python/spdk/rpc/
H A Dclient.py39 def __init__(self, message): argument
44 def __init__(self, addr, port=None, timeout=None, **kwargs): argument
70 def __enter__(self): argument
73 def __exit__(self, exception_type, exception_value, traceback): argument
76 def _connect(self, addr, port): argument
101 def get_logger(self): argument
109 def log_set_level(self, lvl): argument
114 def close(self): argument
120 def add_request(self, method, params): argument
135 def flush(self): argument
[all …]
/spdk/test/sma/plugins/plugin1/
H A D__init__.py11 def __init__(self): argument
14 def setup(self, volume_id, key, cipher, key2=None): argument
17 def cleanup(self, volume_id): argument
20 def verify(self, volume_id, key, cipher, key2=None): argument
23 def get_crypto_bdev(self, volume_id): argument
28 def __init__(self, client): argument
31 def create_device(self, request): argument
37 def __init__(self, client): argument
40 def create_device(self, request): argument
/spdk/test/sma/plugins/plugin2/
H A D__init__.py11 def __init__(self): argument
14 def setup(self, volume_id, key, cipher, key2=None): argument
17 def cleanup(self, volume_id): argument
20 def verify(self, volume_id, key, cipher, key2=None): argument
23 def get_crypto_bdev(self, volume_id): argument
28 def __init__(self, client): argument
31 def create_device(self, request): argument
37 def __init__(self, client): argument
40 def create_device(self, request): argument

12