From: Tony Mack <tmack@cs.princeton.edu>
Date: Tue, 1 Dec 2009 15:34:53 +0000 (+0000)
Subject: added component to allowed interfaces
X-Git-Tag: sfa-0.9-7~271
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e26fcdf13e2dcc4f0850072f597d288c9b70ac05;p=sfa.git

added component to allowed interfaces
---

diff --git a/sfa/methods/start_slice.py b/sfa/methods/start_slice.py
index 78181b30..44826e51 100644
--- a/sfa/methods/start_slice.py
+++ b/sfa/methods/start_slice.py
@@ -17,7 +17,7 @@ class start_slice(Method):
     @return 1 is successful, faults otherwise  
     """
 
-    interfaces = ['aggregate', 'slicemgr']
+    interfaces = ['aggregate', 'slicemgr', 'comonent']
     
     accepts = [
         Parameter(str, "Credential string"),
diff --git a/sfa/methods/stop_slice.py b/sfa/methods/stop_slice.py
index e4a1b18a..97c56636 100644
--- a/sfa/methods/stop_slice.py
+++ b/sfa/methods/stop_slice.py
@@ -17,7 +17,7 @@ class stop_slice(Method):
     @return 1 is successful, faults otherwise  
     """
 
-    interfaces = ['aggregate', 'slicemgr']
+    interfaces = ['aggregate', 'slicemgr', 'component']
     
     accepts = [
         Parameter(str, "Credential string"),