Skip to contentSkip to conversation

config file format when using web browser to access Xend and create a domain

DISCUSSION xuehai zhang 1 participant 2 messages Jan 26, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

As stated in the user manual, "Commands are issued to xend over an HTTP interface, either from a command-line tool or from a web browser."

My question is: if i want to create a domain using the following URL through a web browser:

	http://<xen host>:8000/xend/domain

what is the format of the config file should I provide before I click the "Create Domain" button?

I've tested with the config file (sth as below) used in the command line interface but it did not work. So, I guess the config file going through the web browser must have a different format. Anyone can explain it or point out a reference document?

	kernel = "/boot/vmlinuz-2.6.9-xenU"
	memory = 64
	name = "ttylinux"
	nics = 1
	ip = "1.2.3.4"
	disk = ['file:/home/hai/ttylinux-xen,sda1,w']
	root = "/dev/sda1 ro"

Thanks in advance for your help.

Best,

Xuehai

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#1 lore raw

please ignore my previous email. i just learn i can use "xm create -nf <python config file>" to get the SXP config file. -xueha

Quoted 27 lines · xuehai zhang

Hi all,

As stated in the user manual, "Commands are issued to xend over an HTTP interface, either from a command-line tool or from a web browser."

My question is: if i want to create a domain using the following URL through a web browser:

    http://<xen host>:8000/xend/domain

what is the format of the config file should I provide before I click the "Create Domain" button?

I've tested with the config file (sth as below) used in the command line interface but it did not work. So, I guess the config file going through the web browser must have a different format. Anyone can explain it or point out a reference document?

    kernel = "/boot/vmlinuz-2.6.9-xenU"
    memory = 64
    name = "ttylinux"
    nics = 1
    ip = "1.2.3.4"
    disk = ['file:/home/hai/ttylinux-xen,sda1,w']
    root = "/dev/sda1 ro"

Thanks in advance for your help.

Best,

Xuehai

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl