The current code only checks for IPv4 addresses, we also need to support IPv6 here.
|
# Get peer IP address using the existing FHRP VIP detection logic |
|
peer_ipv4 = None |
|
if netbox: |
|
peer_ipv4 = get_connected_interface_ipv4_address( |
|
device, sonic_iface_name, netbox |
|
) |
The current code only checks for IPv4 addresses, we also need to support IPv6 here.
python-osism/osism/tasks/conductor/sonic/config_generator.py
Lines 1326 to 1331 in 58ac59e