X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Fimporter%2Fiotlabimporter.py;h=b95157a50785cc833b0780fd13465f3d0b83620e;hb=34e0fc7e6e45bdfb9d9c044b1729e6b32516ec54;hp=3212de0448b099d55ff5c304656a1bac71233e5d;hpb=b921336b2495d77f494f4e106e29dd567d79fea8;p=sfa.git diff --git a/sfa/importer/iotlabimporter.py b/sfa/importer/iotlabimporter.py index 3212de04..b95157a5 100644 --- a/sfa/importer/iotlabimporter.py +++ b/sfa/importer/iotlabimporter.py @@ -207,19 +207,21 @@ class IotlabImporter: def import_nodes(self, site_node_ids, nodes_by_id, iotlabdriver): """ - Creates appropriate hostnames and RegNode records for - each node in site_node_ids, based on the information given by the - dict nodes_by_id that was made from data from OAR. - Saves the records to the DB. + Creates appropriate hostnames and RegNode records for each node in + site_node_ids, based on the information given by the dict nodes_by_id + that was made from data from OAR. Saves the records to the DB. :param site_node_ids: site's node ids :type site_node_ids: list of integers :param nodes_by_id: dictionary , key is the node id, value is the a dict - with node information. + with node information. :type nodes_by_id: dictionary - :param iotlabdriver:IotlabDriver object, used to have access to + :param iotlabdriver: IotlabDriver object, used to have access to iotlabdriver attributes. - :type iotlabdriver:IotlabDriver + :type iotlabdriver: IotlabDriver + + :returns: None + :rtype: None """ @@ -321,9 +323,9 @@ class IotlabImporter: import the user's slice onto the database as well by calling import_slice. - :param iotlabdriver:IotlabDriver object, used to have access to + :param iotlabdriver: IotlabDriver object, used to have access to iotlabdriver attributes. - :type iotlabdriver:IotlabDriver + :type iotlabdriver: IotlabDriver """ ldap_person_listdict = iotlabdriver.iotlab_api.GetPersons() self.logger.info("IOTLABIMPORT \t ldap_person_listdict %s \r\n"