Skip to content

Commit 714e996

Browse files
committed
Added the tversion check
1 parent 8c5487a commit 714e996

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aci-preupgrade-validation-script.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,6 +3898,9 @@ def supported_hardware_check(tversion, fabric_nodes, **kwargs):
38983898
recommended_action = 'Select supported target version or upgrade hardware'
38993899
doc_url = 'https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#supported-hardware-compatibility'
39003900

3901+
if not tversion:
3902+
return Result(result=MANUAL, msg=TVER_MISSING)
3903+
39013904
if not tversion.older_than("5.0(1a)"):
39023905
for node in fabric_nodes:
39033906
model = node['fabricNode']['attributes']['model']

0 commit comments

Comments
 (0)