mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
39f766b512
Renamed some file for coherence. git-svn-id: http://svn.opennebula.org/trunk@31 3034c82b-c49b-4eb3-8279-a7acafdc01c0
36 lines
716 B
C++
36 lines
716 B
C++
#ifndef LIBVIRT_DRIVER_H_
|
|
#define LIBVIRT_DRIVER_H_
|
|
|
|
#include <map>
|
|
#include <string>
|
|
#include <sstream>
|
|
|
|
#include "VirtualMachineManagerDriver.h"
|
|
|
|
class LibVirtDriver : public VirtualMachineManagerDriver
|
|
{
|
|
public:
|
|
|
|
LibVirtDriver(
|
|
int userid,
|
|
const map<string,string> &attrs,
|
|
bool sudo,
|
|
VirtualMachinePool * pool,
|
|
const string _emulator):
|
|
VirtualMachineManagerDriver(userid, attrs,sudo,pool),
|
|
emulator(_emulator)
|
|
{};
|
|
|
|
~LibVirtDriver(){};
|
|
|
|
private:
|
|
int deployment_description(
|
|
const VirtualMachine * vm,
|
|
const string& file_name) const;
|
|
|
|
const string emulator;
|
|
};
|
|
|
|
#endif /*LIBVIRT_DRIVER_H_*/
|
|
|