Add @todo as the cli example so the test does not fails and it does not get forgotten.

This commit is contained in:
Pedro Algarvio 2013-02-17 13:23:14 +00:00
parent 356e299f8e
commit ea1ffdd245

View File

@ -49,7 +49,10 @@ def make_image(location, size, fmt):
def nbd_connect(image): def nbd_connect(image):
''' '''
Activate nbd for an image file Activate nbd for an image file.
CLI Example::
@todo
''' '''
if not os.path.isfile(image): if not os.path.isfile(image):
return '' return ''
@ -84,7 +87,7 @@ def nbd_mount(nbd):
continue continue
ret[m_pt] = part ret[m_pt] = part
return ret return ret
def nbd_init(image): def nbd_init(image):
''' '''
@ -131,7 +134,7 @@ def bootstrap(location, size, fmt):
''' '''
HIGHLY EXPERIMENTAL HIGHLY EXPERIMENTAL
Bootstrap a virtual machine image Bootstrap a virtual machine image
location: location:
The location to create the image The location to create the image
@ -140,6 +143,9 @@ def bootstrap(location, size, fmt):
fmt: fmt:
The image format, raw or qcow2 The image format, raw or qcow2
CLI Example::
@todo
''' '''
location = make_image(location, size, fmt) location = make_image(location, size, fmt)
if not location: if not location: