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

Skip IP creating if no matching prefix was found #397

Closed
smasharov opened this issue Jun 6, 2024 · 5 comments
Closed

Skip IP creating if no matching prefix was found #397

smasharov opened this issue Jun 6, 2024 · 5 comments
Labels
awaiting reply Awaiting reply from issue owner enhancement New feature or request
Milestone

Comments

@smasharov
Copy link

We have a lot of different VRFs, IPs within them are often overlapped.

In the current version IP will be created in the most specific prefix, but in our case it can be wrong if the prefix within the proper VRF was not created.

Even if I create the exact prefix later, IP will not be re-assigned during the next run.

Is it possible to create an option to skip creating the IP addresses, that do not have the exact prefix and create the list of them in the log to create the missing prefixes by hand?

Also it will be good to have an option to skip IP address creation if we have the same prefix in the two or more VRF

The only exclude from this rule should be addresses with /32 netmask

@smasharov
Copy link
Author

Another option is to assign these addresses to separate "unknown" VRF

@bb-Ricardo
Copy link
Owner

Hi,

It would be possible to add a skip_ip_address_without_matching_prefix to the config options.

@smasharov
Copy link
Author

It would be great, thanks!

@bb-Ricardo
Copy link
Owner

Hi,

sorry for the late reply. I got some time to work on the project. Does this issue still persist?

@bb-Ricardo bb-Ricardo added the awaiting reply Awaiting reply from issue owner label Feb 19, 2025
@bb-Ricardo bb-Ricardo added this to the v1.8.0 milestone Feb 26, 2025
@bb-Ricardo bb-Ricardo added the enhancement New feature or request label Feb 26, 2025
@bb-Ricardo
Copy link
Owner

bb-Ricardo commented Feb 26, 2025

Hi @smasharov,

I just pushed a commit to the development branch. I changed the behaviour and VRFs will be reassigned if a more specific VRF was found.

Would you be able to test this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting reply Awaiting reply from issue owner enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants