- The nvmf_shutdown helper program connects to a remote NVMeoF controller and then shuts down the controller in various ways (reset vs shutdown vs connection close) with an optional delay between the shutdown and closing the connection.
If the initial shutdown is not a connection close, the program can also re-enable the controller (after an optional delay) before shutting down the controller again (using any of the available methods).
- The shutdown tests require an address and NQN of a remote controller to be specified via configuration variables. To test FreeBSD's in-kernel controller, ctld must be running in the environment with the 'addr' and 'nqn' config variables set to values from the config file. A sample ctl.conf is included for test environments to use.
Sponsored by: Chelsio Communications
fixup: Don't start/stop ctld as part of the shutdown tests
Use templates to generate individual test cases for each test and require
the addr and nqn to be supplied as config variables. ctl.conf is still
around.