sfa.git
15 years agoin create_slice() and delete_slice() set the right gid_object_caller on the credentia...
Tony Mack [Wed, 30 Dec 2009 23:50:12 +0000 (23:50 +0000)]
in create_slice() and delete_slice() set the right gid_object_caller on the credential, no longer pass origin_hrn to calls

15 years agologging should take place befor call has a chance to exit
Tony Mack [Wed, 30 Dec 2009 23:47:26 +0000 (23:47 +0000)]
logging should take place befor call has a chance to exit

15 years agoset the right gid_object_caller on the credential
Tony Mack [Wed, 30 Dec 2009 23:42:53 +0000 (23:42 +0000)]
set the right gid_object_caller on the credential

15 years agoget origin hrn from the credentials gid_origin_caller object
Tony Mack [Wed, 30 Dec 2009 23:41:27 +0000 (23:41 +0000)]
get origin hrn from the credentials gid_origin_caller object

15 years agoadded gidOriginCaller to keep track of the original caller (useful for logging)
Tony Mack [Wed, 30 Dec 2009 23:31:33 +0000 (23:31 +0000)]
added gidOriginCaller to keep track of the original caller (useful for logging)

15 years agoLooks like that in the recent release of util-vserver, these variables cannot be...
Anil-Kumar Vengalil [Wed, 30 Dec 2009 21:15:58 +0000 (21:15 +0000)]
Looks like that in the recent release of util-vserver, these variables cannot be left as localhost, rather has to be set to the hostname

15 years agoremoving getNodeManagerShell() method
Tony Mack [Wed, 30 Dec 2009 01:17:28 +0000 (01:17 +0000)]
removing getNodeManagerShell() method

15 years agoremovng the nmdb record stuff
Tony Mack [Wed, 30 Dec 2009 01:14:58 +0000 (01:14 +0000)]
removng the nmdb record stuff

15 years agoinitial checkin
Tony Mack [Tue, 29 Dec 2009 22:17:53 +0000 (22:17 +0000)]
initial checkin

15 years agomkstemp returns a tuple
Tony Mack [Tue, 29 Dec 2009 17:34:15 +0000 (17:34 +0000)]
mkstemp returns a tuple

15 years agouse mkstemp instead of mktemp
Tony Mack [Tue, 29 Dec 2009 17:33:24 +0000 (17:33 +0000)]
use mkstemp instead of mktemp

15 years agowhitespace
Tony Mack [Mon, 28 Dec 2009 15:53:30 +0000 (15:53 +0000)]
whitespace

15 years agowhen removing a site make sure to remove all records at the site
Tony Mack [Mon, 28 Dec 2009 15:52:31 +0000 (15:52 +0000)]
when removing a site make sure to remove all records at the site

15 years agounnecessary comment
Tony Mack [Mon, 28 Dec 2009 15:44:28 +0000 (15:44 +0000)]
unnecessary comment

15 years agoif the slice is renewed in the local aggregate, we have to make corresponding change...
Anil-Kumar Vengalil [Wed, 23 Dec 2009 14:13:59 +0000 (14:13 +0000)]
if the slice is renewed in the local aggregate, we have to make corresponding change in the remote aggregate too

15 years agocleanup
Tony Mack [Wed, 23 Dec 2009 04:03:00 +0000 (04:03 +0000)]
cleanup

15 years agourn vs hrn
Tony Mack [Tue, 22 Dec 2009 18:26:15 +0000 (18:26 +0000)]
urn vs hrn

15 years agorefactor registry code to use managers
Tony Mack [Tue, 22 Dec 2009 17:30:02 +0000 (17:30 +0000)]
refactor registry code to use managers

15 years agoslicemgr merges tickets from aggregate into 1 ticket. sfa.plc.slices.verify_site...
Tony Mack [Tue, 22 Dec 2009 16:23:06 +0000 (16:23 +0000)]
slicemgr merges tickets from aggregate into 1 ticket. sfa.plc.slices.verify_site/slice needs to do a bit more

15 years agorun as root
Tony Mack [Tue, 22 Dec 2009 15:43:52 +0000 (15:43 +0000)]
run as root

15 years agosupply only acceptable fields to AddSlice. for example if the user supplies expires...
Anil-Kumar Vengalil [Tue, 22 Dec 2009 12:29:16 +0000 (12:29 +0000)]
supply only acceptable fields to AddSlice. for example if the user supplies expires field, that should be removed, otherwise AddSlice will fail

15 years agotabs
Tony Mack [Tue, 22 Dec 2009 03:28:30 +0000 (03:28 +0000)]
tabs

15 years agoadded force option for get_credential()
Tony Mack [Tue, 22 Dec 2009 03:26:01 +0000 (03:26 +0000)]
added force option for get_credential()

15 years agofix typos, name errors
Tony Mack [Tue, 22 Dec 2009 03:25:40 +0000 (03:25 +0000)]
fix typos, name errors

15 years agofix name error. dont forget to import sfa.plc.slices.Slices
Tony Mack [Tue, 22 Dec 2009 03:08:45 +0000 (03:08 +0000)]
fix name error. dont forget to import sfa.plc.slices.Slices

15 years agofix name error
Tony Mack [Tue, 22 Dec 2009 02:56:15 +0000 (02:56 +0000)]
fix name error

15 years agouse StringTypes instead of str when determining the type
Tony Mack [Tue, 22 Dec 2009 02:51:17 +0000 (02:51 +0000)]
use StringTypes instead of str when determining the type

15 years agomore to do
Tony Mack [Mon, 21 Dec 2009 15:45:47 +0000 (15:45 +0000)]
more to do

15 years agoaggregate type is in config object
Anil-Kumar Vengalil [Mon, 21 Dec 2009 13:35:26 +0000 (13:35 +0000)]
aggregate type is in config object

15 years agoadded init_server() method
Tony Mack [Sun, 20 Dec 2009 23:28:45 +0000 (23:28 +0000)]
added init_server() method

15 years agoif the init_server() method is defined in the interfaces manager module, execute...
Tony Mack [Sun, 20 Dec 2009 23:04:52 +0000 (23:04 +0000)]
if the init_server() method is defined in the interfaces manager module, execute it when the server starts

15 years agotrying to reenable wsdl, with python-psycopg2 installed in build through devel.pkgs
Thierry Parmentelat [Sun, 20 Dec 2009 13:22:08 +0000 (13:22 +0000)]
trying to reenable wsdl, with python-psycopg2 installed in build through devel.pkgs

15 years agorequire python-psycopg2
Barış Metin [Sun, 20 Dec 2009 11:06:00 +0000 (11:06 +0000)]
require python-psycopg2

15 years agodisable wsdl generation again
Thierry Parmentelat [Sun, 20 Dec 2009 09:46:20 +0000 (09:46 +0000)]
disable wsdl generation again

15 years agohere we are dealing with slice hrn
Anil-Kumar Vengalil [Fri, 18 Dec 2009 15:06:58 +0000 (15:06 +0000)]
here we are dealing with slice hrn

15 years agotaking out these two checks as discussed with tony. get_ticket is now a SM call,...
Anil-Kumar Vengalil [Thu, 17 Dec 2009 17:09:20 +0000 (17:09 +0000)]
taking out these two checks as discussed with tony. get_ticket is now a SM call, and these checks make sense with registry calls which are not propagated accross federated aggs

15 years agoa minor bug-fx
Anil-Kumar Vengalil [Thu, 17 Dec 2009 16:19:50 +0000 (16:19 +0000)]
a minor bug-fx

15 years agoreceive the right arguments
Anil-Kumar Vengalil [Thu, 17 Dec 2009 16:05:59 +0000 (16:05 +0000)]
receive the right arguments

15 years agocosmetic
Anil-Kumar Vengalil [Thu, 17 Dec 2009 15:36:27 +0000 (15:36 +0000)]
cosmetic

15 years agopassing slice_hrn to federated aggregates in get_ticket
Anil-Kumar Vengalil [Thu, 17 Dec 2009 15:31:34 +0000 (15:31 +0000)]
passing slice_hrn to federated aggregates in get_ticket

15 years agocalling get_resources and get_ticket with proper arguments
Anil-Kumar Vengalil [Thu, 17 Dec 2009 13:43:49 +0000 (13:43 +0000)]
calling get_resources and get_ticket with proper arguments

15 years agoinitial checkin
Tony Mack [Wed, 16 Dec 2009 21:56:14 +0000 (21:56 +0000)]
initial checkin

15 years agogeni id on nodes done
Tony Mack [Wed, 16 Dec 2009 20:50:57 +0000 (20:50 +0000)]
geni id on nodes done

15 years agofix slicename to hrn conversion in get_gids()
Tony Mack [Wed, 16 Dec 2009 20:45:35 +0000 (20:45 +0000)]
fix slicename to hrn conversion in get_gids()

15 years agomore to do
Tony Mack [Wed, 16 Dec 2009 17:35:37 +0000 (17:35 +0000)]
more to do

15 years agobringing wsdl back
Anil-Kumar Vengalil [Wed, 16 Dec 2009 13:22:17 +0000 (13:22 +0000)]
bringing wsdl back

15 years agoadd managers to rpm
Barış Metin [Wed, 16 Dec 2009 13:17:06 +0000 (13:17 +0000)]
add managers to rpm

15 years ago- handle list and tuple types
Barış Metin [Wed, 16 Dec 2009 12:06:39 +0000 (12:06 +0000)]
- handle list and tuple types
- add component to known interfaces

15 years agothe first argument to Parameter needs to be a type
Barış Metin [Wed, 16 Dec 2009 12:06:07 +0000 (12:06 +0000)]
the first argument to Parameter needs to be a type

15 years agoturn wsdl generation back on
Thierry Parmentelat [Wed, 16 Dec 2009 11:23:09 +0000 (11:23 +0000)]
turn wsdl generation back on

15 years agotesting
Anil-Kumar Vengalil [Wed, 16 Dec 2009 11:01:56 +0000 (11:01 +0000)]
testing

15 years agoturn wsdl off ..
Thierry Parmentelat [Wed, 16 Dec 2009 07:01:37 +0000 (07:01 +0000)]
turn wsdl off ..

15 years agoturn off wsdl generation until it is fixed
Thierry Parmentelat [Wed, 16 Dec 2009 04:44:09 +0000 (04:44 +0000)]
turn off wsdl generation until it is fixed

15 years agofixed typo
Tony Mack [Tue, 15 Dec 2009 20:25:35 +0000 (20:25 +0000)]
fixed typo

15 years agoadd -c option for slices call
Tony Mack [Tue, 15 Dec 2009 20:24:59 +0000 (20:24 +0000)]
add -c option for slices call

15 years agoimport sfa.trust.credential
Tony Mack [Tue, 15 Dec 2009 18:40:30 +0000 (18:40 +0000)]
import sfa.trust.credential

15 years agofix spelling error in interfaces list
Tony Mack [Tue, 15 Dec 2009 18:38:44 +0000 (18:38 +0000)]
fix spelling error in interfaces list

15 years agoin start_slice use credential string not credential object
Tony Mack [Tue, 15 Dec 2009 18:33:28 +0000 (18:33 +0000)]
in start_slice use credential string not credential object

15 years agoconvert slice hrn to pl slicename
Tony Mack [Tue, 15 Dec 2009 18:25:58 +0000 (18:25 +0000)]
convert slice hrn to pl slicename

15 years agoimport sfa.trust.credential module
Tony Mack [Tue, 15 Dec 2009 18:06:43 +0000 (18:06 +0000)]
import sfa.trust.credential module

15 years agodont forget to include self in function definition for get_component_server_from_hrn()
Tony Mack [Tue, 15 Dec 2009 18:05:17 +0000 (18:05 +0000)]
dont forget to include self in function definition for get_component_server_from_hrn()

15 years agodont import some modules into global scope
Tony Mack [Tue, 15 Dec 2009 18:03:32 +0000 (18:03 +0000)]
dont import some modules into global scope

15 years agono need to import sfa.util.genitable here
Tony Mack [Tue, 15 Dec 2009 17:55:39 +0000 (17:55 +0000)]
no need to import sfa.util.genitable here

15 years agoinitial checkin of sfa component manager init script
Tony Mack [Tue, 15 Dec 2009 17:50:35 +0000 (17:50 +0000)]
initial checkin of sfa component manager init script

15 years agocan now use -c --component option to send requests directly to a nodes component...
Tony Mack [Tue, 15 Dec 2009 17:17:14 +0000 (17:17 +0000)]
can now use -c --component option to send requests directly to a nodes component manager for start, stop, reset, delete commands

15 years agotypo
Anil-Kumar Vengalil [Tue, 15 Dec 2009 16:38:40 +0000 (16:38 +0000)]
typo

15 years agoimporting the required module
Anil-Kumar Vengalil [Tue, 15 Dec 2009 16:28:08 +0000 (16:28 +0000)]
importing the required module

15 years agoagain getting away with caller_cred and passing just the hrn of the initial caller
Anil-Kumar Vengalil [Tue, 15 Dec 2009 12:30:58 +0000 (12:30 +0000)]
again getting away with caller_cred and passing just the hrn of the initial caller

15 years agocomments
Tony Mack [Tue, 15 Dec 2009 03:14:29 +0000 (03:14 +0000)]
comments

15 years agoinitial checkin of sfa componetnt setup cronjob
Tony Mack [Tue, 15 Dec 2009 03:13:21 +0000 (03:13 +0000)]
initial checkin of sfa componetnt setup cronjob

15 years agofix typo
Tony Mack [Tue, 15 Dec 2009 02:17:56 +0000 (02:17 +0000)]
fix typo

15 years agoin get_trusted_certs, check for the right filename when remove old gids
Tony Mack [Tue, 15 Dec 2009 02:16:59 +0000 (02:16 +0000)]
in get_trusted_certs, check for the right filename when remove old gids

15 years agoinitial checkin of merge method
Tony Mack [Mon, 14 Dec 2009 23:28:58 +0000 (23:28 +0000)]
initial checkin of merge method

15 years agoremove whitespace
Tony Mack [Mon, 14 Dec 2009 23:23:56 +0000 (23:23 +0000)]
remove whitespace

15 years agoadded get_ticket
Tony Mack [Mon, 14 Dec 2009 23:20:36 +0000 (23:20 +0000)]
added get_ticket

15 years agocheck if the ticket was signed by a trusted cert
Tony Mack [Mon, 14 Dec 2009 21:31:48 +0000 (21:31 +0000)]
check if the ticket was signed by a trusted cert

15 years agoadded check_ticket method
Tony Mack [Mon, 14 Dec 2009 21:30:45 +0000 (21:30 +0000)]
added check_ticket method

15 years agoin get_ticket(), aggregate signs the key not the slices site
Tony Mack [Mon, 14 Dec 2009 20:59:33 +0000 (20:59 +0000)]
in get_ticket(), aggregate signs the key not the slices site

15 years agoonly allow nodes that are available at the current interface
Tony Mack [Mon, 14 Dec 2009 20:55:23 +0000 (20:55 +0000)]
only allow nodes that are available at the current interface

15 years agoagain getting away with caller_Cred and passing just the hrn of the initial caller
Anil-Kumar Vengalil [Mon, 14 Dec 2009 18:20:05 +0000 (18:20 +0000)]
again getting away with caller_Cred and passing just the hrn of the initial caller

15 years agopassing the hrn of the initial caller instead of its credentail
Anil-Kumar Vengalil [Mon, 14 Dec 2009 17:53:13 +0000 (17:53 +0000)]
passing the hrn of the initial caller instead of its credentail

15 years agobug-fix: the output should be saved in the file specified by the user and not in...
Anil-Kumar Vengalil [Sun, 13 Dec 2009 23:05:03 +0000 (23:05 +0000)]
bug-fix: the output should be saved in the file specified by the user and not in user.gid

15 years agoon the server side of sfa the "." in the email address was replaced by "_" as sfa...
Anil-Kumar Vengalil [Sun, 13 Dec 2009 22:46:05 +0000 (22:46 +0000)]
on the server side of sfa the "." in the email address was replaced by "_" as sfa uses "." for authority separation. this is now done on the client side also

15 years agoslice_gid_filename should be node_gid_filename here
Tony Mack [Fri, 11 Dec 2009 22:16:14 +0000 (22:16 +0000)]
slice_gid_filename should be node_gid_filename here

15 years agovsever should be vservers
Tony Mack [Fri, 11 Dec 2009 22:14:36 +0000 (22:14 +0000)]
vsever should be vservers

15 years agosave node and slice gid in /etc (not /etc/sfa) in the slices filesystem
Tony Mack [Fri, 11 Dec 2009 21:58:47 +0000 (21:58 +0000)]
save node and slice gid in /etc (not /etc/sfa) in the slices filesystem

15 years agofix bugs
Tony Mack [Fri, 11 Dec 2009 00:21:43 +0000 (00:21 +0000)]
fix bugs

15 years agoadded quote_string method()
Tony Mack [Fri, 11 Dec 2009 00:11:27 +0000 (00:11 +0000)]
added quote_string method()

15 years agoconvert columns from array list to commas separated list
Tony Mack [Thu, 10 Dec 2009 23:51:34 +0000 (23:51 +0000)]
convert columns from array list to commas separated list

15 years agoadded getgids to operator's rights
Tony Mack [Thu, 10 Dec 2009 23:40:28 +0000 (23:40 +0000)]
added getgids to operator's rights

15 years agofix spelling error
Tony Mack [Thu, 10 Dec 2009 23:38:10 +0000 (23:38 +0000)]
fix spelling error

15 years agofix spelling error
Tony Mack [Thu, 10 Dec 2009 23:37:18 +0000 (23:37 +0000)]
fix spelling error

15 years agoadded some verbose output
Tony Mack [Thu, 10 Dec 2009 23:34:47 +0000 (23:34 +0000)]
added some verbose output

15 years agodont forget to save the credential parents
Tony Mack [Thu, 10 Dec 2009 23:32:55 +0000 (23:32 +0000)]
dont forget to save the credential parents

15 years agother is no hrn variable here
Tony Mack [Thu, 10 Dec 2009 23:21:09 +0000 (23:21 +0000)]
ther is no hrn variable here

15 years agodont forget to import sfa.trust.credential
Tony Mack [Thu, 10 Dec 2009 23:20:03 +0000 (23:20 +0000)]
dont forget to import sfa.trust.credential

15 years agoin determine_user_rights() changed r1 to rl (typo: 1 and l look so similar)
Tony Mack [Thu, 10 Dec 2009 23:18:54 +0000 (23:18 +0000)]
in determine_user_rights() changed r1 to rl (typo: 1 and l look so similar)

15 years agoin determine_user_rights() changed component to node
Tony Mack [Thu, 10 Dec 2009 23:17:32 +0000 (23:17 +0000)]
in determine_user_rights() changed component to node

15 years agoinstantiate the cert object
Tony Mack [Thu, 10 Dec 2009 17:40:32 +0000 (17:40 +0000)]
instantiate the cert object

15 years agouse corrct config_dir
Tony Mack [Wed, 9 Dec 2009 21:34:03 +0000 (21:34 +0000)]
use corrct config_dir