#include "org/smartfrog/components.sf" #include "org/smartfrog/sfcore/workflow/combinators/container.sf" #include "ch/cern/openlab/smartdomains/components.sf" #include "org/smartfrog/services/shellscript/components.sf" #include "ch/cern/openlab/util/schemas.sf" XenDomainDefault extends XenDomain { shell LAZY ATTRIB myShell; kernel "/boot/vmlinuz-2.6-xen"; ramdisk "/boot/initrd-2.6-xen.img"; memory 512; vcpus 2; gateway "128.142.1.1"; netmask "255.255.0.0"; } Loop extends LoopbackStorageBackend { shell LAZY PARENT:myShell; domainName "domainLoopback"; baseImage "/data/xen/slc3-smartfrog.img"; volumeSize "1g"; imageReceptacle "/data/xen/domains/"; volumeBaseName "loop-xen-vol-dom1"; } DomainLoop extends XenDomainDefault { domainName ATTRIB Loop:domainName; // useless since rev 84 (release 0.9.02) ip "128.142.134.122"; hostname "oplaslim9-dom1"; storageBackend LAZY ATTRIB loop; } Lvm extends LVMStorageBackend { shell LAZY PARENT:myShell; baseImage "/data/xen/image-fromTest.tgz"; domainName "domainLVM"; volumeBaseName "lvm-xen-vol-dom2"; volumeGroup "vg"; volumeSize "2g"; } DomainLvm extends XenDomainDefault { domainName ATTRIB domainLvm:domainName; // useless since rev 84 (release 0.9.02) ip "128.142.134.123"; hostname "oplaslim9-dom2"; storageBackend LAZY ATTRIB lvm; }