Once we implement dual-stack, by adding secondary pool
addresses, dns resolution returns both A and AAAA records
for a hostname e.g. controller. This will break the current
single-stack logic of determining boot_address_family of a
IP based on presence/absence of AAAA record.
This commit changes the logic to determine the
boot_address_family, solely depending upon the IP itself.
Test Plan:
[PASS] AIO-SX/DX IPv4 bootstrap without issues
[PASS] AIO-SX/DX IPv6 bootstrap without issues
Story: 2011027
Task: 49768
Change-Id: I30ea3a26a5b46a9aad082e89fba83aa476c50079
Signed-off-by: Tara Nath Subedi <Tara.Subedi@windriver.com>
The starlingx/metal repository handles StarlingX Bare Metal
Management1.
This repository is not intended to be developed standalone, but
rather as part of the StarlingX Source System, which is defined by the
StarlingX manifest2.