Debian Networking: static routes are not applying metric parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andre Kantek |
Bug Description
Brief Description
It was detected during tests that the parameter metric is not correctly applied on the kernel's routing table.
This parameter can be applied with the system API, if using CLI with the command:
system host-route-add [node] [interface] [route] [prefix] [gateway] [metric]
Severity
<Minor: System/Feature is usable with minor issue>
Steps to Reproduce
Add a route:
system host-route-add 1 oam0 54:ff9b:: 64 fd00::1 22
Expected Behavior
metric 22 should be seen on the kernel with the command "ip -6 route"
Actual Behavior
Route is created but the metric value is not
Reproducibility
Reproducible: issue is 100% reproducible
System Configuration
AIO-Simplex with IPv6 (in VBox)
Load info (eg: 2022-03-
BUILD_ID=
Last Pass
First execution on Debian
Test Activity
Developer Testing
Workaround
none
Changed in starlingx: | |
assignee: | nobody → Andre Kantek (akantek) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.debian stx.networking |
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/844985 /opendev. org/starlingx/ integ/commit/ d9e3a96fc3bd899 5ba75bf5881801a 821e23c7b9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d9e3a96fc3bd899 5ba75bf5881801a 821e23c7b9
Author: Andre Fernando Zanella Kantek <email address hidden>
Date: Tue Jun 7 09:56:40 2022 -0300
Debian: process route metric parameter
It was detected that the static route's metric parameter is not run/network- scripts. puppet/ routes.
applied on the kernel if configured on sysinv database. The cause is
located on the puppet-network module not adding the information to
/var/
This change adds the necessary modification to process the options
field on the hiera file.
Test Plan:
PASS set parameter with system host-route-add and lock/unlock and
verify metric value on the kernel
Closes-Bug: 1977983
Signed-off-by: Andre Fernando Zanella Kantek <email address hidden> c84d66398c1d21d bbfe1869a09
Change-Id: Iafeb2f1d8f6280