This change updates the firewall configuration generation to take into
account that a network can have more than one address pool associated
to it. More tests were added to address dual stack setups.
Test plan
=========
Online setup tests
------------------
System:
- AIO-DX
- STANDARD (2 Controllers, 2 Storages, 1 Compute)
Acceptance criteria: For all the platform interfaces, incoming ICMP,
TCP and UDP traffic is allowed only for networks/ports that are
configured in the associated address pools.
[PASS] TC1 - Install IPv4, add IPv6 pools to the platform networks
[PASS] TC2 - Install IPv6, add IPv4 pools to the platform networks
Installation tests
------------------
Systems: AIO-SX, AIO-DX, STANDARD
[PASS] TC3 - Regular installation on VirtualBox, IPv4
[PASS] TC4 - Regular installation on VirtualBox, IPv6
Related changes:
- https://review.opendev.org/c/starlingx/stx-puppet/+/915509
- https://review.opendev.org/c/starlingx/ansible-playbooks/+/915510
Story: 2011027
Task: 49816
Depends-On: https://review.opendev.org/c/starlingx/config/+/914141
Change-Id: Id05a583e7fd806a6ea448ac5a521902b2c7e96e4
Signed-off-by: Lucas Ratusznei Fonseca <lucas.ratuszneifonseca@windriver.com>