sfa.git
12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:56 +0000 (17:01 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoadded encoding param to output_variables
Tony Mack [Wed, 18 Jul 2012 15:32:28 +0000 (11:32 -0400)]
added encoding param to output_variables

12 years agofix bug in main()
Tony Mack [Wed, 18 Jul 2012 15:31:53 +0000 (11:31 -0400)]
fix bug in main()

12 years agoyet another hotfix for the PL importer
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:28 +0000 (17:01 +0200)]
yet another hotfix for the PL importer

12 years agoMerge remote-tracking branch 'local_master/master'
root [Wed, 18 Jul 2012 14:22:26 +0000 (16:22 +0200)]
Merge remote-tracking branch 'local_master/master'

12 years agobackup old config before upgrading
Tony Mack [Wed, 18 Jul 2012 14:56:56 +0000 (10:56 -0400)]
backup old config before upgrading

12 years agobugfix - needed by the PL importer when a person has a non-ssh key (like gpg)
Thierry Parmentelat [Wed, 18 Jul 2012 14:21:45 +0000 (16:21 +0200)]
bugfix - needed by the PL importer when a person has a non-ssh key (like gpg)

12 years agoCorrected bug in bash_nukem .
savakian [Wed, 18 Jul 2012 11:35:27 +0000 (13:35 +0200)]
Corrected bug in bash_nukem .

12 years agoFiles moved into /senslab/config/senslab or
Sandrine Avakian [Wed, 18 Jul 2012 11:02:01 +0000 (13:02 +0200)]
Files moved into /senslab/config/senslab or
/senslab/config/senslab2 folder.

12 years agoModified bash_nukem to handle the different configs of
Sandrine Avakian [Wed, 18 Jul 2012 09:29:12 +0000 (11:29 +0200)]
Modified bash_nukem to handle the different configs of
our 2 sfa vm (senslab and senslab2).
Added configuration files for sfa-vm (NT's vm) and created
folder to hold each different configuration fiels.

12 years agoreplace svn-expansed version strings with sfa.util.version.version_tag
Thierry Parmentelat [Wed, 18 Jul 2012 09:04:15 +0000 (11:04 +0200)]
replace svn-expansed version strings with sfa.util.version.version_tag

12 years agoadded is_ini() and is_xml()
Tony Mack [Wed, 18 Jul 2012 02:42:47 +0000 (22:42 -0400)]
added is_ini() and is_xml()

12 years agofix read_config()
Tony Mack [Wed, 18 Jul 2012 02:42:19 +0000 (22:42 -0400)]
fix read_config()

12 years agoadd section for sface when upgrading configs
Tony Mack [Tue, 17 Jul 2012 22:45:17 +0000 (18:45 -0400)]
add section for sface when upgrading configs

12 years agotypos
Thierry Parmentelat [Tue, 17 Jul 2012 21:48:27 +0000 (23:48 +0200)]
typos

12 years agoadded load_shell(). updated load(). Added 'strict' param to locate_varname()
Tony Mack [Tue, 17 Jul 2012 19:21:46 +0000 (15:21 -0400)]
added load_shell(). updated load(). Added 'strict' param to locate_varname()

12 years agoadded upgrade_config(), used to upgrade from shell to ini format
Tony Mack [Tue, 17 Jul 2012 19:20:34 +0000 (15:20 -0400)]
added upgrade_config(), used to upgrade from shell to ini format

12 years agodont forget to return after setting value in prompt_variable
Tony Mack [Tue, 17 Jul 2012 16:30:46 +0000 (12:30 -0400)]
dont forget to return after setting value in prompt_variable

12 years agoFixed GetLeases to handle unregisterd user.
Sandrine Avakian [Tue, 17 Jul 2012 14:47:51 +0000 (16:47 +0200)]
Fixed GetLeases to handle unregisterd user.

12 years agoadd geni_expires to sliver_stauts result
Tony Mack [Tue, 17 Jul 2012 14:38:55 +0000 (10:38 -0400)]
add geni_expires to sliver_stauts result

12 years agoFirst draft,
Sandrine Avakian [Tue, 17 Jul 2012 14:11:50 +0000 (16:11 +0200)]
First draft,
Added specific senslab options in RSpec : mobile, radio and archi.
mobile is at the same level as the node hostname and component_id.
Radio and archi are inside hardware_type.
Done by using new class SlabNode along with new fields,
heriting from the Node class.

12 years agoModified 'mobile' parameter of a node.
Sandrine Avakian [Tue, 17 Jul 2012 14:08:08 +0000 (16:08 +0200)]
Modified 'mobile' parameter of a node.
Value is set to string "False" or "True" instead
of integer.

12 years agoCorrected error in LdapFindUser when looking for a disabled
Sandrine Avakian [Tue, 17 Jul 2012 14:06:31 +0000 (16:06 +0200)]
Corrected error in LdapFindUser when looking for a disabled
user in LDAP.

12 years agofix packaging
Thierry Parmentelat [Tue, 17 Jul 2012 12:22:57 +0000 (14:22 +0200)]
fix packaging

12 years agoremove verbose
Tony Mack [Mon, 16 Jul 2012 19:24:58 +0000 (15:24 -0400)]
remove verbose

12 years agoonly strip whitespace from input
Tony Mack [Mon, 16 Jul 2012 19:23:36 +0000 (15:23 -0400)]
only strip whitespace from input

12 years agofix type bugs
Tony Mack [Mon, 16 Jul 2012 16:19:41 +0000 (12:19 -0400)]
fix type bugs

12 years agofix type bugs
Tony Mack [Mon, 16 Jul 2012 16:19:26 +0000 (12:19 -0400)]
fix type bugs

12 years agoload sfa_config instead of sfa_config.py
Tony Mack [Mon, 16 Jul 2012 15:39:00 +0000 (11:39 -0400)]
load sfa_config instead of sfa_config.py

12 years agoinstall sfa-config
Tony Mack [Mon, 16 Jul 2012 15:38:35 +0000 (11:38 -0400)]
install sfa-config

12 years agofixed list_categories
Tony Mack [Mon, 16 Jul 2012 15:38:16 +0000 (11:38 -0400)]
fixed list_categories

12 years agoadded sfa_data_dir option
Tony Mack [Mon, 16 Jul 2012 15:37:55 +0000 (11:37 -0400)]
added sfa_data_dir option

12 years agoadded output_shell(), output_php(), output_python() and various other methods
Tony Mack [Mon, 16 Jul 2012 15:37:28 +0000 (11:37 -0400)]
added output_shell(), output_php(), output_python() and various other methods

12 years agouse sfa-config instead of plc-config
Tony Mack [Mon, 16 Jul 2012 15:36:59 +0000 (11:36 -0400)]
use sfa-config instead of plc-config

12 years agoinitial checkin
Tony Mack [Mon, 16 Jul 2012 15:36:36 +0000 (11:36 -0400)]
initial checkin

12 years agoAdding sfi.py resources -rsla -l all
Sandrine Avakian [Mon, 16 Jul 2012 14:11:34 +0000 (16:11 +0200)]
Adding sfi.py resources -rsla -l all
Slab Rspec display leases as well

12 years agoremove myplc-config dependency
Tony Mack [Sat, 14 Jul 2012 02:35:29 +0000 (22:35 -0400)]
remove myplc-config dependency

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Fri, 13 Jul 2012 11:21:37 +0000 (13:21 +0200)]
Merge branch 'master' into senslab2

12 years agoModified testsuite.
Sandrine Avakian [Fri, 13 Jul 2012 11:17:28 +0000 (13:17 +0200)]
Modified testsuite.

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Fri, 13 Jul 2012 07:27:37 +0000 (09:27 +0200)]
Merge branch 'upstreammaster'

12 years agothanks Sandrive
Thierry Parmentelat [Fri, 13 Jul 2012 07:25:40 +0000 (09:25 +0200)]
thanks Sandrive

12 years agoAdded duration calculation in slabaggregate.py /get_leases.
Sandrine Avakian [Thu, 12 Jul 2012 14:59:05 +0000 (16:59 +0200)]
Added duration calculation in slabaggregate.py /get_leases.

12 years agoLeases features up-to-date.
Sandrine Avakian [Thu, 12 Jul 2012 14:53:03 +0000 (16:53 +0200)]
Leases features up-to-date.
Using start-time and duration, as well as granularity.
DEfined new slabdriver function GetLeaseGranularity.
grain set to 60sec for Senslab.

12 years agoFixed bug with __process_walltime (Function was
Sandrine Avakian [Thu, 12 Jul 2012 13:17:25 +0000 (15:17 +0200)]
Fixed bug with __process_walltime (Function was
not considered as defined during runtime). Function is now
defined within LaunchExperimentOnOAR.
Cutting too long lines was not possible when using SQLalchemy queries.
Revert to "too long line" for some slab_dbsession.query queries.

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 12 Jul 2012 12:27:07 +0000 (14:27 +0200)]
Merge branch 'master' into senslab2

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 15:45:04 +0000 (17:45 +0200)]
Merge branch 'upstreammaster'

12 years agoSetting tag sfa-2.1-13 sfa-2.1-13
Thierry Parmentelat [Wed, 11 Jul 2012 15:42:38 +0000 (17:42 +0200)]
Setting tag sfa-2.1-13
bugfix that prevented to call 'sfi create' - (was broken in sfa-2.1-12)
sfi to remove expired credentials

12 years agoCorrected sfa_config/site.xml in bash_nukem
Sandrine Avakian [Wed, 11 Jul 2012 14:23:04 +0000 (16:23 +0200)]
Corrected sfa_config/site.xml in bash_nukem

12 years agocosmetic
Thierry Parmentelat [Wed, 11 Jul 2012 14:11:06 +0000 (16:11 +0200)]
cosmetic

12 years agoshow warning message when deleting an expired credential
Thierry Parmentelat [Wed, 11 Jul 2012 14:09:05 +0000 (16:09 +0200)]
show warning message when deleting an expired credential
also pass right logger to SfaClientBootstrap so the msg shows up

12 years agorenamed sfi commands create_gid -> gid & get_trusted_certs -> trusted
Thierry Parmentelat [Wed, 11 Jul 2012 14:07:21 +0000 (16:07 +0200)]
renamed sfi commands create_gid -> gid & get_trusted_certs -> trusted

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 12:50:24 +0000 (14:50 +0200)]
Merge branch 'upstreammaster'

12 years agobugfix, candidates needs to recognize an input when it exactly matches
Thierry Parmentelat [Wed, 11 Jul 2012 12:17:51 +0000 (14:17 +0200)]
bugfix, candidates needs to recognize an input when it exactly matches

12 years agoremove expired credentials
Tony Mack [Tue, 10 Jul 2012 18:53:26 +0000 (14:53 -0400)]
remove expired credentials

12 years agoSetting tag sfa-2.1-12 sfa-2.1-12
Tony Mack [Tue, 10 Jul 2012 17:21:01 +0000 (13:21 -0400)]
Setting tag sfa-2.1-12

12 years agoreport status for each resrouce in SliverStatus
Tony Mack [Mon, 9 Jul 2012 13:16:56 +0000 (09:16 -0400)]
report status for each resrouce in SliverStatus

12 years agomove candidates unit test where it belongs
Thierry Parmentelat [Mon, 9 Jul 2012 10:22:33 +0000 (12:22 +0200)]
move candidates unit test where it belongs

12 years agosfi can use partial non-ambiguous command names like sfaadmin
Thierry Parmentelat [Thu, 5 Jul 2012 16:58:15 +0000 (18:58 +0200)]
sfi can use partial non-ambiguous command names like sfaadmin

12 years agoadd -C to display credentials - useful for checking validity
Thierry Parmentelat [Thu, 5 Jul 2012 16:49:32 +0000 (18:49 +0200)]
add -C to display credentials - useful for checking validity

12 years agougly hack to make logging during import end up in the right place
Thierry Parmentelat [Thu, 5 Jul 2012 16:07:11 +0000 (18:07 +0200)]
ugly hack to make logging during import end up in the right place

12 years agofix bug in Register() (get the correct auth_info
Tony Mack [Thu, 5 Jul 2012 15:36:29 +0000 (11:36 -0400)]
fix bug in Register() (get the correct auth_info

12 years agoAddind leases for Slab Rspecs.
Sandrine Avakian [Thu, 5 Jul 2012 15:04:20 +0000 (17:04 +0200)]
Addind leases for Slab Rspecs.

12 years agoHandling DeleteSlice.
Sandrine Avakian [Thu, 5 Jul 2012 15:03:08 +0000 (17:03 +0200)]
Handling DeleteSlice.

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 5 Jul 2012 15:00:08 +0000 (17:00 +0200)]
Merge branch 'master' into senslab2

12 years agoRemoved useless LdapFindDisabledUsers.
Sandrine Avakian [Thu, 5 Jul 2012 14:58:44 +0000 (16:58 +0200)]
Removed useless LdapFindDisabledUsers.

12 years agofix bug in hrn_to_urn()
Tony Mack [Thu, 5 Jul 2012 14:01:58 +0000 (10:01 -0400)]
fix bug in hrn_to_urn()

12 years agoAdded function DeletePerson in SlabDriver:
Sandrine Avakian [Thu, 5 Jul 2012 13:57:52 +0000 (15:57 +0200)]
Added function DeletePerson in SlabDriver:
disable the user account in ldap.

12 years agoupdates
Tony Mack [Thu, 5 Jul 2012 13:25:05 +0000 (09:25 -0400)]
updates

12 years agouse command instead of action
Thierry Parmentelat [Thu, 5 Jul 2012 11:07:56 +0000 (13:07 +0200)]
use command instead of action

12 years agodos2unix'ed gid.py
Thierry Parmentelat [Thu, 5 Jul 2012 09:44:11 +0000 (11:44 +0200)]
dos2unix'ed gid.py

12 years agocan use shrtcuts for commands as well
Thierry Parmentelat [Wed, 4 Jul 2012 15:28:52 +0000 (17:28 +0200)]
can use shrtcuts for commands as well

12 years agoCandidates is a utility class to match command line input against a
Thierry Parmentelat [Wed, 4 Jul 2012 15:02:05 +0000 (17:02 +0200)]
Candidates is a utility class to match command line input against a
fixed set of choices

12 years agotweak - can call sfaadmin --help outside an sfa box
Thierry Parmentelat [Wed, 4 Jul 2012 15:01:03 +0000 (17:01 +0200)]
tweak - can call sfaadmin --help outside an sfa box

12 years agoPartially cleaning slabdriver.
Sandrine Avakian [Wed, 4 Jul 2012 14:28:43 +0000 (16:28 +0200)]
Partially cleaning slabdriver.
Adding missing fucntions and TODOs.

12 years agoAdded lease support in slabv1 for listing leases using
Sandrine Avakian [Wed, 4 Jul 2012 14:04:28 +0000 (16:04 +0200)]
Added lease support in slabv1 for listing leases using
slab based Rspec.`

12 years agoCleaning Slabv1Node.
Sandrine Avakian [Wed, 4 Jul 2012 14:04:02 +0000 (16:04 +0200)]
Cleaning Slabv1Node.

12 years agoUpdated node position (x,y,z in OAR 2.5)
Sandrine Avakian [Wed, 4 Jul 2012 14:02:33 +0000 (16:02 +0200)]
Updated node position (x,y,z in OAR 2.5)

12 years agoCleaning in slabslices.py.
Sandrine Avakian [Wed, 4 Jul 2012 11:49:20 +0000 (13:49 +0200)]
Cleaning in slabslices.py.
Removed useless import.

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 4 Jul 2012 10:05:28 +0000 (12:05 +0200)]
Merge branch 'upstreammaster'

12 years agofix bug in pl_login_base()
Tony Mack [Tue, 3 Jul 2012 16:04:58 +0000 (12:04 -0400)]
fix bug in pl_login_base()

12 years agorefactored and fixed register()
Tony Mack [Mon, 2 Jul 2012 17:33:14 +0000 (13:33 -0400)]
refactored and fixed register()

12 years agoAdded nodes architectures in nodes attributes in GetNodes.
Sandrine Avakian [Mon, 2 Jul 2012 14:26:27 +0000 (16:26 +0200)]
Added nodes architectures in nodes attributes in GetNodes.

12 years agoAdded functionnal lease support.
Sandrine Avakian [Mon, 2 Jul 2012 12:09:39 +0000 (14:09 +0200)]
Added functionnal lease support.

12 years agofix bug in fill_slice_record_info
Tony Mack [Mon, 2 Jul 2012 02:23:09 +0000 (22:23 -0400)]
fix bug in fill_slice_record_info

12 years agoadded hrn_to_os_tenant_name()
Tony Mack [Mon, 2 Jul 2012 02:04:58 +0000 (22:04 -0400)]
added hrn_to_os_tenant_name()

12 years agospecify type when using OSXrn
Tony Mack [Mon, 2 Jul 2012 02:04:36 +0000 (22:04 -0400)]
specify type when using OSXrn

12 years agorefactored fill_record_info
Tony Mack [Mon, 2 Jul 2012 02:04:15 +0000 (22:04 -0400)]
refactored fill_record_info

12 years agofix bug
Tony Mack [Sun, 1 Jul 2012 04:28:30 +0000 (00:28 -0400)]
fix bug

12 years agoorganized
Tony Mack [Sun, 1 Jul 2012 04:28:18 +0000 (00:28 -0400)]
organized

12 years agorevert change
Tony Mack [Sun, 1 Jul 2012 03:46:47 +0000 (23:46 -0400)]
revert change

12 years agowhitespace
Tony Mack [Sat, 30 Jun 2012 02:41:16 +0000 (22:41 -0400)]
whitespace

12 years agofix bug
Tony Mack [Sat, 30 Jun 2012 02:40:28 +0000 (22:40 -0400)]
fix bug

12 years agocast to string
Tony Mack [Sat, 30 Jun 2012 02:12:02 +0000 (22:12 -0400)]
cast to string

12 years agofix bug
Tony Mack [Sat, 30 Jun 2012 02:10:55 +0000 (22:10 -0400)]
fix bug

12 years agofix bugs
Tony Mack [Sat, 30 Jun 2012 01:54:57 +0000 (21:54 -0400)]
fix bugs

12 years agoplos schema
Tony Mack [Fri, 29 Jun 2012 21:07:52 +0000 (17:07 -0400)]
plos schema

12 years agoadded 'auth' param to __init__
Tony Mack [Fri, 29 Jun 2012 17:59:13 +0000 (13:59 -0400)]
added 'auth' param to __init__

12 years agofix import
Tony Mack [Fri, 29 Jun 2012 17:58:53 +0000 (13:58 -0400)]
fix import

12 years agoimport records from keystone instead of default auth_manager
Tony Mack [Fri, 29 Jun 2012 17:58:33 +0000 (13:58 -0400)]
import records from keystone instead of default auth_manager

12 years agorenmed NovaShell to Shell
Tony Mack [Fri, 29 Jun 2012 15:41:02 +0000 (11:41 -0400)]
renmed NovaShell to Shell