Mark Buechler
d6f3264de7
- Remove device requirement from removeLun().
...
- Fix a couple cases where -group is not really required.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 17:58:06 +00:00
Mark Buechler
21e0babdc2
- Misc fixes to remaining options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:20:13 +00:00
Mark Buechler
ed9a0bd470
- Added in add_target & rem_target options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 14:59:38 +00:00
Mark Buechler
f154480e68
- Minor fix for setting attributes which aren't readable.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:28:18 +00:00
Mark Buechler
95cbc2bbf5
- All list/set attribute options now work.
...
- Adding and removing target & driver attributes now work.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1957 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:02:33 +00:00
Mark Buechler
7b836c12aa
- Add a couple more options to the help screen
...
which will be implemented in the coming days.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 20:24:48 +00:00
Mark Buechler
13323936b4
- Better list trace levels.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:50:36 +00:00
Mark Buechler
819e3ea27e
- Fix a bunch of set attribute functions as well as special handling for trace_level.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:46:37 +00:00
Mark Buechler
90357a4cb7
- Finish up list functions, except for list_sessions.
...
- Allow '0' named driver, target, groups, luns and attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1921 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 17:39:05 +00:00
Mark Buechler
f734133e4a
- Small fix to list_group.
...
- Fix -list-scst-attr.
- Fix -list_dev_attr.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:38:49 +00:00
Mark Buechler
ebeeebf2d2
- Fix list_group.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:15:50 +00:00
Mark Buechler
f5d4013804
- Fix list_target.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1914 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:08:15 +00:00
Mark Buechler
27a5feb7e9
- Fix list_driver.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:03:37 +00:00
Mark Buechler
c77d7d62cc
- Fix list_handler and build-out list_device.
...
- Small fix to checkConfiguration().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 14:59:37 +00:00
Mark Buechler
4c7079dd3c
- Enhance checkConfiguration() a bit.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 13:44:49 +00:00
Mark Buechler
0857c68f7d
- Be less verbose with the 'enabled' attribute.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-29 16:44:32 +00:00
Mark Buechler
32d9107dfd
Big changes.
...
1. Simplify attribute setting to use a generic setAttributes()
function for anything requiring non-dynamic attributes.
2. Reorder function argument to always be the same as their
associated SCST::SCST methods.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-29 15:27:24 +00:00
Vladislav Bolkhovitin
2d9343958b
Patch from Benjamin Yates <benjamin@rqdq.com> improving archlinux pkgbuild build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 18:44:06 +00:00
Mark Buechler
dddcae1418
- Set driver and handler attributes on commit as well.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 15:36:06 +00:00
Mark Buechler
eb124ec057
- Properly handling of auto-enabled targets/drivers while
...
reading a deprecated config file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 14:46:41 +00:00
Mark Buechler
96aaba2829
- Create targets from old Default_ groups for all drivers
...
capable of dynamic target creation.
- While converting an old config file, set 'enabled' to 1 for
all non-qla drivers which have the 'enabled' attribute so
their targets can become enabled as well.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 14:06:57 +00:00
Mark Buechler
95072429d8
- Don't tream an hash like an array.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 13:27:56 +00:00
Mark Buechler
7bfbb41963
- When reading deprecated config files, don't configure empty groups.
...
- Minor formatting fix in writeConfiguration().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1863 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 16:29:27 +00:00
Mark Buechler
f896acc78c
- Forgot to rename sysfs to scstadmin.sysfs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1862 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 14:59:08 +00:00
Mark Buechler
be6f9f219b
- Rename sysfs and procfs to better names.
...
- Specify module use version for procfs scstadmin.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1861 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 14:51:08 +00:00
Mark Buechler
253c80692e
- Integrate scstadmin's Makefile with enable_proc and
...
disable_proc so the correct scstadmin version is
installed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1860 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-22 14:47:16 +00:00
Mark Buechler
627b323dbe
- Missed a spot where scst base attributes are getting written
...
even if they aren't key attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1854 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-21 20:26:47 +00:00
Mark Buechler
6f8dfe947f
- Handle Default and Default_ groups. Default_X groups will not
...
be configured if the associated target X has not been pre-configured.
- Misc. fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1853 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-21 17:24:48 +00:00
Mark Buechler
ffd2803eca
- When reading and old configuration file, if no targets
...
are enabled, add groups/initiators for all known targets.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1851 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-21 15:28:21 +00:00
Mark Buechler
bd48c8f119
- Check for non-existent devices and warn/remove them from read config.
...
- Error out if a target doesn't exist to prevent removing potentially
good running config.
- Be sure to remove luns and initiators before the group they're in.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1820 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-13 19:12:44 +00:00
Mark Buechler
4e9f58c279
- Fixed driver/target attribute setting as well as dynamic attribute
...
adding and deleting. I must have been low on meds the first time
I wrote those.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1818 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-13 18:27:36 +00:00
Mark Buechler
9e11c29d06
- Fix handling of /dev paths.
...
- Check for device paths which have a '/' in checkConfiuration().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1817 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-13 15:15:11 +00:00
Mark Buechler
10339ef259
- Fixed empty CREATE_ATTRIBUTES.
...
- Added version requirement to SCST::SCST.
- Added support for deleting of dynamic attributes.
- Fixed support for changing non-dynamic attributes.
- Fixed (sorta) vcdrom handler.
Still possibly broken:
- Adding/deleting dynamic attributes is a bit broken in my
SCST tree for some reason. I suspect this may be fixed
in a later svn commit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-07 18:12:40 +00:00
Mark Buechler
b151a59182
- Handle removing virtual targets on -clear_config.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 19:22:31 +00:00
Mark Buechler
ef331b97d5
- More work on dynamic attributes. Both hardware and virtual targets/drivers
...
should be working at this point.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 19:06:38 +00:00
Mark Buechler
2cab37c2c2
- Better handling on 'enabled' attribute.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 17:12:16 +00:00
Mark Buechler
2da1657b43
- Fix for calls to driverIsVirtualCapable().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 16:48:56 +00:00
Mark Buechler
3016232224
- Small fix to driverIsVirtualCapable().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 16:46:17 +00:00
Mark Buechler
d6053c491b
- Changes to scstadmin.sysfs necessary for the recent module changes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 15:08:39 +00:00
Mark Buechler
935f9f3e6a
- Finish up dynamic attribute adding/deleting for virtual capable
...
drivers & targets.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1770 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-15 15:07:54 +00:00
Mark Buechler
dcc73eb66b
- More "parameter" to "attribute" changes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:51:03 +00:00
Mark Buechler
664a307edc
- Small type fix in session().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:43:45 +00:00
Mark Buechler
1ea25d2975
- Rename "parameters" for "attributes" to be more inline with
...
SCST terminology.
- Support adding attributes to drivers & targets.
- Support adding virtual targets.
- Support luns outside of ini groups.
- New option -nonkey to allow writing of non-key attributes to
the config file.
TODO: Cleanup writeConfiguration() - it has a LOT of redundant code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:35:09 +00:00
Mark Buechler
eba08eadf5
- Rename "parameters" for "attributes" to be more inline with
...
SCST terminology.
- Renumbered error codes.
- Added ability to create attributes for drivers & targets.
- Make distinction between key attributes and normal attributes.
- Force attribute "enabled" to be a key attribute.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1751 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:31:42 +00:00
Mark Buechler
2fe68c6554
- Finish up handling LUNs outside of groups. This should now
...
work with iscsi (and any driver/target which supports not
using ini_groups).
- Add support for creating/deleting targets.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-01 18:25:45 +00:00
Mark Buechler
8ed236d49f
- Split out apply config into parts to allow for luns (or other sections) to
...
exist outside of ini_groups - necessary for virtual targets.
- Added a few more methods (incomplete) for handing virtual targets.
- Started work on the check config code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-18 19:59:09 +00:00
Mark Buechler
81c6cb0397
- Added ability to read/convert an old configuration file. NOTE, this
...
may not work 100%. Defined groups will only be configured for
targets contained within [TARGET enable] sections.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-12 18:31:22 +00:00
Mark Buechler
9539887b16
- Fix writeConfiguration() to not create empty groups and tidy it up a bit.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-11 18:58:03 +00:00
Mark Buechler
c770d037bd
- Rename *AvailableParameters() to *CreateParameters() in module.
...
- Both write and apply target parameters now.
- Perform config deletions now with -force option.
Scstadmin.sysfs should now suffice to perform basic configuration
changes as well as apply from a config file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-06 16:46:32 +00:00
Mark Buechler
c21f57bc97
- Remove some debugging.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 17:43:36 +00:00