Spdk/scripts/rpc/subsystem.py

17 lines
425 B
Python
Raw Normal View History

from .helpers import deprecated_alias
@deprecated_alias('get_subsystems')
def framework_get_subsystems(client):
return client.call('framework_get_subsystems')
@deprecated_alias('get_subsystem_config')
def framework_get_config(client, name):
params = {'name': name}
return client.call('framework_get_config', params)
def framework_get_pci_devices(client):
return client.call('framework_get_pci_devices')