Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 14, 2023
1 parent 1690813 commit 23648d3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
1 change: 1 addition & 0 deletions docs/cisco.ios.ios_ospfv2_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5367,4 +5367,5 @@ Status
Authors
~~~~~~~

- Sumit Jaiswal (@justjais)
- Vinay M (@roverflow)
2 changes: 1 addition & 1 deletion plugins/modules/ios_ospfv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
This module configures and manages the Open Shortest Path First (OSPF)
version 2 on IOS platforms.
version_added: 1.0.0
author:
author:
- Sumit Jaiswal (@justjais)
- Vinay M (@roverflow)
notes:
Expand Down
31 changes: 17 additions & 14 deletions tests/unit/modules/network/ios/test_ios_ospfv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,10 +1037,10 @@ def test_ios_ospfv2_overridden_2(self):
},
},
"domain_id": {"null": True},
"timers" : {
"pacing" : {
"lsa_group" : 25,
}
"timers": {
"pacing": {
"lsa_group": 25,
},
},
"max_metric": {"router_lsa": True, "on_startup": {"time": 100}},
"areas": [{"area_id": "10", "capability": True}],
Expand Down Expand Up @@ -1073,12 +1073,15 @@ def test_ios_ospfv2_overridden_2(self):
"sync": True,
},
},
"timers" : {
"pacing" : {
"flood" : 25,
}
"timers": {
"pacing": {
"flood": 25,
},
},
"max_metric": {
"router_lsa": True,
"on_startup": {"wait_for_bgp": True},
},
"max_metric": {"router_lsa": True, "on_startup": {"wait_for_bgp": True}},
"areas": [{"area_id": "11", "capability": True}],
"passive_interfaces": {
"default": True,
Expand All @@ -1099,17 +1102,17 @@ def test_ios_ospfv2_overridden_2(self):
commands = [
"router ospf 200 vrf blue",
"domain-id null",
'queue-depth hello unlimited',
'queue-depth update unlimited',
"queue-depth hello unlimited",
"queue-depth update unlimited",
"timers pacing lsa-group 25",
"no area 10 filter-list prefix test_prefix_in in",
"distribute-list 110 out",
"no distribute-list 10 out",
"router ospf 210 vrf green",
"auto-cost reference-bandwidth 5",
'max-metric router-lsa on-startup wait-for-bgp',
'mpls ldp sync',
'nsf ietf helper strict-lsa-checking',
"max-metric router-lsa on-startup wait-for-bgp",
"mpls ldp sync",
"nsf ietf helper strict-lsa-checking",
"timers pacing flood 25",
"area 11 capability default-exclusion",
"no area 10 capability default-exclusion",
Expand Down

0 comments on commit 23648d3

Please sign in to comment.