|
@@ -79,7 +79,6 @@ XFRIN_MODULE_NAME = 'Xfrin'
|
|
|
AUTH_MODULE_NAME = 'Auth'
|
|
|
|
|
|
# define command name
|
|
|
-ZONE_XFRIN_FAILED_COMMAND = 'zone_xfrin_failed'
|
|
|
ZONE_REFRESH_COMMAND = 'refresh_from_zonemgr'
|
|
|
ZONE_NOTIFY_COMMAND = 'notify'
|
|
|
|
|
@@ -621,7 +620,7 @@ class Zonemgr:
|
|
|
def command_handler(self, command, args):
|
|
|
"""Handle command receivd from command channel.
|
|
|
ZONE_NOTIFY_COMMAND is issued by Auth process;
|
|
|
- ZONE_NEW_DATA_READY_CMD and ZONE_XFRIN_FAILED_COMMAND are issued by
|
|
|
+ ZONE_NEW_DATA_READY_CMD and ZONE_XFRIN_FAILED are issued by
|
|
|
Xfrin process;
|
|
|
shutdown is issued by a user or Boss process. """
|
|
|
answer = create_answer(0)
|
|
@@ -643,7 +642,7 @@ class Zonemgr:
|
|
|
self._zone_refresh.zone_refresh_success(zone_name_class)
|
|
|
self._master_socket.send(b" ")# make self._slave_socket readble
|
|
|
|
|
|
- elif command == ZONE_XFRIN_FAILED_COMMAND:
|
|
|
+ elif command == notify_out.ZONE_XFRIN_FAILED:
|
|
|
""" Handle xfrin fail command"""
|
|
|
zone_name_class = self._parse_cmd_params(args, command)
|
|
|
logger.debug(DBG_ZONEMGR_COMMAND, ZONEMGR_RECEIVE_XFRIN_FAILED, zone_name_class[0], zone_name_class[1])
|