mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: vrf: moving replacing rtnetlink_api call with the new netlink api
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@ -368,7 +368,7 @@ class vrf(moduleBase):
|
||||
else:
|
||||
master_exists = False
|
||||
if master_exists:
|
||||
rtnetlink_api.rtnl_api.link_set(ifacename, "up")
|
||||
netlink.link_set_updown(ifacename, "up")
|
||||
elif ifupdownflags.flags.ALL:
|
||||
self.log_error('vrf %s not around, skipping vrf config'
|
||||
%(vrfname), ifaceobj)
|
||||
|
Reference in New Issue
Block a user