New package versions and Network ping hotfix
- added packages for 2.6 and 2.7
- method hotfix for --detailed option in mcp-net ping command
- some draft routines to get BIOS versions in net report
Change-Id: I927a95eb6a3041989e9d3099a1fa11b5edfd9757
Related-PROD: PROD-34257
diff --git a/cfg_checker/common/other.py b/cfg_checker/common/other.py
index 35495b3..a385b90 100644
--- a/cfg_checker/common/other.py
+++ b/cfg_checker/common/other.py
@@ -99,7 +99,10 @@
def get_node_code(self, fqdn):
# validate
_isvalid, _message = self.validate_name(fqdn, message=True)
- _code = re.findall(r"[a-zA-Z]+?(?=(?:[0-9]+$)|(?:\-+?)|(?:\_+?)|$)", fqdn.split('.')[0])
+ _code = re.findall(
+ r"[a-zA-Z]+?(?=(?:[0-9]+$)|(?:\-+?)|(?:\_+?)|$)",
+ fqdn.split('.')[0]
+ )
# check if it is valid and raise if not
if _isvalid:
# try to match it with ones in map