removed another bunch of references to geni
[sfa.git] / sfa / server / component.py
1 #
2 # Component is a SfaServer that implements the Component interface
3 #
4 ### $Id: 
5 ### $URL: 
6 #
7
8 import tempfile
9 import os
10 import time
11 import sys
12
13 from sfa.util.componentserver import ComponentServer
14  
15 # GeniLight client support is optional
16 try:
17     from egeni.geniLight_client import *
18 except ImportError:
19     GeniClientLight = None            
20
21 ##
22 # Component is a SfaServer that serves component operations.
23
24 class Component(ComponentServer):
25     ##
26     # Create a new registry object.
27     #
28     # @param ip the ip address to listen on
29     # @param port the port to listen on
30     # @param key_file private key filename of registry
31     # @param cert_file certificate filename containing public key (could be a GID file)
32
33     def __init__(self, ip, port, key_file, cert_file):
34         ComponentServer.__init__(self, ip, port, key_file, cert_file)
35         self.server.interface = 'component'