From 8c78b34514136af55b3a0acf0f6ae8286833b018 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 29 Apr 2012 01:16:30 +0200 Subject: [PATCH] libvirt is rubbish --- frontend/test_new.php | 16 --------- frontend/testing/libvirt.php | 29 --------------- frontend/testing/libvirt_create.php | 55 ----------------------------- 3 files changed, 100 deletions(-) delete mode 100644 frontend/test_new.php delete mode 100644 frontend/testing/libvirt.php delete mode 100644 frontend/testing/libvirt_create.php diff --git a/frontend/test_new.php b/frontend/test_new.php deleted file mode 100644 index a1b07c3..0000000 --- a/frontend/test_new.php +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/frontend/testing/libvirt.php b/frontend/testing/libvirt.php deleted file mode 100644 index cb190ac..0000000 --- a/frontend/testing/libvirt.php +++ /dev/null @@ -1,29 +0,0 @@ - diff --git a/frontend/testing/libvirt_create.php b/frontend/testing/libvirt_create.php deleted file mode 100644 index e063e79..0000000 --- a/frontend/testing/libvirt_create.php +++ /dev/null @@ -1,55 +0,0 @@ - - 101 - 86c12009-e591-a159-6e9f-91d18b85ef78 - 2 - - exe - /sbin/init - - - - - - - - - - - - - - - - - -"; - - $hostname=libvirt_connect_get_hostname($conn); - echo ("hostname:$hostname\n"); - $domains = libvirt_domain_get_counts($conn); - echo ("Domain count: Active {$domains['active']},Inactive {$domains['inactive']}, Total {$domains['total']}\n"); - - $domains=libvirt_list_domains($conn); - foreach ($domains as $dom) - { - echo ("Name:\t".libvirt_domain_get_name($dom)."\n"); - echo("UUID:\t".libvirt_domain_get_uuid_string($dom)."\n"); - $dominfo=libvirt_domain_get_info($dom); - print_r($dominfo); - } - - echo("done"); -} -?>