From e0ea726eebc5a5558f21d384b298edf842b579c9 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Wed, 11 Jan 2012 12:46:49 +0100 Subject: [PATCH] feature #1020: Default value for VMware datacenter --- include/LibVirtDriver.h | 2 ++ src/vmm/LibVirtDriverVMware.cc | 6 ++++++ src/vmm_mad/remotes/vmware/vmwarerc | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/LibVirtDriver.h b/include/LibVirtDriver.h index 274cda090e..f700ba4986 100644 --- a/include/LibVirtDriver.h +++ b/include/LibVirtDriver.h @@ -40,6 +40,8 @@ public: ~LibVirtDriver(){}; private: + static const char * vmware_vnm_name; + int deployment_description( const VirtualMachine * vm, const string& file_name) const diff --git a/src/vmm/LibVirtDriverVMware.cc b/src/vmm/LibVirtDriverVMware.cc index ad415ee4bf..7069d9b882 100644 --- a/src/vmm/LibVirtDriverVMware.cc +++ b/src/vmm/LibVirtDriverVMware.cc @@ -21,6 +21,12 @@ #include #include +/* ************************************************************************** */ +/* Virtual Network :: Database Access Functions */ +/* ************************************************************************** */ + +const char * LibVirtDriver::vmware_vnm_name = "vmware"; + int LibVirtDriver::deployment_description_vmware( const VirtualMachine * vm, const string& file_name) const diff --git a/src/vmm_mad/remotes/vmware/vmwarerc b/src/vmm_mad/remotes/vmware/vmwarerc index 14185b95f8..16b448fa48 100644 --- a/src/vmm_mad/remotes/vmware/vmwarerc +++ b/src/vmm_mad/remotes/vmware/vmwarerc @@ -23,5 +23,5 @@ :password: # VMotion configuration attributes -:datacenter: +:datacenter: "ha-datacenter" :vcenter: \ No newline at end of file