@@ -763,27 +763,33 @@ onevrouter
763763onezone
764764--------------------------------------------------------------------------------
765765
766- +-----------------+-------------------+---------------+
767- | onezone command | XML-RPC Method | Auth. Request |
768- +=================+===================+===============+
769- | create | one.zone.allocate | ZONE:CREATE |
770- +-----------------+-------------------+---------------+
771- | rename | one.zone.rename | ZONE:MANAGE |
772- +-----------------+-------------------+---------------+
773- | update | one.zone.update | ZONE:MANAGE |
774- +-----------------+-------------------+---------------+
775- | delete | one.zone.delete | ZONE:ADMIN |
776- +-----------------+-------------------+---------------+
777- | enable | one.zone.enable | ZONE:ADMIN |
778- | | | |
779- | disable | | |
780- +-----------------+-------------------+---------------+
781- | show | one.zone.info | ZONE:USE |
782- +-----------------+-------------------+---------------+
783- | list | one.zonepool.info | ZONE:USE |
784- +-----------------+-------------------+---------------+
785- | set | -- | ZONE:USE |
786- +-----------------+-------------------+---------------+
766+ +-----------------+----------------------+---------------+
767+ | onezone command | XML-RPC Method | Auth. Request |
768+ +=================+======================+===============+
769+ | create | one.zone.allocate | ZONE:CREATE |
770+ +-----------------+----------------------+---------------+
771+ | rename | one.zone.rename | ZONE:MANAGE |
772+ +-----------------+----------------------+---------------+
773+ | update | one.zone.update | ZONE:MANAGE |
774+ +-----------------+----------------------+---------------+
775+ | delete | one.zone.delete | ZONE:ADMIN |
776+ +-----------------+----------------------+---------------+
777+ | enable | one.zone.enable | ZONE:ADMIN |
778+ | | | |
779+ | disable | | |
780+ +-----------------+----------------------+---------------+
781+ | server-add | one.zone.addserver | ZONE:ADMIN |
782+ +-----------------+----------------------+---------------+
783+ | server-del | one.zone.delserver | ZONE:ADMIN |
784+ +-----------------+----------------------+---------------+
785+ | server-reset | one.zone.resetserver | ZONE:ADMIN |
786+ +-----------------+----------------------+---------------+
787+ | show | one.zone.info | ZONE:USE |
788+ +-----------------+----------------------+---------------+
789+ | list | one.zonepool.info | ZONE:USE |
790+ +-----------------+----------------------+---------------+
791+ | set | -- | ZONE:USE |
792+ +-----------------+----------------------+---------------+
787793
788794onesecgroup
789795--------------------------------------------------------------------------------
@@ -985,7 +991,7 @@ onehook
985991--------------------------------------------------------------------------------
986992
987993+-----------------------+----------------------------+---------------------------+
988- | onevntemplate command | XML-RPC Method | Auth. Request |
994+ | onehook command | XML-RPC Method | Auth. Request |
989995+=======================+============================+===========================+
990996| update | one.hook.update | HOOK:MANAGE |
991997+-----------------------+----------------------------+---------------------------+
@@ -1005,7 +1011,7 @@ onehook
10051011+-----------------------+----------------------------+---------------------------+
10061012| unlock | one.hook.unlock | HOOK:MANAGE |
10071013+-----------------------+----------------------------+---------------------------+
1008- | retry | one.hook.unlock | HOOK:MANAGE |
1014+ | retry | one.hook.retry | HOOK:MANAGE |
10091015+-----------------------+----------------------------+---------------------------+
10101016| log | one.hooklog.info | HOOK:- |
10111017+-----------------------+----------------------------+---------------------------+
@@ -7196,6 +7202,60 @@ one.zone.rename
71967202| OUT | Int | ID of the object that caused the error. |
71977203+------+------------+---------------------------------------------+
71987204
7205+ one.zone.addserver
7206+ ------------------
7207+
7208+ - **Description**: Add server to zone.
7209+ - **Parameters**
7210+
7211+ ==== ========== ============================================
7212+ Type Data Type Description
7213+ ==== ========== ============================================
7214+ IN String The session string.
7215+ IN Int The object ID.
7216+ IN String A string containing the template of the server. Syntax can be the usual ``attribute=value`` or XML. |
7217+ OUT Boolean True or false whenever is successful or not.
7218+ OUT Int/String The resource ID / The error string.
7219+ OUT Int Error code.
7220+ OUT Int ID of the object that caused the error.
7221+ ==== ========== ============================================
7222+
7223+ one.zone.delserver
7224+ ------------------
7225+
7226+ - **Description**: Delete a server from zone.
7227+ - **Parameters**
7228+
7229+ ==== ========== ============================================
7230+ Type Data Type Description
7231+ ==== ========== ============================================
7232+ IN String The session string.
7233+ IN Int The object ID.
7234+ IN Int The server ID.
7235+ OUT Boolean true or false whenever is successful or not
7236+ OUT Int/String The resource ID / The error string.
7237+ OUT Int Error code.
7238+ OUT Int ID of the object that caused the error.
7239+ ==== ========== ============================================
7240+
7241+ one.zone.resetserver
7242+ --------------------
7243+
7244+ - **Description**: Reset follower log index. This should be trigger when a follower DB has been reset.
7245+ - **Parameters**
7246+
7247+ ==== ========== ============================================
7248+ Type Data Type Description
7249+ ==== ========== ============================================
7250+ IN String The session string.
7251+ IN Int The object ID.
7252+ IN Int The server ID.
7253+ OUT Boolean true or false whenever is successful or not
7254+ OUT Int/String The resource ID / The error string.
7255+ OUT Int Error code.
7256+ OUT Int ID of the object that caused the error.
7257+ ==== ========== ============================================
7258+
71997259one.zone.info
72007260--------------
72017261
0 commit comments