X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Faggregate.py;h=90fcaf49276965f5e60cc823dbd12b445e5f62ce;hb=0f0809295016b9f80cee40a17a7353b1347c2dd9;hp=6d7516d7f8d92b3e3faa2ddb2028b7302176612c;hpb=00018e8f437f02c99e438f17c57aafc038052171;p=sfa.git diff --git a/sfa/server/aggregate.py b/sfa/server/aggregate.py index 6d7516d7..90fcaf49 100644 --- a/sfa/server/aggregate.py +++ b/sfa/server/aggregate.py @@ -1,9 +1,9 @@ -from sfa.util.faults import * from sfa.server.sfaserver import SfaServer from sfa.util.xrn import hrn_to_urn from sfa.server.interface import Interfaces, Interface from sfa.util.config import Config +# this truly is a server-side object class Aggregate(SfaServer): ## @@ -16,9 +16,10 @@ class Aggregate(SfaServer): def __init__(self, ip, port, key_file, cert_file): SfaServer.__init__(self, ip, port, key_file, cert_file,'aggregate') -## +# # Aggregates is a dictionary of aggregate connections keyed on the aggregate hrn - +# as such it's more of a client-side thing for aggregate servers to reach their peers +# class Aggregates(Interfaces): default_dict = {'aggregates': {'aggregate': [Interfaces.default_fields]}}