1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-03 01:17:41 +03:00

feature #1020: Default value for VMware datacenter

This commit is contained in:
Tino Vazquez 2012-01-11 12:46:49 +01:00
parent 5cf93a2261
commit e0ea726eeb
3 changed files with 9 additions and 1 deletions

View File

@ -40,6 +40,8 @@ public:
~LibVirtDriver(){}; ~LibVirtDriver(){};
private: private:
static const char * vmware_vnm_name;
int deployment_description( int deployment_description(
const VirtualMachine * vm, const VirtualMachine * vm,
const string& file_name) const const string& file_name) const

View File

@ -21,6 +21,12 @@
#include <fstream> #include <fstream>
#include <libgen.h> #include <libgen.h>
/* ************************************************************************** */
/* Virtual Network :: Database Access Functions */
/* ************************************************************************** */
const char * LibVirtDriver::vmware_vnm_name = "vmware";
int LibVirtDriver::deployment_description_vmware( int LibVirtDriver::deployment_description_vmware(
const VirtualMachine * vm, const VirtualMachine * vm,
const string& file_name) const const string& file_name) const

View File

@ -23,5 +23,5 @@
:password: :password:
# VMotion configuration attributes # VMotion configuration attributes
:datacenter: :datacenter: "ha-datacenter"
:vcenter: :vcenter: