summaryrefslogtreecommitdiffstats
path: root/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.php')
-rw-r--r--config.php99
1 files changed, 99 insertions, 0 deletions
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..3c08ee4
--- /dev/null
+++ b/config.php
@@ -0,0 +1,99 @@
+<?php
+
+//$DEFAULT_SERVER = "ipecamera4";
+$DISTRIBUTIONS=array("centos", "fedora");
+
+# disks will be synchronized with k3
+$KATRIN_SERVERS = array(
+ "ks" => "ipekatrin-v4.ks",
+ "templates" => "templates",
+ "domain" => "ipe.kit.edu",
+ "cidr" => 23,
+ "gw" => "141.52.64.207",
+ "ns" => "141.52.3.3,141.52.8.18",
+ "time" => "141.52.8.18",
+ "sysdisks" => "sdb,sdc",
+ "append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
+ "raid" => "RAID1",
+ "size" => "80000",
+ "bootsize" => "2048",
+ "eth" => array("enp3s0f1", "enp3s0f0"),
+);
+
+$IPE_SERVERS = array_merge($KATRIN_SERVERS, array(
+ "ks" => "ipe.ks",
+ "cidr" => 24,
+ "base_net" => "192.168.26.",
+ "gw" => "192.168.26.117",
+ "sysdisks" => "sda,sdb",
+ "append_sol" => "",
+ "raid" => "RAID1",
+ "size" => "200000",
+ "home_size" => "800000",
+ "bootsize" => "2048",
+ "eth" => array("eth0", "eth1"),
+ "skip_security" => true,
+ "skip_minimal" => false,
+ "skip_home" => false,
+));
+
+
+$CAMERA_SERVERS = array_merge($IPE_SERVERS, array(
+ "raid" => "RAID0",
+ "append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
+ "eth" => array("eno1", "eno2"),
+ "base_ip" => 80
+));
+
+$STUDENT_SERVERS = array_merge($IPE_SERVERS, array(
+ "eth" => array("enp9s0", "enp6s0"),
+ "base_ip" => 60
+));
+
+
+$SERVER_LIST = array(
+ "ipecsavm" => array_merge($KATRIN_SERVERS, array(
+ "ks" => "ipekatrin-v4.ks",
+ "macs" => array("66:66:66:13:13:00"),
+ "ip" => "192.168.26.254",
+ "netmask" => "255.255.255.0",
+ "gw" => "192.168.26.117",
+ "sysdisks" => "sda,sdb",
+ "raid" => "RAID0",
+ "size" => "60000",
+ "ethdev" => "link",
+ )),
+/* "ipechilinga2" => array_merge($KATRIN_SERVERS, array(
+ "domain" => "ka.fzk.de",
+ "macs" => array("48:5b:39:75:fe:ec"),
+ "headers" => array(
+ "REMOTE_ADDR" => array("141.52.64.104")
+ )
+ )),*/
+ "ipekatrin1" => array_merge($KATRIN_SERVERS, array(
+ "macs" => array("0c:c4:7a:de:f1:08", "0c:c4:7a:de:f1:09")
+ )),
+ "ipekatrin2" => array_merge($KATRIN_SERVERS, array(
+ "macs" => array("0c:c4:7a:de:f0:e6", "0c:c4:7a:de:f0:e7")
+ )),
+ "ipekatrin3" => array_merge($KATRIN_SERVERS, array(
+ "macs" => array("0c:c4:7a:a8:81:3e", "0c:c4:7a:a8:81:3f"),
+ "eth" => array("eno2", "eno1"),
+ )),
+ "ands1" => array_merge($KATRIN_SERVERS, array(
+ "macs" => array("00:25:90:da:82:58", "00:25:90:da:82:59"),
+ "eth" => array("enp9s0", "enp10s0"),
+ )),
+ "ipecamera3" => array_merge($CAMERA_SERVERS, array(
+ "macs" => array("0c:c4:7a:32:72:20", "0c:c4:7a:32:72:21"),
+ )),
+ "ipecamera4" => array_merge($CAMERA_SERVERS, array(
+ "macs" => array("0c:c4:7a:32:72:1e", "0c:c4:7a:32:72:1f"),
+ )),
+ "ipecluster6" => array_merge($STUDENT_SERVERS, array(
+ "macs" => array("74:D0:2B:97:F3:2A", "74:D0:2B:97:F3:2B"),
+ )),
+
+);
+
+?> \ No newline at end of file