To add a host type for a cloud, specify its attributes such as CPU, disk size and memory, and price for usage in an XML configuration file.
<host_type value="Sun"> <contains> <size value="extra_small"> <price base="0.1" /> <provides> <memsize value="256" /> <disksize value="10" /> <ncpu value="1" /> </provides> </size> <size value="small"> <price base="0.2" /> <provides> <memsize value="512" /> <disksize value="10" /> <ncpu value="1" /> </provides> </size> <size value="medium"> <price base="0.3" /> <provides> <memsize value="1024" /> <disksize value="20" /> <ncpu value="1" /> </provides> </size> <size value="large"> <price base="0.4" /> <provides> <memsize value="1024" /> <disksize value="40" /> <ncpu value="1" /> </provides> </size> <size value="extra_large"> <price base="0.5" /> <provides> <memsize value="2048" /> <disksize value="80" /> <ncpu value="1" /> </provides> </size> </contains> <requires category="cpuarch" op="in"> sun4u sun4v </requires> <requires category="type" op="eq"> physical </requires> </host_type>