Re: [ANN] LIO userspace improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ritesh,

On 02/28/2014 08:33 AM, Ritesh Raj Sarraf wrote:

And simply load it from the lio cli using "load snippet.lio" in config
mode, or "merge snippet.lio" if you want to merge that to the current
configuration. Then you just need to issue 'commit' when your
configuration is ready to be applied on the system and saved as the next
startup config.
You may also want to have a "validate snippet.lio", called internally,
to validate the syntax.

Almost all big projects, with large configuration files, do so.
Yes! :-)

Actually this is done on load, and before commit: checked against installed policy (defaults, references to other objects in the config, required attributes, syntax). More is to be implemented, as the verify() (should call it validate, rally) command is lacking currently and does not do a few things yet: check a portal IP exists on the server's interfaces, files and devices path are valid, etc.

BTW Ritesh, as a package maintainer, what do you thinks would be the best in the eventuallity we want to include rtslib + the lio cli only: rename the rtslib package into say 'lio', including all API + the cli, or split it in two packages (but the cli one would be tiny) ?
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux