From 95b9f5c1727e3bc63ee3a3583e696640ada3a219 Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Wed, 10 Mar 2010 15:51:51 +0000
Subject: [PATCH] change the way 'vref' gets set on omf-control'ed slivers

---
 plugins/omf_vref.py | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 plugins/omf_vref.py

diff --git a/plugins/omf_vref.py b/plugins/omf_vref.py
deleted file mode 100644
index 2b41b52..0000000
--- a/plugins/omf_vref.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# $Id$
-# $URL$
-#
-# NodeManager plugin - first step of handling omf_controlled slices
-
-"""
-Overwrites the 'vref' tag of slivers controlled by OMF so sm.py does the right thing
-Needs to be done the 'sm' module kicks in
-"""
-
-import logger
-
-# do this early, before step 10
-priority = 4
-
-def start(options, conf):
-    logger.log("omf_vref: plugin starting up...")
-
-def GetSlivers(data, conf = None, plc = None):
-    if 'accounts' not in data: 
-        logger.log_missing_data("omf_vref.GetSlivers",'accounts')
-        return
-
-    for sliver in data['slivers']:
-        name=sliver['name']
-        for chunk in sliver['attributes']:
-            if chunk['tagname']=='omf_control':
-                sliver['vref']='omf'
-                logger.log('omf_vref: %s now has vref==omf' % name)
-- 
2.47.0