X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fcomponent.py;h=df91917b6e75790fa64cf2836c81282feb88ddeb;hb=04a3f20dc71bf8b3f96b1e3172623aa346a638a7;hp=3958c5fb9676ac5cad31729cf76f0ba3a2fce68a;hpb=70f4308757e799aeb96545f5e0a22c96dc8633c2;p=sfa.git diff --git a/sfa/server/component.py b/sfa/server/component.py index 3958c5fb..df91917b 100644 --- a/sfa/server/component.py +++ b/sfa/server/component.py @@ -7,17 +7,17 @@ import time import sys 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. -# set SFA_GENERIC_FLAVOUR=plcm to get a PlcComponentApi instance in the request handler + class Component(SfaServer): ## # Create a new registry object. @@ -28,5 +28,5 @@ class Component(SfaServer): # @param cert_file certificate filename containing public key (could be a GID file) def __init__(self, ip, port, key_file, cert_file): - SfaServer.__init__(self, ip, port, key_file, cert_file) - self.server.interface = 'component' + SfaServer.__init__(self, ip, port, key_file, + cert_file, interface='component')