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

ipv6 support #1204

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

ipv6 support #1204

wants to merge 12 commits into from

Conversation

lsh-0
Copy link
Contributor

@lsh-0 lsh-0 commented Nov 21, 2023

  • fix routing on new subnets before launching new instance
  • launch an ipv6 instance, ssh into it and run highstate successfully
  • review

src/buildercore/lifecycle.py Outdated Show resolved Hide resolved
@@ -408,10 +432,12 @@ def ec2_security(context):
security_group_ports = _convert_ports_to_dictionary(security_group_data)
ingress = merge_ports(ec2_ports, security_group_ports)

ipv6 = context['aws'].get('subnet-ipv6', False)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not going to work with mixed-ip subnets

@@ -20,7 +20,7 @@ def _dummy_instance_is_active(find_ec2_instances, load_context, active_stack_nam
},
}
instance = MagicMock()
instance.public_ip_address = '54.54.54.54'
instance.public_ip_address = '54.54.54.54' # todo
Copy link
Contributor Author

Choose a reason for hiding this comment

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

todo

…v6'.

the project flags affect more than just subnets.
the flags are at the 'aws' level because they'll need to be overwritten on a per-instance basis,
rather than a per-project basis.
@lsh-0 lsh-0 marked this pull request as ready for review February 14, 2024 03:31
# project supports IPv4 or IPv6 or both.
# when both are true and circumstances forbid it (ec2 subnets), prefer IPv6
use-ipv4: true # create DNS A records, IPv4 CIDRs, use IPv4 subnets
use-ipv6: false # create DNS AAAA records, IPv6 CIDRs, use IPv6 subnets
Copy link
Contributor Author

Choose a reason for hiding this comment

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

perhaps just 'ipv4' and 'ipv6' ?

projects/elife.yaml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant