monitorstack/monitorstack/plugins
Matt Thompson 98cb350edc Only import os_utils when plugin is called
Currently, if a dependency of one of the os_ plugins is missing,
running monitorstack with no args returns (for example):

```
OpenStack plugins require access to the OpenStackSDK. \
    Please install "python-openstacksdk". \
    ERROR: No module named keystoneauth1.loading
```

This commit moves the os_utils import in the os_ plugins to within cli,
similar to what is being done in the kvm module.  This allows the
monitorstack cli to operate normally even if a plugin cannot be loaded.

Change-Id: I2ff1ad8c6365f6592191f09ea9c0d543f81e16ba
2017-06-23 11:56:24 -04:00
..
__init__.py Add PEP257 checks (#15) 2017-03-09 15:48:18 -06:00
kvm.py Fix variable return bugs in kvm plugin 2017-04-19 12:42:56 -05:00
memcache.py Add memcache plugin 2017-04-27 07:35:51 -05:00
os_block_pools_totals.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_block_pools_usage.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_quota_cores.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_quota_instance.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_quota_ram.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_used_cores.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_used_disk.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_used_instance.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
os_vm_used_ram.py Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
process.py Add process check (#23) 2017-03-10 15:49:11 -06:00
uptime.py Add PEP257 checks (#15) 2017-03-09 15:48:18 -06:00