|
|
|
getmethods(self,
modulePath,
Class)
This will get the list of methods in given module or class. |
source code
|
|
|
|
|
getargs(self,
moduleName,
className,
method)
This will return the list of arguments in a method of python module
of class. |
source code
|
|
|
configparser(self,
fileName)
It will parse the config file (ofa.cfg) and return as dictionary |
source code
|
|
|
getList(self)
This method will maintain the hash with
module->class->methodList or module -> methodList .It will
return the same Hash. |
source code
|
|
|
class_ignoreList(self,
module)
It removes the ignored classes for each module mention in
ofadriver.cfg |
source code
|
|
|
method_ignoreList(self,
module,
className)
It removes the ignored methods of each module or class mentioned in
ofadriver.cfg. |
source code
|
|
|
add_method(self,
module,
className)
This will add the methods(mentioned in ofadriver.cfg file) into
method list if it doesnot exists in list. |
source code
|
|
|
getMethodArgsHash(self,
moduleName,
module,
className)
This will maintain a Hash of class->method->argumentsList |
source code
|
|
|
appendDriver(self,
fileName)
This will append the given driver file with methods along with
arguments. |
source code
|
|
|
writeDriver(self,
driver)
This will accept the List of driver name and write those drivers if
no driver name is specified then it will write all of the driver
specified in the ofadriver.cfg. |
source code
|
|
|
getDriverPath(self)
It will set the driver path and returns it.If driver path is not
specified then it will take default path (/lib/updatedriver/). |
source code
|
|
|
|