summaryrefslogtreecommitdiffstats
path: root/commands/service
Commit message (Collapse)AuthorAgeFilesLines
* doc: regenerated cli html documenationMichal Minar2014-04-241-1/+1
|
* doc: created common makefile for documentationMichal Minar2014-04-241-179/+1
| | | | | Makefiles for documentation contained redundant code. Created one generic Makefile which is included by all the others.
* doc: use openlmithemeMichal Minar2014-04-241-1/+1
|
* require openlmi-tools instead of openlmi-scriptsMichal Minar2014-04-241-1/+1
| | | | | Subcommands now should depend only on openlmi-tools that contain both LMIShell and LMI Meta-command.
* service: fixed reload commandsMichal Minar2014-04-031-3/+3
| | | | Resolves upstream ticket #289
* unified script versionsMichal Minar2014-03-173-26/+5
| | | | | | | All scripts have the same version which is set in single file (VERSION). All setup.py and conf.py scripts containing these version numbers were renamed to *.skel. These skeletons are then read by makefiles and proper *.py scripts are generated out of them.
* service: fixed error reportingMichal Minar2014-02-261-8/+18
| | | | | | | | Handle errors cases gracefully. AttributeError is confusing when actually an instance can not be found on remove host. Behave the same when exception handling is set to enable or disable (lmishell thing).
* documentation updatesMichal Minar2014-02-241-2/+2
| | | | | Added few Makefiles and setup configs. Just to make distribution to PyPI easy.
* preparation for releaseMichal Minar2014-02-241-1/+1
| | | | Bumped versions of command libraries.
* service: updated generated documentationMichal Minar2014-02-241-6/+7
|
* service: prettified error descriptionsMichal Minar2014-02-211-9/+17
| | | | Related to trace ticket #237
* service: allowed to enable and disable serviceMichal Minar2014-02-202-14/+55
| | | | | | Also improved logging messages. Resolves trac ticket #240
* service: redone interfaceMichal Minar2014-02-202-24/+89
| | | | | | | | | | | | | | | Column headers were quite confusing for both listing and show commands. New they contain more human-friendly values and have proper names. Removed oneshot option. This argument was out of false understanding of EnabledDefault property. When it is set to NotApplicable, it means the service is static - it can not be enabled or disabled. It is run when needed (when something depends on it). Thus this options is removed and Enabled column shows Static value for such services. Stripped .service suffix from service names. Resolves trac tickets: #239 #241
* service: print nice message when service is not foundMichal Minar2014-02-201-20/+26
|
* service: accept service names without .service suffixMichal Minar2014-02-201-0/+2
| | | | Resolves trac ticket #238
* turned logging messages into sentencesMichal Minar2014-02-131-1/+1
| | | | | Which means that all messages have first letter uppercased and are terminated with a dot.
* Updated copyright yearPeter Schiffer2014-01-294-4/+4
|
* service: support newer lmi shell version (v0.8)Michal Minar2013-11-062-5/+6
| | | | Use get_computer_system() instead of hardcoded ComputerSystem class.
* improved makefiles for generating cmd line docMichal Minar2013-09-281-2/+9
| | | | | | | Determine the command names from setup.py for particular command libraries. Updated storage command line documentation.
* service: fixed invocation of restart commandMichal Minar2013-09-261-2/+2
|
* added makefiles to service and software commandsMichal Minar2013-09-172-0/+21
| | | | | To make the command developing workflow more convenient added Makefiles making some tasks easy to do.
* service: added usage and developer documentationMichal Minar2013-09-166-0/+521
|
* service api changeMichal Minar2013-09-163-36/+118
| | | | | | | | Extended api for service management. Improved documentation strings for rendering to html. Also improved speed, when working with single instance of service. Bumped version.
* fixed license field in setup scriptsMichal Minar2013-09-051-2/+2
|
* pylint fixesMichal Minar2013-08-302-10/+10
| | | | variable/function renames, doc strings added
* updated service and software scriptsMichal Minar2013-08-292-15/+30
| | | | | Api changes and new features of lmi meta-command now reflected in service and software scripts.
* use LmiInstanceLister in service libraryMichal Minar2013-08-292-3/+3
| | | | | Replaced LmiLister with LmiInstanceLister in service command library.
* renamed command egg names to openlmiMichal Minar2013-08-271-2/+2
| | | | | | Because of upstream change renaming all python eggs from lmi to openlmi, dependencies need to be updated. Command egg names were modified in a same way.
* Fix "packages" line in setup.py for lmi script commandsStephen Gallagher2013-08-101-1/+1
|
* use enumeration constant identifiers instead of numbersMichal Minar2013-08-091-3/+6
| | | | Utilise new feature of shell to make the code more readable.
* doc strings updatesMichal Minar2013-08-082-2/+2
| | | | spaces, be gone
* changed license to 2-clause BSDMichal Minar2013-08-083-39/+66
| | | | | Changed header of all source file to contain Simplified BSD License instead of LGPLv2.1+.
* added NAMESPACE property to end-point commandsMichal Minar2013-08-081-17/+14
| | | | | | | | | | | | | Associated functions are now invoked with a namespace object as a first argument rather than connection. Default namespace is root/cimv2. To change it, one can define command with: class ListClassFromOtherNamespace(LmiLister): NAMESPACE = 'other/namespace' ... To preserve the previous behaviour (pass the connection object again), NAMESPACE needs to be set to False.
* fixed setup scripts of commandsMichal Minar2013-08-071-1/+1
| | | | ensure, that commands are importable, when installed to user location
* polished service commandMichal Minar2013-08-052-4/+44
| | | | added docstrings and made list interface nicer
* removed dependency on python-cliffMichal Minar2013-08-051-5/+5
| | | | | | | | | | | | argparse not used at all - docopt used instead added doc strings to code using *cmd* prefix in usage strings instead of hardcoding "lmi cmd_name" in it updated for changes in current openlmi-tools
* added show subcommand to service commandMichal Minar2013-07-212-0/+19
|
* added service and software commandsMichal Minar2013-07-196-0/+200
both need some more tuning, testing, feature enhancements and documenting software command is far from complete still a rough prototypes