Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: route_map - diff for links #39

Open
ansibleguy opened this issue Dec 19, 2023 · 0 comments
Open

Problem: route_map - diff for links #39

ansibleguy opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working prio-low Low Priority

Comments

@ansibleguy
Copy link
Owner

ansibleguy commented Dec 19, 2023

Modules

frr_bgp_route_map and possible others

Version

latest

Ansible Version

ansible [core 2.15.3]
  config file = None
  configured module search path = ['/home/superstes/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/superstes/.local/lib/python3.10/site-packages/ansible
  ansible collection location = /home/superstes/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/superstes/.local/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

OPNSense Version

23.7.9

OPNSense-Plugin Version

No response

Issue

The linked items are shown by their UUID in diff-before and by their NAME in diff-after.
Should be UUID or NAME in both for diff to work correctly

Config Ansible

See test for mentioned module

Config OPNSense

See test for mentioned module

Debug Output

--- before
+++ after
@@ -6,9 +6,7 @@
     "enabled": true,
     "id": 65,
     "name": "ANSIBLE_TEST_2_1",
-    "prefix_list": [
-        "973b256f-9c7d-4446-b9f6-a832b8b29577"
-    ],
+    "prefix_list": "{'ANSIBLE_TEST_3_1': [50, 51]}",
     "set": "",
     "uuid": "5edd26e6-0bb3-4856-aa2a-599cb21101f7"
 }

Profiling Output

No response

@ansibleguy ansibleguy added triage bug Something isn't working and removed triage labels Dec 19, 2023
@ansibleguy ansibleguy changed the title Problem: oute_map - diff for links Problem: route_map - diff for links Dec 19, 2023
@ansibleguy ansibleguy added the prio-low Low Priority label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio-low Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant