From c9b929f97e3231f30fcf32879a2c30f55bffa07d Mon Sep 17 00:00:00 2001 From: Julien Fortin Date: Thu, 16 Jun 2016 03:39:12 +0100 Subject: [PATCH] addons: vrf: moving replacing rtnetlink_api call with the new netlink api Signed-off-by: Julien Fortin --- addons/vrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/vrf.py b/addons/vrf.py index da1bb50..36b222e 100644 --- a/addons/vrf.py +++ b/addons/vrf.py @@ -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)