mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20fb77c49b
* nxos_interfaces_ospf: fix passive-interface states & check_mode This fix addresses issues #41704 and #45343. The crux of the problem is that `passive-interface` should have been treated as a tri-state value instead of a boolean. The `no` form of the command disables the passive state on an interface (allows it to form adjacencies and send routing updates). It's essentially an override for `passive-interface default` which enables passive state on all OSPF interfaces.\* This `no` config will be present in `running-config`. \**See `router ospf` configuration.* Since both enable and disable states are explicit configs, the proper way to remove either of these is with the `default` syntax. Passive-interface config syntax: ``` ip ospf passive-interface # enable (nvgens) no ip ospf passive-interface # disable (nvgens) default ip ospf passive-interface # default (removes config, does not nvgen) ``` Code changes: * `passive_interface` param changed from boolean to string, restricted to `true`,`false`,`default`. * Several passive-interface specific checks were added because the existing module logic tends to test for true or false and doesn't handle the None case. * Fixed `check_mode`. Sanity verified on: N9K,N7K,N3K,N6K * Fix doc header * Unit tests for passive-interface * doc fix #2 * Fix indent for SA * Remove 'default' keyword, restore bool behavior * remove changes to sanity |
6 years ago | |
---|---|---|
.. | ||
aireos | 6 years ago | |
aruba | 6 years ago | |
basics | 8 years ago | |
checkpoint | 6 years ago | |
cli | 6 years ago | |
cloudvision | 6 years ago | |
cnos | 6 years ago | |
cumulus | 7 years ago | |
dellos6 | 6 years ago | |
dellos9 | 6 years ago | |
dellos10 | 6 years ago | |
edgeos | 6 years ago | |
edgeswitch | 6 years ago | |
enos | 6 years ago | |
eos | 6 years ago | |
exos | 6 years ago | |
f5 | 6 years ago | |
fortimanager | 6 years ago | |
frr | 6 years ago | |
ftd | 6 years ago | |
ingate | 6 years ago | |
ios | 6 years ago | |
iosxr | 6 years ago | |
ironware | 6 years ago | |
itential | 6 years ago | |
junos | 6 years ago | |
netact | 6 years ago | |
netscaler | 6 years ago | |
netvisor | 6 years ago | |
nos | 6 years ago | |
nso | 6 years ago | |
nuage | 6 years ago | |
nxos | 6 years ago | |
onyx | 6 years ago | |
opx | 6 years ago | |
ovs | 6 years ago | |
radware | 6 years ago | |
routeros | 6 years ago | |
slxos | 6 years ago | |
voss | 6 years ago | |
vyos | 6 years ago | |
__init__.py | 8 years ago |