X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fcomponent.py;h=9baa6c22eca969caa1a819ea8948294f1b13dd97;hb=89d0fa4efde57cb62445af75c16bdc42bc03693a;hp=1dc66523b5550637cd3b4f2348806fdba1bfbadb;hpb=12c5ac0b379b3c0e3eeb43eacfeacf317a44ec65;p=sfa.git diff --git a/sfa/server/component.py b/sfa/server/component.py index 1dc66523..9baa6c22 100644 --- a/sfa/server/component.py +++ b/sfa/server/component.py @@ -6,7 +6,7 @@ import os import time import sys -from sfa.util.componentserver import ComponentServer +from sfa.server.sfaserver import SfaServer # GeniLight client support is optional try: @@ -17,7 +17,7 @@ except ImportError: ## # Component is a SfaServer that serves component operations. -class Component(ComponentServer): +class Component(SfaServer): ## # Create a new registry object. # @@ -27,5 +27,4 @@ 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')