Class: Nl::Linux::Nfsd::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::Nfsd::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/nfsd.rb
Instance Method Summary collapse
-
#do_cache_flush(**args) ⇒ Nl::Async::Future<void>
Flush nfsd caches (svc_export and/or expkey).
-
#do_expkey_set_reqs(**args) ⇒ Nl::Async::Future<void>
Respond to one or more expkey requests.
-
#do_listener_get(**args) ⇒ Nl::Async::Future<Messages::DoListenerGetReply>
get nfs running listeners.
-
#do_listener_set(**args) ⇒ Nl::Async::Future<void>
set nfs running sockets.
-
#do_pool_mode_get(**args) ⇒ Nl::Async::Future<Messages::DoPoolModeGetReply>
get info about server pool-mode.
-
#do_pool_mode_set(**args) ⇒ Nl::Async::Future<void>
set the current server pool-mode.
-
#do_svc_export_set_reqs(**args) ⇒ Nl::Async::Future<void>
Respond to one or more svc_export requests.
-
#do_threads_get(**args) ⇒ Nl::Async::Future<Messages::DoThreadsGetReply>
get the maximum number of running threads.
-
#do_threads_set(**args) ⇒ Nl::Async::Future<void>
set the maximum number of running threads.
-
#do_unlock_export(**args) ⇒ Nl::Async::Future<void>
Revoke NFSv4 state acquired through exports of a given path.
-
#do_unlock_filesystem(**args) ⇒ Nl::Async::Future<void>
revoke NFS state under a filesystem path.
-
#do_unlock_ip(**args) ⇒ Nl::Async::Future<void>
release NLM locks held by an IP address.
-
#do_version_get(**args) ⇒ Nl::Async::Future<Messages::DoVersionGetReply>
get nfs enabled versions.
-
#do_version_set(**args) ⇒ Nl::Async::Future<void>
set nfs enabled versions.
-
#dump_expkey_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpExpkeyGetReqsReply>
Dump all pending expkey requests.
-
#dump_rpc_status_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRpcStatusGetReply>
dump pending nfsd rpc.
-
#dump_svc_export_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpSvcExportGetReqsReply>
Dump all pending svc_export requests.
Instance Method Details
#do_cache_flush(**args) ⇒ Nl::Async::Future<void>
Flush nfsd caches (svc_export and/or expkey)
Requires CAP_NET_ADMIN in the initial user namespace.
1986 1987 1988 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1986 def do_cache_flush(**args) @exchange.call(:"do", Messages::DoCacheFlushRequest, nil, args) end |
#do_expkey_set_reqs(**args) ⇒ Nl::Async::Future<void>
Respond to one or more expkey requests
Requires CAP_NET_ADMIN in the initial user namespace.
1975 1976 1977 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1975 def do_expkey_set_reqs(**args) @exchange.call(:"do", Messages::DoExpkeySetReqsRequest, nil, args) end |
#do_listener_get(**args) ⇒ Nl::Async::Future<Messages::DoListenerGetReply>
get nfs running listeners
1914 1915 1916 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1914 def do_listener_get(**args) @exchange.call(:"do", Messages::DoListenerGetRequest, Messages::DoListenerGetReply, args) end |
#do_listener_set(**args) ⇒ Nl::Async::Future<void>
set nfs running sockets
Requires CAP_NET_ADMIN in the initial user namespace.
1906 1907 1908 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1906 def do_listener_set(**args) @exchange.call(:"do", Messages::DoListenerSetRequest, nil, args) end |
#do_pool_mode_get(**args) ⇒ Nl::Async::Future<Messages::DoPoolModeGetReply>
get info about server pool-mode
1933 1934 1935 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1933 def do_pool_mode_get(**args) @exchange.call(:"do", Messages::DoPoolModeGetRequest, Messages::DoPoolModeGetReply, args) end |
#do_pool_mode_set(**args) ⇒ Nl::Async::Future<void>
set the current server pool-mode
Requires CAP_NET_ADMIN in the initial user namespace.
1925 1926 1927 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1925 def do_pool_mode_set(**args) @exchange.call(:"do", Messages::DoPoolModeSetRequest, nil, args) end |
#do_svc_export_set_reqs(**args) ⇒ Nl::Async::Future<void>
Respond to one or more svc_export requests
Requires CAP_NET_ADMIN in the initial user namespace.
1954 1955 1956 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1954 def do_svc_export_set_reqs(**args) @exchange.call(:"do", Messages::DoSvcExportSetReqsRequest, nil, args) end |
#do_threads_get(**args) ⇒ Nl::Async::Future<Messages::DoThreadsGetReply>
get the maximum number of running threads
1876 1877 1878 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1876 def do_threads_get(**args) @exchange.call(:"do", Messages::DoThreadsGetRequest, Messages::DoThreadsGetReply, args) end |
#do_threads_set(**args) ⇒ Nl::Async::Future<void>
set the maximum number of running threads
Requires CAP_NET_ADMIN in the initial user namespace.
1868 1869 1870 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1868 def do_threads_set(**args) @exchange.call(:"do", Messages::DoThreadsSetRequest, nil, args) end |
#do_unlock_export(**args) ⇒ Nl::Async::Future<void>
Revoke NFSv4 state acquired through exports of a given path. Unlike unlock-filesystem, which operates at superblock granularity, this command targets only state associated with a specific export path. Userspace (exportfs -u) sends this after removing the last client for a path so the underlying filesystem can be unmounted.
Requires CAP_NET_ADMIN in the initial user namespace.
2019 2020 2021 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 2019 def do_unlock_export(**args) @exchange.call(:"do", Messages::DoUnlockExportRequest, nil, args) end |
#do_unlock_filesystem(**args) ⇒ Nl::Async::Future<void>
revoke NFS state under a filesystem path
Requires CAP_NET_ADMIN in the initial user namespace.
2008 2009 2010 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 2008 def do_unlock_filesystem(**args) @exchange.call(:"do", Messages::DoUnlockFilesystemRequest, nil, args) end |
#do_unlock_ip(**args) ⇒ Nl::Async::Future<void>
release NLM locks held by an IP address
Requires CAP_NET_ADMIN in the initial user namespace.
1997 1998 1999 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1997 def do_unlock_ip(**args) @exchange.call(:"do", Messages::DoUnlockIpRequest, nil, args) end |
#do_version_get(**args) ⇒ Nl::Async::Future<Messages::DoVersionGetReply>
get nfs enabled versions
1895 1896 1897 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1895 def do_version_get(**args) @exchange.call(:"do", Messages::DoVersionGetRequest, Messages::DoVersionGetReply, args) end |
#do_version_set(**args) ⇒ Nl::Async::Future<void>
set nfs enabled versions
Requires CAP_NET_ADMIN in the initial user namespace.
1887 1888 1889 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1887 def do_version_set(**args) @exchange.call(:"do", Messages::DoVersionSetRequest, nil, args) end |
#dump_expkey_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpExpkeyGetReqsReply>
Dump all pending expkey requests
Requires CAP_NET_ADMIN in the initial user namespace.
1964 1965 1966 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1964 def dump_expkey_get_reqs(**args) @exchange.call(:"dump", Messages::DumpExpkeyGetReqsRequest, Messages::DumpExpkeyGetReqsReply, args) end |
#dump_rpc_status_get(**args) ⇒ Nl::Async::Stream<Messages::DumpRpcStatusGetReply>
dump pending nfsd rpc
1852 1853 1854 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1852 def dump_rpc_status_get(**args) @exchange.call(:"dump", Messages::DumpRpcStatusGetRequest, Messages::DumpRpcStatusGetReply, args) end |
#dump_svc_export_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpSvcExportGetReqsReply>
Dump all pending svc_export requests
Requires CAP_NET_ADMIN in the initial user namespace.
1943 1944 1945 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1943 def dump_svc_export_get_reqs(**args) @exchange.call(:"dump", Messages::DumpSvcExportGetReqsRequest, Messages::DumpSvcExportGetReqsReply, args) end |