mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Changes to enable network_cli and netconf on iosxr integration tests. (#35269)
* * Changes to enable network_cli and netconf on modules. * limits connection local for single TC per playbook. * * adds a note on why only 1 TC is executed with connection: local
This commit is contained in:
parent
f49a782099
commit
56eeaf1b2f
25 changed files with 548 additions and 499 deletions
|
@ -431,7 +431,7 @@ class NCConfiguration(ConfigBase):
|
|||
if self._want['name_servers']:
|
||||
server_param = {}
|
||||
server_param['vrf'] = self._want['vrf']
|
||||
server_param['order'] = '1'
|
||||
server_param['order'] = '0'
|
||||
for server in self._want['name_servers']:
|
||||
if server in sys_node['name_servers']:
|
||||
server_param['name_servers'] = server
|
||||
|
@ -476,7 +476,7 @@ class NCConfiguration(ConfigBase):
|
|||
server_adds, server_removes = diff_list(self._want['name_servers'], sys_node['name_servers'])
|
||||
server_param = {}
|
||||
server_param['vrf'] = self._want['vrf']
|
||||
server_param['order'] = '1'
|
||||
server_param['order'] = '0'
|
||||
for domain in server_adds:
|
||||
if domain not in sys_node['name_servers']:
|
||||
server_param['name_servers'] = domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue