📄 readme
字号:
Xen API Test============xapi.py is a simple command line tool to test the functionality of adomain lifecycle supporting, Xen API talking version of Xend.Creating a VM is slightly more work under the Xen API. The differenceswith this and xm is:1. None of the devices are created during vm-create. You must use vbd-create and vif-create to attach a new device to the VM.2. VM's that are created using vm-create will not start by default. You must use vm-start to "start" the domain.3. VM's that are created using vm-create will not be removed on shutdown. You must remove it using vm-delete.Example Configuration Files---------------------------xapi.py uses a simple python configuration file similar to xm in theface of the lack of any other reasonable format.All the fields are directly mapped to the arguments that are in theXen API constructore for the respective classes.xapi.domcfg.py: example configuration for a paravirtualised domain.xapi.vbdcfg.py: example configuration for a file based block device.xapi.vifcfg.py: example configuration for a simple bridged network device.Example Session---------------xapi.py vm-listxapi.py vm-create xapi.domcfg.pyxapi.py vbd-create <DomainName> xapi.vbdcfg.pyxapi.py vif-create <DomainName> xapi.vifcfg.pyNotes-----Currently lacking:1. Any real authentication. XendAuthSessions need to be filled in with a proper authentication implementation either using PAM or other means.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -