...
hook_type: Type of the hook ("hooksite" or "pbshookpbs")
type hook_type: str
...
Example : self.import_hook_config("pbs_cgroups", hook_body, "hooksite")
Interface-2: export_hook_config
...
hook_type: Type of the hook ("hooksite" or "pbshookpbs")
type hook_type: str
...
Example: out = self.export_hook_config("pbs_cgroups", "hooksite")
out will have contents of "pbs_cgroups.CF" file.
...