StarlingX Integration and packaging
e7489fc82a
This change contains the correct parsing for the real interface name, removing the label part (after ':') from the IFACE variable to be used by ndisc and arping Also enhanced log messages, now registering test result as error if failed or as info if it passes since this kind of information is very useful for troubleshoot Added a final ICMP echo test (using ping) to enhance diagnosis, but only logging result as info since the gateway is under no obligation to answer ECHO messages. The scripts check-duplicate-ip and check-duplicate-ip6 were also not parsing the interface name correctly to remove the label info. The messages will appear with the pattern below in /var/log/daemon.log: IPv6: - success messages: info ifupdown: Gateway [addr] in [intf] is reachable via ICMPv6:NDP info ifupdown: Gateway [addr] in [intf] is reachable via ICMP ECHO - failure messages: err ifupdown: Cannot find with ICMPv6:NDP default gateway [addr] in the network where [intf] is connected to info ifupdown: Gateway [addr] in [intf] is not reachable via ICMP ECHO IPv4: - success messages: info ifupdown: Gateway [addr] in [intf] is reachable via ARP info ifupdown: Gateway [addr] in [intf] is reachable via ICMP ECHO - failure messages: err ifupdown: Cannot find with ARP default gateway [addr] in the network where [intf] is connected to info ifupdown: Gateway [addr] in [intf] is not reachable via ICMP ECHO Test Plan ========= Setup: AIO-SX with dual-stack configure OAM intrerface with the following variant interfaces - ethernet - vlan - bonding [PASS] configure router gateway address on ethernet port and execute controller lock/unlock. Verify log messages [PASS] configure router gateway address on vlan port and execute controller lock/unlock. Verify log messages [PASS] configure router gateway address on bonding port and execute controller lock/unlock. Verify log messages [PASS] remove router gateway address on ethernet port and execute controller lock/unlock. Verify log error messages [PASS] remove router gateway address on vlan port and execute controller lock/unlock. Verify log error messages [PASS] remove router gateway address on bonding port and execute controller lock/unlock. Verify log error messages Story: 2011027 Task: 50982 Change-Id: I83b6eb7d927ae8886def1207b53c87f00c5bc680 Signed-off-by: Andre Kantek <andrefernandozanella.kantek@windriver.com> |
||
---|---|---|
base | ||
bmc | ||
centos-debian-compat | ||
ceph/ceph | ||
config | ||
database/mariadb/debian | ||
devstack | ||
doc | ||
docker/python-docker/debian | ||
filesystem | ||
golang-github-dev | ||
gpu/gpu-operator | ||
grub | ||
kata-containers/debian | ||
kubernetes | ||
ldap | ||
networking | ||
ostree | ||
python | ||
releasenotes | ||
requests-toolbelt | ||
security | ||
storage-drivers/trident-installer/debian | ||
tools | ||
virt | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
.yamllint | ||
.zuul.yaml | ||
bindep.txt | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
distroless_stable_docker_images.inc | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
integ
StarlingX Integration