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

[WIP]Add IPv6 support in Centos/Oracle Host checkout #17367

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions pytest_fixtures/core/contenthosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ def centos_host(request, version):
"distro": "centos",
"no_containers": True,
}
with Broker(**host_conf(request), host_class=ContentHost) as host:
with Broker(
**host_conf(request),
host_class=ContentHost,
deploy_network_type='ipv6' if settings.server.is_ipv6 else 'ipv4',
) as host:
yield host


Expand All @@ -265,7 +269,11 @@ def oracle_host(request, version):
"distro": "oracle",
"no_containers": True,
}
with Broker(**host_conf(request), host_class=ContentHost) as host:
with Broker(
**host_conf(request),
host_class=ContentHost,
deploy_network_type='ipv6' if settings.server.is_ipv6 else 'ipv4',
) as host:
yield host


Expand Down