mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
Remove unused functions.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@575 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -30,12 +30,6 @@ class ParamInfo:
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return str("\t%s <type: %s> \t(%s)" % (self.name, self.type, self.desc))
|
return str("\t%s <type: %s> \t(%s)" % (self.name, self.type, self.desc))
|
||||||
|
|
||||||
def write_xml(xmldoc, name, value):
|
|
||||||
node = xmldoc.createElement(PARAM_NODE_NAME)
|
|
||||||
node.setAttribute('name', name)
|
|
||||||
node.setAttribute('value', value)
|
|
||||||
return node
|
|
||||||
|
|
||||||
class CommandInfo:
|
class CommandInfo:
|
||||||
"""One command which provide by one bind10 module, it has zero or
|
"""One command which provide by one bind10 module, it has zero or
|
||||||
more parameters
|
more parameters
|
||||||
@@ -128,13 +122,6 @@ class CommandInfo:
|
|||||||
def need_instance_param(self):
|
def need_instance_param(self):
|
||||||
return self.need_inst_param
|
return self.need_inst_param
|
||||||
|
|
||||||
|
|
||||||
def write_xml(self, xmldoc, command_name):
|
|
||||||
node = xmldoc.createElement(COMMAND_NODE_NAME)
|
|
||||||
node.setAttribute('name', command_name)
|
|
||||||
return node
|
|
||||||
|
|
||||||
|
|
||||||
def command_help(self, inst_name, inst_type, inst_desc):
|
def command_help(self, inst_name, inst_type, inst_desc):
|
||||||
print("Command ", self)
|
print("Command ", self)
|
||||||
print("\t\thelp (Get help for command)")
|
print("\t\thelp (Get help for command)")
|
||||||
@@ -224,9 +211,4 @@ class ModuleInfo:
|
|||||||
self.inst_type,
|
self.inst_type,
|
||||||
self.inst_desc)
|
self.inst_desc)
|
||||||
|
|
||||||
def write_xml(self, xmldoc, module_name):
|
|
||||||
node = xmldoc.createElement(MODULE_NODE_NAME)
|
|
||||||
node.setAttribute('name', module_name)
|
|
||||||
return node
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user