Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/k/a/karesansui-HEAD/karesansui/gadget/guest.py   karesansui(Download)
    CHECK_MIN, CHECK_MAX, CHECK_EXIST
 
from karesansui.lib.const import \
    NOTE_TITLE_MIN_LENGTH, NOTE_TITLE_MAX_LENGTH, \
    MACHINE_NAME_MIN_LENGTH, MACHINE_NAME_MAX_LENGTH, \
 
    rollback_cmd = dict2command(
        "%s/%s" % (karesansui.config['application.bin.dir'], VIRT_COMMAND_DELETE_STORAGE_VOLUME),
        rollback_options)
 

src/k/a/karesansui-HEAD/karesansui/gadget/guestreplicate.py   karesansui(Download)
    CHECK_MIN, CHECK_MAX
 
from karesansui.lib.const import \
    NOTE_TITLE_MIN_LENGTH, NOTE_TITLE_MAX_LENGTH, \
    MACHINE_NAME_MIN_LENGTH, MACHINE_NAME_MAX_LENGTH, \
 
    rollback_cmd = dict2command(
        "%s/%s" % (karesansui.config['application.bin.dir'], VIRT_COMMAND_DELETE_STORAGE_VOLUME),
        rollback_options)
 

src/k/a/karesansui-HEAD/karesansui/gadget/guestby1.py   karesansui(Download)
    CHECK_EMPTY, CHECK_LENGTH, CHECK_ONLYSPACE
 
from karesansui.lib.const import \
    NOTE_TITLE_MIN_LENGTH, NOTE_TITLE_MAX_LENGTH, \
    MACHINE_NAME_MIN_LENGTH, MACHINE_NAME_MAX_LENGTH, \

src/k/a/karesansui-HEAD/karesansui/gadget/guestby1disk.py   karesansui(Download)
 
import karesansui
from karesansui.lib.const import VIRT_COMMAND_ADD_DISK, DISK_MIN_SIZE, \
     STORAGE_VOLUME_PWD, DISK_USES, \
     VIRT_COMMAND_DELETE_STORAGE_VOLUME, VIRT_COMMAND_CREATE_STORAGE_VOLUME
    rollback_cmd = dict2command(
        "%s/%s" % (karesansui.config['application.bin.dir'],
                   VIRT_COMMAND_DELETE_STORAGE_VOLUME),
        rollback_options)
 

src/k/a/karesansui-HEAD/karesansui/gadget/guestby1device.py   karesansui(Download)
from pysilhouette.command import dict2command
 
from karesansui.lib.const import DISK_QEMU_FORMAT, DISK_NON_QEMU_FORMAT, \
     STORAGE_VOLUME_PWD, DISK_USES, \
     VIRT_COMMAND_DELETE_STORAGE_VOLUME, VIRT_COMMAND_CREATE_STORAGE_VOLUME

src/k/a/karesansui-HEAD/karesansui/gadget/guestby1diskby1.py   karesansui(Download)
from karesansui.lib.rest import Rest, auth
 
from karesansui.lib.const import VIRT_COMMAND_DELETE_DISK, \
     DISK_USES, VIRT_COMMAND_DELETE_STORAGE_VOLUME
from karesansui.lib.virt.virt import KaresansuiVirtException, \
def delete_storage_volume(obj, volume, pool, order, use=DISK_USES["DISK"]):
    cmdname = u"Delete Storage Volume"
    cmd = VIRT_COMMAND_DELETE_STORAGE_VOLUME
 
    options = {}