Skip to content

Commit

Permalink
Enabling broker context managers for ipv6 network
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare committed Apr 10, 2024
1 parent 5972a88 commit 8929c60
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/capsule.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ CAPSULE:
OS: deploy-rhel # workflow to deploy OS that is ready to run the product
# Dictionary of arguments which should be passed along to the deploy workflow
DEPLOY_ARGUMENTS:
# deploy_network_type: '@jinja {{"ipv6" if this.server.is_ipv6 else "ipv4"}}'
1 change: 1 addition & 0 deletions conf/server.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ SERVER:
OS: deploy-rhel # workflow to deploy OS that is ready to run the product
# Dictionary of arguments which should be passed along to the deploy workflow
# DEPLOY_ARGUMENTS:
# deploy_network_type: '@jinja {{"ipv6" if this.server.is_ipv6 else "ipv4"}}'
# HTTP scheme when building the server URL
# Suggested values for "scheme" are "http" and "https".
SCHEME: https
Expand Down
2 changes: 2 additions & 0 deletions pytest_fixtures/core/sat_cap_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ def get_deploy_args(request):
rhel_version = get_sat_rhel_version()
deploy_args = {
'deploy_rhel_version': rhel_version.base_version,
'deploy_network_type': 'ipv6' if settings.server.is_ipv6 else 'ipv4',
'deploy_flavor': settings.flavors.default,
'promtail_config_template_file': 'config_sat.j2',
'workflow': settings.server.deploy_workflows.os,
Expand Down Expand Up @@ -326,6 +327,7 @@ def cap_ready_rhel():
rhel_version = Version(settings.capsule.version.rhel_version)
deploy_args = {
'deploy_rhel_version': rhel_version.base_version,
'deploy_network_type': 'ipv6' if settings.server.is_ipv6 else 'ipv4',
'deploy_flavor': settings.flavors.default,
'promtail_config_template_file': 'config_sat.j2',
'workflow': settings.capsule.deploy_workflows.os,
Expand Down
1 change: 1 addition & 0 deletions robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def lru_sat_ready_rhel(rhel_ver):
rhel_version = rhel_ver or settings.server.version.rhel_version
deploy_args = {
'deploy_rhel_version': rhel_version,
'deploy_network_type': 'ipv6' if settings.server.is_ipv6 else 'ipv4',
'deploy_flavor': settings.flavors.default,
'promtail_config_template_file': 'config_sat.j2',
'workflow': settings.server.deploy_workflows.os,
Expand Down

0 comments on commit 8929c60

Please sign in to comment.