def create_virtual_appliance(self, vdc, name):
        log.info("Creating virtual appliance %s..." % name)
        vapp = VirtualAppliance.builder(self.__context, vdc) \
               .name(name) \
               .build()
        vapp.save()
        return vapp
Creates a new virtual appliance inside a virtual datacenter
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/environment/cloud/compute.py/CloudCompute.create_virtual_appliance