Commit 06bcbfd0 authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed tags_register, tags_unregister, tags_drop and tags_update from the listed methods

parent aca25df6
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ from datetime import datetime

from sjrpc.utils import ConnectionProxy

from cloudcontrol.server.handlers import CCHandler, listed
from cloudcontrol.server.handlers import CCHandler
from cloudcontrol.server.exceptions import RightError
from cloudcontrol.server.db import RemoteTag
from cloudcontrol.common.tql.db.tag import CallbackTag
@@ -38,7 +38,6 @@ class RegisteredCCHandler(CCHandler):
    # Tags registration handler functions:
    #

    @listed
    def tags_register(self, name, ttl=None, value=None):
        """ Register a new tag on the calling node.

@@ -48,7 +47,6 @@ class RegisteredCCHandler(CCHandler):
        """
        self.client.tags_register(name, ttl, value)

    @listed
    def tags_unregister(self, name):
        """ Unregister a tag on the calling node.

@@ -56,7 +54,6 @@ class RegisteredCCHandler(CCHandler):
        """
        self.client.tags_unregister(name)

    @listed
    def tags_drop(self, name):
        """ Drop the tag value of the specified tag on the calling node.

@@ -64,7 +61,6 @@ class RegisteredCCHandler(CCHandler):
        """
        self.client.tags_drop(name)

    @listed
    def tags_update(self, name, value, ttl=None):
        """ Update the value of the specified tag on the calling node.