Skip to content

Ansible ND 4.X Fabric Modules for iBGP, eBGP and External Fabric Types#209

Merged
mtarking merged 29 commits intoCiscoDevNet:nd42_integrationfrom
mikewiebe:nd_manage_fabric
Apr 8, 2026
Merged

Ansible ND 4.X Fabric Modules for iBGP, eBGP and External Fabric Types#209
mtarking merged 29 commits intoCiscoDevNet:nd42_integrationfrom
mikewiebe:nd_manage_fabric

Conversation

@mikewiebe
Copy link
Copy Markdown
Collaborator

@mikewiebe mikewiebe commented Mar 27, 2026

This PR introduces 3 new modules to configure ibgp, ebgp and external fabric types.

Additionally this has a fix for state: merged when using the orchestrartor and ND state machine

Fix Details:

Fix: state: merged overwrites unspecified fields with Pydantic defaults

Root Cause

When state: merged is used and a field like banner is not specified in the task config, Pydantic still populates it with its default value (""). The merge() method in NDBaseModel was applying all non-None field values from the proposed config — including these unintended defaults — overwriting existing values.

@mikewiebe mikewiebe changed the base branch from master to nd42_integration March 27, 2026 16:14
@mikewiebe mikewiebe changed the title ND4.2 Fabric Modules for iBGP, eBGP and External Fabric Types [DRAFT] ND4.2 Fabric Modules for iBGP, eBGP and External Fabric Types Mar 27, 2026
@mikewiebe mikewiebe changed the title [DRAFT] ND4.2 Fabric Modules for iBGP, eBGP and External Fabric Types ND4.2 Fabric Modules for iBGP, eBGP and External Fabric Types Apr 1, 2026
@mikewiebe mikewiebe changed the title ND4.2 Fabric Modules for iBGP, eBGP and External Fabric Types Ansible ND 4.X Fabric Modules for iBGP, eBGP and External Fabric Types Apr 1, 2026
@mtarking mtarking requested a review from gmicol April 2, 2026 01:47
Copy link
Copy Markdown
Collaborator

@allenrobel allenrobel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with comments.

@mtarking mtarking merged commit ed218e9 into CiscoDevNet:nd42_integration Apr 8, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants