Remove ads from cli welcome msg. Mention help is available.

Signed-off-by: Andy Grover <agrover@redhat.com>
add docs

add a man page.

Signed-off-by: Andy Grover <agrover@redhat.com>
append all start scripts into /etc/target/all_start.sh

This should make systemd packaging a little easier.

Signed-off-by: Andy Grover <agrover@redhat.com>
temporary "bar" cmd to save state
remove support for DR Ramdisks

The are no longer supported in LIO kernel code.

Signed-off-by: Andy Grover <agrover@redhat.com>
Remove backstore_legacy, dedup_so_name(), and legacy_hba_view

Don't need to worry about legacy backstores.

Signed-off-by: Andy Grover <agrover@redhat.com>
lesser indent of json
add initial restore support. rename cmds to save/restore

Signed-off-by: Andy Grover <agrover@redhat.com>
make sure savefile ends with '\n'

Signed-off-by: Andy Grover <agrover@redhat.com>
Fix CnP error in prm_buffered

Signed-off-by: Andy Grover <agrover@redhat.com>
Remove generate_wwn optional parameter

Generating WWNs is the default, and you pretty much always want one.
The only option we may want to add (it would be easy) would be to
optionally specify the WWN.

Signed-off-by: Andy Grover <agrover@redhat.com>
iblock backstore renamed to block

Signed-off-by: Andy Grover <agrover@redhat.com>
IBlockBackstore and IBlockStorageObject renamed

Signed-off-by: Andy Grover <agrover@redhat.com>
Enable execution of cmdline parameters in targetcli

Check the commandline and only enter interactive shell if no additional
parameters were given. If parameters were given, execute them and exit.

Signed-off-by: Andy Grover <agrover@redhat.com>
Turn down fabric module load messages info -> debug

Signed-off-by: Andy Grover <agrover@redhat.com>
Add savefile, clear_existing option to save/restore commands

Default save file to /etc/target/saveconfig.json.

Signed-off-by: Andy Grover <agrover@redhat.com>
Add documentation and print something on save/restore

Also, save a backup if overwriting an existing file when saving.

Signed-off-by: Andy Grover <agrover@redhat.com>
Move consecutive number generation to rtslib

This lets other users of rtslib let it generate tags/lun indexes for them.

Signed-off-by: Andy Grover <agrover@redhat.com>
Update README for free-branch

Signed-off-by: Andy Grover <agrover@redhat.com>
Remove cmd that calls tcm_full_backup

Although the new backup/restore code isn't quite ready, we can be sure
we shall not be returning to using lio-utils. Remove saveconfig
implementation and import.