Barış Metin [Tue, 23 Mar 2010 14:57:44 +0000 (14:57 +0000)]
remove postgresql-devel dependency
Thierry Parmentelat [Mon, 22 Mar 2010 13:12:26 +0000 (13:12 +0000)]
omf_control slice tag
Barış Metin [Fri, 19 Mar 2010 14:35:54 +0000 (14:35 +0000)]
add omf log dir in spec and stop logging api method calls (but only xmpp messages)
Barış Metin [Fri, 19 Mar 2010 12:24:10 +0000 (12:24 +0000)]
try creating /OMF and /OMF/SYSTEM groups at start
Thierry Parmentelat [Sun, 14 Mar 2010 17:08:24 +0000 (17:08 +0000)]
Setting tag PLCAPI-5.0-4
do not use UpdateNode for handling the 'hrn' tag - should fix refresh peer & foreign nodes more generally
Tony Mack [Fri, 12 Mar 2010 23:31:56 +0000 (23:31 +0000)]
cannot use UpdateNode to force an update of the 'hrn' node tag for peer nodes becuase calling UpdateNode on peer nodes is not allowed. Lets define an lets define an update_tags() method in the Node class (source stolen from UpdateNode) and just call Node.update_tags() within Peer.add_node() and Peer.remove_node()
Thierry Parmentelat [Fri, 12 Mar 2010 20:32:37 +0000 (20:32 +0000)]
Setting tag PLCAPI-5.0-3
slice tag 'omf_control' supported for getting OMF's resource controller shipped to slivers
pyaspect hooks allow to maintain the namespace xmpp groups
new omf_slicemgr is a proxy to xmpp, used by these hooks
nodes have their hrn exposed in the 'hrn' tag
node hrn exposed in GetSlivers, as well as the overall xmpp config
system slice 'drl' gets created by db-config
daniel's changes to Filter for supporting wildcards in lists
AddSliceTag consistency check tweaked
Barış Metin [Fri, 12 Mar 2010 17:00:26 +0000 (17:00 +0000)]
install reset_xmpp_pubsub_nodes.py
Barış Metin [Fri, 12 Mar 2010 16:55:40 +0000 (16:55 +0000)]
reset_xmpp_pubsub_nodes.py will remove all nodes and re-create for all
slices and nodes attached to the slices.
Barış Metin [Fri, 12 Mar 2010 16:06:06 +0000 (16:06 +0000)]
fix observer for pubsub/configure
Barış Metin [Fri, 12 Mar 2010 16:05:53 +0000 (16:05 +0000)]
we'll need to import omf_slicemgr
Barış Metin [Fri, 12 Mar 2010 15:23:13 +0000 (15:23 +0000)]
start adding node configuration, but unfortunately ejabberd doesn't support this feature yet, this will wait for a while
Barış Metin [Fri, 12 Mar 2010 14:30:09 +0000 (14:30 +0000)]
implement publish_to_node
Barış Metin [Fri, 12 Mar 2010 14:29:54 +0000 (14:29 +0000)]
* re-enable error handling in create_node results.
* add subscribe_to_node method.
* subscribe to all nodes created.
Thierry Parmentelat [Fri, 12 Mar 2010 14:20:24 +0000 (14:20 +0000)]
refresh nodes hrns at startup
Thierry Parmentelat [Fri, 12 Mar 2010 13:30:50 +0000 (13:30 +0000)]
fix adding nodes, and the sync target in the process
Barış Metin [Fri, 12 Mar 2010 10:28:40 +0000 (10:28 +0000)]
try fixing cyclic import
Thierry Parmentelat [Fri, 12 Mar 2010 10:19:48 +0000 (10:19 +0000)]
expose node hrn to the OMF resource controller
Tony Mack [Thu, 11 Mar 2010 22:30:38 +0000 (22:30 +0000)]
define the 'hrn' node tag
Tony Mack [Thu, 11 Mar 2010 22:26:49 +0000 (22:26 +0000)]
dont forget to define shell in remove_node
Tony Mack [Thu, 11 Mar 2010 22:24:08 +0000 (22:24 +0000)]
Store node's hrn (SFA specific human readable name) using the 'hrn' tag. This tag is automatically added to the node when AddNode() is called and is updated when either UpdateNode(), Peer.add_node(), Peer.remove_node() is called
Barış Metin [Wed, 10 Mar 2010 23:29:48 +0000 (23:29 +0000)]
get some basic pubsub groups information from our xmpp client
Barış Metin [Wed, 10 Mar 2010 22:42:23 +0000 (22:42 +0000)]
start/stop omf-slicemgr properly
Barış Metin [Wed, 10 Mar 2010 22:42:06 +0000 (22:42 +0000)]
listen localhost for xml-rpc requests, until we have some sort of authentication.
Barış Metin [Wed, 10 Mar 2010 16:04:57 +0000 (16:04 +0000)]
use node_id or hostname in get_node_hostname
Thierry Parmentelat [Wed, 10 Mar 2010 15:51:51 +0000 (15:51 +0000)]
change the way 'vref' gets set on omf-control'ed slivers
Barış Metin [Wed, 10 Mar 2010 10:23:43 +0000 (10:23 +0000)]
don't bother with isinstance, a better way to get an int or str.
Thierry Parmentelat [Tue, 9 Mar 2010 17:09:04 +0000 (17:09 +0000)]
fix setting name
Thierry Parmentelat [Tue, 9 Mar 2010 11:45:00 +0000 (11:45 +0000)]
define omf_control tag
Thierry Parmentelat [Tue, 9 Mar 2010 11:44:12 +0000 (11:44 +0000)]
expose omf-related xmpp settings in getSlivers
Barış Metin [Mon, 8 Mar 2010 17:26:33 +0000 (17:26 +0000)]
fix xmlrpc interface
Barış Metin [Mon, 8 Mar 2010 17:26:15 +0000 (17:26 +0000)]
quick fix to start omf-slicemgr
Barış Metin [Mon, 8 Mar 2010 15:26:14 +0000 (15:26 +0000)]
this shall work
Barış Metin [Mon, 8 Mar 2010 15:20:20 +0000 (15:20 +0000)]
fix
Barış Metin [Mon, 8 Mar 2010 15:15:31 +0000 (15:15 +0000)]
get them installed
Barış Metin [Mon, 8 Mar 2010 15:10:04 +0000 (15:10 +0000)]
xmpp requests are handled by omf-slicemgr.py's xmlrpc interface. don't need the backend here.
Barış Metin [Mon, 8 Mar 2010 15:08:18 +0000 (15:08 +0000)]
OMF integration for plcapi, only activated when PLC_OMF_ENABLED is true.
omfaspects.py wraps PLCAPI method calls and manages XMPP PubSub groups for slices and nodes added to slices.
Barış Metin [Fri, 5 Mar 2010 14:09:53 +0000 (14:09 +0000)]
fix Filter.py
S.Çağlar Onur [Mon, 1 Mar 2010 21:47:17 +0000 (21:47 +0000)]
DRL tag
Daniel Hokka Zakrisson [Sun, 28 Feb 2010 23:12:35 +0000 (23:12 +0000)]
Allow wildcards in lists.
Marc Fiuczynski [Mon, 22 Feb 2010 18:47:52 +0000 (18:47 +0000)]
corner case: permit adding a slice tag/attribute when there exist sliver attributes of the same name
Thierry Parmentelat [Thu, 11 Feb 2010 15:17:36 +0000 (15:17 +0000)]
Setting tag PLCAPI-5.0-2
major cleanup
get rid of all 4.2-related legacy code
reset the migrations code, planetlab5.sql somes with (5,100)
uses hashlib module when available
Barış Metin [Wed, 10 Feb 2010 16:23:46 +0000 (16:23 +0000)]
fallback to old modules for centos5 (python 2.4)
Barış Metin [Wed, 10 Feb 2010 09:54:10 +0000 (09:54 +0000)]
use hashlib as md5 and sha are deprecated
Thierry Parmentelat [Sat, 6 Feb 2010 14:38:35 +0000 (14:38 +0000)]
fix order
Thierry Parmentelat [Sat, 6 Feb 2010 12:55:18 +0000 (12:55 +0000)]
migrations/v42-to-v42 has gone
Thierry Parmentelat [Sat, 6 Feb 2010 12:53:01 +0000 (12:53 +0000)]
oops
Thierry Parmentelat [Sat, 6 Feb 2010 12:27:26 +0000 (12:27 +0000)]
end cleanup the legacy stuff
Thierry Parmentelat [Fri, 5 Feb 2010 17:27:49 +0000 (17:27 +0000)]
cleanup v42 legacy - GetSlivers exports 'interfaces' - needs related change in nm
Thierry Parmentelat [Thu, 4 Feb 2010 15:23:26 +0000 (15:23 +0000)]
svn:keywords
Thierry Parmentelat [Thu, 4 Feb 2010 15:22:15 +0000 (15:22 +0000)]
start the db from a clean slate
Thierry Parmentelat [Fri, 29 Jan 2010 14:28:40 +0000 (14:28 +0000)]
Setting tag PLCAPI-5.0-1
first working version of 5.0:
pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to
nodefamily is 3-fold with pldistro-fcdistro-arch
site and person tags
new methods GetSliceFamily and GetNodeFlavour
deprecated the dummynet stuff that were for the external dummyboxes
tags definition : more consistency between db-config scripts and accessors
(get accessor to create the tag type too if absent)
logging an event for AddSliceToNodes
Thierry Parmentelat [Thu, 28 Jan 2010 14:12:32 +0000 (14:12 +0000)]
fixed broken slice-creation
Thierry Parmentelat [Thu, 28 Jan 2010 14:10:54 +0000 (14:10 +0000)]
svn:keywords
Thierry Parmentelat [Tue, 26 Jan 2010 19:50:20 +0000 (19:50 +0000)]
reconcile accessors and db-config tags scripts
Thierry Parmentelat [Tue, 26 Jan 2010 17:20:29 +0000 (17:20 +0000)]
fix bootstrapfs names, and add fcdistro to extension tarballs
Thierry Parmentelat [Tue, 26 Jan 2010 16:43:37 +0000 (16:43 +0000)]
revised accessor factory; tagtype gets created on Get... methods, and maintain a cache in the Accessor (singleton) class
Thierry Parmentelat [Tue, 26 Jan 2010 16:22:52 +0000 (16:22 +0000)]
need auth in this context
Thierry Parmentelat [Tue, 26 Jan 2010 14:05:23 +0000 (14:05 +0000)]
oops
Thierry Parmentelat [Tue, 26 Jan 2010 13:57:24 +0000 (13:57 +0000)]
3-fold nodefamily now has fcdistro as well
Thierry Parmentelat [Tue, 26 Jan 2010 13:53:17 +0000 (13:53 +0000)]
remove dead kwds
Thierry Parmentelat [Tue, 26 Jan 2010 13:52:27 +0000 (13:52 +0000)]
remove dead kwds
Thierry Parmentelat [Mon, 25 Jan 2010 20:06:06 +0000 (20:06 +0000)]
use major numbers in conflicts
Thierry Parmentelat [Mon, 25 Jan 2010 16:35:41 +0000 (16:35 +0000)]
tweaked - should be in sync with bm-5.0
Barış Metin [Mon, 25 Jan 2010 16:34:13 +0000 (16:34 +0000)]
add message attribute to let AddSliceToNodes method logged.
Thierry Parmentelat [Mon, 25 Jan 2010 15:30:21 +0000 (15:30 +0000)]
tweaked to work
Thierry Parmentelat [Mon, 25 Jan 2010 15:12:06 +0000 (15:12 +0000)]
new GetNodeFlavour method based on PLC_FLAVOUR category + optional node tags
Thierry Parmentelat [Thu, 21 Jan 2010 17:23:16 +0000 (17:23 +0000)]
Thierry Parmentelat [Thu, 21 Jan 2010 11:24:46 +0000 (11:24 +0000)]
Branch 5.0 for module PLCAPI created (as new trunk) from tag PLCAPI-4.3-32
Stephen Soltesz [Wed, 20 Jan 2010 16:45:25 +0000 (16:45 +0000)]
db is still using 4.x versioning so change subversion number to 11
Thierry Parmentelat [Tue, 19 Jan 2010 22:38:26 +0000 (22:38 +0000)]
new global PLC_FLAVOUR category to globally chose sliver vref image
new method GetSliceFamily, value passed in GetSlivers
NodeManager does not have this logic anymore
Thierry Parmentelat [Tue, 19 Jan 2010 16:04:32 +0000 (16:04 +0000)]
move the 'Requires: pcucontrol' from myplc to PLCAPI, as it's needed by RebootNodeWithPCU
fix pcucontrol use of old-fashioned 'which'
Thierry Parmentelat [Tue, 19 Jan 2010 13:41:14 +0000 (13:41 +0000)]
missing files to install
Thierry Parmentelat [Tue, 19 Jan 2010 11:55:09 +0000 (11:55 +0000)]
split plc.d/ and db-config.d between myplc and plcapi modules as a first step
conf_files would move to nodeconfig
some other stuff ready to move to the appropriat module as well
Marta Carbone [Mon, 18 Jan 2010 11:19:04 +0000 (11:19 +0000)]
Added comment.
Marta Carbone [Mon, 18 Jan 2010 08:35:30 +0000 (08:35 +0000)]
Removed dummynet stuff.
Thierry Parmentelat [Tue, 12 Jan 2010 14:42:55 +0000 (14:42 +0000)]
better error message
Thierry Parmentelat [Sat, 9 Jan 2010 07:44:14 +0000 (07:44 +0000)]
Setting tag PLCAPI-4.3-32
support for fedora 12
fix subtle bug in filering with ] and quotes
Thierry Parmentelat [Thu, 7 Jan 2010 10:18:14 +0000 (10:18 +0000)]
for python-2.6
Barış Metin [Wed, 6 Jan 2010 15:01:27 +0000 (15:01 +0000)]
quote value for all operators (thanks to Jordan for the fix)
Barış Metin [Fri, 18 Dec 2009 17:57:48 +0000 (17:57 +0000)]
Setting tag PLCAPI-4.3-31
* patch for php-5.3 (the one in f12)
* validate email addresses with regex
* add PersonTags and SiteTags
* add additional accessors for node tags (kvariant, serial, ..)
Thierry Parmentelat [Thu, 17 Dec 2009 17:04:34 +0000 (17:04 +0000)]
patch for php-5.3 (the one in f12)
Barış Metin [Mon, 14 Dec 2009 10:19:23 +0000 (10:19 +0000)]
regex fix: escape the first '-' too, add start/end of the string.
Anil-Kumar Vengalil [Mon, 14 Dec 2009 09:42:31 +0000 (09:42 +0000)]
hyphen in regular expression needs to be escaped
Anil-Kumar Vengalil [Mon, 14 Dec 2009 08:53:38 +0000 (08:53 +0000)]
nightly was failing with invalid email address, as the host part of e-mail address did not allow hyphen to be part of it
Barış Metin [Fri, 11 Dec 2009 14:17:17 +0000 (14:17 +0000)]
use regex to validate email address.
was there a specific reason to try parsing the address manually? if so please let me know and I'll revert this.
Stephen Soltesz [Tue, 1 Dec 2009 17:08:37 +0000 (17:08 +0000)]
Add PersonTags as well. Performed a simple test but not extensive regression
tests (i.e. by non-admin users, etc)
Stephen Soltesz [Mon, 30 Nov 2009 23:28:49 +0000 (23:28 +0000)]
should be no change.
Thierry Parmentelat [Thu, 19 Nov 2009 07:39:02 +0000 (07:39 +0000)]
oops
Thierry Parmentelat [Wed, 18 Nov 2009 20:06:12 +0000 (20:06 +0000)]
options override tags - mention tags in __doc__
Thierry Parmentelat [Wed, 18 Nov 2009 20:03:51 +0000 (20:03 +0000)]
accessors for the bootcd tags
Thierry Parmentelat [Sun, 15 Nov 2009 12:51:14 +0000 (12:51 +0000)]
example
Stephen Soltesz [Fri, 13 Nov 2009 22:33:07 +0000 (22:33 +0000)]
add site_tags : GetSites() now returns 'site_tag_ids' attribute.
added Add/Delete/Get/UpdateSiteTag*() methods
added SiteTags.py to define the site tags table. Similar to the other Tag tables
Stephen Soltesz [Fri, 13 Nov 2009 20:31:08 +0000 (20:31 +0000)]
add site and person tags to the planetlab5 schema. Update the subversion to 1.
Marc Fiuczynski [Tue, 3 Nov 2009 21:11:15 +0000 (21:11 +0000)]
Setting tag PLCAPI-4.3-30
Redacting password, session, and authstring values from the event log.
Marc Fiuczynski [Fri, 30 Oct 2009 22:08:52 +0000 (22:08 +0000)]
Right now all passwords that showed up via AddPerson/UpdatePerson are
in the events table. This is not good from a security perspective.
I've adjusted the log() method to redact passwords, auth string, and
session values in call API method arguments.
Thierry Parmentelat [Mon, 19 Oct 2009 08:32:50 +0000 (08:32 +0000)]
Setting tag PLCAPI-4.3-29
let AddSite set ext_consortium_id - required for the poorman registration pages
drop version constraint on Requires: postgresql-python
don't log system calls nor ReportRunLevel
Thierry Parmentelat [Fri, 16 Oct 2009 17:13:43 +0000 (17:13 +0000)]
www registration page needs to set ext_consortium_id
Barış Metin [Fri, 16 Oct 2009 09:21:22 +0000 (09:21 +0000)]
drop the version requirement for postgresql-python altogether. Having the requirement for postgresql and postgresql-server is
also sufficiant for Fedora builds.
Tony Mack [Fri, 16 Oct 2009 00:34:48 +0000 (00:34 +0000)]
dont log system calls