mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07: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:
parent
26d9de6f3e
commit
f8d20f970f
5 changed files with 31 additions and 12 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue