plcapi.git
16 years agoMerge from trunk
Tony Mack [Tue, 13 Nov 2007 19:41:41 +0000 (19:41 +0000)]
Merge from trunk

16 years agobumped to 4.2.0
Tony Mack [Tue, 13 Nov 2007 19:38:13 +0000 (19:38 +0000)]
bumped to 4.2.0

16 years agoAdded methods for managing PCU types and protocols
Tony Mack [Tue, 13 Nov 2007 19:31:05 +0000 (19:31 +0000)]
Added methods for managing PCU types and protocols

16 years agoMethods for managing PCU model types and protocols
Tony Mack [Mon, 12 Nov 2007 22:54:33 +0000 (22:54 +0000)]
Methods for managing PCU model types and protocols

16 years agoAdded PCUProtocolTypes, PCUTypes.py
Tony Mack [Mon, 12 Nov 2007 22:49:55 +0000 (22:49 +0000)]
Added PCUProtocolTypes, PCUTypes.py

16 years agoObjects representing PCU Model types and PCU protocols
Tony Mack [Mon, 12 Nov 2007 22:49:09 +0000 (22:49 +0000)]
Objects representing PCU Model types and PCU protocols

16 years ago-modified 'pcu_protocol_type', 'pcu_protocol_types', 'view_pcu_types' schema
Tony Mack [Mon, 12 Nov 2007 22:45:01 +0000 (22:45 +0000)]
-modified 'pcu_protocol_type', 'pcu_protocol_types', 'view_pcu_types' schema

16 years agoadded pcu_types, pcu_type_port tables and pcu_type_ports, view_pcu_types views
Tony Mack [Fri, 9 Nov 2007 22:00:30 +0000 (22:00 +0000)]
added pcu_types, pcu_type_port tables and pcu_type_ports, view_pcu_types views

16 years agoSupport storing pcu types
Tony Mack [Fri, 9 Nov 2007 21:41:38 +0000 (21:41 +0000)]
Support storing pcu types

16 years agoRationalize: can now update aggregate values (conf_files, nodes)
Tony Mack [Tue, 6 Nov 2007 21:53:58 +0000 (21:53 +0000)]
Rationalize: can now update aggregate values (conf_files, nodes)

16 years agoRationalize: added associate functions
Tony Mack [Tue, 6 Nov 2007 21:52:21 +0000 (21:52 +0000)]
Rationalize: added associate functions

16 years agoRationalize: can now update aggregate values (roles, sites, keys, slices)
Tony Mack [Tue, 6 Nov 2007 03:53:33 +0000 (03:53 +0000)]
Rationalize: can now update aggregate values (roles, sites, keys, slices)

16 years agoRationalize: can now update aggregate values (nodenetworks, nodegroups, conf_files...
Tony Mack [Tue, 6 Nov 2007 03:52:01 +0000 (03:52 +0000)]
Rationalize: can now update aggregate values (nodenetworks, nodegroups, conf_files, slices, slices_whitelist)

16 years agoRationalize: can now update aggregate values (persons, nodes)
Tony Mack [Tue, 6 Nov 2007 03:49:59 +0000 (03:49 +0000)]
Rationalize: can now update aggregate values (persons, nodes)

16 years agoRationalize: can now update aggregate values (persons, addresses)
Tony Mack [Tue, 6 Nov 2007 03:48:50 +0000 (03:48 +0000)]
Rationalize: can now update aggregate values (persons, addresses)

16 years agoRationalize: added associate functions
Tony Mack [Tue, 6 Nov 2007 03:43:55 +0000 (03:43 +0000)]
Rationalize:  added associate functions

16 years agoRationalize: added associate functions
Tony Mack [Tue, 6 Nov 2007 03:43:42 +0000 (03:43 +0000)]
Rationalize:  added associate functions

16 years agoRationalize: added associate function
Tony Mack [Tue, 6 Nov 2007 03:42:57 +0000 (03:42 +0000)]
Rationalize:  added associate function

16 years agoRationalize: added associate functions
Tony Mack [Tue, 6 Nov 2007 03:42:15 +0000 (03:42 +0000)]
Rationalize:  added associate functions

16 years agoAdded separate_types() method
Tony Mack [Tue, 6 Nov 2007 02:23:25 +0000 (02:23 +0000)]
Added separate_types() method

16 years agoauto-maintained URL tag
Thierry Parmentelat [Thu, 25 Oct 2007 23:04:25 +0000 (23:04 +0000)]
auto-maintained URL tag

16 years agocannot use $URL$ in the spec file
Thierry Parmentelat [Thu, 25 Oct 2007 22:11:50 +0000 (22:11 +0000)]
cannot use $URL$ in the spec file

16 years agoset svn:keywords property for proper keywords expansion
Thierry Parmentelat [Thu, 25 Oct 2007 20:33:17 +0000 (20:33 +0000)]
set svn:keywords property for proper keywords expansion

16 years agomerged from onelab newplc-4.0.13 tag
Thierry Parmentelat [Thu, 25 Oct 2007 19:59:31 +0000 (19:59 +0000)]
merged from onelab newplc-4.0.13 tag

16 years agomerge from onelab
Thierry Parmentelat [Thu, 25 Oct 2007 19:22:54 +0000 (19:22 +0000)]
merge from onelab

16 years agomerge from onelab
Thierry Parmentelat [Thu, 25 Oct 2007 19:22:37 +0000 (19:22 +0000)]
merge from onelab

16 years agoModified DocBook.py to use the same convention as NodeManager/doc/DocBook.py
Stephen Soltesz [Thu, 25 Oct 2007 16:40:36 +0000 (16:40 +0000)]
Modified DocBook.py to use the same convention as NodeManager/doc/DocBook.py
Added DocBookLocal.py for the local creation of a function list for DocBook.py

16 years agoRegression test script and cron
Faiyaz Ahmed [Wed, 24 Oct 2007 20:55:48 +0000 (20:55 +0000)]
Regression test script and cron

16 years agowe lost 'update_last_updated' method somehow. Added it back in
Tony Mack [Mon, 22 Oct 2007 18:19:35 +0000 (18:19 +0000)]
we lost 'update_last_updated' method somehow. Added it back in

16 years agoOnly build pycurl for older Fedora releases.
Marc Fiuczynski [Sun, 14 Oct 2007 18:11:35 +0000 (18:11 +0000)]
Only build pycurl for older Fedora releases.

16 years agodo not cache whitelisted nodes
Tony Mack [Wed, 10 Oct 2007 18:25:49 +0000 (18:25 +0000)]
do not cache whitelisted nodes

16 years ago- remove unnecessary print statement
Tony Mack [Wed, 3 Oct 2007 17:42:09 +0000 (17:42 +0000)]
- remove unnecessary print statement

16 years ago- merge from PlanetLab Europe
Tony Mack [Mon, 1 Oct 2007 20:59:41 +0000 (20:59 +0000)]
- merge from PlanetLab Europe

16 years ago- Merge from PlanetLab Europe
Tony Mack [Mon, 1 Oct 2007 20:51:47 +0000 (20:51 +0000)]
- Merge from PlanetLab Europe

16 years ago- dont allow duplicate attributes
Tony Mack [Mon, 1 Oct 2007 20:14:17 +0000 (20:14 +0000)]
- dont allow duplicate attributes

16 years ago- import Person, Persons
Tony Mack [Fri, 21 Sep 2007 20:16:26 +0000 (20:16 +0000)]
- import Person, Persons

16 years ago- allow any site member to add their slice to any node at their site, even if their...
Tony Mack [Thu, 20 Sep 2007 18:04:36 +0000 (18:04 +0000)]
- allow any site member to add their slice to any node at their site, even if their slice isnt on the node's whitelist

16 years ago- let everyone at a site see all the nodes at their site, even if the nodes have...
Tony Mack [Thu, 20 Sep 2007 17:55:17 +0000 (17:55 +0000)]
- let everyone at a site see all the nodes at their site, even if the nodes have a whitelist that their slice isnt on.

16 years agoThis file was merged from OneLab directly into our release branch.
Marc Fiuczynski [Fri, 14 Sep 2007 15:34:01 +0000 (15:34 +0000)]
This file was merged from OneLab directly into our release branch.
Also need this file to be on the cvs HEAD.

16 years agoImport from Thierry. These files are needed for Methods/*NodeNetworkSetting*.py
Marc Fiuczynski [Thu, 13 Sep 2007 21:16:18 +0000 (21:16 +0000)]
Import from Thierry.  These files are needed for Methods/*NodeNetworkSetting*.py

16 years ago- merge from PlanetLab Europe
Tony Mack [Thu, 13 Sep 2007 18:19:08 +0000 (18:19 +0000)]
- merge from PlanetLab Europe

16 years ago- merge from PlanetLab Europe
Tony Mack [Thu, 13 Sep 2007 18:12:54 +0000 (18:12 +0000)]
- merge from PlanetLab Europe

16 years ago- removing unused file
Tony Mack [Thu, 13 Sep 2007 18:06:50 +0000 (18:06 +0000)]
- removing unused file

16 years ago- merge from PlanetLab Europe
Tony Mack [Wed, 12 Sep 2007 21:43:41 +0000 (21:43 +0000)]
- merge from PlanetLab Europe

16 years ago- merge from PlanetLab Europe
Tony Mack [Wed, 12 Sep 2007 17:52:27 +0000 (17:52 +0000)]
- merge from PlanetLab Europe

16 years ago- update comments
Tony Mack [Mon, 10 Sep 2007 21:53:35 +0000 (21:53 +0000)]
- update comments
- remove unnecessary code

16 years ago- added new method GetSliceKeys
Tony Mack [Mon, 10 Sep 2007 21:31:40 +0000 (21:31 +0000)]
- added new method GetSliceKeys

16 years ago- returns user public key information
Tony Mack [Mon, 10 Sep 2007 21:31:21 +0000 (21:31 +0000)]
- returns user public key information
- Initial checkin of new API implementation

16 years agofix pycurl_incompatver value
Marc Fiuczynski [Fri, 31 Aug 2007 02:52:12 +0000 (02:52 +0000)]
fix pycurl_incompatver value

16 years agoDon't build local pycurl if curl_vernum >= 7.16.0
Marc Fiuczynski [Fri, 31 Aug 2007 02:46:47 +0000 (02:46 +0000)]
Don't build local pycurl if curl_vernum >= 7.16.0

16 years ago- update 'last_updated' field
Tony Mack [Wed, 22 Aug 2007 19:57:19 +0000 (19:57 +0000)]
- update 'last_updated' field

16 years ago- added update_last_updated(). Records when a record was last updated
Tony Mack [Wed, 22 Aug 2007 19:54:21 +0000 (19:54 +0000)]
- added update_last_updated(). Records when a record was last updated

16 years ago- only query required slice_fields
Tony Mack [Mon, 20 Aug 2007 20:37:25 +0000 (20:37 +0000)]
- only query required slice_fields

16 years ago- log fault details
Tony Mack [Mon, 20 Aug 2007 20:31:47 +0000 (20:31 +0000)]
- log fault details

16 years ago- allow SessionAuth()
Tony Mack [Mon, 20 Aug 2007 20:24:46 +0000 (20:24 +0000)]
- allow SessionAuth()

16 years ago- only query the node_fields we need
Tony Mack [Mon, 20 Aug 2007 19:11:55 +0000 (19:11 +0000)]
- only query the node_fields we need

16 years ago- limit what we log by default
Tony Mack [Mon, 20 Aug 2007 19:11:08 +0000 (19:11 +0000)]
- limit what we log by default

16 years agowildcard refresh-peer.py* so that FC6 rpmbuild doesn't complain
Marc Fiuczynski [Thu, 16 Aug 2007 18:41:30 +0000 (18:41 +0000)]
wildcard refresh-peer.py* so that FC6 rpmbuild doesn't complain

16 years ago- increment version/release
Tony Mack [Wed, 8 Aug 2007 19:58:43 +0000 (19:58 +0000)]
- increment version/release

16 years ago- create whitelist table/view after slices table is created because whitelist need...
Tony Mack [Wed, 8 Aug 2007 19:50:40 +0000 (19:50 +0000)]
- create whitelist table/view after slices table is created because whitelist need to reference slices

16 years ago- modified 'site_nodes' view to only return nodes that aren't marked 'deleted'
Tony Mack [Wed, 1 Aug 2007 17:01:01 +0000 (17:01 +0000)]
- modified 'site_nodes' view to only return nodes that aren't marked 'deleted'

16 years ago- Allow local admins to delete peer slices from local nodes.
Tony Mack [Thu, 26 Jul 2007 16:30:32 +0000 (16:30 +0000)]
- Allow local admins to delete peer slices from local nodes.
- Dont allow local admins to delete peer slices from peer nodes

16 years ago- fix typo when raising whitelist exception
Tony Mack [Thu, 26 Jul 2007 16:17:27 +0000 (16:17 +0000)]
- fix typo when raising whitelist exception

16 years ago- returns only nodes with a whitelist
Tony Mack [Mon, 23 Jul 2007 19:03:48 +0000 (19:03 +0000)]
- returns only nodes with a whitelist

16 years ago- added GetWhitelist() function
Tony Mack [Mon, 23 Jul 2007 19:02:45 +0000 (19:02 +0000)]
- added GetWhitelist() function

16 years ago- always query 'slice_ids_whitelist' so we can make sure only valid nodes are returne...
Tony Mack [Mon, 23 Jul 2007 19:02:17 +0000 (19:02 +0000)]
- always query 'slice_ids_whitelist' so we can make sure only valid nodes are returned. remove this field later if user hasnt specified it.
- fix nodes iterator bug.

16 years ago- allow plc to delete slice attributes on foreign slices
Tony Mack [Thu, 19 Jul 2007 17:46:22 +0000 (17:46 +0000)]
- allow plc to delete slice attributes on foreign slices

16 years ago- fix bug limited what nodes were returned to non admins
Tony Mack [Thu, 19 Jul 2007 16:43:22 +0000 (16:43 +0000)]
- fix bug limited what nodes were returned to non admins

16 years ago- make sure to handle anon callers correctly
Tony Mack [Mon, 16 Jul 2007 20:00:09 +0000 (20:00 +0000)]
- make sure to handle anon callers correctly

16 years ago- fixed filter bug
Tony Mack [Mon, 16 Jul 2007 19:33:38 +0000 (19:33 +0000)]
- fixed filter bug

16 years ago- Do not allow whitelist management of peer nodes
Tony Mack [Thu, 12 Jul 2007 18:09:10 +0000 (18:09 +0000)]
- Do not allow whitelist management of peer nodes

16 years ago- do not allow whitelist management of peer nodes
Tony Mack [Thu, 12 Jul 2007 18:07:42 +0000 (18:07 +0000)]
- do not allow whitelist management of peer nodes

16 years ago- added methods AddSliceToNodesWhitelist, DelteSliceFromNodesWhitelist
Tony Mack [Thu, 12 Jul 2007 18:03:10 +0000 (18:03 +0000)]
- added methods AddSliceToNodesWhitelist, DelteSliceFromNodesWhitelist

16 years ago- initial checkin of admin only method used to manage node whitelist
Tony Mack [Thu, 12 Jul 2007 18:02:12 +0000 (18:02 +0000)]
- initial checkin of admin only method used to manage node whitelist

16 years ago- if not admin, only return
Tony Mack [Thu, 12 Jul 2007 17:59:10 +0000 (17:59 +0000)]
- if not admin, only return
1) nodes without a whitelist
2) nodes with whitelist when users slice is on the whitelist

16 years ago- added add_to_node_whitelist() function
Tony Mack [Thu, 12 Jul 2007 17:56:27 +0000 (17:56 +0000)]
- added add_to_node_whitelist() function
- added delete_from_node_whitelist() function

16 years ago- added 'slice_ids_whitelist' Parameter to fields {}
Tony Mack [Thu, 12 Jul 2007 17:55:02 +0000 (17:55 +0000)]
- added 'slice_ids_whitelist' Parameter to fields {}

16 years ago- added node_slice_whitelist table
Tony Mack [Thu, 12 Jul 2007 17:48:19 +0000 (17:48 +0000)]
- added node_slice_whitelist table
- added node_slices_whitelist aggregate view
- updated view_nodes to include node_slices_whitelist view as 'slice_ids_whitelist' column

16 years ago- add refresh-peer.py to %files
Tony Mack [Tue, 3 Jul 2007 19:19:08 +0000 (19:19 +0000)]
- add refresh-peer.py to %files

16 years ago- bring back deprecated method AdmGenerateNodeConfFile as GenerateNodeConfFile
Tony Mack [Mon, 2 Jul 2007 20:22:56 +0000 (20:22 +0000)]
- bring back deprecated method AdmGenerateNodeConfFile as GenerateNodeConfFile
- you can now choose whether or not to regenerate the node key

16 years ago- install refresh-peer.py script
Tony Mack [Mon, 2 Jul 2007 19:28:52 +0000 (19:28 +0000)]
- install refresh-peer.py script

16 years ago- adding refresh-peer.py caching script to this module
Tony Mack [Mon, 2 Jul 2007 19:27:43 +0000 (19:27 +0000)]
- adding refresh-peer.py caching script to this module

16 years ago- do not allow disabled sites to create slices
Tony Mack [Thu, 14 Jun 2007 17:23:52 +0000 (17:23 +0000)]
- do not allow disabled sites to create slices

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

16 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

16 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