diff options
author | Peter Stachowski <peter@tesora.com> | 2016-11-03 13:56:41 -0400 |
---|---|---|
committer | amrith <amrith.kumar@gmail.com> | 2017-02-27 18:42:34 +0000 |
commit | a9a4ae4bba71db5e95070aad7009ebdffa7e20eb (patch) | |
tree | fd4e4be669632f771eae8fe7857cf8fd2618115e /tools | |
parent | bc49fd25b2b76fd0dc7a36935a8bb889768c19ab (diff) | |
download | trove-a9a4ae4bba71db5e95070aad7009ebdffa7e20eb.tar.gz |
Fix module-instances command
Fixed the module-instances command to return a paginated
list of instances. Also added a --count_only flag to the
command to return a summary of the applied instances
based on the MD5 of the module (this is most useful
for live_update modules, to see which ones haven't been
updated).
Also cleaned up the code a bit, putting some methods
into files where they made more sense (and would cause
less potential collisions during import).
Change-Id: I963e0f03875a1b93e2e1214bcb6580c507fa45fe
Closes-Bug: #1554900
Diffstat (limited to 'tools')
-rw-r--r-- | tools/trove-pylint.config | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/tools/trove-pylint.config b/tools/trove-pylint.config index 01ced46f..06031e79 100644 --- a/tools/trove-pylint.config +++ b/tools/trove-pylint.config @@ -1140,6 +1140,78 @@ [ "trove/instance/models.py", "E1101", + "Class 'DBInstance' has no 'cluster_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstance' has no 'id' member", + "Instances.load" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstance' has no 'id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstance' has no 'tenant_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstanceModule' has no 'deleted' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstanceModule' has no 'instance_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstanceModule' has no 'md5' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstanceModule' has no 'module_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBInstanceModule' has no 'updated' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBModule' has no 'id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBModule' has no 'md5' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", + "Class 'DBModule' has no 'name' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "E1101", "Class 'InstanceStatus' has no 'LOGGING' member", "SimpleInstance.status" ], @@ -1152,6 +1224,78 @@ [ "trove/instance/models.py", "no-member", + "Class 'DBInstance' has no 'cluster_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstance' has no 'id' member", + "Instances.load" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstance' has no 'id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstance' has no 'tenant_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstanceModule' has no 'deleted' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstanceModule' has no 'instance_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstanceModule' has no 'md5' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstanceModule' has no 'module_id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBInstanceModule' has no 'updated' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBModule' has no 'id' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBModule' has no 'md5' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", + "Class 'DBModule' has no 'name' member", + "module_instance_count" + ], + [ + "trove/instance/models.py", + "no-member", "Class 'InstanceStatus' has no 'LOGGING' member", "SimpleInstance.status" ], |