added sfa upcalls
[plcapi.git] / PLC / Methods / DeleteSlice.py
index 34b04e1..29840ee 100644 (file)
@@ -1,9 +1,11 @@
-# $Id#
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Slices import Slice, Slices
 from PLC.Auth import Auth
+from PLC.SFA import SFA
 
 class DeleteSlice(Method):
     """
@@ -46,4 +48,7 @@ class DeleteSlice(Method):
         slice.delete()
         self.event_objects = {'Slice': [slice['slice_id']]}
 
+        sfa = SFA()
+        sfa.delete_record(slice, 'slice')
+
         return 1