plcapi.git
17 years ago- send HTTP headers
Mark Huang [Wed, 25 Oct 2006 20:33:07 +0000 (20:33 +0000)]
- send HTTP headers

17 years agogenerate PHP API
Mark Huang [Wed, 25 Oct 2006 20:32:44 +0000 (20:32 +0000)]
generate PHP API

17 years ago- add Returns: section for each method
Mark Huang [Wed, 25 Oct 2006 19:35:36 +0000 (19:35 +0000)]
- add Returns: section for each method

17 years ago- fix return value documentation
Mark Huang [Wed, 25 Oct 2006 19:34:46 +0000 (19:34 +0000)]
- fix return value documentation

17 years ago- fix AddPCU() call
Mark Huang [Wed, 25 Oct 2006 19:34:12 +0000 (19:34 +0000)]
- fix AddPCU() call

17 years ago- check lists correctly
Mark Huang [Wed, 25 Oct 2006 19:33:52 +0000 (19:33 +0000)]
- check lists correctly

17 years ago- only allow addition of nodes at the same site
Mark Huang [Wed, 25 Oct 2006 16:58:19 +0000 (16:58 +0000)]
- only allow addition of nodes at the same site

17 years ago- fix can_update and return value
Mark Huang [Wed, 25 Oct 2006 16:58:00 +0000 (16:58 +0000)]
- fix can_update and return value

17 years ago- add ConfFiles, Keys, and PCUs tests
Mark Huang [Wed, 25 Oct 2006 16:57:46 +0000 (16:57 +0000)]
- add ConfFiles, Keys, and PCUs tests

17 years ago- fix calling convention for Add() and Update()
Mark Huang [Wed, 25 Oct 2006 14:32:31 +0000 (14:32 +0000)]
- fix calling convention for Add() and Update()
- delete addresses and address types

17 years ago- remove default attribute from Parameter
Mark Huang [Wed, 25 Oct 2006 14:32:01 +0000 (14:32 +0000)]
- remove default attribute from Parameter
- handle unknown optional attribute

17 years ago- change calling convention for Add slightly; if the Add function for
Mark Huang [Wed, 25 Oct 2006 14:31:13 +0000 (14:31 +0000)]
- change calling convention for Add slightly; if the Add function for
  an entity implicitly implies a join with another entity, require a
  reference to that entity in the function arguments itself,
  e.g. AddNode(auth, site, node)

17 years ago- remove optional sub-parameter; we use these fields in both Add() and
Mark Huang [Wed, 25 Oct 2006 14:29:13 +0000 (14:29 +0000)]
- remove optional sub-parameter; we use these fields in both Add() and
  Update() methods, saying that a field is mandatory in Update() is both
  confusing and wrong

17 years ago- remove "default" attribute
Mark Huang [Wed, 25 Oct 2006 14:27:12 +0000 (14:27 +0000)]
- remove "default" attribute
- allow "optional" to be None (and set it to None by default), which
  means "unknown whether this sub-parameter is optional or not"

17 years ago- type_check(): don't type check Mixed types twice
Mark Huang [Wed, 25 Oct 2006 14:26:08 +0000 (14:26 +0000)]
- type_check(): don't type check Mixed types twice
- move authentication to type_check(), so that we can support Mixed Auth types

17 years ago- add BootAuth (backward compatible Boot Manager authentication scheme)
Mark Huang [Wed, 25 Oct 2006 14:22:14 +0000 (14:22 +0000)]
- add BootAuth (backward compatible Boot Manager authentication scheme)

17 years agodo not support ipv6 for now
Mark Huang [Wed, 25 Oct 2006 14:13:14 +0000 (14:13 +0000)]
do not support ipv6 for now

17 years ago- make Add() calling convention consistent among all functions that
Mark Huang [Tue, 24 Oct 2006 20:02:22 +0000 (20:02 +0000)]
- make Add() calling convention consistent among all functions that
  deal with objects, e.g. Add(auth, object_fields)
  - some functions such as AddSiteAddress and AddPersonKey may still
    take an additional argument, e.g. AddSiteAddress(auth, site, address)
- to support this convention, clear optional bit on mandatory
  object_fields, and set it for Update() functions

17 years ago- fix typo
Mark Huang [Tue, 24 Oct 2006 20:02:09 +0000 (20:02 +0000)]
- fix typo

17 years ago- add add_address() and remove_address() join functions
Mark Huang [Tue, 24 Oct 2006 19:56:28 +0000 (19:56 +0000)]
- add add_address() and remove_address() join functions
- allow whitespace only site names
- enforce lowercase login_base
- clear optional bit on mandatory fields

17 years ago- create a separate site_address join table
Mark Huang [Tue, 24 Oct 2006 19:54:57 +0000 (19:54 +0000)]
- create a separate site_address join table

17 years ago- create a separate site_address join table
Mark Huang [Tue, 24 Oct 2006 19:54:38 +0000 (19:54 +0000)]
- create a separate site_address join table
- add primary key and indices to address_address_type
- add primary key to slice_node

17 years ago- hack xmlrpclib so that it can marshal subclasses of built-in types (e.g., Row)
Mark Huang [Tue, 24 Oct 2006 13:48:07 +0000 (13:48 +0000)]
- hack xmlrpclib so that it can marshal subclasses of built-in types (e.g., Row)

17 years ago- hack xmlrpclib so that it can marshal subclasses of built-in types
Mark Huang [Tue, 24 Oct 2006 13:47:35 +0000 (13:47 +0000)]
- hack xmlrpclib so that it can marshal subclasses of built-in types
  (e.g., Row)

17 years agoaccept sets when quoting
Mark Huang [Tue, 24 Oct 2006 13:47:05 +0000 (13:47 +0000)]
accept sets when quoting

17 years agofix typo
Mark Huang [Tue, 24 Oct 2006 13:46:43 +0000 (13:46 +0000)]
fix typo

17 years agoremove redundant import
Mark Huang [Tue, 24 Oct 2006 13:29:40 +0000 (13:29 +0000)]
remove redundant import

17 years agoAddConfFileToNodeGroup
Mark Huang [Tue, 24 Oct 2006 13:29:28 +0000 (13:29 +0000)]
AddConfFileToNodeGroup

17 years ago- added runtime to view_events
Tony Mack [Mon, 23 Oct 2006 20:44:16 +0000 (20:44 +0000)]
- added runtime to view_events

17 years ago- add node and nodegroup join functions
Mark Huang [Mon, 23 Oct 2006 20:39:16 +0000 (20:39 +0000)]
- add node and nodegroup join functions

17 years ago- fix slice_id documentation
Mark Huang [Mon, 23 Oct 2006 20:38:58 +0000 (20:38 +0000)]
- fix slice_id documentation
- before a new slice is added, delete expired slices
- do not return expired slices by default
- support querying slices that expire before or after a certain time

17 years ago- all slice attribute type name to be changed
Mark Huang [Mon, 23 Oct 2006 20:37:43 +0000 (20:37 +0000)]
- all slice attribute type name to be changed

17 years ago- fix UpdateNodeGroup calling convention
Mark Huang [Mon, 23 Oct 2006 20:37:26 +0000 (20:37 +0000)]
- fix UpdateNodeGroup calling convention

17 years ago- fix calling convention
Mark Huang [Mon, 23 Oct 2006 20:36:01 +0000 (20:36 +0000)]
- fix calling convention

17 years ago- convert to use new API calls only
Mark Huang [Mon, 23 Oct 2006 20:35:49 +0000 (20:35 +0000)]
- convert to use new API calls only
- test adding slices to nodes and users to slices
- test setting bwlimit
- set nodegroup, slice attribute type, and login_base names to shorter,
  more readable values

17 years ago- first shot at GetSlivers
Mark Huang [Mon, 23 Oct 2006 20:28:40 +0000 (20:28 +0000)]
- first shot at GetSlivers

17 years agonew functions
Mark Huang [Mon, 23 Oct 2006 19:27:35 +0000 (19:27 +0000)]
new functions

17 years agoadd query functions
Mark Huang [Mon, 23 Oct 2006 19:15:18 +0000 (19:15 +0000)]
add query functions

17 years agofix typo
Mark Huang [Mon, 23 Oct 2006 19:15:00 +0000 (19:15 +0000)]
fix typo

17 years ago- added new event_types (AddTo, DeleteFrom)
Tony Mack [Mon, 23 Oct 2006 16:25:46 +0000 (16:25 +0000)]
- added new event_types (AddTo, DeleteFrom)

17 years ago- updated valid_event_types
Tony Mack [Mon, 23 Oct 2006 16:24:46 +0000 (16:24 +0000)]
- updated valid_event_types
- no longer title() values in event/object_type_list types when validating (stricter)

17 years ago- remove return_fields
Mark Huang [Sun, 22 Oct 2006 22:57:10 +0000 (22:57 +0000)]
- remove return_fields

17 years ago- added 'ConfFile' to object_types table
Tony Mack [Fri, 20 Oct 2006 19:00:41 +0000 (19:00 +0000)]
- added 'ConfFile' to object_types table

17 years ago- fix object_id assignment
Tony Mack [Fri, 20 Oct 2006 18:53:59 +0000 (18:53 +0000)]
- fix object_id assignment

17 years ago- added class variables: event_type, object_type, object_ids (used by event logger)
Tony Mack [Fri, 20 Oct 2006 18:53:58 +0000 (18:53 +0000)]
- added class variables: event_type, object_type, object_ids  (used by event logger)

17 years ago- added class variables: event_type, object_type, object_ids (used by event logger)
Tony Mack [Fri, 20 Oct 2006 18:42:55 +0000 (18:42 +0000)]
- added class variables: event_type, object_type, object_ids  (used by event logger)

17 years agoconf_file functions
Mark Huang [Fri, 20 Oct 2006 18:26:05 +0000 (18:26 +0000)]
conf_file functions

17 years ago- make -r (role specification) optional
Mark Huang [Fri, 20 Oct 2006 18:25:39 +0000 (18:25 +0000)]
- make -r (role specification) optional

17 years ago- search by ip
Mark Huang [Fri, 20 Oct 2006 18:25:02 +0000 (18:25 +0000)]
- search by ip

17 years ago- fix valid slices check
Mark Huang [Fri, 20 Oct 2006 18:24:53 +0000 (18:24 +0000)]
- fix valid slices check
- remove tech from callable roles

17 years ago- fix valid slice attributes check
Mark Huang [Fri, 20 Oct 2006 18:24:28 +0000 (18:24 +0000)]
- fix valid slice attributes check

17 years ago- fix viewable accounts check
Mark Huang [Fri, 20 Oct 2006 18:22:39 +0000 (18:22 +0000)]
- fix viewable accounts check
- remove return_fields junk

17 years ago- fix case when caller is not able to view any PCUs
Mark Huang [Fri, 20 Oct 2006 18:18:13 +0000 (18:18 +0000)]
- fix case when caller is not able to view any PCUs

17 years ago- fix documentation. remove return_fields junk
Mark Huang [Fri, 20 Oct 2006 18:16:35 +0000 (18:16 +0000)]
- fix documentation. remove return_fields junk

17 years ago- search by ip
Mark Huang [Fri, 20 Oct 2006 18:16:10 +0000 (18:16 +0000)]
- search by ip

17 years ago- fix case when caller has no keys
Mark Huang [Fri, 20 Oct 2006 18:15:40 +0000 (18:15 +0000)]
- fix case when caller has no keys

17 years ago- fix calling convention
Mark Huang [Fri, 20 Oct 2006 18:15:00 +0000 (18:15 +0000)]
- fix calling convention

17 years ago- fix calling convention
Mark Huang [Fri, 20 Oct 2006 18:08:36 +0000 (18:08 +0000)]
- fix calling convention

17 years ago- add backward compatibility function
Mark Huang [Fri, 20 Oct 2006 18:06:42 +0000 (18:06 +0000)]
- add backward compatibility function

17 years ago- add deprecated status field
Mark Huang [Fri, 20 Oct 2006 18:06:26 +0000 (18:06 +0000)]
- add deprecated status field

17 years ago- add deprecated status field and accepts
Mark Huang [Fri, 20 Oct 2006 18:06:11 +0000 (18:06 +0000)]
- add deprecated status field and accepts

17 years ago- include required modules
Mark Huang [Fri, 20 Oct 2006 18:04:44 +0000 (18:04 +0000)]
- include required modules

17 years ago- use GetRoles
Mark Huang [Fri, 20 Oct 2006 18:04:29 +0000 (18:04 +0000)]
- use GetRoles

17 years ago- search by ip
Mark Huang [Fri, 20 Oct 2006 18:02:44 +0000 (18:02 +0000)]
- search by ip
- add deprecated status field

17 years ago- add ConfFiles
Mark Huang [Fri, 20 Oct 2006 18:01:13 +0000 (18:01 +0000)]
- add ConfFiles

17 years ago- use base class __init__() and delete() implementations
Mark Huang [Fri, 20 Oct 2006 17:56:36 +0000 (17:56 +0000)]
- use base class __init__() and delete() implementations

17 years agoadd conf_files table
Mark Huang [Fri, 20 Oct 2006 17:56:23 +0000 (17:56 +0000)]
add conf_files table

17 years ago- hard-code "planetlab4" as the DB name for now
Mark Huang [Fri, 20 Oct 2006 17:53:42 +0000 (17:53 +0000)]
- hard-code "planetlab4" as the DB name for now

17 years ago- use base class __init__() and delete() implementations
Mark Huang [Fri, 20 Oct 2006 17:51:32 +0000 (17:51 +0000)]
- use base class __init__() and delete() implementations
- don't look up NodeNetworks hostnames

17 years ago- use base class __init__() and delete() implementations
Mark Huang [Fri, 20 Oct 2006 17:51:08 +0000 (17:51 +0000)]
- use base class __init__() and delete() implementations
- provide optional search by ip instead of hostname

17 years ago- use base class __init__() and delete() implementations
Mark Huang [Fri, 20 Oct 2006 17:50:33 +0000 (17:50 +0000)]
- use base class __init__() and delete() implementations
- enable conf_file_ids

17 years ago- add conf_files interface
Mark Huang [Fri, 20 Oct 2006 17:44:09 +0000 (17:44 +0000)]
- add conf_files interface

17 years ago- provide base class __init__() and delete() implementations
Mark Huang [Fri, 20 Oct 2006 17:43:12 +0000 (17:43 +0000)]
- provide base class __init__() and delete() implementations

17 years agoprovide return_fields compatibility
Mark Huang [Fri, 20 Oct 2006 00:41:07 +0000 (00:41 +0000)]
provide return_fields compatibility

17 years agouse Role
Mark Huang [Fri, 20 Oct 2006 00:38:38 +0000 (00:38 +0000)]
use Role

17 years agoformatting nits
Mark Huang [Fri, 20 Oct 2006 00:38:24 +0000 (00:38 +0000)]
formatting nits

17 years agomore compatibility functions
Mark Huang [Fri, 20 Oct 2006 00:37:58 +0000 (00:37 +0000)]
more compatibility functions

17 years ago- fixed bug in logging of event_objects
Tony Mack [Thu, 19 Oct 2006 21:38:08 +0000 (21:38 +0000)]
- fixed bug in logging of event_objects

17 years ago- updated object_types, event_types tables
Tony Mack [Thu, 19 Oct 2006 21:36:54 +0000 (21:36 +0000)]
- updated object_types, event_types tables

17 years ago- updated valid_object_types, valid_event_types
Tony Mack [Thu, 19 Oct 2006 21:36:31 +0000 (21:36 +0000)]
- updated valid_object_types, valid_event_types

17 years ago- Callable: fix func definition
Mark Huang [Thu, 19 Oct 2006 19:58:50 +0000 (19:58 +0000)]
- Callable: fix func definition
- print traceback for undefined/broken methods
- add kwds to all method calls
- only catch SyntaxErrors when falling back to executing as a statement

17 years ago- fixed how calls with dictionary args are logged
Tony Mack [Thu, 19 Oct 2006 19:32:48 +0000 (19:32 +0000)]
- fixed how calls with dictionary args are logged

17 years ago- removed unnecessary print
Tony Mack [Thu, 19 Oct 2006 17:02:42 +0000 (17:02 +0000)]
- removed unnecessary print

17 years ago- fixed logging of calls that fail at or before auth.check
Tony Mack [Thu, 19 Oct 2006 16:52:55 +0000 (16:52 +0000)]
- fixed logging of calls that fail at or before auth.check

17 years ago- modified events_table (allow person_id to be null)
Tony Mack [Thu, 19 Oct 2006 16:51:03 +0000 (16:51 +0000)]
- modified events_table (allow person_id to be null)

17 years ago- add support for query on fault_code field
Tony Mack [Thu, 19 Oct 2006 15:41:37 +0000 (15:41 +0000)]
- add support for query on fault_code field

17 years ago- key no longer has person_id
Mark Huang [Wed, 18 Oct 2006 22:06:24 +0000 (22:06 +0000)]
- key no longer has person_id

17 years ago- import necessary modules
Mark Huang [Wed, 18 Oct 2006 21:04:26 +0000 (21:04 +0000)]
- import necessary modules

17 years ago- import AddPersonKey
Mark Huang [Wed, 18 Oct 2006 21:04:16 +0000 (21:04 +0000)]
- import AddPersonKey

17 years ago-- added 'WITH OIDS' when creating address_types table
Tony Mack [Wed, 18 Oct 2006 20:54:28 +0000 (20:54 +0000)]
-- added 'WITH OIDS' when creating address_types table

17 years agoUpdatePerson.py
Mark Huang [Wed, 18 Oct 2006 20:37:09 +0000 (20:37 +0000)]
UpdatePerson.py

17 years agofix slice check
Mark Huang [Wed, 18 Oct 2006 20:36:36 +0000 (20:36 +0000)]
fix slice check

17 years agoFix documentation
Mark Huang [Wed, 18 Oct 2006 20:36:02 +0000 (20:36 +0000)]
Fix documentation

17 years agofix is-my-own-key check
Mark Huang [Wed, 18 Oct 2006 20:33:59 +0000 (20:33 +0000)]
fix is-my-own-key check

17 years agofix pcu site check
Mark Huang [Wed, 18 Oct 2006 20:33:28 +0000 (20:33 +0000)]
fix pcu site check

17 years agoInitial checkin of new API implementation
Tony Mack [Wed, 18 Oct 2006 19:44:12 +0000 (19:44 +0000)]
Initial checkin of new API implementation

17 years ago- add **kwds paramater to __call__()
Tony Mack [Wed, 18 Oct 2006 19:42:46 +0000 (19:42 +0000)]
- add **kwds paramater to __call__()

17 years ago- added indexes on event_object table
Tony Mack [Wed, 18 Oct 2006 19:41:11 +0000 (19:41 +0000)]
- added indexes on event_object table
- added view event_objects
- removed fault_types table

17 years ago- log the ids of objects affected by api calls
Tony Mack [Tue, 17 Oct 2006 15:28:39 +0000 (15:28 +0000)]
- log the ids of objects affected by api calls

17 years ago- added events_objects table
Tony Mack [Tue, 17 Oct 2006 15:27:38 +0000 (15:27 +0000)]
- added events_objects table