Incorrect behavior when trying to find network gateway
Bug #1646022 reported by
Shachar Snapiri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
New
|
Medium
|
rajiv |
Bug Description
l3_proactive_app.py (_get_gateway_
When an ip address is given in some network the method will return the MAC address of the router port in that network as the MAC address of the default gateway.
This is not entirely true, as there are networks the rotuer is connected to where it is not the default gateway.
The method should check if the port is actually the network gateway, and if not return the correct address.
Changed in dragonflow: | |
assignee: | nobody → rajiv (rajiv-kumar) |
Changed in dragonflow: | |
importance: | Undecided → Medium |
To post a comment you must log in.
The logic in the current code is identical to Neutron: /github. com/openstack/ neutron/ blob/master/ neutron/ db/extraroute_ db.py
https:/
You mean I need to check the given IP is in the Router.Subnet (already done) and is the Router. LogicalSwitch. Subnet. Gateway_ IP?