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

17 years agorename to AddPersonKey
Mark Huang [Tue, 17 Oct 2006 04:27:06 +0000 (04:27 +0000)]
rename to AddPersonKey

17 years ago- key no longer has person_id field
Mark Huang [Tue, 17 Oct 2006 04:25:59 +0000 (04:25 +0000)]
- key no longer has person_id field

17 years ago- no need to specify site_id
Mark Huang [Tue, 17 Oct 2006 04:24:57 +0000 (04:24 +0000)]
- no need to specify site_id

17 years agorename attributes to slice_attribute_types
Mark Huang [Mon, 16 Oct 2006 21:59:05 +0000 (21:59 +0000)]
rename attributes to slice_attribute_types

17 years ago- ignore rollback errors
Mark Huang [Mon, 16 Oct 2006 21:56:11 +0000 (21:56 +0000)]
- ignore rollback errors

17 years agorename to AddSiteAddress
Mark Huang [Mon, 16 Oct 2006 21:55:54 +0000 (21:55 +0000)]
rename to AddSiteAddress

17 years ago- use unicode() instead of str() before logging call arguments
Tony Mack [Mon, 16 Oct 2006 20:41:02 +0000 (20:41 +0000)]
- use unicode() instead of str() before logging call arguments
- change how calls are logged(no longer wrapped around __call__)
- logging is only done when PLC_API_DEBUG is set

17 years agoadd backward compatible address type functions
Mark Huang [Mon, 16 Oct 2006 20:17:38 +0000 (20:17 +0000)]
add backward compatible address type functions

17 years agoDeleteNodeNetwork need not require node_id_or_hostname to be passed in
Mark Huang [Mon, 16 Oct 2006 20:16:13 +0000 (20:16 +0000)]
DeleteNodeNetwork need not require node_id_or_hostname to be passed in

17 years agoadded POD
Mark Huang [Mon, 16 Oct 2006 19:56:27 +0000 (19:56 +0000)]
added POD

17 years agoadd backward compatible pcu functions
Mark Huang [Mon, 16 Oct 2006 19:56:12 +0000 (19:56 +0000)]
add backward compatible pcu functions

17 years ago- fix AdmGetAllNodeNetworks() to return node networks only for specified node
Mark Huang [Mon, 16 Oct 2006 19:56:07 +0000 (19:56 +0000)]
- fix AdmGetAllNodeNetworks() to return node networks only for specified node

17 years agocast instead of rebuilding dict when returning lists of dicts
Mark Huang [Mon, 16 Oct 2006 19:18:31 +0000 (19:18 +0000)]
cast instead of rebuilding dict when returning lists of dicts

17 years agomake GetNodeNetworks consistent with all other Get functions
Mark Huang [Mon, 16 Oct 2006 19:13:13 +0000 (19:13 +0000)]
make GetNodeNetworks consistent with all other Get functions

17 years ago- return the right thing
Mark Huang [Mon, 16 Oct 2006 18:58:29 +0000 (18:58 +0000)]
- return the right thing

17 years agoadd ping of death utility from old plc_api
Mark Huang [Mon, 16 Oct 2006 18:49:48 +0000 (18:49 +0000)]
add ping of death utility from old plc_api

17 years ago- require PCU ip address
Mark Huang [Mon, 16 Oct 2006 18:27:22 +0000 (18:27 +0000)]
- require PCU ip address

17 years agostore bwlimit as positive int
Mark Huang [Mon, 16 Oct 2006 18:23:53 +0000 (18:23 +0000)]
store bwlimit as positive int

17 years agodeprecate this function; bwlimit now stored as positive int
Mark Huang [Mon, 16 Oct 2006 18:23:33 +0000 (18:23 +0000)]
deprecate this function; bwlimit now stored as positive int

17 years agoimplement AdmGenerateNodeConfFile for backward compatibility
Mark Huang [Mon, 16 Oct 2006 18:23:19 +0000 (18:23 +0000)]
implement AdmGenerateNodeConfFile for backward compatibility

17 years agoimplement as wrappers around new functions
Mark Huang [Mon, 16 Oct 2006 18:22:55 +0000 (18:22 +0000)]
implement as wrappers around new functions

17 years ago- add status
Mark Huang [Mon, 16 Oct 2006 17:46:00 +0000 (17:46 +0000)]
- add status

17 years agoimplement as wrappers around new functions
Mark Huang [Mon, 16 Oct 2006 17:45:13 +0000 (17:45 +0000)]
implement as wrappers around new functions

17 years agomake description an optional field
Mark Huang [Mon, 16 Oct 2006 17:44:52 +0000 (17:44 +0000)]
make description an optional field

17 years agoremove organization_id and ext_consortium_id
Mark Huang [Mon, 16 Oct 2006 17:43:14 +0000 (17:43 +0000)]
remove organization_id and ext_consortium_id

17 years agoallow admins to update key and session by hand
Mark Huang [Mon, 16 Oct 2006 17:41:50 +0000 (17:41 +0000)]
allow admins to update key and session by hand

17 years agoadd RebootNode function
Mark Huang [Mon, 16 Oct 2006 17:40:37 +0000 (17:40 +0000)]
add RebootNode function

17 years ago- fixed logging of person_id
Tony Mack [Fri, 13 Oct 2006 21:42:25 +0000 (21:42 +0000)]
- fixed logging of person_id

17 years ago- use site_fields instead of optional_vals
Mark Huang [Fri, 13 Oct 2006 20:19:26 +0000 (20:19 +0000)]
- use site_fields instead of optional_vals

17 years ago- silently remove fields that can't be updated
Mark Huang [Fri, 13 Oct 2006 20:19:25 +0000 (20:19 +0000)]
- silently remove fields that can't be updated

17 years ago- silently remove fields that can't be updated from slice_fields, for
Mark Huang [Fri, 13 Oct 2006 20:07:29 +0000 (20:07 +0000)]
- silently remove fields that can't be updated from slice_fields, for
  backward compatibility with SliceAdd

17 years ago- use slice_fields instead of update_fields
Mark Huang [Fri, 13 Oct 2006 20:05:38 +0000 (20:05 +0000)]
- use slice_fields instead of update_fields

17 years ago- use slice_fields instead of optional_vals
Mark Huang [Fri, 13 Oct 2006 20:04:48 +0000 (20:04 +0000)]
- use slice_fields instead of optional_vals

17 years ago- silently remove fields that can't be updated from person_fields, for
Mark Huang [Fri, 13 Oct 2006 20:02:36 +0000 (20:02 +0000)]
- silently remove fields that can't be updated from person_fields, for
  backward compatibility with AdmUpdatePerson

17 years ago- silently remove fields that can't be updated from slice_fields, for
Mark Huang [Fri, 13 Oct 2006 20:02:10 +0000 (20:02 +0000)]
- silently remove fields that can't be updated from slice_fields, for
  backward compatibility with SliceAdd

17 years ago- silently remove fields that can't be updated from person_fields, for
Mark Huang [Fri, 13 Oct 2006 20:01:06 +0000 (20:01 +0000)]
- silently remove fields that can't be updated from person_fields, for
  backward compatibility with AdmAddPerson

17 years ago- close cursor before attempting rollback
Mark Huang [Fri, 13 Oct 2006 20:00:37 +0000 (20:00 +0000)]
- close cursor before attempting rollback

17 years ago- don't care if SOAPpy is installed
Mark Huang [Fri, 13 Oct 2006 20:00:21 +0000 (20:00 +0000)]
- don't care if SOAPpy is installed

17 years ago- turn each slice into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:41:38 +0000 (19:41 +0000)]
- turn each slice into a real dict before returning

17 years ago- turn each slice attribute into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:36:24 +0000 (19:36 +0000)]
- turn each slice attribute into a real dict before returning

17 years ago- turn each role into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:33:06 +0000 (19:33 +0000)]
- turn each role into a real dict before returning

17 years ago- turn each pcu into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:29:41 +0000 (19:29 +0000)]
- turn each pcu into a real dict before returning

17 years ago- turn each attribute into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:21:55 +0000 (19:21 +0000)]
- turn each attribute into a real dict before returning

17 years ago- turn each adddress into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 19:20:09 +0000 (19:20 +0000)]
- turn each adddress into a real dict before returning

17 years ago- turned each key into a real dict before returning
Tony Mack [Fri, 13 Oct 2006 18:48:29 +0000 (18:48 +0000)]
- turned each key into a real dict before returning

17 years ago- no longer filter out None
Tony Mack [Fri, 13 Oct 2006 15:33:02 +0000 (15:33 +0000)]
- no longer filter out None

17 years ago- no longer filter out None
Tony Mack [Fri, 13 Oct 2006 15:24:48 +0000 (15:24 +0000)]
- no longer filter out None

17 years ago- added log()
Tony Mack [Fri, 13 Oct 2006 15:11:31 +0000 (15:11 +0000)]
- added log()

17 years ago- added events, event_types, object_types, fault_types tables (logging tables)
Tony Mack [Fri, 13 Oct 2006 15:07:24 +0000 (15:07 +0000)]
- added events, event_types, object_types, fault_types tables (logging tables)

17 years ago- removed return_fields param
Tony Mack [Fri, 13 Oct 2006 14:43:14 +0000 (14:43 +0000)]
- removed return_fields param
- no longer filter out None

17 years ago- removed return_fields param
Tony Mack [Fri, 13 Oct 2006 14:42:40 +0000 (14:42 +0000)]
- removed return_fields param
- no longer filter out None
- added event_type, object_type memeber vars

17 years ago- use _idx as the suffix on all custom indices to avoid conflicts with
Mark Huang [Wed, 11 Oct 2006 20:49:39 +0000 (20:49 +0000)]
- use _idx as the suffix on all custom indices to avoid conflicts with
  automatic indices
- add node_pcus view

17 years agoadd pcu/node functions
Mark Huang [Wed, 11 Oct 2006 20:48:58 +0000 (20:48 +0000)]
add pcu/node functions

17 years ago- fix pcu@site check
Mark Huang [Wed, 11 Oct 2006 20:14:18 +0000 (20:14 +0000)]
- fix pcu@site check

17 years ago- fix comment
Mark Huang [Wed, 11 Oct 2006 20:03:51 +0000 (20:03 +0000)]
- fix comment

17 years agoadd interface to pcus
Mark Huang [Wed, 11 Oct 2006 19:54:53 +0000 (19:54 +0000)]
add interface to pcus

17 years ago- fix documentation
Mark Huang [Wed, 11 Oct 2006 19:54:41 +0000 (19:54 +0000)]
- fix documentation
- don't require boot_state to be specified

17 years ago- add default for boot_state
Mark Huang [Wed, 11 Oct 2006 19:53:42 +0000 (19:53 +0000)]
- add default for boot_state
- allow pcu hostnames to be null
- create pcu views
- add pcu_ids to view_sites

17 years ago- add pcu_ids
Mark Huang [Wed, 11 Oct 2006 19:52:19 +0000 (19:52 +0000)]
- add pcu_ids

17 years ago- fix hostname checking
Mark Huang [Wed, 11 Oct 2006 19:51:18 +0000 (19:51 +0000)]
- fix hostname checking

17 years ago- fix hostname checking
Mark Huang [Wed, 11 Oct 2006 19:51:09 +0000 (19:51 +0000)]
- fix hostname checking
- fix references to Nodes

17 years ago- allow members of slice to delete nodes from slice
Mark Huang [Wed, 11 Oct 2006 17:48:14 +0000 (17:48 +0000)]
- allow members of slice to delete nodes from slice

17 years ago- allow members of slice to call
Mark Huang [Wed, 11 Oct 2006 17:31:46 +0000 (17:31 +0000)]
- allow members of slice to call
- whitespace nits

17 years ago- valid_fields is a list
Mark Huang [Wed, 11 Oct 2006 17:20:24 +0000 (17:20 +0000)]
- valid_fields is a list

17 years agofix slice attribute functions
Mark Huang [Wed, 11 Oct 2006 15:46:09 +0000 (15:46 +0000)]
fix slice attribute functions

17 years agoadded and removed key functions
Mark Huang [Wed, 11 Oct 2006 15:44:30 +0000 (15:44 +0000)]
added and removed key functions

17 years agoremoved is_primary concept from keys table
Mark Huang [Wed, 11 Oct 2006 15:44:14 +0000 (15:44 +0000)]
removed is_primary concept from keys table

17 years ago- add admin-only BlacklistKey() function with giant warning
Mark Huang [Wed, 11 Oct 2006 15:43:59 +0000 (15:43 +0000)]
- add admin-only BlacklistKey() function with giant warning

17 years ago- remove is_blacklisted from fields that can be updated
Mark Huang [Wed, 11 Oct 2006 15:43:01 +0000 (15:43 +0000)]
- remove is_blacklisted from fields that can be updated

17 years ago- check for both key_id_list = None and key_id_list = [], both of which
Mark Huang [Wed, 11 Oct 2006 15:42:29 +0000 (15:42 +0000)]
- check for both key_id_list = None and key_id_list = [], both of which
  Keys interprets to mean "all keys"

17 years ago- clarify comments
Mark Huang [Wed, 11 Oct 2006 15:41:27 +0000 (15:41 +0000)]
- clarify comments

17 years ago- add mandatory fields to method arguments
Mark Huang [Wed, 11 Oct 2006 15:41:10 +0000 (15:41 +0000)]
- add mandatory fields to method arguments
- fix documentation

17 years agomove add_key/remove_key here
Mark Huang [Wed, 11 Oct 2006 15:40:25 +0000 (15:40 +0000)]
move add_key/remove_key here

17 years ago- remove is_primary
Mark Huang [Wed, 11 Oct 2006 15:39:58 +0000 (15:39 +0000)]
- remove is_primary
- set max on key length
- validate key_type against KeyTypes
- fix blacklisted key check (check for is_blacklisted IS True)
- accounts can have multiple keys but not vice-versa; move
  add_person/remove_person to Persons.add_key/remove_key
- validate SSH version 2 public keys
- add blacklist() function to permanently blacklist key (disassociate it
  and all other identical keys, and set is_blacklisted to True)
- whitespace nits
- Keys: only return non-blacklisted keys

17 years ago- remove unused is_primary from person_key
Mark Huang [Wed, 11 Oct 2006 15:37:12 +0000 (15:37 +0000)]
- remove unused is_primary from person_key
- remove unused node_attributes
- clarify attributes comments; should probably rename table to
  slice_attribute_types

17 years agoadd key_types interface
Mark Huang [Tue, 10 Oct 2006 22:09:31 +0000 (22:09 +0000)]
add key_types interface

17 years ago- added enabled to list of vaild update fields
Tony Mack [Tue, 10 Oct 2006 21:58:55 +0000 (21:58 +0000)]
- added enabled to list of vaild update fields

17 years agofix roles interface
Mark Huang [Tue, 10 Oct 2006 21:54:59 +0000 (21:54 +0000)]
fix roles interface

17 years agoadd boot_states interface
Mark Huang [Tue, 10 Oct 2006 21:54:20 +0000 (21:54 +0000)]
add boot_states interface

17 years ago- add giant warning
Mark Huang [Tue, 10 Oct 2006 21:53:34 +0000 (21:53 +0000)]
- add giant warning

17 years ago- sync: support forced insertion, e.g. if primary key is being explicitly provided
Mark Huang [Tue, 10 Oct 2006 21:53:12 +0000 (21:53 +0000)]
- sync: support forced insertion, e.g. if primary key is being explicitly provided

17 years ago- fix comment
Mark Huang [Tue, 10 Oct 2006 21:52:08 +0000 (21:52 +0000)]
- fix comment

17 years ago- remove extraneous imports
Mark Huang [Tue, 10 Oct 2006 21:51:35 +0000 (21:51 +0000)]
- remove extraneous imports

17 years ago- value returned is now xml-rpc safe
Tony Mack [Tue, 10 Oct 2006 21:24:37 +0000 (21:24 +0000)]
- value returned is now xml-rpc safe

17 years agonew methods
Mark Huang [Tue, 10 Oct 2006 20:28:02 +0000 (20:28 +0000)]
new methods

17 years agosync: insert if the primary key (usually an auto-incrementing serial
Mark Huang [Tue, 10 Oct 2006 20:27:43 +0000 (20:27 +0000)]
sync: insert if the primary key (usually an auto-incrementing serial
identifier) has not been specified, or the primary key is the only field
in the table.

17 years ago- query network_{methods,types} tables when validating method and type
Mark Huang [Tue, 10 Oct 2006 20:27:13 +0000 (20:27 +0000)]
- query network_{methods,types} tables when validating method and type
  values
- validate node_id values
- validate is_primary

17 years agoapi now allows marshalling of None (although type checking does not allow None yet...
Mark Huang [Tue, 10 Oct 2006 20:25:48 +0000 (20:25 +0000)]
api now allows marshalling of None (although type checking does not allow None yet for most values...)

17 years agointerface to network_types table
Mark Huang [Tue, 10 Oct 2006 20:24:06 +0000 (20:24 +0000)]
interface to network_types table

17 years agointerface to network_methods table
Mark Huang [Tue, 10 Oct 2006 20:23:49 +0000 (20:23 +0000)]
interface to network_methods table

17 years ago- rename nodenetwork_{methods,types} to network_{methods,types}
Mark Huang [Tue, 10 Oct 2006 20:22:24 +0000 (20:22 +0000)]
- rename nodenetwork_{methods,types} to network_{methods,types}
- add pcus and pcu_node{,s} tables/views

17 years agoInitial checkin of new API implementation
Tony Mack [Tue, 10 Oct 2006 20:06:36 +0000 (20:06 +0000)]
Initial checkin of new API implementation

17 years agoInitial checkin of new API implementation
Tony Mack [Tue, 10 Oct 2006 19:48:15 +0000 (19:48 +0000)]
Initial checkin of new API implementation

17 years ago- added validate_key_type(), validate_key(), add_person(), set_primary_key(), delete()
Tony Mack [Tue, 10 Oct 2006 19:40:03 +0000 (19:40 +0000)]
- added validate_key_type(), validate_key(), add_person(), set_primary_key(), delete()

17 years ago- removed 'Adm' prefix
Tony Mack [Mon, 9 Oct 2006 17:52:55 +0000 (17:52 +0000)]
- removed 'Adm' prefix

17 years agoInitial checkin of new API implementation
Tony Mack [Mon, 9 Oct 2006 17:51:27 +0000 (17:51 +0000)]
Initial checkin of new API implementation

17 years ago- fixed allowed roles
Tony Mack [Mon, 9 Oct 2006 15:41:03 +0000 (15:41 +0000)]
- fixed allowed roles

17 years ago- Renamed (changed Remove to Delete)
Tony Mack [Fri, 6 Oct 2006 20:02:16 +0000 (20:02 +0000)]
- Renamed (changed Remove to Delete)

17 years ago- Changed Remove to Delete
Tony Mack [Fri, 6 Oct 2006 19:57:17 +0000 (19:57 +0000)]
- Changed Remove to Delete