plcapi.git
17 years agofor federation : Peers and ForeignNodes
Thierry Parmentelat [Fri, 3 Nov 2006 20:36:05 +0000 (20:36 +0000)]
for federation : Peers and ForeignNodes

17 years agoadd messages interface
Mark Huang [Fri, 3 Nov 2006 16:11:42 +0000 (16:11 +0000)]
add messages interface

17 years agoadd messages table and interface
Mark Huang [Fri, 3 Nov 2006 16:05:31 +0000 (16:05 +0000)]
add messages table and interface

17 years ago- half-implement BootNotifyOwners
Mark Huang [Fri, 3 Nov 2006 15:01:16 +0000 (15:01 +0000)]
- half-implement BootNotifyOwners

17 years ago- add node to accepted roles
Mark Huang [Fri, 3 Nov 2006 15:00:46 +0000 (15:00 +0000)]
- add node to accepted roles

17 years ago- add node to acceptable roles
Mark Huang [Fri, 3 Nov 2006 15:00:32 +0000 (15:00 +0000)]
- add node to acceptable roles

17 years agofix insert
Mark Huang [Fri, 3 Nov 2006 14:59:16 +0000 (14:59 +0000)]
fix insert

17 years ago- fix check for if xml-rpc options have been specified
Mark Huang [Thu, 2 Nov 2006 22:12:47 +0000 (22:12 +0000)]
- fix check for if xml-rpc options have been specified

17 years ago- fix interactive check
Mark Huang [Thu, 2 Nov 2006 22:07:22 +0000 (22:07 +0000)]
- fix interactive check

17 years agounset None fields, if allowed
Mark Huang [Thu, 2 Nov 2006 18:32:55 +0000 (18:32 +0000)]
unset None fields, if allowed

17 years ago- implement for backward compatibility
Mark Huang [Thu, 2 Nov 2006 18:32:19 +0000 (18:32 +0000)]
- implement for backward compatibility

17 years ago- use "" if dns2 is not specified
Mark Huang [Thu, 2 Nov 2006 18:04:19 +0000 (18:04 +0000)]
- use "" if dns2 is not specified

17 years ago- fix interactive case
Mark Huang [Thu, 2 Nov 2006 15:31:02 +0000 (15:31 +0000)]
- fix interactive case
- add begin() and commit() multicall support

17 years ago- do not parse command line arguments if called by a script
Mark Huang [Thu, 2 Nov 2006 15:05:07 +0000 (15:05 +0000)]
- do not parse command line arguments if called by a script
- get method list from cwd API implementation, not from system.listMethods

17 years ago- if a node has no nodenetworks, make the first one added primary
Tony Mack [Thu, 2 Nov 2006 14:57:25 +0000 (14:57 +0000)]
- if a node has no nodenetworks, make the first one added primary

17 years agoupdate docs
Mark Huang [Tue, 31 Oct 2006 23:21:21 +0000 (23:21 +0000)]
update docs

17 years ago- allow to be called by nodes
Mark Huang [Tue, 31 Oct 2006 23:08:17 +0000 (23:08 +0000)]
- allow to be called by nodes

17 years ago- fix call
Mark Huang [Tue, 31 Oct 2006 23:08:02 +0000 (23:08 +0000)]
- fix call

17 years ago- node sessions do not expire
Mark Huang [Tue, 31 Oct 2006 23:07:43 +0000 (23:07 +0000)]
- node sessions do not expire

17 years ago- try in myplc directory
Mark Huang [Tue, 31 Oct 2006 21:48:10 +0000 (21:48 +0000)]
- try in myplc directory

17 years ago- commit last
Mark Huang [Tue, 31 Oct 2006 21:47:47 +0000 (21:47 +0000)]
- commit last

17 years ago- fix logging of Boot* methods and others that can be called by nodes
Mark Huang [Tue, 31 Oct 2006 21:47:21 +0000 (21:47 +0000)]
- fix logging of Boot* methods and others that can be called by nodes
- redact passwords and sessions
- use Event class

17 years ago- whitespace nits
Mark Huang [Tue, 31 Oct 2006 21:46:14 +0000 (21:46 +0000)]
- whitespace nits
- move Method.log() SQL here

17 years ago- add node_id to view_events
Mark Huang [Tue, 31 Oct 2006 21:45:45 +0000 (21:45 +0000)]
- add node_id to view_events
- cast events.time to unix timestamp

17 years ago- just take .pdf and .html out, cvs import honors the line even if it's commented...
Mark Huang [Mon, 30 Oct 2006 19:19:41 +0000 (19:19 +0000)]
- just take .pdf and .html out, cvs import honors the line even if it's commented...

17 years ago- set charset in Content-type header
Mark Huang [Mon, 30 Oct 2006 16:39:24 +0000 (16:39 +0000)]
- set charset in Content-type header

17 years ago- unicmp() unnecessary, fixed PostgreSQL.py interface to cast 8-bit
Mark Huang [Mon, 30 Oct 2006 16:38:33 +0000 (16:38 +0000)]
- unicmp() unnecessary, fixed PostgreSQL.py interface to cast 8-bit
  looking strings to unicode objects

17 years agopgdb returns raw UTF-8 strings. Wrap pgdb.typecast so that it casts
Mark Huang [Mon, 30 Oct 2006 16:37:49 +0000 (16:37 +0000)]
pgdb returns raw UTF-8 strings. Wrap pgdb.typecast so that it casts
strings that appear to contain non-ASCII characters to Python unicode
objects.

17 years agoxmlrpclib does not handle invalid 7-bit control characters. This
Mark Huang [Mon, 30 Oct 2006 16:37:11 +0000 (16:37 +0000)]
xmlrpclib does not handle invalid 7-bit control characters. This
function augments xmlrpclib.escape, which by default only replaces '&',
'<', and '>' with entities.

17 years agodo not ignore the generated .pdf and .html files for now
Mark Huang [Mon, 30 Oct 2006 14:38:22 +0000 (14:38 +0000)]
do not ignore the generated .pdf and .html files for now

17 years agofix calling convention
Mark Huang [Sun, 29 Oct 2006 16:08:33 +0000 (16:08 +0000)]
fix calling convention

17 years agodon't build docbook for now
Mark Huang [Sun, 29 Oct 2006 04:38:41 +0000 (04:38 +0000)]
don't build docbook for now

17 years agopregenerated documentation
Mark Huang [Sun, 29 Oct 2006 04:34:23 +0000 (04:34 +0000)]
pregenerated documentation

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)