Skip to content

Remove intern_ip support from supernet calculation#392

Merged
kofrezo merged 2 commits intomainfrom
k_af_aware_supernet
Apr 1, 2025
Merged

Remove intern_ip support from supernet calculation#392
kofrezo merged 2 commits intomainfrom
k_af_aware_supernet

Conversation

@TuxPowered42
Copy link
Contributor

This makes it possible to calculate AF-unaware supernets over any attribute. Update tests to provide both AF-aware and AF-unaware supernets, name them the same way we use them at InnoGames for simplicity.

@TuxPowered42 TuxPowered42 requested review from kofrezo and lamaral March 21, 2025 12:11
@TuxPowered42 TuxPowered42 changed the title Remove intern_ip support from supernet calculation Draft: Remove intern_ip support from supernet calculation Mar 21, 2025
@TuxPowered42 TuxPowered42 force-pushed the k_af_aware_supernet branch 3 times, most recently from a160b1c to 9daca56 Compare March 25, 2025 15:26
@TuxPowered42 TuxPowered42 changed the title Draft: Remove intern_ip support from supernet calculation Remove intern_ip support from supernet calculation Mar 25, 2025
Comment on lines +201 to +203
net.server_id, net.hostname, net.intern_ip, net.servertype_id,
net_attr.inet_address_family, host_attr.inet_address_family,
host.server_id AS host_server_id, host_attr.attribute_id AS host_attr_name
Copy link
Contributor

Choose a reason for hiding this comment

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

I find that more readable:

Suggested change
net.server_id, net.hostname, net.intern_ip, net.servertype_id,
net_attr.inet_address_family, host_attr.inet_address_family,
host.server_id AS host_server_id, host_attr.attribute_id AS host_attr_name
net.server_id,
net.hostname,
net.intern_ip,
net.servertype_id,
net_attr.inet_address_family,
host_attr.inet_address_family,
host.server_id AS host_server_id,
host_attr.attribute_id AS host_attr_name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@TuxPowered42 TuxPowered42 force-pushed the k_af_aware_supernet branch 2 times, most recently from 55a135f to b1d828b Compare March 26, 2025 15:25
This makes it possible to calculate AF-unaware supernets over any
attribute.
Update tests to provide both AF-aware and AF-unaware supernets,
name them the same way we use them at InnoGames for simplicity.
@kofrezo kofrezo force-pushed the k_af_aware_supernet branch from b1d828b to 7ae612e Compare March 31, 2025 12:43
@kofrezo kofrezo merged commit 5b8170a into main Apr 1, 2025
5 checks passed
@kofrezo kofrezo deleted the k_af_aware_supernet branch April 1, 2025 12:29
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.

3 participants