Changeset 7de1537 for fedd


Ignore:
Timestamp:
Dec 15, 2010 11:37:43 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
6635dd5
Parents:
f938d66
Message:

Remove the ssh_key parameters to the controller. They do nothing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    rf938d66 r7de1537  
    151151        accessdb_file = config.get("experiment_control", "accessdb")
    152152
    153         self.ssh_pubkey_file = config.get("experiment_control",
    154                 "ssh_pubkey_file")
    155         self.ssh_privkey_file = config.get("experiment_control",
    156                 "ssh_privkey_file")
    157153        dt = config.get("experiment_control", "direct_transit")
    158154        self.auth_type = config.get('experiment_control', 'auth_type') \
     
    209205            raise service_error(service_error.internal,
    210206                    "Unknown auth_type: %s" % self.auth_type)
    211 
    212 
    213         if self.ssh_pubkey_file:
    214             try:
    215                 f = open(self.ssh_pubkey_file, 'r')
    216                 self.ssh_pubkey = f.read()
    217                 f.close()
    218             except EnvironmentError:
    219                 raise service_error(service_error.internal,
    220                         "Cannot read sshpubkey")
    221         else:
    222             raise service_error(service_error.internal,
    223                     "No SSH public key file?")
    224 
    225         if not self.ssh_privkey_file:
    226             raise service_error(service_error.internal,
    227                     "No SSH public key file?")
    228 
    229207
    230208        if mapdb_file:
Note: See TracChangeset for help on using the changeset viewer.