X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fcomponent.py;h=df91917b6e75790fa64cf2836c81282feb88ddeb;hb=04a3f20dc71bf8b3f96b1e3172623aa346a638a7;hp=c83ac4af3f126b12e8a7da5ce53ca741c68bd6e4;hpb=3d7237fa0b5f2b4a60cb97c7fb3b6aecfd94558a;p=sfa.git diff --git a/sfa/server/component.py b/sfa/server/component.py index c83ac4af..df91917b 100644 --- a/sfa/server/component.py +++ b/sfa/server/component.py @@ -1,27 +1,24 @@ # # Component is a SfaServer that implements the Component interface # -### $Id: -### $URL: -# - import tempfile import os import time import sys -from sfa.util.componentserver import ComponentServer - +from sfa.server.sfaserver import SfaServer + # GeniLight client support is optional try: from egeni.geniLight_client import * except ImportError: - GeniClientLight = None + GeniClientLight = None ## # Component is a SfaServer that serves component operations. -class Component(ComponentServer): + +class Component(SfaServer): ## # Create a new registry object. # @@ -31,5 +28,5 @@ class Component(ComponentServer): # @param cert_file certificate filename containing public key (could be a GID file) def __init__(self, ip, port, key_file, cert_file): - ComponentServer.__init__(self, ip, port, key_file, cert_file) - self.server.interface = 'component' + SfaServer.__init__(self, ip, port, key_file, + cert_file, interface='component')