def create(self, args):
        """ Creates the environment """
        try:
            apply_default_configuration(self.__config, self._context)
            dc = create_infrastructure_compute(self.__config, self._context)
            create_infrastructure_storage(self.__config, self._context, dc)
            create_infrastructure_network(self.__config, self._context, dc)
            create_default_tenants(self.__config, self._context, dc)
            vdc = create_cloud_compute(self.__config, self._context, dc)
            create_cloud_storage(self.__config, self._context, vdc)
            setup_cloud_network(self.__config, self._context, vdc)
        except (AbiquoException, AuthorizationException), ex:
            print "Error: %s" % ex.getMessage()
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/env.py/EnvironmentPlugin.create/original