Comment 4 for bug 1974229

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/842614
Committed: https://opendev.org/starlingx/integ/commit/ee4abe513bce5a44e9be140c1f3c8f3ed94ade0d
Submitter: "Zuul (22348)"
Branch: master

commit ee4abe513bce5a44e9be140c1f3c8f3ed94ade0d
Author: Andre Fernando Zanella Kantek <email address hidden>
Date: Thu May 19 10:54:56 2022 -0300

    Debian: accept netmask or prefix-length on /etc/network/routes file

    This change add support to accept netmask or prefix-length on the
    routes file, internally the commands will use prefix-len

    Change the command from "route" to "ip route" as this one have better
    support for IPv6 (route --inet6 add is failing on Debian).

    Also, on the validation functions, the address family is set to allow
    IPv6 route check.

    Test Plan:
    PASS add IPv6 static routes with system host-route-add
    PASS add IPv4 static routes with system host-route-add
    PASS remove IPv6 static routes with system host-route-delete
    PASS remove IPv4 static routes with system host-route-delete

    Closes-Bug: 1974229

    Signed-off-by: Andre Fernando Zanella Kantek <email address hidden>
    Change-Id: I33d249892b717f4e808a995ced455c4c9ac763f2