1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

openvswitch : manually add link to cache after creation

This commit is contained in:
Alexandre Derumier
2020-02-17 12:53:16 +01:00
parent 213d8a409d
commit 5a55e3629c
4 changed files with 9 additions and 1 deletions

View File

@@ -337,6 +337,9 @@ class IPRoute2(Cache, Requirements):
utils.exec_commandl(['ip', 'link', 'add', xfrm_name, 'type', 'xfrm', 'dev', ifname, 'if_id', xfrm_id])
self.__update_cache_after_link_creation(xfrm_name, "xfrm")
def link_add_openvswitch(self, ifname, kind):
self.__update_cache_after_link_creation(ifname, kind)
############################################################################
# TUNNEL
############################################################################