mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
NSO modules now work as expected with NSO 5.X (#54766)
Update NSO modules for NSO 5.0 which change how prefix mapping is made as a single prefix can have multiple meanings depending on device being managed
This commit is contained in:
parent
919b19f18d
commit
339f6cfcd1
3 changed files with 147 additions and 59 deletions
|
@ -176,7 +176,7 @@ class NsoConfig(object):
|
|||
return self._changes, self._diffs
|
||||
|
||||
def _data_write(self, values):
|
||||
th = self._client.new_trans(mode='read_write')
|
||||
th = self._client.get_trans(mode='read_write')
|
||||
|
||||
for value in values:
|
||||
if value.state == State.SET:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue