Add configuration option to ignore IP Fabric /32 networks #506
Labels
integration: ipfabric
Issues/PRs for IPFabric integration
type: enhancement
New feature or request
type: major feature
Environment
Proposed Functionality
Add a configuration option to the IP Fabric adapter to allow the subnet mask matching to ignore the /32 networks auto populated by automatic discovery and load a /32 address in the parent supernet that is defined. If no subnet is defined as a parent supernet, it will load /32 by default. This would allow IP Fabric SSoT imports to match Infoblox (or other) SSoT imports that have /32 addresses defined inside of a /24 network.
I'll submit a PR if this is acceptable, but the summary of the changes are simple:
nautobot_ssot/integrations/ipfabric/constants.py:
nautobot_ssot/integrations/ipfabric/diffsync/adapter_ipfabric.py:
Use Case
IP Fabric automatic discovery populates a device and networks with:
Infoblox is configured with:
Current results: 10.0.1.0/32 =/= 10.0.1.0/24, new IP address 10.0.1.0/32 creation is attempted and fails for duplicate IP
Proposed result: 10.0.1.0/24 is matched from IP fabric, no IP creation is attempted if it exists from Infoblox
The text was updated successfully, but these errors were encountered: