sfa.git
11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Tue, 29 May 2012 09:18:37 +0000 (11:18 +0200)]
Merge branch 'master' into senslab2

Conflicts:
setup.py

11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 23 May 2012 08:22:54 +0000 (10:22 +0200)]
Merge branch 'upstreammaster'

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 22 May 2012 14:38:01 +0000 (16:38 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agofixes for void flavour
Thierry Parmentelat [Tue, 22 May 2012 14:37:40 +0000 (16:37 +0200)]
fixes for void flavour

11 years agofixes
Thierry Parmentelat [Tue, 22 May 2012 14:37:18 +0000 (16:37 +0200)]
fixes

11 years agotests@master for onelab
Thierry Parmentelat [Tue, 22 May 2012 10:52:21 +0000 (12:52 +0200)]
tests@master for onelab

11 years agoFixed bug in ldapAdd.
Sandrine Avakian [Mon, 21 May 2012 12:59:45 +0000 (14:59 +0200)]
Fixed bug in ldapAdd.

11 years agowhitespace
Tony Mack [Sun, 20 May 2012 19:35:53 +0000 (15:35 -0400)]
whitespace

11 years agoensure urn has sliver type
Tony Mack [Sun, 20 May 2012 19:35:31 +0000 (15:35 -0400)]
ensure urn has sliver type

11 years agoimgae id always has 'ami' prefix regardless of container format
Tony Mack [Sun, 20 May 2012 19:08:20 +0000 (15:08 -0400)]
imgae id always has 'ami' prefix regardless of container format

11 years agofix bugs
Tony Mack [Sat, 19 May 2012 17:40:46 +0000 (13:40 -0400)]
fix bugs

11 years agosupport ovf container format
Tony Mack [Sat, 19 May 2012 14:34:34 +0000 (10:34 -0400)]
support ovf container format

11 years agosupport ovf container format
Tony Mack [Sat, 19 May 2012 14:33:55 +0000 (10:33 -0400)]
support ovf container format

11 years agoAdded ldapModify , ldapAdd, ldapDelete.
Sandrine Avakian [Wed, 16 May 2012 15:30:28 +0000 (17:30 +0200)]
Added ldapModify , ldapAdd, ldapDelete.

11 years agoRmoved parse_filter in GetPersons.
Sandrine Avakian [Wed, 16 May 2012 12:38:48 +0000 (14:38 +0200)]
Rmoved parse_filter in GetPersons.
Modified LDAP.PY : ldapFinHrn not used anymore, use ldapSearch instead.

11 years agoCleaning.
Sandrine Avakian [Wed, 16 May 2012 10:51:47 +0000 (12:51 +0200)]
Cleaning.
LDAP modifications to add entries in LDAP. REmoved fill_record_sfa_info (unused).

11 years agocosmetic, avoid name conflict between bootstrap method and SfaClientBootstrap instance
Thierry Parmentelat [Tue, 15 May 2012 13:06:43 +0000 (15:06 +0200)]
cosmetic, avoid name conflict between bootstrap method and SfaClientBootstrap instance

11 years agoModified LdapAPI.py and client_helper to match the master one.
Sandrine Avakian [Tue, 15 May 2012 09:43:38 +0000 (11:43 +0200)]
Modified LdapAPI.py and client_helper to match the master one.

11 years agoSetting tag sfa-2.1-7 sfa-2.1-7
Thierry Parmentelat [Mon, 14 May 2012 15:53:03 +0000 (17:53 +0200)]
Setting tag sfa-2.1-7
renamed sfa/plc into sfa/planetlab
plxrn moved in sfa/planetlab as well
bugfix for sfaadmin reg update --pi <>

11 years agoAdded ldap global search function + check in verify_persons.
Sandrine Avakian [Mon, 14 May 2012 14:09:34 +0000 (16:09 +0200)]
Added ldap global search function + check in verify_persons.

11 years agoPut back missing fields in user credentials that will
savakian [Mon, 14 May 2012 12:26:29 +0000 (14:26 +0200)]
Put back missing fields in user credentials that will
be used to check if the user is already in senslab LDAP.

11 years agoadd a print statement that mysteriously solves a problem
Thierry Parmentelat [Sun, 13 May 2012 21:59:04 +0000 (23:59 +0200)]
add a print statement that mysteriously solves a problem

11 years agoset max_slices to 2 by default as sfa_admin has no means to set that yet
Thierry Parmentelat [Sun, 13 May 2012 21:58:37 +0000 (23:58 +0200)]
set max_slices to 2 by default as sfa_admin has no means to set that yet

11 years agoremove debug msg
Thierry Parmentelat [Sun, 13 May 2012 21:58:12 +0000 (23:58 +0200)]
remove debug msg

11 years agomissing commits
Thierry Parmentelat [Sun, 13 May 2012 21:43:26 +0000 (23:43 +0200)]
missing commits

11 years agomoved sfa/util/plxrn as sfa/planetlab/plxrn
Thierry Parmentelat [Sat, 12 May 2012 16:57:15 +0000 (18:57 +0200)]
moved sfa/util/plxrn as sfa/planetlab/plxrn

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sat, 12 May 2012 16:56:19 +0000 (18:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agorenamed sfa/plc into sfa/planetlab
Thierry Parmentelat [Sat, 12 May 2012 16:50:02 +0000 (18:50 +0200)]
renamed sfa/plc into sfa/planetlab

11 years agoSetting tag sfa-2.1-6 sfa-2.1-6
Thierry Parmentelat [Sat, 12 May 2012 16:03:39 +0000 (18:03 +0200)]
Setting tag sfa-2.1-6
native data model now has a authority x user (PI) relationship
no call to 'augment_records_with_testbed_info' for GetCredential
which means, registry can now be used without an underlying testbed
reviewed code about relationships b/w objects and related in pl driver
reviewed PL import wrt roles and pis
removed mentions to is_enabled in driver
small changes in update_relation* in driver interface
sfaadmin: can create authorities and attach pi users to them
sfaadmin: categories can be abbreviated
sfi list and sfaadmin list have a new -r/--recursive option
this means that List now supports an (optional) 'options' argument
sfi config can display config vars
sfaadmin code in sfa.client + /usr/bin/sfaadmin shortcut

11 years agoreview management of relationships - allow to update them with sfaadmin
Thierry Parmentelat [Fri, 11 May 2012 16:54:22 +0000 (18:54 +0200)]
review management of relationships - allow to update them with sfaadmin

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 11 May 2012 16:23:40 +0000 (18:23 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agocleanup update_relation a bit on the driver side
Thierry Parmentelat [Fri, 11 May 2012 16:22:41 +0000 (18:22 +0200)]
cleanup update_relation a bit on the driver side

11 years agosupport recurisve listing with -r option
Tony Mack [Fri, 11 May 2012 14:24:47 +0000 (10:24 -0400)]
support recurisve listing with -r option

11 years agofix authority registration
Thierry Parmentelat [Fri, 11 May 2012 12:14:23 +0000 (14:14 +0200)]
fix authority registration

11 years agomore useless imports are gone
Thierry Parmentelat [Fri, 11 May 2012 12:13:11 +0000 (14:13 +0200)]
more useless imports are gone

11 years agotrimmed dependencies to plxrn
Thierry Parmentelat [Fri, 11 May 2012 10:46:28 +0000 (12:46 +0200)]
trimmed dependencies to plxrn

11 years agobugfix
Thierry Parmentelat [Fri, 11 May 2012 10:45:18 +0000 (12:45 +0200)]
bugfix

11 years agosfi config dumps config
Thierry Parmentelat [Fri, 11 May 2012 09:32:20 +0000 (11:32 +0200)]
sfi config dumps config

11 years agomove body of sfaadmin in sfa/client
Thierry Parmentelat [Fri, 11 May 2012 09:04:01 +0000 (11:04 +0200)]
move body of sfaadmin in sfa/client
category can be abbreviated
nicer usage

11 years agosupport recursive by inlcuding '*' at the end of the hrn
Tony Mack [Thu, 10 May 2012 14:42:58 +0000 (10:42 -0400)]
support recursive by inlcuding '*' at the end of the hrn

11 years agoAdded new column in slice_senslab.
Sandrine Avakian [Thu, 10 May 2012 11:38:50 +0000 (13:38 +0200)]
Added new column in slice_senslab.

11 years agodeliver credentials : correctly use suth x PI to deliver slice credentials to PIs
Thierry Parmentelat [Wed, 9 May 2012 15:56:22 +0000 (17:56 +0200)]
deliver credentials : correctly use suth x PI to deliver slice credentials to PIs

11 years agodeprecate the is_enabled call in the driver
Thierry Parmentelat [Wed, 9 May 2012 15:24:30 +0000 (17:24 +0200)]
deprecate the is_enabled call in the driver
this was useless given that we import only enabled users

11 years agoadd symlink /usr/bin/sfaadmin (without the .py)
Thierry Parmentelat [Wed, 9 May 2012 14:33:29 +0000 (16:33 +0200)]
add symlink /usr/bin/sfaadmin (without the .py)

11 years agodocstring
Tony Mack [Wed, 9 May 2012 14:32:58 +0000 (10:32 -0400)]
docstring

11 years agodetermine_user_rights to use slice.reg_researchers and
Thierry Parmentelat [Wed, 9 May 2012 12:54:59 +0000 (14:54 +0200)]
determine_user_rights to use slice.reg_researchers and
authority.reg_pis

11 years agorename backref to singular
Thierry Parmentelat [Wed, 9 May 2012 11:24:25 +0000 (13:24 +0200)]
rename backref to singular

11 years agoadd a site/authority x user/person relationship in registry model for
Thierry Parmentelat [Wed, 9 May 2012 11:21:30 +0000 (13:21 +0200)]
add a site/authority x user/person relationship in registry model for
keeping track of PIs
plimporter maintains this as it can (with the obvious limitation of
the plcapi model where persons receive PI role for *all* their sites)
--- still todo
. adapt native sfa registration for dealing with PIs
. tweak determine_user_rights to use native registry info rather than
  from augment_records_with_testbed_info stuff

11 years agosort methods in category with --help
Thierry Parmentelat [Wed, 9 May 2012 10:39:13 +0000 (12:39 +0200)]
sort methods in category with --help
remove confusing mentions to <args> since everything is an option

11 years agotry to improve sfaadmin a bit
Thierry Parmentelat [Wed, 9 May 2012 10:02:59 +0000 (12:02 +0200)]
try to improve sfaadmin a bit
mandatory options are outlined
sfaadmin --help displays a summary of commands and subcommands
most __doc__ strings need to be filled in though

11 years agoFixed bug in GetPeers.
Sandrine Avakian [Wed, 9 May 2012 09:21:44 +0000 (11:21 +0200)]
Fixed bug in GetPeers.
Changed the name of function ADDSliceToNodes to LaunchExperiment,

11 years agoundo change about nicer RegSlice.__repr__ that somehow breaks the tests
Thierry Parmentelat [Mon, 7 May 2012 17:25:01 +0000 (19:25 +0200)]
undo change about nicer RegSlice.__repr__ that somehow breaks the tests

11 years agocosmetic: Right(s) have a __repr__
Thierry Parmentelat [Mon, 7 May 2012 14:00:06 +0000 (16:00 +0200)]
cosmetic: Right(s) have a __repr__

11 years agocatch up the change to determine_user_rights
Thierry Parmentelat [Mon, 7 May 2012 13:59:44 +0000 (15:59 +0200)]
catch up the change to determine_user_rights

11 years agopass a record object (instead of dict) to determine_user_rights
Thierry Parmentelat [Mon, 7 May 2012 13:58:42 +0000 (15:58 +0200)]
pass a record object (instead of dict) to determine_user_rights

11 years agonicer RegSlice.__repr__ (shows # researchers)
Thierry Parmentelat [Mon, 7 May 2012 13:55:17 +0000 (15:55 +0200)]
nicer RegSlice.__repr__ (shows # researchers)

11 years agoremove useless verify_cancreate_credential
Thierry Parmentelat [Mon, 7 May 2012 13:54:18 +0000 (15:54 +0200)]
remove useless verify_cancreate_credential

11 years agofix sync target
Thierry Parmentelat [Mon, 7 May 2012 13:49:01 +0000 (15:49 +0200)]
fix sync target

12 years agoBugfix in AddSlicetoNodes.
Sandrine Avakian [Thu, 26 Apr 2012 15:36:34 +0000 (17:36 +0200)]
Bugfix in AddSlicetoNodes.

12 years agoMinor modifications in timeslot element.
Sandrine Avakian [Thu, 26 Apr 2012 11:32:44 +0000 (13:32 +0200)]
Minor modifications in timeslot element.

12 years agoFixed Baseversion deletion problem. Using RSpecVersion instead in slabv1.
Sandrine Avakian [Thu, 26 Apr 2012 09:09:21 +0000 (11:09 +0200)]
Fixed Baseversion deletion problem. Using RSpecVersion instead in slabv1.

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 26 Apr 2012 08:52:40 +0000 (10:52 +0200)]
Merge branch 'master' into senslab2

12 years agoPossibility to handle unspecified timezone in timeslot specification.
Sandrine Avakian [Thu, 26 Apr 2012 08:43:24 +0000 (10:43 +0200)]
Possibility to handle unspecified timezone in timeslot specification.

12 years agoRemoved commented out older version of AddSliceToNodes.
Sandrine Avakian [Wed, 25 Apr 2012 15:35:53 +0000 (17:35 +0200)]
Removed commented out older version of AddSliceToNodes.

12 years agoAdded Slabv1 specific RSpec support.
Sandrine Avakian [Wed, 25 Apr 2012 15:27:39 +0000 (17:27 +0200)]
Added Slabv1 specific RSpec support.
Added special Timeslot element files.
Timeslot supports specification of different timezones
when creating a new experiment using senslab Rspec, computed
in AddSliceToNodes.
Timeslot format used :
<timeslot time="2012-04-26 10:00:00 Canada/Central" duration = "00:18:45" />
Timeslot does not belong to Node element, nor Sliver element.
Specific xml header should be used in order to trigger Slabv1 rspec
parsing functions.
<?xml version="1.0"?>
<rspec type="request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://senslab.info/resources/rspec/1" xmlns:flack="http://senslab.info/resources/rspec/ext/flack/1" xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xsi:schemaLocation="http://senslab.info/resources/rspec/1 http://senslab.info/resources/rspec/1/request.xsd http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd" expires="2012-04-20T09:43:07Z" generated="2012-04-20T08:43:07Z">

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Tue, 24 Apr 2012 16:51:51 +0000 (18:51 +0200)]
Merge branch 'upstreammaster'

12 years agoVerify user also work with an urn now (worked only with hrn before). NT
Nicolas Turro [Wed, 18 Apr 2012 11:59:40 +0000 (13:59 +0200)]
Verify user also work with an urn now (worked only with hrn before). NT

12 years agoget_nodes_and_links calls with a slicename also return ressources that are not in...
Nicolas Turro [Wed, 18 Apr 2012 11:55:28 +0000 (13:55 +0200)]
get_nodes_and_links calls with a slicename also return ressources that are not in the slice. NT.

12 years agoSetting tag sfa-2.1-5 sfa-2.1-5
Tony Mack [Mon, 16 Apr 2012 18:54:30 +0000 (14:54 -0400)]
Setting tag sfa-2.1-5

12 years agofix bug in get_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:35:24 +0000 (21:35 -0400)]
fix bug in get_sliver_id()

12 years agoadd 'authority' param to urn_to_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:27:22 +0000 (21:27 -0400)]
add 'authority' param to urn_to_sliver_id()

12 years agofix call to urn_to_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:26:55 +0000 (21:26 -0400)]
fix call to urn_to_sliver_id()

12 years agofix urn
Tony Mack [Fri, 13 Apr 2012 00:47:11 +0000 (20:47 -0400)]
fix urn

12 years agofixed NameError
Tony Mack [Thu, 12 Apr 2012 14:10:54 +0000 (10:10 -0400)]
fixed NameError

12 years agoonly get plos firewall rules if plos namespace is present
Tony Mack [Thu, 12 Apr 2012 01:44:56 +0000 (21:44 -0400)]
only get plos firewall rules if plos namespace is present

12 years agofix import path
Tony Mack [Wed, 11 Apr 2012 17:32:02 +0000 (13:32 -0400)]
fix import path

12 years agospace
Tony Mack [Wed, 11 Apr 2012 17:31:03 +0000 (13:31 -0400)]
space

12 years agodisabling get_
Tony Mack [Wed, 11 Apr 2012 17:30:49 +0000 (13:30 -0400)]
disabling get_

12 years agorenaming
Tony Mack [Wed, 11 Apr 2012 17:30:12 +0000 (13:30 -0400)]
renaming

12 years agorenaming
Tony Mack [Wed, 11 Apr 2012 17:29:56 +0000 (13:29 -0400)]
renaming

12 years agofix make sync
Thierry Parmentelat [Tue, 10 Apr 2012 15:12:27 +0000 (17:12 +0200)]
fix make sync

12 years agocosmetic so messages look like the ones of PLC
Thierry Parmentelat [Thu, 5 Apr 2012 12:09:04 +0000 (14:09 +0200)]
cosmetic so messages look like the ones of PLC

12 years agofix bug that causes CreateSliver to fail if a <node> element is missing the 'componen...
Tony Mack [Wed, 4 Apr 2012 22:37:40 +0000 (18:37 -0400)]
fix bug that causes CreateSliver to fail if a <node> element is missing the 'component_name' attribute

12 years agoadd slice expiration and login info to SliverStatus response
Tony Mack [Tue, 3 Apr 2012 19:38:07 +0000 (15:38 -0400)]
add slice expiration and login info to SliverStatus response

12 years agonew make sync for vs or lxc
Thierry Parmentelat [Mon, 2 Apr 2012 15:48:41 +0000 (17:48 +0200)]
new make sync for vs or lxc

12 years agoremove debugging output
Tony Mack [Fri, 30 Mar 2012 19:21:47 +0000 (15:21 -0400)]
remove debugging output

12 years agoAdded code for delete slice - kills the job .
Sandrine Avakian [Thu, 29 Mar 2012 13:52:42 +0000 (15:52 +0200)]
Added code for delete slice - kills the job .

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Wed, 28 Mar 2012 14:43:36 +0000 (16:43 +0200)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

Conflicts:
sfa/senslab/slabaggregate.py

12 years agoIn get_nodes_and_links function, the 'boot_state' tag of node in a rspec is set to...
Nicolas Turro [Wed, 28 Mar 2012 14:08:55 +0000 (16:08 +0200)]
In get_nodes_and_links function, the 'boot_state' tag of node in a rspec is set to 'Reserved' if the node is involved in a running oar job. NT

12 years agoNew method GetReservedNodes that returns a list of nodes already involved in an oar...
Nicolas Turro [Wed, 28 Mar 2012 14:07:59 +0000 (16:07 +0200)]
New method GetReservedNodes that returns a list of nodes already involved in an oar job. NT.

12 years agoMethod ParseJobsDetails now returns something. NT
Nicolas Turro [Wed, 28 Mar 2012 14:06:44 +0000 (16:06 +0200)]
Method ParseJobsDetails now returns something. NT

12 years agoRemoved thrash print in slabaggregate.
Sandrine Avakian [Wed, 28 Mar 2012 10:40:09 +0000 (12:40 +0200)]
Removed thrash print in slabaggregate.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Sandrine Avakian [Wed, 28 Mar 2012 09:56:17 +0000 (11:56 +0200)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoCreated new Slabv1 RSpec option.
Sandrine Avakian [Wed, 28 Mar 2012 09:55:37 +0000 (11:55 +0200)]
Created new Slabv1 RSpec option.

12 years agoOar time and timezone are now better handled to build Oar schedulling requests. NT.
Nicolas Turro [Wed, 28 Mar 2012 08:52:24 +0000 (10:52 +0200)]
Oar time and timezone are now better handled to build Oar schedulling requests. NT.

12 years agoThe oar GET_timezone call now also return the servers timezone. NT.
Nicolas Turro [Wed, 28 Mar 2012 08:50:55 +0000 (10:50 +0200)]
The oar GET_timezone call now also return the servers timezone. NT.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Fri, 23 Mar 2012 16:53:05 +0000 (17:53 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoBugfix, wrong node attribute were used to create sliver info in get_nodes_and_links. NT
Nicolas Turro [Fri, 23 Mar 2012 16:51:32 +0000 (17:51 +0100)]
Bugfix, wrong node attribute were used to create sliver info in get_nodes_and_links. NT

12 years agoSmall typo error corrected. NT.
Nicolas Turro [Fri, 23 Mar 2012 16:48:14 +0000 (17:48 +0100)]
Small typo error corrected. NT.

12 years ago.
Sandrine Avakian [Fri, 23 Mar 2012 14:34:24 +0000 (15:34 +0100)]
.