mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Update Cisco NSO module required versions. (#36736)
NSO modules will now work with older versions of NSO, update version requirements.
This commit is contained in:
committed by
John R Barker
parent
26d9de6f3e
commit
f8d20f970f
@@ -625,10 +625,7 @@ def connect(params):
|
||||
return client
|
||||
|
||||
|
||||
def verify_version(client, required_versions=None):
|
||||
if required_versions is None:
|
||||
required_versions = [(4, 5), (4, 4, 3)]
|
||||
|
||||
def verify_version(client, required_versions):
|
||||
version_str = client.get_system_setting('version')
|
||||
if not verify_version_str(version_str, required_versions):
|
||||
supported_versions = ', '.join(
|
||||
|
||||
Reference in New Issue
Block a user