mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Network load_config: Capture configuration output and display as warnings (#27851)
* Capture configuration output and display as warnings * Don't break on nxapi nxapi errors very loudly instead, so no need to muck about with warnings
This commit is contained in:
parent
2af759e9f9
commit
c1bf74283e
4 changed files with 9 additions and 3 deletions
|
@ -43,7 +43,7 @@ class TestNxosBgpNeighborAfModule(TestNxosModule):
|
|||
|
||||
def load_fixtures(self, commands=None, device=''):
|
||||
self.get_config.return_value = load_fixture('', 'nxos_bgp_config.cfg')
|
||||
self.load_config.return_value = None
|
||||
self.load_config.return_value = []
|
||||
|
||||
def test_nxos_bgp_neighbor_af(self):
|
||||
set_module_args(dict(asn=65535, neighbor='3.3.3.3', afi='ipv4',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue