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

HE: Filter IP addresses based on 'ipv6_deployment' #560

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 11, 2022

  1. HE: Filter IP addresses based on 'ipv6_deployment'

    At the beginning of HE deployment we set the 'ipv6_deployment' fact
    based on host's address. This var should be the source of truth for
    whether to use an IPv4 or IPv6 address for the HE VM.
    
    Until now we were simply picking up the first address that was reported
    by 'virsh' and using this throughout the rest of the process.
    
    This PR adds filtering of the reported addresses based on the value of
    'ipv6_deployment'. Additionally we're picking the first address to make
    other usages of 'local_vm_ip' nicer.
    
    Signed-off-by: Marcin Sobczyk <[email protected]>
    tinez committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    c978a24 View commit details
    Browse the repository at this point in the history