<s> from calvin . runtime . south . plugins . storage import dht , securedht <EOL> from calvin . runtime . north . plugins . storage . proxy import StorageProxy <EOL> def get ( type_ , node = None ) : <EOL> if type_ == "<STR_LIT>" : <EOL> return dht . AutoDHTServer ( ) <EOL> elif type_ == "<STR_LIT>" : <EOL> return securedht . AutoDHTServer ( ) <EOL> elif type_ == "<STR_LIT>" : <EOL> return StorageProxy ( node ) <EOL> elif type_ == "<STR_LIT>" : <EOL> return None <EOL> raise Exception ( "<STR_LIT>" . format ( type_ ) ) </s>
