plcapi.git
13 years agoFix version output when missing. extensible
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 23:10:31 +0000 (19:10 -0400)]
Fix version output when missing.

13 years agoAlready scoped properly.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 23:10:05 +0000 (19:10 -0400)]
Already scoped properly.

13 years agoFix auth extensibility.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 22:39:31 +0000 (18:39 -0400)]
Fix auth extensibility.

13 years agoRemember to insert the version.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 22:30:54 +0000 (18:30 -0400)]
Remember to insert the version.

13 years agoCleanup old targets in Makefile.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 22:20:36 +0000 (18:20 -0400)]
Cleanup old targets in Makefile.

13 years agoCreate extensions directory.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 22:10:25 +0000 (18:10 -0400)]
Create extensions directory.

13 years agoAdd migration files for the extensions.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 21:46:50 +0000 (17:46 -0400)]
Add migration files for the extensions.

13 years agoApply extensions.
Daniel Hokka Zakrisson [Sat, 16 Oct 2010 21:39:30 +0000 (17:39 -0400)]
Apply extensions.

13 years agoBe consistent in the API.
Daniel Hokka Zakrisson [Fri, 15 Oct 2010 14:12:41 +0000 (10:12 -0400)]
Be consistent in the API.

13 years agoImprove filter.
Daniel Hokka Zakrisson [Fri, 15 Oct 2010 09:34:17 +0000 (05:34 -0400)]
Improve filter.

13 years agoDon't generate __init__ files.
Daniel Hokka Zakrisson [Fri, 15 Oct 2010 08:54:58 +0000 (04:54 -0400)]
Don't generate __init__ files.

13 years agoMake the authentication system extensible.
Daniel Hokka Zakrisson [Fri, 15 Oct 2010 08:23:30 +0000 (04:23 -0400)]
Make the authentication system extensible.

13 years agoAdd a more instructive Event message to reconstruct what actually occurred as
Stephen Soltesz [Thu, 7 Oct 2010 16:56:39 +0000 (12:56 -0400)]
Add a more instructive Event message to reconstruct what actually occurred as
well as the return value from the reboot attempt.

13 years agofix NameError.
Barış Metin [Thu, 23 Sep 2010 10:00:09 +0000 (12:00 +0200)]
fix NameError.

13 years agodon't apply all aspects blindly (although there is only one for the moment...)
Barış Metin [Thu, 23 Sep 2010 09:35:05 +0000 (11:35 +0200)]
don't apply all aspects blindly (although there is only one for the moment...)

13 years agoImplement ignore_exception decorator and use it for omfaspect
Barış Metin [Wed, 22 Sep 2010 15:47:31 +0000 (17:47 +0200)]
Implement ignore_exception decorator and use it for omfaspect
methods. This should prevent the omfaspect fail plcapi calls.

13 years agoSetting tag plcapi-5.0-18 plcapi-5.0-18
Thierry Parmentelat [Thu, 16 Sep 2010 11:10:19 +0000 (13:10 +0200)]
Setting tag plcapi-5.0-18
fix RefreshPeer that was not working in 5.0-17

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 16 Sep 2010 11:09:15 +0000 (13:09 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agooops, refreshpeer in tag plcapi-5.0-17 is broken
Thierry Parmentelat [Thu, 16 Sep 2010 11:09:08 +0000 (13:09 +0200)]
oops, refreshpeer in tag plcapi-5.0-17 is broken

13 years agoSetting tag plcapi-5.0-17 plcapi-5.0-17
Thierry Parmentelat [Thu, 16 Sep 2010 07:35:02 +0000 (09:35 +0200)]
Setting tag plcapi-5.0-17
RefreshPeer is able to cope with 2 peers running different releases of the api
DeletePerson can be used on duplicates
first appearance of ModPythonJson.py

13 years agocompatibility mode, support for 2 ends running different api releases
Thierry Parmentelat [Wed, 15 Sep 2010 13:46:59 +0000 (15:46 +0200)]
compatibility mode, support for 2 ends running different api releases
tweaked verbose mode and focus for debugging specific entries

13 years agoreplace filter(lambda) with [ .. for .. if ..]
Thierry Parmentelat [Wed, 15 Sep 2010 13:45:28 +0000 (15:45 +0200)]
replace filter(lambda) with [ .. for .. if ..]

13 years agoavoid running validate on DeletePerson
Thierry Parmentelat [Wed, 15 Sep 2010 12:16:41 +0000 (14:16 +0200)]
avoid running validate on DeletePerson
this is for when the db accidentally has duplicates, as we found after
a big RefreshPeer hiccup
cleaning up manually through SQL in similar cases is discouraged

13 years agoMerge commit 'local_master/master'
root [Thu, 2 Sep 2010 14:23:02 +0000 (16:23 +0200)]
Merge commit 'local_master/master'

13 years agoSetting tag plcapi-5.0-16 plcapi-5.0-16
Thierry Parmentelat [Wed, 1 Sep 2010 08:40:30 +0000 (10:40 +0200)]
Setting tag plcapi-5.0-16
set accessors return the new value
tweaks in the pubsub groups management

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Wed, 1 Sep 2010 08:21:33 +0000 (10:21 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agoonly comments
Thierry Parmentelat [Wed, 1 Sep 2010 08:21:26 +0000 (10:21 +0200)]
only comments

13 years agoSet accessors return the new value
Thierry Parmentelat [Tue, 31 Aug 2010 14:05:04 +0000 (16:05 +0200)]
Set accessors return the new value

13 years agouse jsonlib (if available) before using simplejson
Tony Mack [Tue, 10 Aug 2010 20:03:40 +0000 (16:03 -0400)]
use jsonlib (if available) before using simplejson

13 years agoadded handle_json() method
Tony Mack [Sat, 7 Aug 2010 14:58:06 +0000 (10:58 -0400)]
added handle_json() method

13 years agoInitial checkin of mod_python json interface
Tony Mack [Sat, 7 Aug 2010 14:55:15 +0000 (10:55 -0400)]
Initial checkin of mod_python json interface

13 years agoAdding python-simplejson requirement
Tony Mack [Sat, 7 Aug 2010 14:51:51 +0000 (10:51 -0400)]
Adding python-simplejson requirement

13 years agoMerge remote branch 'origin/master'
Barış Metin [Sat, 31 Jul 2010 10:56:34 +0000 (12:56 +0200)]
Merge remote branch 'origin/master'

13 years agouse hrn to re-create pubsub groups
Barış Metin [Sat, 31 Jul 2010 10:56:03 +0000 (12:56 +0200)]
use hrn to re-create pubsub groups

13 years agoSetting tag plcapi-5.0-15 plcapi-5.0-15
S.Çağlar Onur [Wed, 28 Jul 2010 21:00:27 +0000 (17:00 -0400)]
Setting tag plcapi-5.0-15
convert hostnames to lower case and use ILIKE instead of LIKE

13 years agouse ILIKE instead of LIKE for case-insensitive searches
S.Çağlar Onur [Thu, 22 Jul 2010 20:46:22 +0000 (16:46 -0400)]
use ILIKE instead of LIKE for case-insensitive searches

13 years agouse lowercase hostnames
S.Çağlar Onur [Thu, 22 Jul 2010 20:39:12 +0000 (16:39 -0400)]
use lowercase hostnames

13 years agoSetting tag plcapi-5.0-14 plcapi-5.0-14
Barış Metin [Fri, 16 Jul 2010 12:34:28 +0000 (14:34 +0200)]
Setting tag plcapi-5.0-14
use hrn in pubsub groups

13 years agouse node's hrn instead of the hostname to create xmpp pubsub groups
Barış Metin [Fri, 16 Jul 2010 08:23:27 +0000 (10:23 +0200)]
use node's hrn instead of the hostname to create xmpp pubsub groups

13 years agoSetting tag plcapi-5.0-13 plcapi-5.0-13
Barış Metin [Tue, 13 Jul 2010 16:27:41 +0000 (18:27 +0200)]
Setting tag plcapi-5.0-13
- Add timestamps to Nodes, PCUs and Interfaces to make concrete statements about a node's configuration state.
- OMF fixes

13 years agotry fixing: BootUpdateNode: Invalid argument: Timestamp None - unsupported type ...
Barış Metin [Mon, 12 Jul 2010 13:35:12 +0000 (15:35 +0200)]
try fixing: BootUpdateNode: Invalid argument: Timestamp None - unsupported type <type 'NoneType'>">

13 years agomethods' return values need to be handled separately
Barış Metin [Fri, 9 Jul 2010 17:19:02 +0000 (19:19 +0200)]
methods' return values need to be handled separately

13 years agofix typo
Barış Metin [Fri, 9 Jul 2010 17:17:40 +0000 (19:17 +0200)]
fix typo

13 years agorequire pyaspect >= 0.4
Barış Metin [Fri, 9 Jul 2010 15:23:51 +0000 (17:23 +0200)]
require pyaspect >= 0.4

13 years agounify handling calls in before and after aspects. check method's return value before...
Barış Metin [Fri, 9 Jul 2010 15:15:00 +0000 (17:15 +0200)]
unify handling calls in before and after aspects. check method's return value before proceeding with the aspect's actions.

13 years agoAdd timestamps to Nodes, PCUs and Interfaces to make concrete
Stephen Soltesz [Fri, 2 Jul 2010 23:56:48 +0000 (19:56 -0400)]
Add timestamps to Nodes, PCUs and Interfaces to make concrete
statements about a node's configuration state.

Added:
    Node.last_boot             -- updated by BootUpdateNode()
    Node.last_download         -- updated by GetBootMedium()
    Node.last_pcu_reboot       -- updated by RebootNodeWithPCU()
    Node.last_pcu_confirmation -- updated by BootUpdateNode()
    Interface.last_updated     -- updated by UpdateInterface()
    PCU.last_updated           -- updated by UpdatePCU()

With these timestamps we can implement isValid() routines that indicate
whether the DB state is consistent with respect to the external deployment.
Previously, the DB state could be inconsistent, but there was no way to
identify this until runtime.  These checks should make it possible to validate
the DB state prior to runtime.

Also, isValid() is different from whether a node is online.  A node can be
offline and have a valid DB state.

For instance (in pseudocode):

    def Node.isValid():
        return Node.last_download < Node.last_boot &&
                Node.PCU.isValid(Node) &&
                Node.Interface.isValid(Node)

    def PCU.isValid(Node):
        return PCU.last_updated < Node.last_pcu_confirmation

    def Interface.isValid(Node):
        return Interface.last_updated < Node.last_download

In other words, if the primary interface for a node is updated more recently
than a bootimage is downloaded, then the DB configuration is out of sync with
the node deployment.

If the PCU is updated more recently than the last confirmed use of the PCU,
then the DB configuration is potentially out of sync with the deployment.

If the Node has downloaded a boot image prior to rebooting, then the DB config
is potentially out of sync with the deployment.

All of these states can be flagged in the GUI to help a technical contact
known the status of his configuration and deployment more easily.  The
recommended steps to take should be straight forward based on the conditions
above.  i.e. Create new boot image, reboot node, verify PCU, etc.

13 years agoAdd timestamps to Nodes, PCUs and Interfaces to make concrete
Stephen Soltesz [Fri, 2 Jul 2010 23:49:54 +0000 (19:49 -0400)]
Add timestamps to Nodes, PCUs and Interfaces to make concrete
statements about a node's configuration state.

Added:
    Node.last_boot             -- updated by BootUpdateNode()
    Node.last_download         -- updated by GetBootMedium()
    Node.last_pcu_reboot       -- updated by RebootNodeWithPCU()
    Node.last_pcu_confirmation -- updated by BootUpdateNode()
    Interface.last_updated     -- updated by UpdateInterface()
    PCU.last_updated           -- updated by UpdatePCU()

With these timestamps we can implement isValid() routines that indicate
whether the DB state is consistent with respect to the external deployment.
Previously, the DB state could be inconsistent, but there was no way to
identify this until runtime.  These checks should make it possible to validate
the DB state prior to runtime.

Also, isValid() is different from whether a node is online.  A node can be
offline and have a valid DB state.

For instance (in pseudocode):

    def Node.isValid():
        return Node.last_download < Node.last_boot &&
                Node.PCU.isValid(Node) &&
                Node.Interface.isValid(Node)

    def PCU.isValid(Node):
        return PCU.last_updated < Node.last_pcu_confirmation

    def Interface.isValid(Node):
        return Interface.last_updated < Node.last_download

In other words, if the primary interface for a node is updated more recently
than a bootimage is downloaded, then the DB configuration is out of sync with
the node deployment.

If the PCU is updated more recently than the last confirmed use of the PCU,
then the DB configuration is potentially out of sync with the deployment.

If the Node has downloaded a boot image prior to rebooting, then the DB config
is potentially out of sync with the deployment.

All of these states can be flagged in the GUI to help a technical contact
known the status of his configuration and deployment more easily.  The
recommended steps to take should be straight forward based on the conditions
above.  i.e. Create new boot image, reboot node, verify PCU, etc.

13 years agoSetting tag PLCAPI-5.0-12
Barış Metin [Mon, 28 Jun 2010 10:54:47 +0000 (10:54 +0000)]
Setting tag PLCAPI-5.0-12
automatically set vsys tag for omf controlled slices

13 years agoomfaspect now weaves AddSliceTag to track omf_control and sets vsys
Barış Metin [Mon, 28 Jun 2010 10:51:10 +0000 (10:51 +0000)]
omfaspect now weaves AddSliceTag to track omf_control and sets vsys
tag (dotsshmount) automatically.

13 years agoSetting tag PLCAPI-5.0-11
Thierry Parmentelat [Sat, 26 Jun 2010 05:57:02 +0000 (05:57 +0000)]
Setting tag PLCAPI-5.0-11
addition of the 'ssh_key' slice tag
first draft of the LDAP interface

13 years agoadded python-ldap requirement
Tony Mack [Thu, 24 Jun 2010 17:43:13 +0000 (17:43 +0000)]
added python-ldap requirement

13 years agoinitial checkin of LDAP interface
Tony Mack [Thu, 24 Jun 2010 17:25:06 +0000 (17:25 +0000)]
initial checkin of LDAP interface

13 years agonew tag ssh_key
Thierry Parmentelat [Thu, 24 Jun 2010 14:57:42 +0000 (14:57 +0000)]
new tag ssh_key

13 years agorequires mod_wsgi
Tony Mack [Wed, 23 Jun 2010 20:09:48 +0000 (20:09 +0000)]
requires mod_wsgi

13 years agoSetting tag PLCAPI-5.0-10
Thierry Parmentelat [Tue, 22 Jun 2010 19:02:12 +0000 (19:02 +0000)]
Setting tag PLCAPI-5.0-10
reservation granularity defined in plc-config-tty (requires myplc 5.0.5)
and readable through GetLeaseGranularity
GetSlivers to expose reservation_policy and lease_granularity
GetBootMedium fixed for reservable nodes
tweaks in pcucontrol (requires pcucontrol-1.0-6)
new Apache mod_wsgi python interface

13 years ago- Change .py files to use 4-space indents and no hard tab characters.
S.Çağlar Onur [Tue, 22 Jun 2010 18:56:38 +0000 (18:56 +0000)]
- Change .py files to use 4-space indents and no hard tab characters.
- Trim excess spaces and tabs from ends of lines, and remove empty lines at the end of files.
- Ensure the last line ends with a newline.

13 years agofix required version of pcucontrol
Thierry Parmentelat [Tue, 22 Jun 2010 04:17:56 +0000 (04:17 +0000)]
fix required version of pcucontrol

13 years agoadd a parameter to RebootNodeWithPCU to perform a 'testrun' without rebooting the...
Stephen Soltesz [Fri, 18 Jun 2010 19:51:25 +0000 (19:51 +0000)]
add a parameter to RebootNodeWithPCU to perform a 'testrun' without rebooting the node.

13 years agoinitial checkin of mod_wsgi interface
Tony Mack [Fri, 18 Jun 2010 00:00:39 +0000 (00:00 +0000)]
initial checkin of mod_wsgi interface

13 years agotweaks for reservable nodes
Thierry Parmentelat [Mon, 14 Jun 2010 10:48:19 +0000 (10:48 +0000)]
tweaks for reservable nodes

13 years agoexpose slice name in leases
Thierry Parmentelat [Thu, 10 Jun 2010 17:12:08 +0000 (17:12 +0000)]
expose slice name in leases

13 years agofix usage of the 'kargs' node tag
Thierry Parmentelat [Thu, 10 Jun 2010 14:53:42 +0000 (14:53 +0000)]
fix usage of the 'kargs' node tag

13 years agoreverting changeset 18126 - ruins the no-hangcheck option - waiting for caglar input
Thierry Parmentelat [Thu, 10 Jun 2010 08:18:06 +0000 (08:18 +0000)]
reverting changeset 18126 - ruins the no-hangcheck option - waiting for caglar input

13 years agouse granularity from config
Thierry Parmentelat [Thu, 10 Jun 2010 08:13:23 +0000 (08:13 +0000)]
use granularity from config

13 years agofor reservable nodes - granularity still hardwired in PLC/Leases
Thierry Parmentelat [Wed, 9 Jun 2010 17:57:53 +0000 (17:57 +0000)]
for reservable nodes - granularity still hardwired in PLC/Leases

13 years agoexpose reservation policy
Thierry Parmentelat [Wed, 2 Jun 2010 09:34:27 +0000 (09:34 +0000)]
expose reservation policy

13 years agofix IndexError: list index out of range
S.Çağlar Onur [Wed, 26 May 2010 18:12:03 +0000 (18:12 +0000)]
fix IndexError: list index out of range

13 years agopass kernel arguments correctly to the build.sh
S.Çağlar Onur [Mon, 24 May 2010 16:46:05 +0000 (16:46 +0000)]
pass kernel arguments correctly to the build.sh

13 years agoSetting tag PLCAPI-5.0-9
Thierry Parmentelat [Sat, 15 May 2010 03:23:27 +0000 (03:23 +0000)]
Setting tag PLCAPI-5.0-9
the leases system

13 years agomake xmlrpclib happy, marshal None
Barış Metin [Mon, 10 May 2010 18:10:34 +0000 (18:10 +0000)]
make xmlrpclib happy, marshal None

13 years agoexpose leases to nodes
Thierry Parmentelat [Thu, 6 May 2010 19:25:58 +0000 (19:25 +0000)]
expose leases to nodes

13 years agoFirst draft for leases
Thierry Parmentelat [Mon, 3 May 2010 14:44:26 +0000 (14:44 +0000)]
First draft for leases
WARNING: this change sets the SQL timezone to UTC
leases are not yet exposed to GetSlivers in this delivery
all code for handling time (Timestamp, Duration) gathered in the new PLC/Timestamp.py file

13 years agocosmetic
Thierry Parmentelat [Tue, 27 Apr 2010 16:28:51 +0000 (16:28 +0000)]
cosmetic

13 years agosvn keywords
Thierry Parmentelat [Tue, 27 Apr 2010 11:13:13 +0000 (11:13 +0000)]
svn keywords

13 years agocosmetic
Thierry Parmentelat [Tue, 27 Apr 2010 11:11:41 +0000 (11:11 +0000)]
cosmetic

14 years agoSetting tag PLCAPI-5.0-8
Thierry Parmentelat [Wed, 14 Apr 2010 15:54:07 +0000 (15:54 +0000)]
Setting tag PLCAPI-5.0-8
previous tag had gone wrong

14 years agosame tagging issue again - I have fixed the cause but this needs to be repaired
Thierry Parmentelat [Wed, 14 Apr 2010 15:52:52 +0000 (15:52 +0000)]
same tagging issue again - I have fixed the cause but this needs to be repaired

14 years agostore the node actual config in the tags, from the defaults
Thierry Parmentelat [Wed, 14 Apr 2010 13:54:01 +0000 (13:54 +0000)]
store the node actual config in the tags, from the defaults

14 years agoSetting tag PLCAPI-5.0-6
Barış Metin [Wed, 14 Apr 2010 13:25:02 +0000 (13:25 +0000)]
Setting tag PLCAPI-5.0-6
fix pubsub hostname

14 years agoops! this will cause problems for omf back-end. (fixed manually on PLE).
Barış Metin [Wed, 14 Apr 2010 08:55:13 +0000 (08:55 +0000)]
ops! this will cause problems for omf back-end. (fixed manually on PLE).

14 years agoSetting tag PLCAPI-5.0-5
Thierry Parmentelat [Fri, 2 Apr 2010 13:26:05 +0000 (13:26 +0000)]
Setting tag PLCAPI-5.0-5
tweaks for the omf support (xmpp groups and RC-controlled slices)
BootNodeUpdate supports also ssh_rsa_key (and logs only changes)
GetNodeFlavour exposes fcdistro

14 years agoneeded for shipping proper yum config on nodes
Thierry Parmentelat [Fri, 2 Apr 2010 06:35:28 +0000 (06:35 +0000)]
needed for shipping proper yum config on nodes

14 years agominor
Thierry Parmentelat [Thu, 1 Apr 2010 11:01:19 +0000 (11:01 +0000)]
minor

14 years agoBootUpdateNode logs event only when a change occurs to avoid spamming the DB
Thierry Parmentelat [Thu, 1 Apr 2010 11:00:58 +0000 (11:00 +0000)]
BootUpdateNode logs event only when a change occurs to avoid spamming the DB

14 years agoconvert email to lowercase
Tony Mack [Wed, 24 Mar 2010 20:57:22 +0000 (20:57 +0000)]
convert email to lowercase

14 years agocreate omf log dir
Barış Metin [Wed, 24 Mar 2010 09:02:32 +0000 (09:02 +0000)]
create omf log dir

14 years agoremove postgresql-devel dependency
Barış Metin [Tue, 23 Mar 2010 14:57:44 +0000 (14:57 +0000)]
remove postgresql-devel dependency

14 years agoomf_control slice tag
Thierry Parmentelat [Mon, 22 Mar 2010 13:12:26 +0000 (13:12 +0000)]
omf_control slice tag

14 years agoadd omf log dir in spec and stop logging api method calls (but only xmpp messages)
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)

14 years agotry creating /OMF and /OMF/SYSTEM groups at start
Barış Metin [Fri, 19 Mar 2010 12:24:10 +0000 (12:24 +0000)]
try creating /OMF and /OMF/SYSTEM groups at start

14 years agoSetting tag PLCAPI-5.0-4
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

14 years agocannot use UpdateNode to force an update of the 'hrn' node tag for peer nodes becuase...
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()

14 years agoSetting tag PLCAPI-5.0-3
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

14 years agoinstall reset_xmpp_pubsub_nodes.py
Barış Metin [Fri, 12 Mar 2010 17:00:26 +0000 (17:00 +0000)]
install reset_xmpp_pubsub_nodes.py

14 years agoreset_xmpp_pubsub_nodes.py will remove all nodes and re-create for all
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.

14 years agofix observer for pubsub/configure
Barış Metin [Fri, 12 Mar 2010 16:06:06 +0000 (16:06 +0000)]
fix observer for pubsub/configure

14 years agowe'll need to import omf_slicemgr
Barış Metin [Fri, 12 Mar 2010 16:05:53 +0000 (16:05 +0000)]
we'll need to import omf_slicemgr

14 years agostart adding node configuration, but unfortunately ejabberd doesn't support this...
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

14 years agoimplement publish_to_node
Barış Metin [Fri, 12 Mar 2010 14:30:09 +0000 (14:30 +0000)]
implement publish_to_node

14 years ago* re-enable error handling in create_node results.
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.