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

Show last use date for address allocation #813

Open
ninjaix opened this issue Oct 30, 2022 · 1 comment
Open

Show last use date for address allocation #813

ninjaix opened this issue Oct 30, 2022 · 1 comment

Comments

@ninjaix
Copy link

ninjaix commented Oct 30, 2022

We assign addresses in numerical order. When a member leaves we remove the IPs from the virtual interface and then remove the interface. The numbers go back into the pool. Currently there is no way within IXP Manager to tell how long the IPs has aged. It appears the IP assignments are indexed by number for selection.

We would like either a date of last use shown when selecting the IP address
or
Have the IP address moved to the end of the available list

@listerr
Copy link
Contributor

listerr commented Dec 15, 2022

Currently we do this - kinda - because IPv4 addresses are "sponged" - bound to an interface to take up excessive ARP to the IP address. So they are not just deleted, but instead moved to a special VLAN.

In the Virtual Interfaces page for the member, I use IXPM's "duplicate VLAN interface" button to duplicate the peering VLAN IP to a special (not-private) VLAN, 4096 "Sponged", and then delete the peering VLAN interface and also the physical interfaces.
If the member is leaving, I enter the date the member left in IXP Manager.

I have a simple cgi script, json_arpsponges which just generates JSON output.

This is part of IXP-Watch, along with auto_sponge which automatically adds and removes the sponged IP addresses from the interface.

But you can just use it by itself, or use it for inspiration. You end up with a list of IP addresses together with the date the member left (if they left). To remove them, IXP manager hides the "Ports" tab on left members, but you can search for it by IP and edit it there and delete it.

IXP Manager does have a concept of a change log, but the logs are only retained for 6 months or so, so I don't think it will capture enough useful information.

https://your.ixpm.here/log/list?model_id=&created_at=&model=VlanInterface

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

No branches or pull requests

2 participants