]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: autoconnect: add service unit for connecting NBFT subsystems
authorMartin Wilck <mwilck@suse.com>
Tue, 23 May 2023 10:48:55 +0000 (12:48 +0200)
committerDaniel Wagner <wagi@monom.org>
Wed, 8 Nov 2023 12:53:35 +0000 (13:53 +0100)
commit5ea373e16d5f6b8cd1bc5bdd8dc792dcbf15c700
tree2741cd40267035260bf88cf5e0309cf2e7c451e3
parenta5a7b3cd8da6ff1ea4eb94754bf65eb807020c57
fabrics: autoconnect: add service unit for connecting NBFT subsystems

Create a separate unit file for connecting to NBFT-defined subsystems.
This unit is intended to be called in "post-up" scripts from network
management software if an interface defined in the HFI section of the
NBFT is brought up (L3-configured).

In simple scenarios with just one HFI, this won't be necessary because the
interface must be brought up in the initramfs already. But in multipath
scenarios, the initramfs may choose not to wait for every HFI to come up, and
thus it may be necessary to bring up the secondary connection(s) later on.

Signed-off-by: Martin Wilck <mwilck@suse.com>
[dwagner: use unit options instead of ExecStartPre
          update nvme command line]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
meson.build
nvmf-autoconnect/systemd/nvmf-connect-nbft.service.in [new file with mode: 0644]