Skip to content

Commit

Permalink
Merge branch 'main' into update_snmp_traps
Browse files Browse the repository at this point in the history
  • Loading branch information
KB-perByte authored Oct 5, 2023
2 parents 5e3fd6d + f8cc93a commit fa419da
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/asottile/add-trailing-comma
rev: v3.0.1
rev: v3.1.0
hooks:
- id: add-trailing-comma

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.2"
rev: "v3.0.3"
hooks:
- id: prettier
entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec"
Expand All @@ -41,6 +41,6 @@ repos:
args: ["--filter-files"]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
3 changes: 3 additions & 0 deletions changelogs/fragments/fix_ospfv2_integration_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- ios_ospfv2 - fix initial_vrf_setup in integration tests which was not working due to missing parent attribute.
3 changes: 3 additions & 0 deletions changelogs/fragments/logging_global_order.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- ios_logging_global - fix configuration order to configure discriminator before buffer.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def _compare(self, want, have):
the `want` and `have` data with the `parsers` defined
for the Logging_global network resource.
"""
self._compare_complex_attrs(want, have)
self.compare(parsers=self.parsers, want=want, have=have)
self._compare_lists_attrs(want, have)
self._compare_complex_attrs(want, have)

def _compare_lists_attrs(self, want, have):
"""Compare list of dict"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
---
- name: Create and setup VRF configuration
vars:
cisco.ios.ios_config:
lines:
- ip vrf blue
- rd 100:1
- route-target export 100:1
- route-target import 100:1
- exit
- ip vrf ospf_vrf
- rd 100:2
- route-target export 100:2
- route-target import 100:2
- exit
cisco.ios.ios_config:
config: "{{ lines }}"
parents:
- ip vrf blue

0 comments on commit fa419da

Please sign in to comment.