MERAprojects / ops-quagga

GNU General Public License v2.0
0 stars 0 forks source link

Loopback interface creation in ospf #29

Closed stroykov closed 7 years ago

stroykov commented 8 years ago

During loopback interface configuration in ospf, there could be a situation when the kernel loopback interface is not ready/created yet by ops-portd. In such a case, the interface hangs in ops-ospfd with ifindex equal to 0. A special handling added for that case: create loopback interface during update event for the port entry. The port entry (kernel_interface_ready field set to true) is updated by ops-portd when loopback interface is created in kernel.

Tags: dev, fix

Change-Id: If9919f308ead842572ebbade9b445b96215d904f Signed-off-by: Nikolay Stroykov stroykov@mera.ru

stroykov commented 7 years ago

https://review.openswitch.net/13897

vkarpov commented 7 years ago

Merged into meraswitch/devel/master.