Network check fixes
- Proper network mapping
- Proper reclass lookup
- VIP detection
- Simple error gathering
- IP shown as 'exploded', i.e. in CIDR format
- MTU matching and detection
- Errors class for handling errors, including codes and indices
- Summary and detailed errors view
- Flake8 refactoring
Change-Id: I8ee37d345bdc21c7ad930bf8305acd28f8c121c8
Related-PROD: PROD-28199
diff --git a/cfg_checker/helpers/console_utils.py b/cfg_checker/helpers/console_utils.py
index 33e1a39..5c32506 100644
--- a/cfg_checker/helpers/console_utils.py
+++ b/cfg_checker/helpers/console_utils.py
@@ -1,4 +1,3 @@
-from time import sleep
import sys
@@ -9,7 +8,7 @@
self.bar_size = bar_size
def write_progress(self, index, note=''):
- #calc index and percent values
+ # calc index and percent values
_percent = (100 * index) / self.total
_index = (self.bar_size * index) / self.total
# clear the line
@@ -24,7 +23,7 @@
note
))
sys.stdout.flush()
-
+
@staticmethod
def newline():
sys.stdout.write('\n')