summaryrefslogtreecommitdiffstats
path: root/config-db/testConfDB.pl
diff options
context:
space:
mode:
authorOliver Tappe2006-08-16 15:06:25 +0200
committerOliver Tappe2006-08-16 15:06:25 +0200
commitab88dd0ca8a52782931439387c5e43316cd772c6 (patch)
tree65241b62f0c282ef5b9787a051b881a0bf0257f4 /config-db/testConfDB.pl
parent* fixed bug with automatic ID-creation not working as it should (diff)
downloadcore-ab88dd0ca8a52782931439387c5e43316cd772c6.tar.gz
core-ab88dd0ca8a52782931439387c5e43316cd772c6.tar.xz
core-ab88dd0ca8a52782931439387c5e43316cd772c6.zip
* added all vendor_os-related functions to DB-interface and
-implementation * more cleanup git-svn-id: http://svn.openslx.org/svn/openslx/trunk@305 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/testConfDB.pl')
-rwxr-xr-xconfig-db/testConfDB.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/config-db/testConfDB.pl b/config-db/testConfDB.pl
index 4422aad2..ebf126f3 100755
--- a/config-db/testConfDB.pl
+++ b/config-db/testConfDB.pl
@@ -11,11 +11,27 @@ odlxInit();
my $odlxDB = connectConfigDB();
+addVendorOS($odlxDB, {
+ 'name' => "suse-93-minimal",
+ 'descr' => "SuSE 9.3 minimale Installation",
+});
+
+addVendorOS($odlxDB, {
+ 'name' => "suse-93-KDE",
+ 'descr' => "SuSE 9.3 grafische Installation mit KDE",
+});
+
+addVendorOS($odlxDB, {
+ 'name' => "debian-31",
+ 'descr' => "Debian 3.1 Default-Installation",
+});
+
my @systems;
foreach my $id (1..10) {
push @systems, {
'name' => "name of $id",
'descr' => "descr of $id",
+ 'vendor_os_id' => 1 + $id % 3,
};
}
addSystem($odlxDB, \@systems);