plcapi.git
17 years agoThis commit was manufactured by cvs2svn to create tag pycurl-7_13_1
Planet-Lab Support [Mon, 5 Feb 2007 19:20:40 +0000 (19:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'pycurl-7_13_1'.

17 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Mon, 5 Feb 2007 19:20:39 +0000 (19:20 +0000)]
This commit was manufactured by cvs2svn to create branch
'planetlab-4_0-branch'.

17 years ago- modified PasswordAuth.check to be case insensitive when checking email address
Tony Mack [Mon, 5 Feb 2007 19:20:38 +0000 (19:20 +0000)]
- modified PasswordAuth.check to be case insensitive when checking email address

17 years ago- add onelab peer as part of post upgrade fixup
Mark Huang [Mon, 5 Feb 2007 16:23:34 +0000 (16:23 +0000)]
- add onelab peer as part of post upgrade fixup

17 years agoadd our custom yum.conf PlanetLabConf entries
Mark Huang [Sun, 4 Feb 2007 04:34:26 +0000 (04:34 +0000)]
add our custom yum.conf PlanetLabConf entries

17 years ago- don't bother converting conf_files (db-config sets these up properly)
Mark Huang [Sun, 4 Feb 2007 00:15:28 +0000 (00:15 +0000)]
- don't bother converting conf_files (db-config sets these up properly)

17 years agoregenerate PDF
Mark Huang [Sat, 3 Feb 2007 23:41:07 +0000 (23:41 +0000)]
regenerate PDF

17 years agoadd backward compatible SliceGetTicket and SliceTicketGet functions for Emulab during...
Mark Huang [Sat, 3 Feb 2007 23:35:06 +0000 (23:35 +0000)]
add backward compatible SliceGetTicket and SliceTicketGet functions for Emulab during migration

17 years ago- Update plc_ticket_pubkey attribute
Mark Huang [Sat, 3 Feb 2007 23:33:43 +0000 (23:33 +0000)]
- Update plc_ticket_pubkey attribute

17 years ago- base64 decode the old initscript
Mark Huang [Sat, 3 Feb 2007 21:42:39 +0000 (21:42 +0000)]
- base64 decode the old initscript

17 years ago- remove max length from slice attribute values
Mark Huang [Sat, 3 Feb 2007 00:45:32 +0000 (00:45 +0000)]
- remove max length from slice attribute values

17 years ago- add Proper ops
Mark Huang [Sat, 3 Feb 2007 00:43:37 +0000 (00:43 +0000)]
- add Proper ops

17 years agoConvert old planetlab3 slice attributes and initscripts to new
Mark Huang [Fri, 2 Feb 2007 23:55:31 +0000 (23:55 +0000)]
Convert old planetlab3 slice attributes and initscripts to new
planetlab4 ones.

17 years ago- add AutoReqProv: no (don't automatically search for deps)
Mark Huang [Fri, 2 Feb 2007 04:46:52 +0000 (04:46 +0000)]
- add AutoReqProv: no (don't automatically search for deps)

17 years ago- remove rpm dependencies on postgresql-server and SOAPpy, so that we
Mark Huang [Fri, 2 Feb 2007 04:40:46 +0000 (04:40 +0000)]
- remove rpm dependencies on postgresql-server and SOAPpy, so that we
  can install this as a client package on nodes

17 years ago- add -s, --session option to specify session key
Mark Huang [Fri, 2 Feb 2007 04:39:03 +0000 (04:39 +0000)]
- add -s, --session option to specify session key

17 years ago- allow session key to be specified (for use on nodes)
Mark Huang [Fri, 2 Feb 2007 04:38:28 +0000 (04:38 +0000)]
- allow session key to be specified (for use on nodes)

17 years ago- fix typo
Mark Huang [Thu, 1 Feb 2007 23:05:59 +0000 (23:05 +0000)]
- fix typo

17 years agoadd GetSliceTicket
Mark Huang [Thu, 1 Feb 2007 22:32:08 +0000 (22:32 +0000)]
add GetSliceTicket

17 years ago- return signed slice tickets in the format that new NM
Mark Huang [Thu, 1 Feb 2007 22:31:52 +0000 (22:31 +0000)]
- return signed slice tickets in the format that new NM
  expects them to be in (signed/encrypted XML-RPC methodResponses)

17 years ago- changed gpg_sign() calling convention
Mark Huang [Thu, 1 Feb 2007 22:28:59 +0000 (22:28 +0000)]
- changed gpg_sign() calling convention

17 years ago- changed gpg_verify() calling convention
Mark Huang [Thu, 1 Feb 2007 22:28:48 +0000 (22:28 +0000)]
- changed gpg_verify() calling convention

17 years ago- support signing XML-RPC methodResponses as well (for GetSliceTicket())
Mark Huang [Thu, 1 Feb 2007 22:28:12 +0000 (22:28 +0000)]
- support signing XML-RPC methodResponses as well (for GetSliceTicket())
- gpg_sign() and gpg_verify() can now sign/verify string blobs
- gpg_sign() and gpg_verify() now support non-detached signatures (for
  GetSliceTicket())
- gpg_verify(): print errors if they happen

17 years ago- support updating 'enabled' field
Tony Mack [Thu, 1 Feb 2007 22:00:45 +0000 (22:00 +0000)]
- support updating 'enabled' field

17 years ago- pull bulk of functionality into get_slivers() utility function so that
Mark Huang [Thu, 1 Feb 2007 21:56:57 +0000 (21:56 +0000)]
- pull bulk of functionality into get_slivers() utility function so that
  GetSliceTicket() can use it too

17 years agoadd Boot
Mark Huang [Thu, 1 Feb 2007 05:38:01 +0000 (05:38 +0000)]
add Boot

17 years agoregenerate pdf
Mark Huang [Thu, 1 Feb 2007 05:37:41 +0000 (05:37 +0000)]
regenerate pdf

17 years agoadd NotifyPersons method to e-mail specified users
Mark Huang [Thu, 1 Feb 2007 05:36:04 +0000 (05:36 +0000)]
add NotifyPersons method to e-mail specified users

17 years agoallow node authentication
Mark Huang [Thu, 1 Feb 2007 05:03:24 +0000 (05:03 +0000)]
allow node authentication

17 years agoallow node and anonymous authentication
Mark Huang [Thu, 1 Feb 2007 05:01:04 +0000 (05:01 +0000)]
allow node and anonymous authentication

17 years ago- Auth() now implies BootAuth()
Mark Huang [Wed, 31 Jan 2007 22:41:34 +0000 (22:41 +0000)]
- Auth() now implies BootAuth()

17 years ago- fix Auth so that it parses AuthMethod and doles out the actual
Mark Huang [Wed, 31 Jan 2007 22:41:00 +0000 (22:41 +0000)]
- fix Auth so that it parses AuthMethod and doles out the actual
  authentication check to the appropriate subclass (so that users get a
  sensible error message, rather than the error message returned from
  the last Auth subclass to be checked (usually GPGAuth))
- check that the method allows nodes to call it before allowing BootAuth
- check that the method allows anonymous users to call it before
  allowing AnonymousAuth
- fix PasswordAuth documentation

17 years ago- NULL out invalid creator_person_ids
Mark Huang [Wed, 31 Jan 2007 20:57:28 +0000 (20:57 +0000)]
- NULL out invalid creator_person_ids

17 years agoset subversion
Mark Huang [Wed, 31 Jan 2007 19:55:27 +0000 (19:55 +0000)]
set subversion

17 years ago- Remove NOT NULL constraint from creator_person_id in case the
Mark Huang [Wed, 31 Jan 2007 19:55:12 +0000 (19:55 +0000)]
- Remove NOT NULL constraint from creator_person_id in case the
  creator is deleted.

17 years ago- remove NOT NULL constraint from slices.creator_person_id in case
Mark Huang [Wed, 31 Jan 2007 19:54:42 +0000 (19:54 +0000)]
- remove NOT NULL constraint from slices.creator_person_id in case
  creator is deleted
- ensure that encoding is UNICODE
- make plc_db_version.subversion part of the schema, and bump to 2

17 years ago- modify person_key and keys table definitions to ignore deleted keys
Tony Mack [Wed, 31 Jan 2007 18:58:09 +0000 (18:58 +0000)]
- modify person_key and keys table definitions to ignore deleted keys

17 years ago- revert back to old fix_row()
Tony Mack [Wed, 31 Jan 2007 18:56:45 +0000 (18:56 +0000)]
- revert back to old fix_row()

17 years ago- allow digits in login_base
Mark Huang [Wed, 31 Jan 2007 17:04:21 +0000 (17:04 +0000)]
- allow digits in login_base

17 years ago- modified fix_row(): skip records in person_keys table marked as deleted
Tony Mack [Wed, 31 Jan 2007 17:00:09 +0000 (17:00 +0000)]
- modified fix_row(): skip records in person_keys table marked as deleted

17 years agoDumps the planetlab3 database on zulu, fixing a few things on the way
Mark Huang [Wed, 31 Jan 2007 16:13:44 +0000 (16:13 +0000)]
Dumps the planetlab3 database on zulu, fixing a few things on the way

17 years ago- allow digits in login_base
Mark Huang [Wed, 31 Jan 2007 15:00:25 +0000 (15:00 +0000)]
- allow digits in login_base

17 years agofor executable migration scripts
Thierry Parmentelat [Wed, 31 Jan 2007 10:03:17 +0000 (10:03 +0000)]
for executable migration scripts

17 years ago- fix typo
Mark Huang [Tue, 30 Jan 2007 23:09:55 +0000 (23:09 +0000)]
- fix typo

17 years ago- notify node owners about authentication failures
Mark Huang [Tue, 30 Jan 2007 23:08:58 +0000 (23:08 +0000)]
- notify node owners about authentication failures

17 years ago- use Boot.notify_owners()
Mark Huang [Tue, 30 Jan 2007 23:08:44 +0000 (23:08 +0000)]
- use Boot.notify_owners()

17 years agosupport CREATE OR REPLACE
Mark Huang [Tue, 30 Jan 2007 23:08:16 +0000 (23:08 +0000)]
support CREATE OR REPLACE

17 years ago- Boot Manager support functions (so far, only notify_owners())
Mark Huang [Tue, 30 Jan 2007 23:07:54 +0000 (23:07 +0000)]
- Boot Manager support functions (so far, only notify_owners())

17 years agoadd object_type to view_events
Mark Huang [Tue, 30 Jan 2007 23:06:54 +0000 (23:06 +0000)]
add object_type to view_events

17 years agosample downgrader script
Thierry Parmentelat [Tue, 30 Jan 2007 12:03:20 +0000 (12:03 +0000)]
sample downgrader script

17 years agowildcards handled with glob.glob
Thierry Parmentelat [Tue, 30 Jan 2007 11:48:14 +0000 (11:48 +0000)]
wildcards handled with glob.glob

17 years agoremoves wildcard for testing
Thierry Parmentelat [Tue, 30 Jan 2007 11:37:02 +0000 (11:37 +0000)]
removes wildcard for testing

17 years agoa micro-framework for handling migrations
Thierry Parmentelat [Tue, 30 Jan 2007 11:27:12 +0000 (11:27 +0000)]
a micro-framework for handling migrations
just create migration scripts named
migrations/<nnn>-up-<some-text>.sql and myplc will apply them at start time

I am unsure whether wildcards are supported in setup.py, checking that..

17 years ago- handle "CREATE OR REPLACE" in schema
Mark Huang [Mon, 29 Jan 2007 23:08:24 +0000 (23:08 +0000)]
- handle "CREATE OR REPLACE" in schema
- deal with a few more deleted attribute types

17 years ago- create or replace view
Mark Huang [Mon, 29 Jan 2007 20:48:27 +0000 (20:48 +0000)]
- create or replace view

17 years ago- PostgreSQL apparently does not push outer conditionals inside joined
Mark Huang [Mon, 29 Jan 2007 20:13:12 +0000 (20:13 +0000)]
- PostgreSQL apparently does not push outer conditionals inside joined
  group aggregate views, causing each group aggregate view to be fully
  loaded. So, instead of joining group aggregate views, subquery them
  using the primary key directly. Speeds up single-node and single-slice
  queries by 1000x-10000x using real data from public PlanetLab DB.

17 years ago- defaulted sites.enabled to true
Tony Mack [Fri, 26 Jan 2007 19:11:41 +0000 (19:11 +0000)]
- defaulted sites.enabled to true

17 years ago- added 'enabled' to Site.fields
Tony Mack [Fri, 26 Jan 2007 18:56:24 +0000 (18:56 +0000)]
- added 'enabled' to Site.fields

17 years ago- added 'enabled' field to sites table and view_sites view
Tony Mack [Fri, 26 Jan 2007 18:55:58 +0000 (18:55 +0000)]
- added 'enabled' field to sites table and view_sites view

17 years ago- import Sites
Mark Huang [Thu, 25 Jan 2007 21:59:31 +0000 (21:59 +0000)]
- import Sites

17 years ago- only check expires if slice isn't being deleted
Mark Huang [Fri, 19 Jan 2007 20:45:00 +0000 (20:45 +0000)]
- only check expires if slice isn't being deleted

17 years ago- added logging variable 'object_type'
Tony Mack [Fri, 19 Jan 2007 20:36:33 +0000 (20:36 +0000)]
- added logging variable 'object_type'

17 years ago- added logging variable 'object_type'
Tony Mack [Fri, 19 Jan 2007 20:25:26 +0000 (20:25 +0000)]
- added logging variable 'object_type'

17 years ago- added logging variable 'object_type'
Tony Mack [Fri, 19 Jan 2007 20:13:34 +0000 (20:13 +0000)]
- added logging variable 'object_type'

17 years ago- added logging variable 'object_type'
Tony Mack [Fri, 19 Jan 2007 19:33:41 +0000 (19:33 +0000)]
- added logging variable 'object_type'

17 years ago- added 'object_type' to Event.fields
Tony Mack [Fri, 19 Jan 2007 17:50:46 +0000 (17:50 +0000)]
- added 'object_type' to Event.fields

17 years ago- log object_type
Tony Mack [Fri, 19 Jan 2007 17:49:02 +0000 (17:49 +0000)]
- log object_type

17 years ago- added 'object_type' field to events table
Tony Mack [Fri, 19 Jan 2007 17:46:05 +0000 (17:46 +0000)]
- added 'object_type' field to events table

17 years ago- - added logging variable 'object_type'
Tony Mack [Fri, 19 Jan 2007 17:43:08 +0000 (17:43 +0000)]
- - added logging variable 'object_type'

17 years ago- added 'message' instance variable (high level description of this event)
Tony Mack [Fri, 19 Jan 2007 17:36:05 +0000 (17:36 +0000)]
- added 'message' instance variable (high level description of this event)

17 years ago- use API_CA_SSL_CRT (root CA authority cert), not API_SSL_CRT (actual
Mark Huang [Fri, 19 Jan 2007 17:22:39 +0000 (17:22 +0000)]
- use API_CA_SSL_CRT (root CA authority cert), not API_SSL_CRT (actual
  web server cert), for verifying server cert integrity

17 years ago- fix getpass() reference
Mark Huang [Wed, 17 Jan 2007 22:14:38 +0000 (22:14 +0000)]
- fix getpass() reference

17 years ago- add VerifyPerson() back
Mark Huang [Wed, 17 Jan 2007 22:10:19 +0000 (22:10 +0000)]
- add VerifyPerson() back

17 years ago- Verify a new (must be disabled) user's e-mail address and registration
Mark Huang [Wed, 17 Jan 2007 22:10:10 +0000 (22:10 +0000)]
- Verify a new (must be disabled) user's e-mail address and registration

17 years ago- overloading verification_key for account verification as well (i.e.,
Mark Huang [Wed, 17 Jan 2007 22:09:32 +0000 (22:09 +0000)]
- overloading verification_key for account verification as well (i.e.,
  before they are enabled); so only allow reset of enabled accoutns
- use new Unicode clean sendmail interface
- fix typo

17 years ago- use email and smtplib classes to make our e-mails Unicode compatible
Mark Huang [Wed, 17 Jan 2007 22:08:32 +0000 (22:08 +0000)]
- use email and smtplib classes to make our e-mails Unicode compatible

17 years ago- call GetNodes
Tony Mack [Tue, 16 Jan 2007 23:03:21 +0000 (23:03 +0000)]
- call GetNodes

17 years ago- subclass correct class
Tony Mack [Tue, 16 Jan 2007 23:01:25 +0000 (23:01 +0000)]
- subclass correct class

17 years ago- fix typo
Tony Mack [Tue, 16 Jan 2007 22:59:38 +0000 (22:59 +0000)]
- fix typo

17 years ago- fix returns documentation
Tony Mack [Tue, 16 Jan 2007 22:57:32 +0000 (22:57 +0000)]
- fix returns documentation

17 years ago- change variable name
Tony Mack [Tue, 16 Jan 2007 22:56:18 +0000 (22:56 +0000)]
- change variable name

17 years ago- call GetSlices and GetPersons
Tony Mack [Tue, 16 Jan 2007 22:50:49 +0000 (22:50 +0000)]
- call GetSlices and GetPersons

17 years ago- call GetSlices
Tony Mack [Tue, 16 Jan 2007 22:41:49 +0000 (22:41 +0000)]
- call GetSlices

17 years ago- call DeletePersonFromSlice
Tony Mack [Tue, 16 Jan 2007 22:30:17 +0000 (22:30 +0000)]
- call DeletePersonFromSlice

17 years ago- call AddPersonToSlice
Tony Mack [Tue, 16 Jan 2007 22:26:53 +0000 (22:26 +0000)]
- call AddPersonToSlice

17 years ago- subclass the correct class
Tony Mack [Tue, 16 Jan 2007 22:20:55 +0000 (22:20 +0000)]
- subclass the correct class

17 years ago- call DeleteSlice
Tony Mack [Tue, 16 Jan 2007 22:19:21 +0000 (22:19 +0000)]
- call DeleteSlice

17 years ago- subclass the correct class
Tony Mack [Tue, 16 Jan 2007 22:13:24 +0000 (22:13 +0000)]
- subclass the correct class

17 years ago- fix errors
Tony Mack [Tue, 16 Jan 2007 20:48:30 +0000 (20:48 +0000)]
- fix errors
- return what the old api returned

17 years ago- return hostnames instead of node_ids
Tony Mack [Tue, 16 Jan 2007 19:14:10 +0000 (19:14 +0000)]
- return hostnames instead of node_ids
- return emails instead of person_ids

17 years ago- fix errors
Tony Mack [Tue, 16 Jan 2007 19:02:20 +0000 (19:02 +0000)]
- fix errors

17 years ago- use PLC_WWW_SSL_PORT
Mark Huang [Tue, 16 Jan 2007 17:33:06 +0000 (17:33 +0000)]
- use PLC_WWW_SSL_PORT

17 years agoregenerate
Mark Huang [Tue, 16 Jan 2007 17:16:54 +0000 (17:16 +0000)]
regenerate

17 years ago- fix syntax errors
Mark Huang [Tue, 16 Jan 2007 17:15:22 +0000 (17:15 +0000)]
- fix syntax errors

17 years ago- fix slice name reference
Mark Huang [Tue, 16 Jan 2007 17:15:11 +0000 (17:15 +0000)]
- fix slice name reference

17 years agoreplace with single function ResetPassword()
Mark Huang [Tue, 16 Jan 2007 17:09:19 +0000 (17:09 +0000)]
replace with single function ResetPassword()

17 years ago- accept message_filter and return_fields
Mark Huang [Tue, 16 Jan 2007 17:08:53 +0000 (17:08 +0000)]
- accept message_filter and return_fields

17 years ago- fix log message
Mark Huang [Tue, 16 Jan 2007 17:08:11 +0000 (17:08 +0000)]
- fix log message

17 years ago- send account registration e-mails from the website
Mark Huang [Tue, 16 Jan 2007 17:07:39 +0000 (17:07 +0000)]
- send account registration e-mails from the website

17 years ago- explicitly set new person['enabled'] field to False
Mark Huang [Tue, 16 Jan 2007 17:06:49 +0000 (17:06 +0000)]
- explicitly set new person['enabled'] field to False