plcapi.git
16 years ago- updated with Thierrys patch which handles conflicting email addresses between peers
Tony Mack [Thu, 14 Jun 2007 16:26:23 +0000 (16:26 +0000)]
- updated with Thierrys patch which handles conflicting email addresses between peers

16 years ago- validate last_contact field before sync
Tony Mack [Fri, 8 Jun 2007 17:59:53 +0000 (17:59 +0000)]
- validate last_contact field before sync

17 years ago- fix bug related to nodegroup slice_attributes
Tony Mack [Wed, 30 May 2007 15:38:38 +0000 (15:38 +0000)]
- fix bug related to  nodegroup slice_attributes

17 years ago- include all slices instantiated as 'delegated'
Tony Mack [Wed, 30 May 2007 15:04:47 +0000 (15:04 +0000)]
- include all slices instantiated as 'delegated'

17 years ago- include all slices instantiated as 'nm-controller'
Tony Mack [Thu, 17 May 2007 19:47:57 +0000 (19:47 +0000)]
- include all slices instantiated as 'nm-controller'

17 years ago- include PLC.Site, PLC.Sites
Tony Mack [Thu, 17 May 2007 19:23:09 +0000 (19:23 +0000)]
- include PLC.Site, PLC.Sites

17 years ago- added new slice_instantiation 'nm-controller'
Tony Mack [Thu, 17 May 2007 16:06:46 +0000 (16:06 +0000)]
- added new slice_instantiation 'nm-controller'

17 years ago- removed debug print statement
Tony Mack [Wed, 16 May 2007 18:56:03 +0000 (18:56 +0000)]
- removed debug print statement

17 years ago- fix Event.auth_type logging
Tony Mack [Wed, 16 May 2007 18:54:12 +0000 (18:54 +0000)]
- fix Event.auth_type logging

17 years ago- submitting Thierry enhancements. Filter now uses special form to support more flexi...
Tony Mack [Wed, 16 May 2007 18:14:22 +0000 (18:14 +0000)]
- submitting Thierry enhancements. Filter now uses special form to support more flexible searches:
a field starting with < [  ] or > means less than or greater than
< > uses strict comparison
[ ] is for using <= or >= instead
example :  { '>time' : 1178531418 }

17 years ago- fixed bug. Can now filter on 'time' field
Tony Mack [Wed, 16 May 2007 18:07:02 +0000 (18:07 +0000)]
- fixed bug. Can now filter on 'time' field

17 years ago- Prepend caller id to fault string
Tony Mack [Wed, 16 May 2007 16:11:10 +0000 (16:11 +0000)]
- Prepend caller id to fault string

17 years ago- do not allow bwlimit values under 500000
Tony Mack [Fri, 11 May 2007 20:22:55 +0000 (20:22 +0000)]
- do not allow bwlimit values under 500000

17 years ago- updated Sessions query logic
Tony Mack [Thu, 10 May 2007 18:03:56 +0000 (18:03 +0000)]
- updated Sessions query logic

17 years ago- added AddSession, GetSessions Methods
Tony Mack [Thu, 10 May 2007 18:02:56 +0000 (18:02 +0000)]
- added AddSession, GetSessions Methods

17 years ago- Initial checkin of new API implementation
Tony Mack [Thu, 10 May 2007 18:02:32 +0000 (18:02 +0000)]
- Initial checkin of new API implementation

17 years ago- fix timestamp bug. Make sure timestamps are converted into ints before being returned.
Tony Mack [Mon, 7 May 2007 20:07:42 +0000 (20:07 +0000)]
- fix timestamp bug. Make sure timestamps are converted into ints before being returned.
- fix ambiguous event_id bug

17 years ago- support nodegroup slice attributes
Tony Mack [Mon, 30 Apr 2007 20:55:22 +0000 (20:55 +0000)]
- support nodegroup slice attributes

17 years ago- support adding slice attributes to nodegroups
Tony Mack [Mon, 30 Apr 2007 18:58:43 +0000 (18:58 +0000)]
- support adding slice attributes to nodegroups

17 years ago- added 'nodegroup_id' to Slice.fields
Tony Mack [Mon, 30 Apr 2007 18:56:02 +0000 (18:56 +0000)]
- added 'nodegroup_id' to Slice.fields

17 years ago- added nodegroup_id column to slice_attributes table and view_slice_attributes view.
Tony Mack [Mon, 30 Apr 2007 18:53:50 +0000 (18:53 +0000)]
- added nodegroup_id column to slice_attributes table and view_slice_attributes view.

17 years ago- include initscripts
Tony Mack [Mon, 30 Apr 2007 17:52:41 +0000 (17:52 +0000)]
- include initscripts

17 years ago- allow capital letters in slice names
Tony Mack [Thu, 26 Apr 2007 18:25:56 +0000 (18:25 +0000)]
- allow capital letters in slice names

17 years ago- fixed slice_name validation
Tony Mack [Wed, 25 Apr 2007 20:04:29 +0000 (20:04 +0000)]
- fixed slice_name validation

17 years ago- Added GetSlicesMD5() Method
Tony Mack [Tue, 24 Apr 2007 20:16:03 +0000 (20:16 +0000)]
- Added GetSlicesMD5() Method

17 years ago- Returns the current md5 hash of slices.xml file (slices-0.5.xml.md5)
Tony Mack [Tue, 24 Apr 2007 20:06:25 +0000 (20:06 +0000)]
- Returns the current md5 hash of slices.xml file (slices-0.5.xml.md5)

17 years ago- added sanity check when updating 'plc_initscript_id'
Tony Mack [Thu, 19 Apr 2007 21:00:50 +0000 (21:00 +0000)]
- added sanity check when updating 'plc_initscript_id'

17 years ago- only allow 'enabled' initscripts to be added as slice_attributes
Tony Mack [Thu, 19 Apr 2007 20:56:49 +0000 (20:56 +0000)]
- only allow 'enabled' initscripts to be added as slice_attributes

17 years ago- fix sanity checking bug when adding slice attributes of type 'plc_initscript_id...
Tony Mack [Thu, 19 Apr 2007 20:46:25 +0000 (20:46 +0000)]
- fix sanity checking bug when adding slice attributes of type 'plc_initscript_id'. cast 'value' (represents 'plc_initscript_id'to int before calling GetInitScripts)

17 years ago- event_object.object_type values default to 'Unknown'
Tony Mack [Wed, 11 Apr 2007 20:37:23 +0000 (20:37 +0000)]
- event_object.object_type values default to 'Unknown'

17 years ago- add 'auth_type' column to events and view_events
Tony Mack [Wed, 11 Apr 2007 20:31:15 +0000 (20:31 +0000)]
- add 'auth_type' column to events and view_events

17 years ago- added field 'auth_method'
Tony Mack [Wed, 11 Apr 2007 20:29:10 +0000 (20:29 +0000)]
- added field 'auth_method'

17 years ago- log auth method used
Tony Mack [Wed, 11 Apr 2007 20:28:28 +0000 (20:28 +0000)]
- log auth method used
- when logging, log all calls (even Get and system calls)

17 years ago- also return init script info
Tony Mack [Thu, 5 Apr 2007 18:58:55 +0000 (18:58 +0000)]
- also return init script info
- updating node.last_contact may be causing db performance issues. commented out till we get this figured out

17 years ago- support 'initscripts' table as possible slice_attributes
Tony Mack [Tue, 3 Apr 2007 19:19:36 +0000 (19:19 +0000)]
- support 'initscripts' table as possible slice_attributes

17 years ago- update node.last_contact if call completes
Tony Mack [Tue, 3 Apr 2007 19:18:12 +0000 (19:18 +0000)]
- update node.last_contact if call completes

17 years ago- added 'last_contact' field (keep track of last time this node called GetSlivers())
Tony Mack [Tue, 3 Apr 2007 19:14:45 +0000 (19:14 +0000)]
- added 'last_contact' field (keep track of last time this node called GetSlivers())
- added helper function update_last_contact()

17 years ago- use 'event_objects' instead of 'object_ids' when logging
Tony Mack [Mon, 2 Apr 2007 21:06:56 +0000 (21:06 +0000)]
- use 'event_objects' instead of 'object_ids' when logging

17 years ago- Initial checkin of new API implementation
Tony Mack [Mon, 2 Apr 2007 20:49:30 +0000 (20:49 +0000)]
- Initial checkin of new API implementation

17 years ago- added initscripts table
Tony Mack [Mon, 2 Apr 2007 20:45:49 +0000 (20:45 +0000)]
- added initscripts table

17 years ago- make sure 'verification_expires' is converted to an int in postgres before being...
Tony Mack [Thu, 29 Mar 2007 20:14:46 +0000 (20:14 +0000)]
- make sure 'verification_expires' is converted to an int in postgres before being returned

17 years ago- return peer_id, peer_person_id
Tony Mack [Thu, 29 Mar 2007 13:17:09 +0000 (13:17 +0000)]
- return peer_id, peer_person_id

17 years ago- No longer use view_persons. Query tables directly and aggregate in python (reduces...
Tony Mack [Wed, 28 Mar 2007 19:15:34 +0000 (19:15 +0000)]
- No longer use view_persons. Query tables directly and aggregate in python (reduces db load).

17 years agoadd Id tag
Thierry Parmentelat [Wed, 28 Mar 2007 14:00:27 +0000 (14:00 +0000)]
add Id tag

17 years agoadds Id tag
Thierry Parmentelat [Fri, 23 Mar 2007 19:06:07 +0000 (19:06 +0000)]
adds Id tag

17 years agoBug fix
Thierry Parmentelat [Fri, 23 Mar 2007 19:00:33 +0000 (19:00 +0000)]
Bug fix
a new issue occurred with a OneLab member who had registered on both platforms
this fix allows the rest of the refresh to happen
Clearly something smarter should be done in this case

17 years ago- raise PLCPermissionDenied when a session auth'd api call fails due to role restrict...
Tony Mack [Thu, 8 Mar 2007 22:22:21 +0000 (22:22 +0000)]
- raise PLCPermissionDenied when a session auth'd api call fails due to role restrictions. Now users no longer lose their web session if they make a call without the appropriate role.

17 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:31:56 +0000 (19:31 +0000)]
- now using event_objects to log affected objects

17 years ago- added GetEventObjects backwards compat. AnonAdmGetNodeGroups
Tony Mack [Tue, 27 Feb 2007 19:24:46 +0000 (19:24 +0000)]
- added GetEventObjects backwards compat. AnonAdmGetNodeGroups

17 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:19:39 +0000 (19:19 +0000)]
- now using event_objects to log affected objects

17 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:10:16 +0000 (19:10 +0000)]
- now using event_objects to log affected objects

17 years ago- clean up unnecessary code
Tony Mack [Tue, 27 Feb 2007 19:08:30 +0000 (19:08 +0000)]
- clean up unnecessary code

17 years ago- Initial checkin of new API implementation
Tony Mack [Tue, 27 Feb 2007 19:04:04 +0000 (19:04 +0000)]
- Initial checkin of new API implementation

17 years ago- Initial checkin of new API implementation
Tony Mack [Tue, 27 Feb 2007 18:54:32 +0000 (18:54 +0000)]
- Initial checkin of new API implementation

17 years ago- replace Event.object_type with Event.object_types (a list which corresponds to...
Tony Mack [Tue, 27 Feb 2007 18:52:14 +0000 (18:52 +0000)]
- replace Event.object_type with Event.object_types (a list which corresponds to the Event.object_ids list)

17 years ago- changed how event_objects are logged.
Tony Mack [Tue, 27 Feb 2007 18:46:23 +0000 (18:46 +0000)]
- changed how event_objects are logged.

17 years ago- move 'object_type' field from 'events' to 'event_objects' table
Tony Mack [Tue, 27 Feb 2007 18:41:24 +0000 (18:41 +0000)]
- move 'object_type' field from 'events' to 'event_objects' table
- updated 'view_events'

17 years ago- add backward compat. method for old NodeManager
Tony Mack [Mon, 26 Feb 2007 22:47:19 +0000 (22:47 +0000)]
- add backward compat. method for old NodeManager

17 years ago- send notification emails only to pi's that are enabled
Tony Mack [Fri, 23 Feb 2007 17:48:02 +0000 (17:48 +0000)]
- send notification emails only to pi's that are enabled

17 years agocosmetic changes in convenience-print functions
Thierry Parmentelat [Fri, 23 Feb 2007 16:30:44 +0000 (16:30 +0000)]
cosmetic changes in convenience-print functions

17 years agochecks for existence of keys before deleting with non-admin users
Thierry Parmentelat [Fri, 23 Feb 2007 16:30:07 +0000 (16:30 +0000)]
checks for existence of keys before deleting with non-admin users

17 years agoextended documentation to describe pattern-matching and negation features
Thierry Parmentelat [Fri, 23 Feb 2007 16:28:10 +0000 (16:28 +0000)]
extended documentation to describe pattern-matching and negation features

17 years ago- added 'ext_consortium_id' to can_update list
Tony Mack [Wed, 21 Feb 2007 21:01:57 +0000 (21:01 +0000)]
- added 'ext_consortium_id' to can_update list

17 years ago- add 'ext_consortium_id' to Site.fields
Tony Mack [Wed, 21 Feb 2007 20:00:41 +0000 (20:00 +0000)]
- add 'ext_consortium_id' to Site.fields

17 years ago- add 'ext_consortium_id' field to 'sites' table and 'view_sites' view
Tony Mack [Wed, 21 Feb 2007 20:00:12 +0000 (20:00 +0000)]
- add 'ext_consortium_id' field to 'sites' table and 'view_sites' view

17 years agoregenerate
Mark Huang [Tue, 20 Feb 2007 00:57:20 +0000 (00:57 +0000)]
regenerate

17 years ago- simplify doc output; use itemizedlists instead of tables to further
Mark Huang [Mon, 19 Feb 2007 18:02:39 +0000 (18:02 +0000)]
- simplify doc output; use itemizedlists instead of tables to further
  describe structs/array/mixed types. If an array is composed of just
  one subtype, abbreviate the list generation by one level.

17 years ago- add introduction and general discussion
Mark Huang [Mon, 19 Feb 2007 17:59:45 +0000 (17:59 +0000)]
- add introduction and general discussion

17 years ago- No longer delete account if verification expires
Tony Mack [Wed, 14 Feb 2007 18:40:18 +0000 (18:40 +0000)]
- No longer delete account if verification expires

17 years ago- fixed call() params. now includes self
Tony Mack [Mon, 12 Feb 2007 19:57:49 +0000 (19:57 +0000)]
- fixed call() params. now includes self

17 years agoShut down database connection, otherwise up to MaxClients DB
Mark Huang [Mon, 12 Feb 2007 18:42:49 +0000 (18:42 +0000)]
Shut down database connection, otherwise up to MaxClients DB
connections will remain open.

17 years ago- close cursors after use
Mark Huang [Mon, 12 Feb 2007 18:41:27 +0000 (18:41 +0000)]
- close cursors after use

17 years ago- do not reuse cursors!
Mark Huang [Sun, 11 Feb 2007 18:34:06 +0000 (18:34 +0000)]
- do not reuse cursors!
- add .close() method to shut down DB connection

17 years ago- try obtaining another cursor once if it appears to be closed
Mark Huang [Sun, 11 Feb 2007 04:53:40 +0000 (04:53 +0000)]
- try obtaining another cursor once if it appears to be closed

17 years agoadd missing import of NodeNetworks
Mark Huang [Sat, 10 Feb 2007 18:39:09 +0000 (18:39 +0000)]
add missing import of NodeNetworks

17 years agofilters out PLC_ROOT_USER as well
Thierry Parmentelat [Fri, 9 Feb 2007 21:48:43 +0000 (21:48 +0000)]
filters out PLC_ROOT_USER as well

17 years agofixes transcoding issue for nodes - local nodes were transcoded to None
Thierry Parmentelat [Fri, 9 Feb 2007 21:27:47 +0000 (21:27 +0000)]
fixes transcoding issue for nodes - local nodes were transcoded to None

17 years agofilters out system slices and maintenance account
Thierry Parmentelat [Fri, 9 Feb 2007 20:08:26 +0000 (20:08 +0000)]
filters out system slices and maintenance account

17 years agoattempt to fix key error issue
Thierry Parmentelat [Fri, 9 Feb 2007 20:01:56 +0000 (20:01 +0000)]
attempt to fix key error issue

17 years ago- changed how Slices formats 'expires' variable in the sql string. This seems to...
Tony Mack [Fri, 9 Feb 2007 19:26:56 +0000 (19:26 +0000)]
- changed how Slices formats 'expires' variable in the sql string. This seems to make psycopg happy and solves some database exceptions we were seeing when tyring to use wildcard searches in slice_filter.

17 years agolog revisited for showing plain info rather than abstruse ids
Thierry Parmentelat [Fri, 9 Feb 2007 01:04:09 +0000 (01:04 +0000)]
log revisited for showing plain info rather than abstruse ids

17 years ago- fixed bug in generate_temp_table() having to do with deleteing records with null...
Tony Mack [Thu, 8 Feb 2007 21:51:05 +0000 (21:51 +0000)]
- fixed bug in generate_temp_table() having to do with deleteing records with null primary keys

17 years agoadd -k, --insecure option to skip checking SSL cert
Mark Huang [Thu, 8 Feb 2007 21:49:41 +0000 (21:49 +0000)]
add -k, --insecure option to skip checking SSL cert

17 years agoonly use cert defined in /etc/planetlab/plc_config if url is not specified on the...
Mark Huang [Thu, 8 Feb 2007 21:49:24 +0000 (21:49 +0000)]
only use cert defined in /etc/planetlab/plc_config if url is not specified on the command line

17 years ago- check for field existence before accessing
Mark Huang [Thu, 8 Feb 2007 20:44:13 +0000 (20:44 +0000)]
- check for field existence before accessing

17 years agoset deprecated status on old functions
Mark Huang [Thu, 8 Feb 2007 20:12:15 +0000 (20:12 +0000)]
set deprecated status on old functions

17 years agochecked set of fields that may be passed
Thierry Parmentelat [Thu, 8 Feb 2007 19:34:03 +0000 (19:34 +0000)]
checked set of fields that may be passed

17 years agologs changes in the xrefs as well
Thierry Parmentelat [Thu, 8 Feb 2007 17:14:06 +0000 (17:14 +0000)]
logs changes in the xrefs as well

17 years ago- fields(): cache table field names
Mark Huang [Thu, 8 Feb 2007 15:15:21 +0000 (15:15 +0000)]
- fields(): cache table field names

17 years agofixes push target
Thierry Parmentelat [Wed, 7 Feb 2007 23:05:12 +0000 (23:05 +0000)]
fixes push target

17 years agosolves xrefs person->key slice->node slice->person linearly
Thierry Parmentelat [Wed, 7 Feb 2007 23:04:33 +0000 (23:04 +0000)]
solves xrefs person->key slice->node slice->person linearly

17 years agoregenerated pdf
Mark Huang [Wed, 7 Feb 2007 21:01:59 +0000 (21:01 +0000)]
regenerated pdf

17 years ago- back out accidental checkin
Mark Huang [Wed, 7 Feb 2007 19:41:40 +0000 (19:41 +0000)]
- back out accidental checkin

17 years agosafely copies all crt files
Thierry Parmentelat [Wed, 7 Feb 2007 19:27:21 +0000 (19:27 +0000)]
safely copies all crt files

17 years agoupdate predef slice attribute name
Thierry Parmentelat [Wed, 7 Feb 2007 19:26:32 +0000 (19:26 +0000)]
update predef slice attribute name

17 years agomust query certain fields in order to filter
Mark Huang [Wed, 7 Feb 2007 05:56:52 +0000 (05:56 +0000)]
must query certain fields in order to filter

17 years agoclose nonstandard fds before forking
Mark Huang [Wed, 7 Feb 2007 04:35:20 +0000 (04:35 +0000)]
close nonstandard fds before forking

17 years ago- import Site, Sites
Mark Huang [Wed, 7 Feb 2007 03:19:40 +0000 (03:19 +0000)]
- import Site, Sites

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