Skip to content
Commit f971f6dd authored by Shradha Gupta's avatar Shradha Gupta Committed by Wei Liu
Browse files

hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile format



If the network configuration strings are passed as a combination of IPv4
and IPv6 addresses, the current KVP daemon does not handle processing for
the keyfile configuration format.
With these changes, the keyfile config generation logic scans through the
list twice to generate IPv4 and IPv6 sections for the configuration files
to handle this support.

Testcases ran:Rhel 9, Hyper-V VMs
              (IPv4 only, IPv6 only, IPv4 and IPv6 combination)

Co-developed-by: default avatarAni Sinha <anisinha@redhat.com>
Signed-off-by: default avatarAni Sinha <anisinha@redhat.com>
Signed-off-by: default avatarShradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: default avatarEaswar Hariharan <eahariha@linux.microsoft.com>
Tested-by: default avatarAni Sinha <anisinha@redhat.com>
Reviewed-by: default avatarAni Sinha <anisinha@redhat.com>
Link: https://lore.kernel.org/r/1711115162-11629-1-git-send-email-shradhagupta@linux.microsoft.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <1711115162-11629-1-git-send-email-shradhagupta@linux.microsoft.com>
parent d9ea7a3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment