plcapi.git
17 years ago- fix oasis-open.org
Mark Huang [Sun, 29 Oct 2006 02:36:34 +0000 (02:36 +0000)]
- fix oasis-open.org

17 years ago- python 2.2 compatibility
Mark Huang [Sun, 29 Oct 2006 02:35:28 +0000 (02:35 +0000)]
- python 2.2 compatibility

17 years ago- install schema
Mark Huang [Fri, 27 Oct 2006 20:08:46 +0000 (20:08 +0000)]
- install schema

17 years ago- include system. methods
Mark Huang [Fri, 27 Oct 2006 19:56:55 +0000 (19:56 +0000)]
- include system. methods

17 years ago- install scripts
Mark Huang [Fri, 27 Oct 2006 19:53:25 +0000 (19:53 +0000)]
- install scripts

17 years ago- obsolete plcapilib
Mark Huang [Fri, 27 Oct 2006 19:42:41 +0000 (19:42 +0000)]
- obsolete plcapilib

17 years agoPLCAPI RPM spec file
Mark Huang [Fri, 27 Oct 2006 19:37:40 +0000 (19:37 +0000)]
PLCAPI RPM spec file

17 years agoappend PLC to sys.path
Mark Huang [Fri, 27 Oct 2006 19:37:33 +0000 (19:37 +0000)]
append PLC to sys.path

17 years ago- grr...XML catalog URI rewriting is not working and oasis-open.org is
Mark Huang [Fri, 27 Oct 2006 19:33:16 +0000 (19:33 +0000)]
- grr...XML catalog URI rewriting is not working and oasis-open.org is
  down

17 years agoimport pgdb at the last minute to avoid requiring pgdb at doc build time
Mark Huang [Fri, 27 Oct 2006 18:57:32 +0000 (18:57 +0000)]
import pgdb at the last minute to avoid requiring pgdb at doc build time

17 years agodistutils setup file for PLCAPI package
Mark Huang [Fri, 27 Oct 2006 18:54:21 +0000 (18:54 +0000)]
distutils setup file for PLCAPI package

17 years agorename output file to plc_api.php
Mark Huang [Fri, 27 Oct 2006 15:40:43 +0000 (15:40 +0000)]
rename output file to plc_api.php

17 years ago- whitespace nits
Mark Huang [Fri, 27 Oct 2006 15:40:20 +0000 (15:40 +0000)]
- whitespace nits

17 years ago(most) all functions now take SessionAuth in addition to PasswordAuth
Mark Huang [Fri, 27 Oct 2006 15:38:09 +0000 (15:38 +0000)]
(most) all functions now take SessionAuth in addition to PasswordAuth

17 years ago- BootGetNodeDetails implementation
Mark Huang [Fri, 27 Oct 2006 15:37:26 +0000 (15:37 +0000)]
- BootGetNodeDetails implementation

17 years agosession handling functions
Mark Huang [Fri, 27 Oct 2006 15:37:05 +0000 (15:37 +0000)]
session handling functions

17 years ago- also accept SessionAuth
Mark Huang [Fri, 27 Oct 2006 15:34:43 +0000 (15:34 +0000)]
- also accept SessionAuth

17 years ago- add Session support
Mark Huang [Fri, 27 Oct 2006 15:33:17 +0000 (15:33 +0000)]
- add Session support

17 years ago- interface to sessions table
Mark Huang [Fri, 27 Oct 2006 15:33:05 +0000 (15:33 +0000)]
- interface to sessions table

17 years ago- clean up person_session on delete()
Mark Huang [Fri, 27 Oct 2006 15:32:56 +0000 (15:32 +0000)]
- clean up person_session on delete()

17 years ago- get session value from node_session join table
Mark Huang [Fri, 27 Oct 2006 15:32:43 +0000 (15:32 +0000)]
- get session value from node_session join table

17 years ago- add SessionAuth support
Mark Huang [Fri, 27 Oct 2006 15:32:29 +0000 (15:32 +0000)]
- add SessionAuth support
- make Auth() equivalent to Mixed(SessionAuth(), PasswordAuth())

17 years ago- add session support
Mark Huang [Fri, 27 Oct 2006 15:31:28 +0000 (15:31 +0000)]
- add session support
- whitespace nits

17 years ago- append parent directory to sys.path
Mark Huang [Fri, 27 Oct 2006 15:26:44 +0000 (15:26 +0000)]
- append parent directory to sys.path
- automagically add SessionAuth, too

17 years ago- id_list is optional
Mark Huang [Thu, 26 Oct 2006 14:51:12 +0000 (14:51 +0000)]
- id_list is optional

17 years agoalso make php bindings
Mark Huang [Wed, 25 Oct 2006 21:05:40 +0000 (21:05 +0000)]
also make php bindings

17 years ago- set Content-type header
Mark Huang [Wed, 25 Oct 2006 21:05:05 +0000 (21:05 +0000)]
- set Content-type header

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