summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-11 11:46:04 -0400
committerJim Meyering <jim@meyering.net>2006-10-11 11:46:04 -0400
commit8cfe48db88343ffb315a584f62a81969bd5a790a (patch)
treee3eb3ff2f70e75abfbe846635bfb670a3231b62d /cobbler/api.py
parenta0b61ddb6681474cc67a0667f679ceea08191d3e (diff)
downloadthird_party-cobbler-8cfe48db88343ffb315a584f62a81969bd5a790a.tar.gz
third_party-cobbler-8cfe48db88343ffb315a584f62a81969bd5a790a.tar.xz
third_party-cobbler-8cfe48db88343ffb315a584f62a81969bd5a790a.zip
Adding API stub for unfinished method
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index 8208a80..80ed58d 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -115,6 +115,13 @@ class BootAPI:
enchant = action_enchant.Enchant(self._config,sysname,profile,password)
return enchant.run()
+ def import_distros(self,tree_path):
+ """
+ Automatically import a directory tree full of distribution files.
+ """
+ print "STUB: NOT IMPLEMENTED YET"
+ return False
+
def serialize(self):
"""
Save the config file(s) to disk.