ip_lib get_gateway() for default route through an interface returns wrong output
Bug #1467531 reported by
Sridhar Gaddam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Sridhar Gaddam |
Bug Description
When the routing table has a default route through an interface as shown below,
get_gateway() of IpRouteCommand class, returns a wrong output.
# ip -4 route list dev qg-595abc24-c8
default scope link
8.8.8.0/24 via 19.4.4.4
19.4.4.0/24 proto kernel scope link src 19.4.4.4
# ip -6 route list dev qg-595abc24-c8
fd00::/64 proto kernel metric 256
fe80::/64 proto kernel metric 256
default metric 1024
Output:
gateway_
{'gateway': 'link'}
gateway_
{'metric': 1024, 'gateway': '1024'}
Changed in neutron: | |
assignee: | nobody → Sridhar Gaddam (sridhargaddam) |
status: | New → In Progress |
Changed in neutron: | |
status: | In Progress → Incomplete |
Changed in neutron: | |
status: | Incomplete → In Progress |
Changed in neutron: | |
status: | In Progress → Fix Committed |
Changed in neutron: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-2 → 7.0.0 |
To post a comment you must log in.
@Assaf, for some reason, the patch is not linked to the Bug report. Please see the following patch - https:/ /review. openstack. org/#/c/ 194159/
If you need any info, please let me know. Thanks.