Merge remote-tracking branch 'origin/remove-osd' into integration_2026_w13 (!4004)
Remove OSD, some scripts, oaisim references The README says: It is just generating the XML file and it is placing it in $(OPENAIR_TARGETS)/SIMU/EXAMPLE/OSD/WEBXML/ or http://localhost/xmlfile/ so that the oaisim could pars and run the simulation/emulation oaisim does not exist anymore, and corresponding simulation cannot be done. Also, it requires XAMPP and similar technologies, that I think nobody uses in the context of OAI. Remove also most references to oaisim. Remove some scripts that are likely not used by anybody, or straight useless.
This commit is contained in:
@@ -164,9 +164,6 @@ clean_all_files() {
|
||||
set_openair_env
|
||||
dir=$OPENAIR_DIR/cmake_targets
|
||||
rm -rf $dir/ran_build $dir/ran_build_noLOG
|
||||
rm -rf $dir/lte-simulators/build
|
||||
rm -rf $dir/oaisim_build_oai/build $dir/oaisim_build_oai/CMakeLists.txt
|
||||
rm -rf $dir/autotests/bin $dir/autotests/log $dir/autotests/*/build
|
||||
}
|
||||
|
||||
############################################
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pid=$1
|
||||
sleep_sec=0.5
|
||||
|
||||
if [ "$2" != "" ] ; then
|
||||
sleep_sec=$2
|
||||
fi
|
||||
#declare -r cnt=$sleep_sec
|
||||
OUTPUT_FILE="/tmp/mem_usage_${pid}_${sleep_sec}.csv"
|
||||
echo "RSS(KB);PSS(KB);SHARED_CLEAN(KB);SHARED_DIRTY(KB);PRIVATE)KB)" >> $OUTPUT_FILE
|
||||
echo "Mem usage for PID $pid with observation period of ${sleep_sec}"
|
||||
|
||||
while ps $pid >/dev/null
|
||||
do
|
||||
if [ -f /proc/$pid/smaps ]; then
|
||||
rss=$(awk '/^Rss/ {i = i + $2} END {print i}' /proc/$pid/smaps)
|
||||
pss=$(awk '/^Pss/ {i = i + $2 + 0.5} END {print i}' /proc/$pid/smaps)
|
||||
sc=$(awk '/^Shared_Clean/ {i = i + $2} END {print i}' /proc/$pid/smaps)
|
||||
sd=$(awk '/^Shared_Dirty/ {i = i + $2} END {print i}' /proc/$pid/smaps)
|
||||
pc=$(awk '/^Private_Clean/ {i = i + $2} END {print i}' /proc/$pid/smaps)
|
||||
pd=$(awk '/^Private_Dirty/ {i = i + $2} END {print i}' /proc/$pid/smaps)
|
||||
echo "$cnt;$rss;$pss;$sc;$pc;$pd;" >> $OUTPUT_FILE
|
||||
fi
|
||||
|
||||
sleep $sleep_sec
|
||||
done
|
||||
@@ -1,46 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import time
|
||||
import serial
|
||||
import os
|
||||
from pyroute2 import IPRoute
|
||||
import sys
|
||||
import re
|
||||
import threading
|
||||
import signal
|
||||
import traceback
|
||||
import commands
|
||||
|
||||
if os.environ.get('OPENAIR_DIR') == None:
|
||||
print "Error getting OPENAIR_DIR environment variable"
|
||||
sys.exit(1)
|
||||
|
||||
sys.path.append(os.path.expandvars('$OPENAIR_DIR/cmake_targets/autotests/tools/'))
|
||||
|
||||
from lib_autotest import *
|
||||
|
||||
def reset_bladerf():
|
||||
stringIdBladeRF='OpenMoko, Inc'
|
||||
status, out = commands.getstatusoutput('lsusb | grep -i \'' + stringIdBladeRF + '\'')
|
||||
if (out == '') :
|
||||
print "BladeRF not found. Exiting now..."
|
||||
sys.exit()
|
||||
p=re.compile('Bus\s*(\w+)\s*Device\s*(\w+):\s*ID\s*(\w+):(\w+)')
|
||||
res=p.findall(out)
|
||||
BusId=res[0][0]
|
||||
DeviceId=res[0][1]
|
||||
VendorId=res[0][2]
|
||||
ProductId=res[0][3]
|
||||
usb_dir= find_usb_path(VendorId, ProductId)
|
||||
print "BladeRF Found in directory..." + usb_dir
|
||||
cmd = "sudo sh -c \"echo 0 > " + usb_dir + "/authorized\""
|
||||
os.system(cmd + " ; sleep 5" )
|
||||
cmd = "sudo sh -c \"echo 1 > " + usb_dir + "/authorized\""
|
||||
os.system(cmd + " ; sleep 5" )
|
||||
|
||||
os.system ('sudo -E bladeRF-cli --flash-firmware /usr/share/Nuand/bladeRF/bladeRF_fw.img')
|
||||
|
||||
print "Resettting BladeRF..."
|
||||
|
||||
reset_bladerf()
|
||||
|
||||
os.system ("dmesg|tail")
|
||||
@@ -5,7 +5,6 @@ Signals may have two types:
|
||||
- Variables to dump the state of a variable (range 0..2^64 - 1).
|
||||
- Functions to log function usage (implies two call to VCD API: IN and OUT)
|
||||
|
||||
This module is always built in, but is only used when -V oaisim option is added.
|
||||
The VCD file generated is called openair_vcd_dump.vcd and is located in the execution folder.
|
||||
|
||||
Usage:
|
||||
|
||||
@@ -56,9 +56,7 @@ softmodem to wait for a tracer. The default port is 2021.
|
||||
The option `--T_dont_fork` allows one to use gdb to debug problems
|
||||
with the softmodem. Note that you then may have some "zombie"
|
||||
processes after crashes, in which case you can run
|
||||
`sudo killall -9 lte-softmodem` to get rid of them (`lte-softmodem`
|
||||
to be replaced by the program you trace, like `lte-softmodem-nos1`
|
||||
or `oaisim`).
|
||||
`sudo killall -9 lte-softmodem` to get rid of them.
|
||||
|
||||
The option `--T_stdout` also accepts values 0 (to disable output
|
||||
on the terminal and only use the T tracer) and 1 (to disable
|
||||
|
||||
@@ -11,7 +11,7 @@ to activate/deactivate specific traces):
|
||||
./record -d ../T_messages.txt -o record.raw -ON -off VCD -off HEAVY -off LEGACY_GROUP_TRACE -off LEGACY_GROUP_DEBUG
|
||||
```
|
||||
|
||||
And then you run the program to trace (`lte-softmodem`, `oaisim`, whatever)
|
||||
And then you run the program to trace (`lte-softmodem`, `nr-softmodem`, whatever)
|
||||
as explained in [basic usage](./basic.md).
|
||||
|
||||
To stop the recording, you simply press `control+c` to end `record`.
|
||||
|
||||
@@ -5,7 +5,7 @@ First, read the [basic usage](./basic.md) to compile things.
|
||||
Then, read [record](./record.md) to know how to record a trace.
|
||||
|
||||
To replay, you use the `replay` program. It will act
|
||||
as a *tracee* (`lte-softmodem`, `oaisim`, etc.).
|
||||
as a *tracee* (`lte-softmodem`, `nr-softmodem`, etc.).
|
||||
|
||||
Then you use your usual tracer, eg. `enb` or `textlog`.
|
||||
|
||||
|
||||
+3
-7
@@ -4,12 +4,8 @@
|
||||
Rather, you are probably looking for the
|
||||
[RFsimulator](../radio/rfsimulator/README.md)!**
|
||||
|
||||
oaisim has been scraped and replaced by the same programs that are used for the
|
||||
real-time operation, `lte-softmodem` and `lte-uesoftmodem`. This uses the IF4p5
|
||||
fronthaul protocol to achieve the communication.
|
||||
|
||||
> Context: oaisim used to be a simulation mode inside OAI to emulate an eNB and
|
||||
multiple UEs.
|
||||
`lte-softmodem` and `lte-uesoftmodem` can use the IF4p5 fronthaul protocol to
|
||||
communicate with each other.
|
||||
|
||||
[[_TOC_]]
|
||||
|
||||
@@ -50,7 +46,7 @@ $ cd ../ran_build/build
|
||||
$ sudo ./lte-uesoftmodem -O XXX.conf -r 25 --siml1 --noS1
|
||||
```
|
||||
|
||||
That should give you equivalent functionality to what you had with oaisim including noise and RF channel emulation (path loss / fading, etc.). You should also be able to run multiple UEs.
|
||||
That should give you functionality to do noise and RF channel emulation (path loss / fading, etc.). You should also be able to run multiple UEs.
|
||||
|
||||
## How to ping an eNB from a UE and vice versa (with the noS1 option)
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
7415
|
||||
@@ -1,15 +0,0 @@
|
||||
<?
|
||||
// PLEASE ADAPT THE OPENAIR_HOME VARIABLE TO YOUR CORRECT PATH
|
||||
$OPENAIR_HOME = "/home/$USER/openair4G";
|
||||
|
||||
|
||||
//
|
||||
// DO NOT CHANGE THESE VARIABLES
|
||||
//
|
||||
$OPENAIR1_DIR = "$OPENAIR_HOME/openair1";
|
||||
$OPENAIR2_DIR = "$OPENAIR_HOME/openair2";
|
||||
$OPENAIR3_DIR = "$OPENAIR_HOME/openair3";
|
||||
$OPENAIR_TARGETS = "$OPENAIR_HOME/targets";
|
||||
$WEBXML_PATH = "$OPENAIR_TARGETS/SIMU/EXAMPLES/OSD/WEBXML";
|
||||
$RESULTS_PATH = "$OPENAIR_TARGETS/SIMU/EXAMPLES/OSD/RESULTS";
|
||||
?>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
function givePID($pid)
|
||||
{
|
||||
// create our system command
|
||||
$GIVE_PID=shell_exec("pgrep $pid");
|
||||
echo $GIVE_PID;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="xmlwritten" class="alert">
|
||||
<p><img src="/OpenAirEmu/css/images/warning.png" /><b>Warning<b/><p />
|
||||
|
||||
<p>The OpenAirInterface Simulator is already running.<br />
|
||||
You should wait for the current simulation to be over before to process to a new one.<p/>
|
||||
If the process is stuck, execute the following command :<br />
|
||||
<blockquote>" kill <? givePID("oaisim");?> "</blockquote>
|
||||
</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
2012 07 10 - Working version
|
||||
It is just generating the XML file and it is placing it in $(OPENAIR_TARGETS)/SIMU/EXAMPLE/OSD/WEBXML/ or http://localhost/xmlfile/ so that the oaisim could pars and run the simulation/emulation
|
||||
|
||||
Please follow the steps described below:
|
||||
|
||||
- install XAMPP for Linux (http://www.apachefriends.org/en/xampp-linux.html) in /opt (highly recommanded)
|
||||
- create a symbolic link to this OSD directory into lampp/htdocs (e.g. cd ln -s $OPENAIR2_DIR/UTIL/OSD /opt/lampp/htdocs/OSD)
|
||||
- make sure that the path to $(OPENAIR_TARGETS)/SIMU/EXAMPLE/OSD/ and all the subdirectories are in 777 mode ("chmod -R 777 $(OPENAIR_TARGETS)/SIMU/EXAMPLE/OSD/). This is requires since apache client is nobody and needs to access to this directory for RW
|
||||
- set the OAI env vars in $OPENAIR2_DIR/UTIL/OSD/OpenAirEmu.conf
|
||||
- copy the $OPENAIR2_DIR/UTIL/OSD/httpd-results.conf in /opt/lampp/etc/extras/
|
||||
- add "Include etc/extra/httpd-result.conf" at the end of the /opt/lampp/etc/httpd.conf
|
||||
- if does not exist, create a symbolic link pointing at $(OPENAIR_TARGETS)/SIMU/EXAMPLES/OSD/ in /opt/lampp/htdocs/OSD/ (e.g. ln -s $(OPENAIR_TARGETS)/SIMU/EXAMPLES/OSD OSD )
|
||||
- restart the lampp (e.g. sudo /opt/lampp/lampp restart)
|
||||
- open the browser, and goto http://localhost/OSD
|
||||
|
||||
For the license, see the file COPYING
|
||||
@@ -1,516 +0,0 @@
|
||||
/* @group blueprint overrides */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
align: center;
|
||||
}
|
||||
|
||||
div.container {
|
||||
margin: 1.5em auto;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #0066B3;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #330099;
|
||||
}
|
||||
|
||||
a:hover,a:focus,a:active {
|
||||
color: #BF3030;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
thead th, th {
|
||||
background: #f7f7f7;
|
||||
border-bottom: 1px solid #ccc;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
th a img {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
tr.even td {
|
||||
background: #F1F5FA;
|
||||
}
|
||||
|
||||
tr.odd td {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
fieldset dl, fieldset select {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.box {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
.box fieldset {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
div.form-item div.description img {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.messages {
|
||||
margin-bottom: 1.5em;
|
||||
padding: 0.68em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.messages.success {
|
||||
border: 1px solid #7AC142;
|
||||
color: #55872E;
|
||||
background: #F1F8EB;
|
||||
}
|
||||
|
||||
div.messages ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group drupal overrides */
|
||||
|
||||
div.admin {
|
||||
padding-top: 0; /* fix alignment of admin panel */
|
||||
}
|
||||
|
||||
div.admin-panel {
|
||||
padding: 1.5em 0 0 0;
|
||||
}
|
||||
|
||||
div.admin-panel .body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.admin-panel .description {
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.admin .left,
|
||||
div.admin .right {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#user-admin-filter ul li,
|
||||
#node-admin-filter ul li {
|
||||
list-style: none; /* remove list style from content node filter */
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.more-help-link {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.667em;
|
||||
}
|
||||
|
||||
input.form-text, textarea {
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
font-size: 1em;
|
||||
vertical-align:text-bottom;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
div.form-item {
|
||||
margin-bottom: 1.5em;
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
div.error, tr.error, span.form-required, span.marker {
|
||||
color: #8A1F11;
|
||||
}
|
||||
|
||||
.form-item input.error, .form-item textarea.error, .form-item select.error {
|
||||
border: 1px solid #DD7777;
|
||||
background: #FFCCCC;
|
||||
color: #8A1F11;
|
||||
}
|
||||
|
||||
/* fix admin/settings/performance */
|
||||
|
||||
.form-item strong.error {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.form-item textarea.error {
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
||||
.form-item .description {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.667em; /* more accurate line-height value */
|
||||
}
|
||||
|
||||
fieldset {
|
||||
background: #f7f7f7;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
fieldset legend {
|
||||
display: block;
|
||||
font-size: 1em;
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0 0.4em;
|
||||
}
|
||||
|
||||
/* prevent uncessary scrollbars */
|
||||
fieldset .collapsible {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
textarea {
|
||||
line-height: 1.5em;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
div.resizable-textarea textarea {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsed {
|
||||
background: none;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsible legend a {
|
||||
background: transparent url(../images/icons/menu-expanded.gif) no-repeat scroll 0% 50%;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsed legend a {
|
||||
background: transparent url(../images/icons/menu-collapsed.gif) no-repeat scroll 0% 50%;
|
||||
}
|
||||
|
||||
ul.menu li, .item-list ul li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tips {
|
||||
font-size:1em;
|
||||
margin-left:3em;
|
||||
}
|
||||
|
||||
/* remove bottom margins from nested ul elements in menus */
|
||||
|
||||
ul.menu li ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.block ul, ul.menu, .item-list ul {
|
||||
margin: 0pt 1.5em 1.5em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul li, ul.menu li, .item-list ul li, li.leaf {
|
||||
list-style-image: url(../images/icons/menu-leaf.gif);
|
||||
}
|
||||
|
||||
ul li.expanded {
|
||||
list-style-image: url(../images/icons/menu-expanded.gif);
|
||||
}
|
||||
|
||||
ul li.collapsed {
|
||||
list-style-image: url(../images/icons/menu-collapsed.gif);
|
||||
}
|
||||
|
||||
div.tabs {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
ul.secondary {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.secondary li {
|
||||
padding: 0 0.7em 0 0; /* align subtabs flush to edge */
|
||||
margin: 0 0.5em 0 0;
|
||||
}
|
||||
|
||||
ul.primary {
|
||||
margin: 1.5em 0;
|
||||
line-height: 1.417; /* account for 1px bottom border */
|
||||
}
|
||||
|
||||
ul.primary li a {
|
||||
background: #f7f7f7;
|
||||
padding: 3px 10px 2px 10px; /* fix alignment of tabs */
|
||||
}
|
||||
|
||||
div.help {
|
||||
background: #ffc;
|
||||
padding: 0.75em; /* fix alignment of help text */
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
/* fix alignment on user profile page */
|
||||
|
||||
.profile dt {
|
||||
margin: 1.5em 0 0 0;
|
||||
}
|
||||
|
||||
/* fix book module */
|
||||
|
||||
.book-navigation .page-links {
|
||||
background: #F1F5FA;
|
||||
border: none;
|
||||
padding: 0.75em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.book-navigation .menu {
|
||||
padding: 1.417em 0 0 3em;
|
||||
margin: 0 0 1.5em 0;
|
||||
border-color: #bbb;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group basic elements */
|
||||
|
||||
blockquote {
|
||||
background: url(../images/lquote.png) no-repeat left top;
|
||||
font-size: 1em;
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 0 0 0 40px;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#saving {
|
||||
background: url(../images/loading.gif) no-repeat 12px 1px;
|
||||
padding-left: 36px;
|
||||
font-weight: bold;
|
||||
font-size: 1em;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#saving p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#saving-notice {
|
||||
font-size: 0.9em;
|
||||
background: #ffc;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group nodes */
|
||||
|
||||
div.node {
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 0 0 1.417em 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
div.node h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.node div.meta {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.667em;
|
||||
margin-bottom: 1.667em;
|
||||
}
|
||||
|
||||
div.meta div.submitted, div.meta div.terms {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div.node div.picture {
|
||||
float: right;
|
||||
margin: 0 0 0.8em 0.8em;
|
||||
}
|
||||
|
||||
div.node ul.links {
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.node div.meta ul.links {
|
||||
display: inline;
|
||||
padding: 0 1em 0 0;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group comments */
|
||||
|
||||
div.comment-content {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
div.comment div.picture {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.comment span.username {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.comment span.date {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.comment span.new {
|
||||
color: #5B1100;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.comment div.permalink {
|
||||
width:32px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
div.comment img {
|
||||
margin: 0;
|
||||
border: 1px solid #ccc;
|
||||
padding:1px;
|
||||
}
|
||||
|
||||
div.comment {
|
||||
padding: 0.75em 1em;
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
div.comment.odd {
|
||||
background: #F1F5FA;
|
||||
}
|
||||
|
||||
div.comment.author {
|
||||
background: #ffc;
|
||||
}
|
||||
|
||||
h3#comment-number {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
div.indented {
|
||||
margin-left:40px;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group blocks */
|
||||
|
||||
div.block {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group block editing */
|
||||
|
||||
div.block.with-block-editing
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.block.with-block-editing div.edit
|
||||
{
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 40;
|
||||
border: 1px solid #eee;
|
||||
padding: 0 2px;
|
||||
font-size: 9px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
div.block.with-block-editing:hover div.edit
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group pager */
|
||||
|
||||
ul.pager {
|
||||
line-height: 1.667em;
|
||||
margin: 1.667em 0;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
ul.pager a, ul.pager li.pager-current {
|
||||
border: 1px solid #0066B3;
|
||||
text-decoration: none;
|
||||
margin-right: 3px;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
ul.pager li.pager-current {
|
||||
background: #0066B3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
ul.pager a:link,
|
||||
ul.pager a:visited {
|
||||
color:#0066B3;
|
||||
}
|
||||
|
||||
ul.pager a:hover,
|
||||
ul.pager a:focus,
|
||||
ul.pager a:active {
|
||||
background-color: #0066B3;
|
||||
color: #fff;
|
||||
border: 1px solid #0066B3;
|
||||
}
|
||||
|
||||
ul.pager span.pager-ellipsis {
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
.item-list .pager li {
|
||||
padding:0em;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
#user-login-form li.openid-link,
|
||||
#user-login li.openid-link {
|
||||
background-position: 0 0;
|
||||
padding-left:18px;
|
||||
}
|
||||
|
||||
/* @group Fixes */
|
||||
|
||||
/* These are fixes to an issue in blueprint.
|
||||
See: http://blueprintcss.lighthouseapp.com/projects/15318-blueprint-css/tickets/94-checkbox-and-radio-button-alignment
|
||||
http://drupal.org/node/491052
|
||||
http://drupal.org/node/700464 */
|
||||
|
||||
input[type=checkbox], input[type=radio], input.checkbox, input.radio {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
@@ -1,63 +0,0 @@
|
||||
/* $Id: fix-ie-rtl.css,v 1.2 2007/11/09 22:14:41 goba Exp $ */
|
||||
|
||||
body {
|
||||
/* Center layout */
|
||||
text-align: center;
|
||||
/* Allow text resizing */
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#squeeze {
|
||||
zoom: 1;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#squeeze .left-corner{
|
||||
direction: rtl
|
||||
}
|
||||
|
||||
#header-region, #wrapper #container {
|
||||
/* Reset text alignment */
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#wrapper #container #center {
|
||||
/* Reduce amount of damage done by extremely wide content */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wrapper #container #center .right-corner .left-corner {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Prevent fieldsets from shifting when changing collapsed state. */
|
||||
html.js fieldset.collapsible {
|
||||
position: relative;
|
||||
top: -1em;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsed {
|
||||
top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
tr.menu-disabled {
|
||||
/* Use filter to emulate CSS3 opacity */
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#header-region {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
#attach-hide label, #uploadprogress div.message {
|
||||
/* Fading elements in IE causes the text to bleed unless they have a background. */
|
||||
background-color: #ffffff;
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
/* $Id: fix-ie.css,v 1.8.2.1 2008/02/05 09:27:26 goba Exp $ */
|
||||
|
||||
/**
|
||||
* Garland, for Drupal 6.x
|
||||
* Stefan Nagtegaal, iStyledThis [dot] nl
|
||||
* Steven Wittens, acko [dot] net
|
||||
*/
|
||||
|
||||
body {
|
||||
/* Center layout */
|
||||
text-align: center;
|
||||
/* Allow text resizing */
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#header-region, #wrapper #container {
|
||||
/* Reset text alignment */
|
||||
text-align: left; /* LTR */
|
||||
}
|
||||
|
||||
#wrapper #container #center {
|
||||
/* Reduce amount of damage done by extremely wide content */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wrapper #container #center .right-corner .left-corner {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
|
||||
background: none;
|
||||
}
|
||||
|
||||
ul.primary {
|
||||
/* Fix missing top margin */
|
||||
position: relative; /* LTR */
|
||||
/* top: 0.5em; */
|
||||
}
|
||||
|
||||
/* Prevent fieldsets from shifting when changing collapsed state. */
|
||||
html.js fieldset.collapsible {
|
||||
position: relative;
|
||||
top: -1em;
|
||||
}
|
||||
html.js fieldset.collapsed {
|
||||
top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
tr.menu-disabled {
|
||||
/* Use filter to emulate CSS3 opacity */
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#header-region {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
tr.taxonomy-term-preview {
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#attach-hide label, #uploadprogress div.message {
|
||||
/* Fading elements in IE causes the text to bleed unless they have a background. */
|
||||
background-color: #ffffff;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
|
||||
|
||||
Blueprint CSS Framework 1.0
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See LICENSE for more info.
|
||||
* See README for instructions on how to use Blueprint.
|
||||
* For credits and origins, see AUTHORS.
|
||||
* This is a compressed file. See the sources in the 'src' directory.
|
||||
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* ie.css */
|
||||
body {text-align:center;}
|
||||
.container {text-align:left;}
|
||||
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;}
|
||||
* html legend {margin:0px -8px 16px 0;padding:0;}
|
||||
sup {vertical-align:text-top;}
|
||||
sub {vertical-align:text-bottom;}
|
||||
html>body p code {*white-space:normal;}
|
||||
hr {margin:-8px auto 11px;}
|
||||
img {-ms-interpolation-mode:bicubic;}
|
||||
.clearfix, .container {display:inline-block;}
|
||||
* html .clearfix, * html .container {height:1%;}
|
||||
fieldset {padding-top:0;}
|
||||
legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;}
|
||||
textarea {overflow:auto;}
|
||||
label {vertical-align:middle;position:relative;top:-0.25em;}
|
||||
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
|
||||
input.text:focus, input.title:focus {border-color:#666;}
|
||||
input.text, input.title, textarea, select {margin:0.5em 0;}
|
||||
input.checkbox, input.radio {position:relative;top:.25em;}
|
||||
form.inline div, form.inline p {vertical-align:middle;}
|
||||
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;}
|
||||
button, input.button {position:relative;top:0.25em;}
|
||||
@@ -1,20 +0,0 @@
|
||||
table {
|
||||
border-collapse: collapse; /* equivalent of cellspacing = 0 */
|
||||
}
|
||||
|
||||
fieldset {
|
||||
padding-top:1.5em;
|
||||
}
|
||||
|
||||
fieldset legend {
|
||||
padding:0 0.5em;
|
||||
}
|
||||
|
||||
fieldset legend a:link,
|
||||
fieldset legend a:visited {
|
||||
color:#0066B3;
|
||||
}
|
||||
|
||||
ul.primary li a {
|
||||
padding: 3px 10px 1px 10px; /* fix alignment of tabs */
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 588 B |
Binary file not shown.
|
Before Width: | Height: | Size: 316 B |
Binary file not shown.
|
Before Width: | Height: | Size: 407 B |
Binary file not shown.
|
Before Width: | Height: | Size: 365 B |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
@@ -1,29 +0,0 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
|
||||
|
||||
Blueprint CSS Framework 1.0
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See LICENSE for more info.
|
||||
* See README for instructions on how to use Blueprint.
|
||||
* For credits and origins, see AUTHORS.
|
||||
* This is a compressed file. See the sources in the 'src' directory.
|
||||
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* print.css */
|
||||
body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
|
||||
.container {background:none;}
|
||||
hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
|
||||
hr.space {background:#fff;color:#fff;visibility:hidden;}
|
||||
h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
|
||||
code {font:.9em "Courier New", Monaco, Courier, monospace;}
|
||||
a img {border:none;}
|
||||
p img.top {margin-top:0;}
|
||||
blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
|
||||
.small {font-size:.9em;}
|
||||
.large {font-size:1.1em;}
|
||||
.quiet {color:#999;}
|
||||
.hide {display:none;}
|
||||
a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
|
||||
a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
|
||||
@@ -1,267 +0,0 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
|
||||
|
||||
Blueprint CSS Framework 1.0
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See LICENSE for more info.
|
||||
* See README for instructions on how to use Blueprint.
|
||||
* For credits and origins, see AUTHORS.
|
||||
* This is a compressed file. See the sources in the 'src' directory.
|
||||
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* reset.css */
|
||||
html {margin:0;padding:0;border:0;}
|
||||
body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
|
||||
article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;}
|
||||
body {line-height:1.5;background:white;}
|
||||
table {border-collapse:separate;border-spacing:0;}
|
||||
caption, th, td {text-align:left;font-weight:normal;float:none !important;}
|
||||
table, th, td {vertical-align:middle;}
|
||||
blockquote:before, blockquote:after, q:before, q:after {content:'';}
|
||||
blockquote, q {quotes:"" "";}
|
||||
a img {border:none;}
|
||||
:focus {outline:0;}
|
||||
|
||||
/* typography.css */
|
||||
html {font-size:100.01%;}
|
||||
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
||||
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
|
||||
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
|
||||
h2 {font-size:2em;margin-bottom:0.75em;}
|
||||
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
|
||||
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
|
||||
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
|
||||
h6 {font-size:1em;font-weight:bold;}
|
||||
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
|
||||
p {margin:0 0 1.5em;}
|
||||
.left {float:left !important;}
|
||||
p .left {margin:1.5em 1.5em 1.5em 0;padding:0;}
|
||||
.right {float:right !important;}
|
||||
p .right {margin:1.5em 0 1.5em 1.5em;padding:0;}
|
||||
a:focus, a:hover {color:#09f;}
|
||||
a {color:#06c;text-decoration:underline;}
|
||||
blockquote {margin:1.5em;color:#666;font-style:italic;}
|
||||
strong, dfn {font-weight:bold;}
|
||||
em, dfn {font-style:italic;}
|
||||
sup, sub {line-height:0;}
|
||||
abbr, acronym {border-bottom:1px dotted #666;}
|
||||
address {margin:0 0 1.5em;font-style:italic;}
|
||||
del {color:#666;}
|
||||
pre {margin:1.5em 0;white-space:pre;}
|
||||
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
|
||||
li ul, li ol {margin:0;}
|
||||
ul, ol {margin:0 1.5em 1.5em 0;padding-left:1.5em;}
|
||||
ul {list-style-type:disc;}
|
||||
ol {list-style-type:decimal;}
|
||||
dl {margin:0 0 1.5em 0;}
|
||||
dl dt {font-weight:bold;}
|
||||
dd {margin-left:1.5em;}
|
||||
table {margin-bottom:1.4em;width:100%;}
|
||||
th {font-weight:bold;}
|
||||
thead th {background:#c3d9ff;}
|
||||
th, td, caption {padding:4px 10px 4px 5px;}
|
||||
tbody tr:nth-child(even) td, tbody tr.even td {background:#e5ecf9;}
|
||||
tfoot {font-style:italic;}
|
||||
caption {background:#eee;}
|
||||
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
|
||||
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
|
||||
.hide {display:none;}
|
||||
.quiet {color:#666;}
|
||||
.loud {color:#000;}
|
||||
.highlight {background:#ff0;}
|
||||
.added {background:#060;color:#fff;}
|
||||
.removed {background:#900;color:#fff;}
|
||||
.first {margin-left:0;padding-left:0;}
|
||||
.last {margin-right:0;padding-right:0;}
|
||||
.top {margin-top:0;padding-top:0;}
|
||||
.bottom {margin-bottom:0;padding-bottom:0;}
|
||||
|
||||
/* forms.css */
|
||||
label {font-weight:bold;}
|
||||
fieldset {padding:0 1.4em 1.4em 1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
||||
legend {font-weight:bold;font-size:1.2em;margin-top:-0.2em;margin-bottom:1em;}
|
||||
fieldset, #IE8#HACK {padding-top:1.4em;}
|
||||
legend, #IE8#HACK {margin-top:0;margin-bottom:0;}
|
||||
input[type=text], input[type=password], input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
|
||||
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus {border-color:#666;}
|
||||
select {background-color:#fff;border-width:1px;border-style:solid;}
|
||||
input[type=text], input[type=password], input.text, input.title, textarea, select {margin:0.5em 0;}
|
||||
input.text, input.title {width:300px;padding:5px;}
|
||||
input.title {font-size:1.5em;}
|
||||
textarea {width:390px;height:250px;padding:5px;}
|
||||
form.inline {line-height:3;}
|
||||
form.inline p {margin-bottom:0;}
|
||||
.error, .alert, .notice, .success, .info, .dde {padding:0.8em;margin-bottom:1em;border:2px solid #ddd;}
|
||||
.error, .alert {background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;}
|
||||
.notice {background:#fff6bf;color:#514721;border-color:#ffd324;}
|
||||
.success {background:#e6efc2;color:#264409;border-color:#c6d880;}
|
||||
.info {background:#d5edf8;color:#205791;border-color:#92cae4;}
|
||||
.dde {background:#FFCC99;color:#FF6633;border-color:#ff9933;}
|
||||
.error a, .alert a {color:#8a1f11;}
|
||||
.notice a {color:#514721;}
|
||||
.success a {color:#264409;}
|
||||
.info a {color:#205791;}
|
||||
.dde a {color:#FF6633;}
|
||||
|
||||
/* grid.css */
|
||||
.container {width:950px;margin:0 auto;}
|
||||
.showgrid {background:url(src/grid.png);}
|
||||
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {float:left;margin-right:10px;}
|
||||
.last {margin-right:0;}
|
||||
.span-1 {width:30px;}
|
||||
.span-2 {width:70px;}
|
||||
.span-3 {width:110px;}
|
||||
.span-4 {width:150px;}
|
||||
.span-5 {width:190px;}
|
||||
.span-6 {width:230px;}
|
||||
.span-7 {width:270px;}
|
||||
.span-8 {width:310px;}
|
||||
.span-9 {width:350px;}
|
||||
.span-10 {width:390px;}
|
||||
.span-11 {width:430px;}
|
||||
.span-12 {width:470px;}
|
||||
.span-13 {width:510px;}
|
||||
.span-14 {width:550px;}
|
||||
.span-15 {width:590px;}
|
||||
.span-16 {width:630px;}
|
||||
.span-17 {width:670px;}
|
||||
.span-18 {width:710px;}
|
||||
.span-19 {width:750px;}
|
||||
.span-20 {width:790px;}
|
||||
.span-21 {width:830px;}
|
||||
.span-22 {width:870px;}
|
||||
.span-23 {width:910px;}
|
||||
.span-24 {width:950px;margin-right:0;}
|
||||
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {border-left-width:1px;border-right-width:1px;padding-left:5px;padding-right:5px;}
|
||||
input.span-1, textarea.span-1 {width:18px;}
|
||||
input.span-2, textarea.span-2 {width:58px;}
|
||||
input.span-3, textarea.span-3 {width:98px;}
|
||||
input.span-4, textarea.span-4 {width:138px;}
|
||||
input.span-5, textarea.span-5 {width:178px;}
|
||||
input.span-6, textarea.span-6 {width:218px;}
|
||||
input.span-7, textarea.span-7 {width:258px;}
|
||||
input.span-8, textarea.span-8 {width:298px;}
|
||||
input.span-9, textarea.span-9 {width:338px;}
|
||||
input.span-10, textarea.span-10 {width:378px;}
|
||||
input.span-11, textarea.span-11 {width:418px;}
|
||||
input.span-12, textarea.span-12 {width:458px;}
|
||||
input.span-13, textarea.span-13 {width:498px;}
|
||||
input.span-14, textarea.span-14 {width:538px;}
|
||||
input.span-15, textarea.span-15 {width:578px;}
|
||||
input.span-16, textarea.span-16 {width:618px;}
|
||||
input.span-17, textarea.span-17 {width:658px;}
|
||||
input.span-18, textarea.span-18 {width:698px;}
|
||||
input.span-19, textarea.span-19 {width:738px;}
|
||||
input.span-20, textarea.span-20 {width:778px;}
|
||||
input.span-21, textarea.span-21 {width:818px;}
|
||||
input.span-22, textarea.span-22 {width:858px;}
|
||||
input.span-23, textarea.span-23 {width:898px;}
|
||||
input.span-24, textarea.span-24 {width:938px;}
|
||||
.append-1 {padding-right:40px;}
|
||||
.append-2 {padding-right:80px;}
|
||||
.append-3 {padding-right:120px;}
|
||||
.append-4 {padding-right:160px;}
|
||||
.append-5 {padding-right:200px;}
|
||||
.append-6 {padding-right:240px;}
|
||||
.append-7 {padding-right:280px;}
|
||||
.append-8 {padding-right:320px;}
|
||||
.append-9 {padding-right:360px;}
|
||||
.append-10 {padding-right:400px;}
|
||||
.append-11 {padding-right:440px;}
|
||||
.append-12 {padding-right:480px;}
|
||||
.append-13 {padding-right:520px;}
|
||||
.append-14 {padding-right:560px;}
|
||||
.append-15 {padding-right:600px;}
|
||||
.append-16 {padding-right:640px;}
|
||||
.append-17 {padding-right:680px;}
|
||||
.append-18 {padding-right:720px;}
|
||||
.append-19 {padding-right:760px;}
|
||||
.append-20 {padding-right:800px;}
|
||||
.append-21 {padding-right:840px;}
|
||||
.append-22 {padding-right:880px;}
|
||||
.append-23 {padding-right:920px;}
|
||||
.prepend-1 {padding-left:40px;}
|
||||
.prepend-2 {padding-left:80px;}
|
||||
.prepend-3 {padding-left:120px;}
|
||||
.prepend-4 {padding-left:160px;}
|
||||
.prepend-5 {padding-left:200px;}
|
||||
.prepend-6 {padding-left:240px;}
|
||||
.prepend-7 {padding-left:280px;}
|
||||
.prepend-8 {padding-left:320px;}
|
||||
.prepend-9 {padding-left:360px;}
|
||||
.prepend-10 {padding-left:400px;}
|
||||
.prepend-11 {padding-left:440px;}
|
||||
.prepend-12 {padding-left:480px;}
|
||||
.prepend-13 {padding-left:520px;}
|
||||
.prepend-14 {padding-left:560px;}
|
||||
.prepend-15 {padding-left:600px;}
|
||||
.prepend-16 {padding-left:640px;}
|
||||
.prepend-17 {padding-left:680px;}
|
||||
.prepend-18 {padding-left:720px;}
|
||||
.prepend-19 {padding-left:760px;}
|
||||
.prepend-20 {padding-left:800px;}
|
||||
.prepend-21 {padding-left:840px;}
|
||||
.prepend-22 {padding-left:880px;}
|
||||
.prepend-23 {padding-left:920px;}
|
||||
.border {padding-right:4px;margin-right:5px;border-right:1px solid #ddd;}
|
||||
.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #ddd;}
|
||||
.pull-1 {margin-left:-40px;}
|
||||
.pull-2 {margin-left:-80px;}
|
||||
.pull-3 {margin-left:-120px;}
|
||||
.pull-4 {margin-left:-160px;}
|
||||
.pull-5 {margin-left:-200px;}
|
||||
.pull-6 {margin-left:-240px;}
|
||||
.pull-7 {margin-left:-280px;}
|
||||
.pull-8 {margin-left:-320px;}
|
||||
.pull-9 {margin-left:-360px;}
|
||||
.pull-10 {margin-left:-400px;}
|
||||
.pull-11 {margin-left:-440px;}
|
||||
.pull-12 {margin-left:-480px;}
|
||||
.pull-13 {margin-left:-520px;}
|
||||
.pull-14 {margin-left:-560px;}
|
||||
.pull-15 {margin-left:-600px;}
|
||||
.pull-16 {margin-left:-640px;}
|
||||
.pull-17 {margin-left:-680px;}
|
||||
.pull-18 {margin-left:-720px;}
|
||||
.pull-19 {margin-left:-760px;}
|
||||
.pull-20 {margin-left:-800px;}
|
||||
.pull-21 {margin-left:-840px;}
|
||||
.pull-22 {margin-left:-880px;}
|
||||
.pull-23 {margin-left:-920px;}
|
||||
.pull-24 {margin-left:-960px;}
|
||||
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;}
|
||||
.push-1 {margin:0 -40px 1.5em 40px;}
|
||||
.push-2 {margin:0 -80px 1.5em 80px;}
|
||||
.push-3 {margin:0 -120px 1.5em 120px;}
|
||||
.push-4 {margin:0 -160px 1.5em 160px;}
|
||||
.push-5 {margin:0 -200px 1.5em 200px;}
|
||||
.push-6 {margin:0 -240px 1.5em 240px;}
|
||||
.push-7 {margin:0 -280px 1.5em 280px;}
|
||||
.push-8 {margin:0 -320px 1.5em 320px;}
|
||||
.push-9 {margin:0 -360px 1.5em 360px;}
|
||||
.push-10 {margin:0 -400px 1.5em 400px;}
|
||||
.push-11 {margin:0 -440px 1.5em 440px;}
|
||||
.push-12 {margin:0 -480px 1.5em 480px;}
|
||||
.push-13 {margin:0 -520px 1.5em 520px;}
|
||||
.push-14 {margin:0 -560px 1.5em 560px;}
|
||||
.push-15 {margin:0 -600px 1.5em 600px;}
|
||||
.push-16 {margin:0 -640px 1.5em 640px;}
|
||||
.push-17 {margin:0 -680px 1.5em 680px;}
|
||||
.push-18 {margin:0 -720px 1.5em 720px;}
|
||||
.push-19 {margin:0 -760px 1.5em 760px;}
|
||||
.push-20 {margin:0 -800px 1.5em 800px;}
|
||||
.push-21 {margin:0 -840px 1.5em 840px;}
|
||||
.push-22 {margin:0 -880px 1.5em 880px;}
|
||||
.push-23 {margin:0 -920px 1.5em 920px;}
|
||||
.push-24 {margin:0 -960px 1.5em 960px;}
|
||||
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:left;position:relative;}
|
||||
div.prepend-top, .prepend-top {margin-top:1.5em;}
|
||||
div.append-bottom, .append-bottom {margin-bottom:1.5em;}
|
||||
.box {padding:1.5em;margin-bottom:1.5em;background:#e5eCf9;}
|
||||
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:1px;margin:0 0 1.45em;border:none;}
|
||||
hr.space {background:#fff;color:#fff;visibility:hidden;}
|
||||
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
|
||||
.clearfix, .container {display:block;}
|
||||
.clear {clear:both;}
|
||||
@@ -1,31 +0,0 @@
|
||||
/* put your custom CSS in here */
|
||||
|
||||
/* ADDED BY PHIL */
|
||||
.error-message{
|
||||
background:url(images/false.png) 10px center no-repeat;
|
||||
padding:0 0 0 30px;
|
||||
display:inline;
|
||||
color:#ff5b5b;
|
||||
border-color: #FF0000;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.good-message{
|
||||
background:url(images/true.png) 10px center no-repeat;
|
||||
padding:0 0 0 30px;
|
||||
display:inline;
|
||||
color:#99CC33;
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
#xmlwritten {
|
||||
position:absolute;
|
||||
left:20%;
|
||||
width:60%;
|
||||
margin-top:50px;
|
||||
text-align:center;
|
||||
padding:15px;
|
||||
border:1px dashed #333;
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
ls -lR /
|
||||
|
||||
@@ -1,353 +0,0 @@
|
||||
<blockquote>
|
||||
* All fields have to be filled in. If you get a red cross <img src="/OpenAirEmu/css/images/false.png" /> it means your field is empty, so please insert a value. Whereas if you get a green tick <img src="/OpenAirEmu/css/images/true.png" />, it would mean that you correctly filled in the field<br>
|
||||
* The fields in grey have been disabled for the moment since they are not yet supported by our Emulation plateform.<br><br>
|
||||
</blockquote>
|
||||
|
||||
<form method="post" action="recep.php" >
|
||||
|
||||
<!-- Hidden Values-->
|
||||
<input type="hidden" value="root " name="username" />
|
||||
<input type="hidden" value="0" name="executed" />
|
||||
|
||||
<div class="success span-30 last">
|
||||
<fieldset>
|
||||
<legend>Environment and System Configuration</legend>
|
||||
<div class="span-29 inline">
|
||||
<div class="span-6">
|
||||
<h4><u>Fading</u></h4>
|
||||
<label>Pathloss model</label><br>
|
||||
Pathloss Exponent :<input name="pathlossexp" id="pathlossexp" size="2" maxlength="4" value="2.0" class="required"> (2 to 6)<span class="message"></span><br>
|
||||
Pathloss Zero Db: <input name="pathlosszero" id="pathlosszero" size="2" maxlength="4" value="-50" class="required"> dB (0 to -150)<span class="message"></span><br><br>
|
||||
</div>
|
||||
<div class="span-4">
|
||||
<br><br><label>Small Scale</label><br>
|
||||
<input type="radio" name="smallscale" value="SCM_A">SCM_A<br>
|
||||
<input type="radio" name="smallscale" value="SCM_B">SCM_B<br>
|
||||
<input type="radio" name="smallscale" value="SCM_C">SCM_C<br>
|
||||
<input type="radio" name="smallscale" value="SCM_D">SCM_D<br>
|
||||
<input type="radio" name="smallscale" value="EPA">EPA<br>
|
||||
<input type="radio" name="smallscale" value="EVA">EVA<br>
|
||||
<input type="radio" name="smallscale" value="ETU">ETU<br>
|
||||
<input type="radio" name="smallscale" value="Rayleigh8">Rayleigh8<br>
|
||||
<input type="radio" name="smallscale" value="Rayleigh1">Rayleigh1<br>
|
||||
<input type="radio" name="smallscale" value="Rayleigh1_corr">Rayleigh1_corr<br>
|
||||
<input type="radio" name="smallscale" value="Rayleigh1_anticorr">Rayleigh1_anticorr<br>
|
||||
<input type="radio" name="smallscale" value="Rice8">Rice8<br>
|
||||
<input type="radio" name="smallscale" value="Rice1">Rice1<br>
|
||||
<input type="radio" name="smallscale" value="Rice1_corr">Rice1_corr<br>
|
||||
<input type="radio" name="smallscale" value="Rice1_anticorr">Rice1_anticorr<br>
|
||||
<input type="radio" name="smallscale" value="AWGN" checked>AWGN<br>
|
||||
</div>
|
||||
|
||||
<div class="span-7">
|
||||
<h4><u>Other parameters</u></h4>
|
||||
<label>Wall penetration loss</label><input name="wallpenetloss" id="wallpenetloss" size="3" maxlength="4" value="5" class="required"> dB<span class="message"></span><br>
|
||||
<label>System Bandwidth : </label><input name="sysbw" id="sysbw" size="3" maxlength="4" value="5" class="required"> MHz<span class="message"></span><br>
|
||||
<label>UE Frequency : </label><input name="uefreq" id="uefreq" size="3" maxlength="4" value="1.9" class="required"> GHz<span class="message"></span><br>
|
||||
<label>Number of RBs DL (6,15,25,50,75,100) : </label><input name="num_rbs_dl" id="num_rbs_dl" size="3" maxlength="4" value="25"><span class="message"></span><br>
|
||||
<label>Target DL MCS : </label><input name="dl_mcs" id="dl_mcs" size="3" maxlength="4" value="20"><span class="message"></span><br>
|
||||
<label>Target UL MCS : </label><input name="ul_mcs" id="ul_mcs" size="3" maxlength="4" value="16"><span class="message"></span><br>
|
||||
<label>SNR : </label><input name="snr" id="snr" size="3" maxlength="4" value="15"><span class="message"></span><br>
|
||||
<label>Transmission Mode (1,2,5,6) : </label><input name="transmission_mode" id="transmission_mode" size="3" maxlength="4" value="1"><span class="message"></span><br>
|
||||
<br><label>Frame Type : </label><br>
|
||||
<input type="radio" name="frame_type" value="1" checked>TDD <label>Frame Config (0-6) : </label><input name="tdd_config" id="tdd_config" size="3" maxlength="4" value="1"><span class="message"></span><br>
|
||||
<input type="radio" name="frame_type" value="0">FDD<br>
|
||||
</div>
|
||||
|
||||
<div class="span-10">
|
||||
<div class="span-5">
|
||||
<h4><u>Antenna</u></h4>
|
||||
<label>eNB Antenna : </label><br><br>
|
||||
<label>RX Noise Power</label><input name="eNB_RX_noise_power" id="eNB_RX_noise_power" size="1" maxlength="4" value="5" class="required"> dB<span class="message"></span><br>
|
||||
<label>Number of Sectors :</label><input name="eNB_nb_sectors" id="eNB_nb_sectors" size="1" maxlength="4" value="3" class="required"><span class="message"></span><br>
|
||||
<label>Beam Width :</label><input name="eNB_beam_width" id="eNB_beam_width" size="1" maxlength="4" value="1.13" class="required"> dB<span class="message"></span><br>
|
||||
<label>Antenna gain</label><input name="eNB_antenna_gain" id="eNB_antenna_gain" size="1" maxlength="4" value="16" class="required"> dBi<span class="message"></span><br>
|
||||
<label>TX Power</label><input name="eNB_TX_power" id="eNB_TX_power" size="1" maxlength="4" value="40" class="required"> dBm<span class="message"></span><br>
|
||||
<label>Nb antennas RX</label><input name="eNB_antennas_rx" id="eNB_antennas_rx" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
<label>Nb antennas TX</label><input name="eNB_antennas_tx" id="eNB_antennas_tx" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
</div>
|
||||
<div class="span-5 last">
|
||||
<br><br><label>UE Antenna : </label><br><br>
|
||||
<label>RX Noise Power</label><input name="UE_RX_noise_power" id="UE_RX_noise_power" size="1" maxlength="4" value="1" class="required"> dB<span class="message"></span><br>
|
||||
<label>Antenna gain</label><input name="UE_antenna_gain" id="UE_antenna_gain" size="1" maxlength="4" value="0" class="required"> dBi<span class="message"></span><br>
|
||||
<label>TX Power</label><input name="UE_TX_power" id="UE_TX_power" size="1" maxlength="4" value="20" class="required"> dBm<span class="message"></span><br>
|
||||
<label>Nb antennas RX</label><input name="UE_antennas_rx" id="UE_antennas_rx" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
<label>Nb antennas TX</label><input name="UE_antennas_tx" id="UE_antennas_tx" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="info span-25 last">
|
||||
<fieldset>
|
||||
<legend>Topology Configuration</legend>
|
||||
<div class="span-24 inline">
|
||||
<!-- 1ere ligne -->
|
||||
<div class="span-6">
|
||||
<label>Area</label><br>
|
||||
Area X : <input name="areax" id="areax" size="4" maxlength="4" value="500" class="required"> m<span class="message"></span><br>
|
||||
Area Y : <input name="areay" id="areay" size="4" maxlength="4" value="500" class="required"> m<span class="message"></span><br>
|
||||
</div>
|
||||
|
||||
<div class="span-6">
|
||||
<label>Network Type</label><br>
|
||||
<input type="radio" name="typetopo" value="homogeneous" checked> Homogeneous<br>
|
||||
<input type="radio" name="typetopo" value="heterogeneous"> Heterogeneous<br>
|
||||
</div>
|
||||
|
||||
<div class="span-6">
|
||||
<label>Cell Type</label><br>
|
||||
<input type="radio" name="celltype" value="macrocell" checked> Macrocell<br>
|
||||
<input type="radio" name="celltype" value="microcell" class="disabled"> MicroCell<br>
|
||||
<input type="radio" name="celltype" value="picocell" class="disabled"> PicoCell<br>
|
||||
<input type="radio" name="celltype" value="femtocell" class="disabled"> FemtoCell<br>
|
||||
</div>
|
||||
|
||||
<div class="span-6 last">
|
||||
<label>Relay</label><br>
|
||||
Number of Relays : <input name="nbrelay" id="nbrelay" size="1" maxlength="4" value="0" class="disabled"> (DISABLED)<span class="message"></span><br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="span-24 inline">
|
||||
<h4><u>Mobility</u></h4>
|
||||
<div class="span-5">
|
||||
|
||||
<label>UE Initial Distribution : </label><br>
|
||||
<input type="radio" name="uedistr" value="random" checked> Random<br>
|
||||
<input type="radio" name="uedistr" value="concentrated" class="disabled"> Concentrated<br>
|
||||
<input type="radio" name="uedistr" value="grid_map" class="disabled"> Grid Map<br>
|
||||
<span id="gridue" style="display:none">
|
||||
<div class="span-10">
|
||||
<input type="radio" name="gridmapradio" value="random_grid" checked> Random grid : <span id="random_grid" style="display"> Number of Nodes : <input name="rdgridnbnodes" id="rdgridnbnodes" size="1" maxlength="4" value="1" class="required"><span class="message"></span></span><br>
|
||||
</div>
|
||||
<div class="span-10">
|
||||
<input type="radio" name="gridmapradio" value="border_grid"> Border grid : <span id="border_grid" style="display:none"> Number of Nodes : <input name="bdgridnbnodes" id="bdgridnbnodes" size="1" maxlength="4" value="1" class="required"><span class="message"></span></span><br>
|
||||
</div>
|
||||
</span><br>
|
||||
|
||||
<label>Random UE Distribution : </label><br>
|
||||
Number of Nodes : <input name="random_UE_dist_nb_node" id="random_UE_dist_nb_node" size="1" maxlength="4" value="1"><span class="message"></span><br><br>
|
||||
|
||||
|
||||
<label>UE Mobility Type</label><br>
|
||||
<input type="radio" name="uemobility" value="STATIC" checked> Static<br>
|
||||
<input type="radio" name="uemobility" value="RWP"> Random Way point<br>
|
||||
<input type="radio" name="uemobility" value="RWALK"> Random Walk<br>
|
||||
<input type="radio" name="uemobility" value="TRACE"> Trace<br>
|
||||
<input type="radio" name="uemobility" value="SUMO" class="disabled"> Sumo<br>
|
||||
<input type="radio" name="uemobility" value="grid_walk" class="disabled"> Grid Walk <br><span id="grid_walk" style="display:none"> -> <u>Grid Map :</u> Vertical grid :<input name="vertgrid" id="vertgrid" size="1" maxlength="4" value="1" class="required">
|
||||
Horizontal grid :<input name="horizgrid" id="horizgrid" size="1" maxlength="4" value="1" class="required"><br>
|
||||
-> <u>Grid Trip Type :</u><br>
|
||||
<input type="radio" name="gridtype" value="random_destination" checked> Random Destination<br>
|
||||
<input type="radio" name="gridtype" value="random_turn"> Random Turn<br>
|
||||
<span class="message"></span></span><br>
|
||||
</div>
|
||||
|
||||
<div class="span-8">
|
||||
<label>UE Moving Dynamics : </label><br>
|
||||
Min Speed : <input name="minspeed" id="minspeed" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
Max Speed : <input name="maxspeed" id="maxspeed" size="1" maxlength="4" value="10" class="required"><span class="message"></span><br>
|
||||
Min Sleep : <input name="minpausetime" id="minpausetime" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
Max Sleep : <input name="maxpausetime" id="maxpausetime" size="1" maxlength="4" value="10" class="required"><span class="message"></span><br>
|
||||
Min Journey Time : <input name="minjourneytime" id="minjourneytime" size="1" maxlength="4" value="1" class="required"><span class="message"></span><br>
|
||||
Max Journey Time : <input name="maxjourneytime" id="maxjourneytime" size="1" maxlength="4" value="10" class="required"><span class="message"></span><br>
|
||||
<br>
|
||||
|
||||
<label>SUMO Config : </label><br>
|
||||
SUMO CMD : <input name="sumocmd" id="sumocmd" size="3" maxlength="4" value="sumo" class="required"><span class="message"></span><br>
|
||||
SUMO CONFIG FILE : <input name="sumoconffile" id="sumoconffile" size="20" maxlength="64" value="$OPENAIR2_DIR/UTIL/OMG/SUMO/SCENARIOS/scen.sumo.cfg" class="required"><span class="message"></span><br>
|
||||
SUMO START : <input name="sumostart" id="sumostart" size="1" maxlength="4" value="0" class="required"><span class="message"></span><br>
|
||||
SUMO END : <input name="sumoend" id="sumoend" size="1" maxlength="4" value="10" class="required"><span class="message"></span><br>
|
||||
SUMO STEP : <input name="sumostep" id="sumostep" size="1" maxlength="4" value="10" class="required"><span class="message"></span><br>
|
||||
SUMO HOST IP : <input name="sumohostip" id="sumohostip" size="10" maxlength="64" value="127.0.1.1" class="required"><span class="message"></span><br>
|
||||
SUMO HOST PORT : <input name="sumohostport" id="sumohostport" size="3" maxlength="6" value="8883" class="required"><span class="message"></span><br>
|
||||
<br>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span-7">
|
||||
<label>eNB Initial Distribution : </label><br>
|
||||
<input type="radio" name="eNB_initial_distribution" value="fixed" checked> Fixed <br>
|
||||
Pos X : <input name="pos_x" id="pos_x" size="4" maxlength="4" value="250" class="required"> m<span class="message"></span><br>
|
||||
Pos Y : <input name="pos_y" id="pos_y" size="4" maxlength="4" value="250" class="required"> m<span class="message"></span><br>
|
||||
<input type="radio" name="eNB_initial_distribution" value="random"> Random <!--<span id="random" style="display">-> Number of cells :<input name="nbenbs" id="nbenbs" size="1" maxlength="4" value="1" class="required"><span class="message"></span></span>--><br>
|
||||
<input type="radio" name="eNB_initial_distribution" value="grid" class="disabled"> Grid <!-- <span id="grid" style="display:none">-> Grid X value :<input name="gridx" id="gridx" size="1" maxlength="4" value="1" class="required"><span class="message"></span>Grid Y value :<input name="gridy" id="gridy" size="1" maxlength="4" value="1" class="required"><span class="message"></span></span>--><br>
|
||||
<input type="radio" name="eNB_initial_distribution" value="hexagonal" class="disabled"> Hexagonal <!--<span id="hexagonal" style="display:none">-> Number of Cells :<input name="hexanbcells" id="hexabncells" size="1" maxlength="4" value="1" class="required"><span class="message"></span> Inter eNB distance :<input name="interenbdist" id="interenbdist" size="1" maxlength="4" value="1" class="required"> km<span class="message"></span></span>--><br>
|
||||
<br>
|
||||
|
||||
<label>Random eNB Distribution : </label><br>
|
||||
Number of Cells : <input name="random_eNB_distr" id="random_eNB_distr" size="1" maxlength="4" value="1"><span class="message"></span><br><br>
|
||||
|
||||
<label>eNB Mobility Type : </label><br>
|
||||
<input type="radio" name="enbmobility" value="STATIC" checked> Static<br>
|
||||
<input type="radio" name="enbmobility" value="mobile"> Mobile<br>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span-4 last">
|
||||
<label>OMV :</label> <input name="omv" id="omv" size="1" maxlength="4" value="0"><span class="message"></span><br><br>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="dde span-33 last">
|
||||
<fieldset>
|
||||
<legend>Application Configuration</legend>
|
||||
|
||||
<div class="span-30 inline">
|
||||
|
||||
<div class="span-5">
|
||||
<label><u>Predefined Traffic :</u></label><br>
|
||||
<label>Source ID :</label> <input name="pre_sourceid" id="pre_sourceid" size="2" maxlength="4" value="0"><span class="message"></span><br><br>
|
||||
<label>Destination ID :</label> <input name="pre_destid" id="pre_destid" size="2" maxlength="4" value="1"><span class="message"></span><br><br>
|
||||
<label>Background traffic :</label> <input name="bg_traffic" id="bg_traffic" value="0" type="checkbox"><span class="message"></span><br><br>
|
||||
<label>Transport Protocol : </label><br>
|
||||
<input type="radio" name="pre_transprot" value="tcp" checked> TCP<br>
|
||||
<input type="radio" name="pre_transprot" value="udp"> UDP<br><br>
|
||||
<label>IP VERSION : </label><br>
|
||||
<input type="radio" name="pre_ipversion" value="ipv4" checked> IPv4<br>
|
||||
<input type="radio" name="pre_ipversion" value="ipv6"> IPv6<br><br>
|
||||
<label>Application Type :</label><br>
|
||||
<input type="radio" name="pre_apptype" value="no_predefined_traffic" checked> no customised traffic<br>
|
||||
<input type="radio" name="pre_apptype" value="scbr"> scbr<br>
|
||||
<input type="radio" name="pre_apptype" value="mcbr"> mcbr<br>
|
||||
<input type="radio" name="pre_apptype" value="bcbr"> bcbr<br>
|
||||
<input type="radio" name="pre_apptype" value="m2m_AP"> m2m_AP<br>
|
||||
<input type="radio" name="pre_apptype" value="m2m_BR"> m2m_BR<br>
|
||||
<input type="radio" name="pre_apptype" value="gaming_OA"> gaming_OA<br>
|
||||
<input type="radio" name="pre_apptype" value="gaming_TF"> gaming_TF<br>
|
||||
<input type="radio" name="pre_apptype" value="full_buffer"> full_buffer<br>
|
||||
<input type="radio" name="pre_apptype" value="customised"> customised<br>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="span-5">
|
||||
|
||||
<label><u>Customised Traffic :</u></label><br>
|
||||
<label>SOURCE ID : </label><input name="cust_sourceid" id="cust_sourceid" size="2" maxlength="4" value="0"><span class="message"></span><br><br>
|
||||
<label>DESTINATION ID : </label><input name="cust_destid" id="cust_destid" size="2" maxlength="4" value="1"><span class="message"></span><br><br>
|
||||
<label>Transport Protocol : </label><br>
|
||||
<input type="radio" name="cust_transprot" value="tcp" checked> TCP<br>
|
||||
<input type="radio" name="cust_transprot" value="udp"> UDP<br><br>
|
||||
<label>IP VERSION : </label><br>
|
||||
<input type="radio" name="cust_ipversion" value="ipv4" checked> IPv4<br>
|
||||
<input type="radio" name="cust_ipversion" value="ivp6"> IPv6<br>
|
||||
</div>
|
||||
|
||||
<div class="span-5">
|
||||
<br>
|
||||
<label>IDT DIST : </label><br>
|
||||
<input type="radio" name="idt_dist" value="no_customized_traffic" checked> No customised traffic<br>
|
||||
<input type="radio" name="idt_dist" value="uniform"> uniform<br>
|
||||
<input type="radio" name="idt_dist" value="poisson" > poisson<br>
|
||||
<input type="radio" name="idt_dist" value="gaussian"> gaussian<br>
|
||||
<input type="radio" name="idt_dist" value="exponential"> exponential<br>
|
||||
<input type="radio" name="idt_dist" value="static"> static<br>
|
||||
<input type="radio" name="idt_dist" value="weibull"> weibull<br>
|
||||
<input type="radio" name="idt_dist" value="pareto"> pareto<br>
|
||||
<input type="radio" name="idt_dist" value="gamma"> gamma<br>
|
||||
<input type="radio" name="idt_dist" value="cauchy"> cauchy<br>
|
||||
<label>IDT MIN : </label><input name="idtmin" id="idtmin" size="4" maxlength="4" value="100"> ms<span class="message"></span><br>
|
||||
<label>IDT MAX : </label><input name="idtmax" id="idtmax" size="4" maxlength="4" value="1000"> ms<span class="message"></span><br>
|
||||
<label>IDT Standard Deviation : </label><input name="idtstddeviation" id="idtstddeviation" size="4" maxlength="4" value="4.5"><span class="message"></span><br>
|
||||
<label>IDT Lambda : </label><input name="idtlambda" id="idtlambda" size="4" maxlength="4" value="7.3"><span class="message"></span><br>
|
||||
<label>IDT Scale : </label><input name="idtscale" id="idtscale" size="4" maxlength="4" value="30"><span class="message"></span><br>
|
||||
<label>IDT Shape : </label><input name="idtshape" id="idtshape" size="4" maxlength="4" value="15"><span class="message"></span><br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="span-5">
|
||||
<br>
|
||||
<label>SIZE DIST : </label><br>
|
||||
<input type="radio" name="size_dist" value="no_customized_traffic" checked> No customised traffic<br>
|
||||
<input type="radio" name="size_dist" value="uniform" > uniform<br>
|
||||
<input type="radio" name="size_dist" value="poisson"> poisson<br>
|
||||
<input type="radio" name="size_dist" value="gaussian"> gaussian<br>
|
||||
<input type="radio" name="size_dist" value="exponential"> exponential<br>
|
||||
<input type="radio" name="size_dist" value="static"> static<br>
|
||||
<input type="radio" name="size_dist" value="weibull"> weibull<br>
|
||||
<input type="radio" name="size_dist" value="pareto"> pareto<br>
|
||||
<input type="radio" name="size_dist" value="gamma"> gamma<br>
|
||||
<input type="radio" name="size_dist" value="cauchy"> cauchy<br>
|
||||
<label>SIZE MIN byte : </label><input name="sizemin" id="sizemin" size="4" maxlength="4" value="100"><span class="message"></span><br>
|
||||
<label>SIZE MAX byte : </label><input name="sizemax" id="sizemax" size="4" maxlength="4" value="500"><span class="message"></span><br>
|
||||
<label>SIZE Std Deviation : </label><input name="sizestddeviation" id="sizestddeviation" size="4" maxlength="4" value="5.3"><span class="message"></span><br>
|
||||
<label>SIZE Lambda : </label><input name="sizelambda" id="sizelambda" size="4" maxlength="4" value="2.2"><span class="message"></span><br>
|
||||
<label>SIZE Scale : </label><input name="sizescale" id="sizescale" size="4" maxlength="4" value="0.5"><span class="message"></span><br>
|
||||
<label>SIZE Shape : </label><input name="sizeshape" id="sizeshape" size="4" maxlength="4" value="30"><span class="message"></span><br>
|
||||
<label>Destination Port : </label><input name="destport" id="destport" size="4" maxlength="4" value="1"><span class="message"></span><br>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span-10 last">
|
||||
<br>
|
||||
<label>PU</label><br>
|
||||
PROB OFF-PU : <input name="proboffpu" id="proboffpu" size="3" maxlength="4" value="0.7"><span class="message"></span><br>
|
||||
PROB PU-ED : <input name="probpued" id="probpued" size="3" maxlength="4" value="0.2"><span class="message"></span><br>
|
||||
HOLDING TIME OFF-PU : <input name="holdtimeoffpu" id="holdtimeoffpu" size="3" maxlength="4" value="50"><span class="message"></span><br><br>
|
||||
|
||||
|
||||
<label>ED</label><br>
|
||||
PROB OFF-ED : <input name="proboffed" id="proboffed" size="3" maxlength="4" value="0.2"><span class="message"></span><br>
|
||||
PROB ED-PE : <input name="probedpe" id="probedpe" size="3" maxlength="4" value="0.1"><span class="message"></span><br>
|
||||
HOLDING TIME OFF-ED : <input name="holdtimeoffed" id="holdtimeoffed" size="4" maxlength="4" value="1000"><span class="message"></span><br><br>
|
||||
|
||||
<label>PE</label><br>
|
||||
HOLDING TIME OFF-PE : <input name="holdtimeoffpe" id="holdtimeoffpe" size="3" maxlength="4" value="0.1"><span class="message"></span><br>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="alert span-25 last">
|
||||
<fieldset>
|
||||
<legend>Emulation Configuration</legend>
|
||||
|
||||
<div class="span-24 inline">
|
||||
<label>Emulation Time</label> : <input name="emutime" id="emutime" size="6" maxlength="6" value="500" class="required"> milliseconds(ms)<span class="message"></span><br>
|
||||
</div>
|
||||
|
||||
<div class="span-24 prepend-top inline">
|
||||
<label><u>Performance Metrics :</u></label>
|
||||
</div>
|
||||
|
||||
<div class="span-24 inline">
|
||||
<div class="span-7">
|
||||
<input name="throughput" value="1" type="checkbox" class="required" > Throughput<span class="message"></span><br>
|
||||
<input name="latency" value="1" type="checkbox" class="required" > Latency<span class="message"></span><br>
|
||||
<input name="lossrate" value="1" type="checkbox" class="required"> Loss Rate<span class="message"></span><br>
|
||||
<br>
|
||||
<input name="phy_abstraction" value="1" type="checkbox" class="required"> PHY Abstraction<span class="message"></span><br>
|
||||
<input name="profiling" value="1" type="checkbox" class="required" checked> Profiling Statistics<span class="message"></span><br>
|
||||
<input name="pcap_trace" value="1" type="checkbox" class="required"> PCAP Trace<span class="message"></span><br>
|
||||
<br>
|
||||
<input name="cli_enabled" value="1" type="checkbox" class="required"> CLI Enabled<span class="message"></span><br>
|
||||
<input name="cli_start_enb" value="1" type="checkbox" class="required"> CLI Start eNB<span class="message"></span><br>
|
||||
<input name="cli_start_ue" value="1" type="checkbox" class="required"> CLI Start UE<span class="message"></span><br>
|
||||
<br>
|
||||
<input name="curves" value="1" type="checkbox" class="required"> Show Curves (not working)<span class="message"></span><br>
|
||||
</div>
|
||||
<div class="span-6">
|
||||
<label>LOG :</label><br>
|
||||
Level <input name="level" id="level" size="6" maxlength="6" value="debug"><span class="message"></span><br>
|
||||
Verbosity <input name="verbosity" id="verbosity" size="6" maxlength="6" value="low"><span class="message"></span><br>
|
||||
Interval <input name="interval" id="interval" size="6" maxlength="6" value="1"><span class="message"></span><br>
|
||||
</div>
|
||||
<div class="span-10 last">
|
||||
<label>PACKET TRACE :</label><input name="pkttrace" value="0" type="checkbox"><br>
|
||||
<label>SEED VALUE :</label><input name="seedvalue" id="seedvalue" size="1" maxlength="4" value="1234"><span class="message"></span><br><br>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div align="center" class="notice span-25 last">
|
||||
Send details : <input type="submit" value="Generate Scenario and Run Emulation" id="envoyer"/><br />
|
||||
</div>
|
||||
</form>
|
||||
@@ -1,163 +0,0 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<?php
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
?>
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="-1">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
|
||||
<title>OpenAirEmulation Scenario Descriptor - Basic Scenario</title>
|
||||
<link type="text/css" rel="stylesheet" media="screen,projection" href="/OSD/css/screen.css?8" />
|
||||
<link type="text/css" rel="stylesheet" media="screen,projection" href="/OSD/css/blueprint.css?8" />
|
||||
<link type="text/css" rel="stylesheet" media="screen,projection" href="/OSD/css/style.css?8" />
|
||||
<script type="text/javascript" src="/OSD/jquery/jquery.js?8"></script>
|
||||
<!--[if lt IE 7]>
|
||||
<link type="text/css" rel="stylesheet" media="all" href="/OSD/css/fix-ie.css" />
|
||||
<![endif]-->
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#envoyer").click(function(){
|
||||
valid = true;
|
||||
// text non vide
|
||||
// $("input[value=]").filter(".required").css("border-color","#FF0000").next(".error-message").fadeIn("slow").text("Champ vide");
|
||||
// $("input[value!=]").filter(".required").css("border-color","#CCFF00").next(".error-message").fadeOut("fast").next(".good-message").fadeIn("slow");
|
||||
$("input[value=]").filter(".required").next(".message").text("Empty").addClass("error-message").removeClass("good-message").fadeIn("slow");
|
||||
$("input[value!=]").filter(".required").next(".message").text("Ok").addClass("good-message").removeClass("error-message").fadeIn("slow");
|
||||
valid = valid && ($("input[value=]").filter(".required").size() == 0)
|
||||
|
||||
// test intger
|
||||
//.....
|
||||
// valid = valid and ....
|
||||
return valid;
|
||||
});
|
||||
|
||||
// PART 1 - BUTTON FADING - SMALL SCALE
|
||||
$(":radio[name='smallscale']").click(function(){
|
||||
if ($(":radio[name='smallscale']:checked").val() == 'rayleigh') {
|
||||
$("#rayleigh").show(1);
|
||||
$("#rician").hide(1);
|
||||
}
|
||||
if ($(":radio[name='smallscale']:checked").val() == 'rician') {
|
||||
$("#rayleigh").hide(1);
|
||||
$("#rician").show(1);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// PART 2 - BUTTON eNB TOPOLOGY
|
||||
$(":radio[name='eNB_initial_distribution']").click(function(){
|
||||
if ($(":radio[name='eNB_initial_distribution']:checked").val() == 'random') {
|
||||
$("#grid").hide(1);
|
||||
$("#hexagonal").hide(1);
|
||||
$("#random").hide(1);
|
||||
$("#fixed").show(1);
|
||||
}
|
||||
if ($(":radio[name='eNB_initial_distribution']:checked").val() == 'random') {
|
||||
$("#grid").hide(1);
|
||||
$("#hexagonal").hide(1);
|
||||
$("#random").show(1);
|
||||
$("#fixed").hide(1);
|
||||
}
|
||||
if ($(":radio[name='eNB_initial_distribution']:checked").val() == 'grid') {
|
||||
$("#grid").show(1);
|
||||
$("#hexagonal").hide(1);
|
||||
$("#random").hide(1);
|
||||
$("#fixed").hide(1);
|
||||
}
|
||||
if ($(":radio[name='eNB_initial_distribution']:checked").val() == 'hexagonal') {
|
||||
$("#grid").hide(1);
|
||||
$("#hexagonal").show(1);
|
||||
$("#random").hide(1);
|
||||
$("#fixed").hide(1);
|
||||
}
|
||||
});
|
||||
|
||||
// PART 2 - BUTTON UE DISTRIBUTION
|
||||
$(":radio[name='uedistr']").click(function(){
|
||||
if ($(":radio[name='uedistr']:checked").val() == 'random') {
|
||||
$("#gridue").hide(1);
|
||||
}
|
||||
if ($(":radio[name='uedistr']:checked").val() == 'concentrated') {
|
||||
$("#gridue").hide(1);
|
||||
}
|
||||
if ($(":radio[name='uedistr']:checked").val() == 'grid_map') {
|
||||
$("#gridue").show(1);
|
||||
}
|
||||
});
|
||||
$(":radio[name='gridmapradio']").click(function(){
|
||||
if ($(":radio[name='gridmapradio']:checked").val() == 'random_grid') {
|
||||
$("#random_grid").show(1);
|
||||
$("#border_grid").hide(1);
|
||||
}
|
||||
if ($(":radio[name='gridmapradio']:checked").val() == 'border_grid') {
|
||||
$("#random_grid").hide(1);
|
||||
$("#border_grid").show(1);
|
||||
}
|
||||
});
|
||||
|
||||
// PART 2 - BUTTON MOBILITY
|
||||
$(":radio[name='uemobility']").click(function(){
|
||||
if ($(":radio[name='uemobility']:checked").val() == 'fixed') {
|
||||
$("#grid_walk").hide(1);
|
||||
}
|
||||
if ($(":radio[name='uemobility']:checked").val() == 'random_waypoint') {
|
||||
$("#grid_walk").hide(1);
|
||||
}
|
||||
if ($(":radio[name='uemobility']:checked").val() == 'random_walk') {
|
||||
$("#grid_walk").hide(1);
|
||||
}
|
||||
if ($(":radio[name='uemobility']:checked").val() == 'grid_walk') {
|
||||
$("#grid_walk").show(1);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
// BUTTON TRAFFIC - PACKET SIZE
|
||||
$(":radio[name='pktsize']").click(function(){
|
||||
if ($(":radio[name='pktsize']:checked").val() == 'fixed') {
|
||||
$("#pktsizefixed").show(1);
|
||||
$("#pktsizeuniform").hide(1);
|
||||
}
|
||||
if ($(":radio[name='pktsize']:checked").val() == 'uniform') {
|
||||
$("#pktsizefixed").hide(1);
|
||||
$("#pktsizeuniform").show(1);
|
||||
}
|
||||
});
|
||||
|
||||
// BUTTON TRAFFIC - INTER ARRIVAL TIME
|
||||
$(":radio[name='interarrivtime']").click(function(){
|
||||
if ($(":radio[name='interarrivtime']:checked").val() == 'fixed') {
|
||||
$("#intarrtimefixed").show(1);
|
||||
$("#intarrtimeuni").hide(1);
|
||||
$("#intarrtimepoisson").hide(1);
|
||||
}
|
||||
if ($(":radio[name='interarrivtime']:checked").val() == 'uniform') {
|
||||
$("#intarrtimefixed").hide(1);
|
||||
$("#intarrtimeuni").show(1);
|
||||
$("#intarrtimepoisson").hide(1);
|
||||
}
|
||||
if ($(":radio[name='interarrivtime']:checked").val() == 'poisson') {
|
||||
$("#intarrtimefixed").hide(1);
|
||||
$("#intarrtimeuni").hide(1);
|
||||
$("#intarrtimepoisson").show(1);
|
||||
}
|
||||
});
|
||||
|
||||
$("input.disabled").attr("disabled", true);
|
||||
|
||||
// PART 4 - RANDOM SEED
|
||||
$(":radio[name='randomseed']").click(function(){
|
||||
if ($(":radio[name='randomseed']:checked").val() == 'random') {
|
||||
$("#userspecified").hide(1);
|
||||
}
|
||||
if ($(":radio[name='randomseed']:checked").val() == 'userspecified') {
|
||||
$("#userspecified").show(1);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# Provide access to the documentation on your server as
|
||||
# http://yourserver.example.com/manual/
|
||||
# The documentation is always available at
|
||||
# http://httpd.apache.org/docs/2.2/
|
||||
#
|
||||
# Required modules: mod_alias, mod_setenvif, mod_negotiation
|
||||
#
|
||||
|
||||
#AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/opt/lampp/manual$1"
|
||||
# pointing from OSD in htdocs to OSD in $(OPENAIR_TARGETS)/SIMU/EXAMPLES/OSD
|
||||
Alias /xmlfile/ "/opt/lampp/htdocs/OSD/OSD/WEBXML/"
|
||||
Alias /results/ "/opt/lampp/htdocs/OSD/OSD/RESULTS/"
|
||||
|
||||
|
||||
<Directory "/opt/lampp/htdocs/OSD/OSD/RESULTS/">
|
||||
#Options Indexes
|
||||
#AllowOverride None
|
||||
#Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory "/opt/lampp/htdocs/OSD/OSD/WEBXML/">
|
||||
#Options Indexes
|
||||
#AllowOverride None
|
||||
#Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
#<Files *.html>
|
||||
#SetHandler type-map
|
||||
#</Files>
|
||||
|
||||
#SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
|
||||
#RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
|
||||
|
||||
#LanguagePriority en de es fr ja ko pt-br ru
|
||||
#ForceLanguagePriority Prefer Fallback
|
||||
#</Directory>
|
||||
@@ -1,51 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
||||
<head>
|
||||
<?
|
||||
include('header.php');
|
||||
?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<br>
|
||||
<h3>OpenAirEmulation Scenario Descriptor - Basic Scenario</h3>
|
||||
|
||||
<?
|
||||
// We test here if OpenairConfigGenerator (OCG) and OpenAirEmu are running before to allow the user to use the form
|
||||
|
||||
function checkPid($pid)
|
||||
{
|
||||
// create our system command
|
||||
$cmd = "pgrep $pid";
|
||||
|
||||
// run the system command and assign output to a variable ($output)
|
||||
exec($cmd, $output, $result);
|
||||
|
||||
// check the number of lines that were returned
|
||||
if(count($output) >= 1){
|
||||
// the process is still running
|
||||
include('Platform_is_running.php');
|
||||
return false;
|
||||
}
|
||||
|
||||
include('form.php');
|
||||
return true;
|
||||
// the process is dead
|
||||
}
|
||||
|
||||
// Way Number one - USING the OCG.pid file
|
||||
/* $myFile = "OCG.pid";
|
||||
$fh = fopen($myFile, 'r');
|
||||
$theData = fread($fh, filesize($myFile));
|
||||
fclose($fh);
|
||||
checkPid($theData); */
|
||||
|
||||
// Way Number Two - Checking whether a process called OCG is running
|
||||
$name = 'oaisim';
|
||||
checkPid($name);
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Vendored
-13
File diff suppressed because one or more lines are too long
@@ -1,614 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The OpenAirInterface Software Alliance licenses this file to You under
|
||||
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.openairinterface.org/?page_id=698
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*-------------------------------------------------------------------------------
|
||||
* For more information about the OpenAirInterface (OAI) Software Alliance:
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
/*! \file recep.php
|
||||
* \brief Process the POST of the OSD form.
|
||||
* \author Philippe Foubert & Navid Nikaein & Andre Gomes (One Source)
|
||||
* \date 2014
|
||||
* \version 0.1
|
||||
* \company Eurecom,
|
||||
* \email: openair_tech@eurecom.fr
|
||||
* \note
|
||||
* \warning
|
||||
*/
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
||||
<head>
|
||||
<?
|
||||
include('header.php');
|
||||
?>
|
||||
</head>
|
||||
<?
|
||||
// INCLUDE ALL THE VARIABLES RELATED TO THE PATHs
|
||||
include('/opt/lampp/htdocs/OSD/OpenAirEmu.conf');
|
||||
//$GET_OPENAIR_TARGETS=shell_exec("source /opt/lampp/htdocs/OSD/OpenAirEmu.conf");
|
||||
//echo $GET_OPENAIR_TARGETS;
|
||||
|
||||
// TO BE SURE ABOUT THE PATHs
|
||||
//echo $OPENAIR_TARGETS.'<br />'.$WEBXML_PATH.'<br />'.$RESULTS_PATH.'<br />'.$OPENAIR1_DIR.'<br />'.$OPENAIR2_DIR.'<br />'.$OPENAIR3_DIR.'<br />';
|
||||
|
||||
// TO HIDE ALL THE PHP ERRORS AND WARNINGS
|
||||
ini_set('display_errors','Off');
|
||||
ini_set('log_errors',1);
|
||||
ini_set('error_log','/var/logs/php/errlog.txt');
|
||||
|
||||
// *****************************************************************************************
|
||||
// COPY and PASTE
|
||||
//FROM HERE COPY AND PASTE THE CONTENT OF THE FORM RECEPTION OF THE WEBPORTAL VERSION FROM AFTER THIS LINE
|
||||
//
|
||||
// *****************************************************************************************
|
||||
|
||||
function nospace($input) {
|
||||
$espace = array(" ");
|
||||
return str_replace($espace, "", $input);
|
||||
}
|
||||
|
||||
// PHIL - To put a 0 or 1 between tags For all the CHECKBOXES so they are not empties- 2012 06 28
|
||||
if ( isset($_POST['throughput']) && $_POST['throughput'] == '1' ) { $THROUGHPUT = 1; } else { $THROUGHPUT = 0; }
|
||||
if ( isset($_POST['latency']) && $_POST['latency'] == '1' ) { $LATENCY = 1; } else { $LATENCY = 0; }
|
||||
if ( isset($_POST['lossrate']) && $_POST['lossrate'] == '1' ) { $LOSS_RATE = 1; } else { $LOSS_RATE = 0; }
|
||||
if ( isset($_POST['pkttrace']) && $_POST['pkttrace'] == '1' ) { $PKTTRACE = 1; } else { $PKTTRACE = 0; }
|
||||
if ( isset($_POST['bg_traffic']) && $_POST['bg_traffic'] == '1' ) { $BG_TRAFFIC = 1; } else { $BG_TRAFFIC = 0; }
|
||||
if ( isset($_POST['curves']) && $_POST['curves'] == '1' ) { $CURVES = enabled; } else { $CURVES = disabled; }
|
||||
// More parameters
|
||||
if ( isset($_POST['phy_abstraction']) && $_POST['phy_abstraction'] == '1' ) { $PHY_ABSTRACTION = '-a'; } else { $PHY_ABSTRACTION = ''; }
|
||||
if ( isset($_POST['pcap_trace']) && $_POST['pcap_trace'] == '1' ) { $PCAP_TRACE = 1; } else { $PCAP_TRACE = 0; }
|
||||
if ( isset($_POST['profiling']) && $_POST['profiling'] == '1' ) { $PROFILING = 1; } else { $PROFILING = 0; }
|
||||
if ( isset($_POST['dl_mcs'])) { $DL_MCS = '-m' . $_POST['dl_mcs']; } else { $DL_MCS = ''; }
|
||||
if ( isset($_POST['ul_mcs'])) { $UL_MCS = '-t' . $_POST['ul_mcs']; } else { $UL_MCS = ''; }
|
||||
if ( isset($_POST['snr'])) { $SNR = '-s' . $_POST['snr']; } else { $SNR = ''; }
|
||||
if ( isset($_POST['transmission_mode'])) { $TRANSMISSION_MODE = $_POST['transmission_mode']; } else { $TRANSMISSION_MODE = ''; }
|
||||
if ( isset($_POST['frame_type'])) { $FRAME_TYPE = $_POST['frame_type']; } else { $FRAME_TYPE = ''; }
|
||||
if ( isset($_POST['tdd_config'])) { $TDD_CONFIG = '<TDD_CONFIG>'.$_POST['tdd_config'].'</TDD_CONFIG>'; } else { $TDD_CONFIG = ''; }
|
||||
|
||||
// VARIABLES FOR BOTH WEBPORTAL AND PORTABLE VERSION
|
||||
$espace= array(" ");
|
||||
$date = date("YmdHis");
|
||||
$PERSON = str_replace($espace, "", $user);
|
||||
$ID = $PERSON.$date;
|
||||
$user = $_POST['username'];
|
||||
$XML_FILENAME = str_replace($espace, "", $user).'.'.$date.'.xml';
|
||||
|
||||
// eNB Distribution
|
||||
if (isset($_POST['eNB_initial_distribution']) && $_POST['eNB_initial_distribution'] == 'fixed') {
|
||||
$eNB_INITIAL_DISTRIBUTION =
|
||||
'<eNB_INITIAL_DISTRIBUTION>fixed</eNB_INITIAL_DISTRIBUTION>
|
||||
<eNB_INITIAL_COORDINATES>
|
||||
<POS_X>'.nospace($_POST['pos_x']).'</POS_X>
|
||||
<POS_Y>'.nospace($_POST['pos_y']).'</POS_Y>
|
||||
</eNB_INITIAL_COORDINATES>';
|
||||
}
|
||||
elseif (isset($_POST['eNB_initial_distribution']) && $_POST['eNB_initial_distribution'] == 'random') {
|
||||
$eNB_INITIAL_DISTRIBUTION =
|
||||
'<eNB_INITIAL_DISTRIBUTION>random</eNB_INITIAL_DISTRIBUTION>
|
||||
<RANDOM_eNB_DISTRIBUTION>
|
||||
<NUMBER_OF_CELLS>'.nospace($_POST['random_eNB_distr']).'</NUMBER_OF_CELLS>
|
||||
</RANDOM_eNB_DISTRIBUTION>';
|
||||
}
|
||||
|
||||
// RBs
|
||||
if (isset($_POST['num_rbs_dl'])) {
|
||||
$NUMBER_OF_RBS = '<NUMBER_OF_RBS_DL>'.$_POST['num_rbs_dl'].'</NUMBER_OF_RBS_DL>';
|
||||
}
|
||||
else {
|
||||
$NUM_RBS = '';
|
||||
}
|
||||
|
||||
// PCAP
|
||||
if ($PCAP_TRACE == 1) {
|
||||
$TRACE_FILE = '<TRACE_FILE>pcap</TRACE_FILE>';
|
||||
}
|
||||
else {
|
||||
$TRACE_FILE = '';
|
||||
}
|
||||
|
||||
// CLI
|
||||
if ( isset($_POST['cli_enabled']) && $_POST['cli_enabled'] == '1' ) {
|
||||
if ( isset($_POST['cli_start_enb']) && $_POST['cli_start_enb'] == '1' ) { $CLI_START_ENB = 1; } else { $CLI_START_ENB = 0; }
|
||||
if ( isset($_POST['cli_start_ue']) && $_POST['cli_start_ue'] == '1' ) { $CLI_START_UE = 1; } else { $CLI_START_UE = 0; }
|
||||
$CLI =
|
||||
'<CLI>
|
||||
<START_ENB>'.$CLI_START_ENB.'</START_ENB>
|
||||
<START_UE>'.$CLI_START_UE.'</START_UE>
|
||||
</CLI>';
|
||||
}
|
||||
else {
|
||||
$CLI = '';
|
||||
}
|
||||
|
||||
// ICI TOUTES LES OPTIONS - ELLES SONT COMMENTEES EN BAS DU FICHIER
|
||||
|
||||
// <!-- Here is the XML template which will be filled in with the user values -->
|
||||
$data = '
|
||||
|
||||
<OAI_EMULATION>
|
||||
<ENVIRONMENT_SYSTEM_CONFIG>
|
||||
<FADING>
|
||||
<LARGE_SCALE>0</LARGE_SCALE>
|
||||
<FREE_SPACE_MODEL_PARAMETERS>
|
||||
<PATHLOSS_EXPONENT>'.nospace($_POST['pathlossexp']).'</PATHLOSS_EXPONENT>
|
||||
<PATHLOSS_0_dB>'.nospace($_POST['pathlosszero']).'</PATHLOSS_0_dB>
|
||||
</FREE_SPACE_MODEL_PARAMETERS>
|
||||
<SMALL_SCALE>'.nospace($_POST['smallscale']).'</SMALL_SCALE>
|
||||
</FADING>
|
||||
<WALL_PENETRATION_LOSS_dB>'.nospace($_POST['wallpenetloss']).'</WALL_PENETRATION_LOSS_dB>
|
||||
<SYSTEM_BANDWIDTH_MB>'.nospace($_POST['sysbw']).'</SYSTEM_BANDWIDTH_MB>
|
||||
<SYSTEM_FREQUENCY_GHz>'.nospace($_POST['uefreq']).'</SYSTEM_FREQUENCY_GHz>
|
||||
'.$NUMBER_OF_RBS.'
|
||||
<TRANSMISSION_MODE>'.$TRANSMISSION_MODE.'</TRANSMISSION_MODE>
|
||||
<FRAME_CONFIG>
|
||||
<FRAME_TYPE>'.$FRAME_TYPE.'</FRAME_TYPE>
|
||||
'.$TDD_CONFIG.'
|
||||
</FRAME_CONFIG>
|
||||
<ANTENNA>
|
||||
<eNB_ANTENNA>
|
||||
<RX_NOISE_LEVEL_dB>'.nospace($_POST['eNB_RX_noise_power']).'</RX_NOISE_LEVEL_dB>
|
||||
<NUMBER_OF_SECTORS>'.nospace($_POST['eNB_nb_sectors']).'</NUMBER_OF_SECTORS>
|
||||
<BEAM_WIDTH_dB>'.nospace($_POST['eNB_beam_width']).'</BEAM_WIDTH_dB>
|
||||
<ANTENNA_GAIN_dBi>'.nospace($_POST['eNB_antenna_gain']).'</ANTENNA_GAIN_dBi>
|
||||
<TX_POWER_dBm>'.nospace($_POST['eNB_TX_power']).'</TX_POWER_dBm>
|
||||
</eNB_ANTENNA>
|
||||
<UE_ANTENNA>
|
||||
<RX_NOISE_LEVEL_dB>'.nospace($_POST['UE_RX_noise_power']).'</RX_NOISE_LEVEL_dB>
|
||||
<ANTENNA_GAIN_dBi>'.nospace($_POST['UE_antenna_gain']).'</ANTENNA_GAIN_dBi>
|
||||
<TX_POWER_dBm>'.nospace($_POST['UE_TX_power']).'</TX_POWER_dBm>
|
||||
</UE_ANTENNA>
|
||||
</ANTENNA>
|
||||
</ENVIRONMENT_SYSTEM_CONFIG>
|
||||
<TOPOLOGY_CONFIG>
|
||||
<AREA>
|
||||
<X_m>'.nospace($_POST['areax']).'</X_m>
|
||||
<Y_m>'.nospace($_POST['areay']).'</Y_m>
|
||||
</AREA>
|
||||
<NETWORK_TYPE>'.nospace($_POST['typetopo']).'</NETWORK_TYPE>
|
||||
<CELL_TYPE>'.nospace($_POST['celltype']).'</CELL_TYPE>
|
||||
<RELAY>0</RELAY>
|
||||
<MOBILITY>
|
||||
<UE_MOBILITY>
|
||||
<UE_INITIAL_DISTRIBUTION>'.nospace($_POST['uedistr']).'</UE_INITIAL_DISTRIBUTION>
|
||||
<RANDOM_UE_DISTRIBUTION>
|
||||
<NUMBER_OF_NODES>'.nospace($_POST['random_UE_dist_nb_node']).'</NUMBER_OF_NODES>
|
||||
</RANDOM_UE_DISTRIBUTION>
|
||||
<UE_MOBILITY_TYPE>'.nospace($_POST['uemobility']).'</UE_MOBILITY_TYPE>
|
||||
<UE_MOVING_DYNAMICS>
|
||||
<MIN_SPEED_mps>'.nospace($_POST['minspeed']).'</MIN_SPEED_mps>
|
||||
<MAX_SPEED_mps>'.nospace($_POST['maxspeed']).'</MAX_SPEED_mps>
|
||||
<MIN_SLEEP_ms>'.nospace($_POST['minpausetime']).'</MIN_SLEEP_ms>
|
||||
<MAX_SLEEP_ms>'.nospace($_POST['maxpausetime']).'</MAX_SLEEP_ms>
|
||||
<MIN_JOURNEY_TIME_ms>'.nospace($_POST['minjourneytime']).'</MIN_JOURNEY_TIME_ms>
|
||||
<MAX_JOURNEY_TIME_ms>'.nospace($_POST['maxjourneytime']).'</MAX_JOURNEY_TIME_ms>
|
||||
</UE_MOVING_DYNAMICS>
|
||||
</UE_MOBILITY>
|
||||
<eNB_MOBILITY>
|
||||
'.nospace($eNB_INITIAL_DISTRIBUTION).'
|
||||
<eNB_MOBILITY_TYPE>'.nospace($_POST['enbmobility']).'</eNB_MOBILITY_TYPE>
|
||||
</eNB_MOBILITY>
|
||||
</MOBILITY>
|
||||
<OMV>'.nospace($_POST['omv']).'</OMV>
|
||||
</TOPOLOGY_CONFIG>
|
||||
<APPLICATION_CONFIG>
|
||||
<PREDEFINED_TRAFFIC>
|
||||
<SOURCE_ID>'.nospace($_POST['pre_sourceid']).'</SOURCE_ID>
|
||||
<APPLICATION_TYPE>'.nospace($_POST['pre_apptype']).'</APPLICATION_TYPE>
|
||||
<DESTINATION_ID>'.nospace($_POST['pre_destid']).'</DESTINATION_ID>
|
||||
<BACKGROUND_TRAFFIC>'.$BG_TRAFFIC.'</BACKGROUND_TRAFFIC>
|
||||
</PREDEFINED_TRAFFIC>
|
||||
<CUSTOMIZED_TRAFFIC>
|
||||
<SOURCE_ID>'.nospace($_POST['cust_sourceid']).'</SOURCE_ID>
|
||||
<TRANSPORT_PROTOCOL>'.nospace($_POST['cust_transprot']).'</TRANSPORT_PROTOCOL>
|
||||
<IP_VERSION>'.nospace($_POST['cust_ipversion']).'</IP_VERSION>
|
||||
<DESTINATION_ID>'.nospace($_POST['cust_destid']).'</DESTINATION_ID>
|
||||
<IDT_DIST>'.nospace($_POST['idt_dist']).'</IDT_DIST>
|
||||
<IDT_MIN_ms>'.nospace($_POST['idtmin']).'</IDT_MIN_ms>
|
||||
<IDT_MAX_ms>'.nospace($_POST['idtmax']).'</IDT_MAX_ms>
|
||||
<IDT_STANDARD_DEVIATION>'.nospace($_POST['idtstddeviation']).'</IDT_STANDARD_DEVIATION>
|
||||
<IDT_LAMBDA>'.nospace($_POST['idtlambda']).'</IDT_LAMBDA>
|
||||
<IDT_SCALE>'.nospace($_POST['idtscale']).'</IDT_SCALE>
|
||||
<IDT_SHAPE>'.nospace($_POST['idtshape']).'</IDT_SHAPE>
|
||||
<SIZE_DIST>'.nospace($_POST['size_dist']).'</SIZE_DIST>
|
||||
<SIZE_MIN_byte>'.nospace($_POST['sizemin']).'</SIZE_MIN_byte>
|
||||
<SIZE_MAX_byte>'.nospace($_POST['sizemax']).'</SIZE_MAX_byte>
|
||||
<SIZE_STANDARD_DEVIATION>'.nospace($_POST['sizestddeviation']).'</SIZE_STANDARD_DEVIATION>
|
||||
<SIZE_LAMBDA>'.nospace($_POST['sizelambda']).'</SIZE_LAMBDA>
|
||||
<SIZE_SCALE>'.nospace($_POST['sizescale']).'</SIZE_SCALE>
|
||||
<SIZE_SHAPE>'.nospace($_POST['sizeshape']).'</SIZE_SHAPE>
|
||||
<DESTINATION_PORT>'.nospace($_POST['destport']).'</DESTINATION_PORT>
|
||||
<PU>
|
||||
<PROB_OFF_PU>'.nospace($_POST['proboffpu']).'</PROB_OFF_PU>
|
||||
<PROB_PU_ED>'.nospace($_POST['probpued']).'</PROB_PU_ED>
|
||||
<HOLDING_TIME_OFF_PU>'.nospace($_POST['holdtimeoffpu']).'</HOLDING_TIME_OFF_PU>
|
||||
</PU>
|
||||
<ED>
|
||||
<PROB_OFF_ED>'.nospace($_POST['proboffed']).'</PROB_OFF_ED>
|
||||
<PROB_ED_PE>'.nospace($_POST['probedpe']).'</PROB_ED_PE>
|
||||
<HOLDING_TIME_OFF_ED>'.nospace($_POST['holdtimeoffed']).'</HOLDING_TIME_OFF_ED>
|
||||
</ED>
|
||||
<PE>
|
||||
<HOLDING_TIME_OFF_PE>'.nospace($_POST['holdtimeoffpe']).'</HOLDING_TIME_OFF_PE>
|
||||
</PE>
|
||||
</CUSTOMIZED_TRAFFIC>
|
||||
</APPLICATION_CONFIG>
|
||||
|
||||
<EMULATION_CONFIG>
|
||||
<EMULATION_TIME_ms>'.nospace($_POST['emutime']).'</EMULATION_TIME_ms>
|
||||
<CURVE>'.$CURVES.'</CURVE>
|
||||
<PROFILING>'.$PROFILING.'</PROFILING>
|
||||
'.$TRACE_FILE.'
|
||||
<PERFORMANCE_METRICS>
|
||||
<THROUGHPUT>'.$THROUGHPUT.'</THROUGHPUT>
|
||||
<LATENCY>'.$LATENCY.'</LATENCY>
|
||||
<LOSS_RATE>'.$LOSS_RATE.'</LOSS_RATE>
|
||||
<OWD_RADIO_ACESS>1</OWD_RADIO_ACESS>
|
||||
</PERFORMANCE_METRICS>
|
||||
<LOG>
|
||||
<LEVEL>'.nospace($_POST['level']).'</LEVEL>
|
||||
<VERBOSITY>'.nospace($_POST['verbosity']).'</VERBOSITY>
|
||||
<INTERVAL>'.nospace($_POST['interval']).'</INTERVAL>
|
||||
</LOG>
|
||||
<PACKET_TRACE>'.$PKTTRACE.'</PACKET_TRACE>
|
||||
<SEED_VALUE>'.nospace($_POST['seedvalue']).'</SEED_VALUE>
|
||||
'.$CLI.'
|
||||
</EMULATION_CONFIG>
|
||||
<PROFILE>'.$XML_FILENAME.'</PROFILE>
|
||||
</OAI_EMULATION>
|
||||
';
|
||||
|
||||
//echo $data."<br /><br />";
|
||||
|
||||
|
||||
/*
|
||||
// VARIABLES FOR WEBPORTAL
|
||||
$EMU_RESULTS = "/drupal-6.19/CLUSTER/r4g7/emu_results";
|
||||
$EMU_RESULTS_USER = $EMU_RESULTS.'/'.str_replace($espace, "", $user).'/'.$date;
|
||||
$FOR_R4G1 = "/opt/lampp/htdocs/drupal-6.19/CLUSTER/r4g7/emu_results/".str_replace($espace, "", $user)."/".$date."/LOGS/";
|
||||
$CHEMIN = "/nfs/emu_results/".str_replace($espace, "", $user)."/".$date."/LOGS/";
|
||||
$file = '/opt/lampp/htdocs/drupal-6.19/CLUSTER/r4g7/webxml/'.$XML_FILE;
|
||||
*/
|
||||
|
||||
// VARIABLES FOR PORTABLE VERSION
|
||||
$xmlfile = $WEBXML_PATH.'/'.str_replace($espace, "", $user).'.'.$date.'.xml';
|
||||
//echo $xmlfile.'<br />'.$XML_FILENAME.'<br />';
|
||||
// 1 - WRITTING THE XML FILE
|
||||
File_put_contents($xmlfile, $data);
|
||||
sleep(1);
|
||||
|
||||
// IN PORTABLE VERSION THERE IS NO FOR R4G1, SINCE WE WORK ON ONLY ONE MACHINE
|
||||
// RESULTS_PATH is defined in /opt/lampp/htdocs/OSD/OpenAirEmu.conf file
|
||||
$RESULTS_PATH_EMULATION = $RESULTS_PATH."/".str_replace($espace, "", $user)."/".$date."/";
|
||||
//echo $RESULTS_PATH_EMULATION.'<br />';
|
||||
//$RESULTS_PATH_EMULATION_LOGS = $RESULTS_PATH_EMULATION."LOGS/";
|
||||
//$RESULTS_PATH_EMULATION_XML = $RESULTS_PATH_EMULATION."SCENARIO/XML/";
|
||||
|
||||
// PROFILING and PCAP Copy
|
||||
if ($PROFILING == 1) {
|
||||
$PROFILING_PARSE = '2>profiling.log';
|
||||
$PROFILING_COPY = ' ; cp profiling.log '.$RESULTS_PATH_EMULATION;
|
||||
}
|
||||
else {
|
||||
$PROFILING_PARSE = '';
|
||||
$PROFILING_COPY = '';
|
||||
}
|
||||
if ($PCAP_TRACE == 1) {
|
||||
$PCAP_COPY = ' ; cp oai_opt.pcap '.$RESULTS_PATH_EMULATION;
|
||||
}
|
||||
else {
|
||||
$PCAP_COPY = '';
|
||||
}
|
||||
|
||||
// -1 : portable, 0: web portal, # for templates
|
||||
// 2 - STARTING OAISIM
|
||||
// $OAISIM=shell_exec("set -x ; mkdir /tmp/$ID ; cd /tmp/$ID ; export OPENAIR1_DIR=$OPENAIR1_DIR ; export OPENAIR2_DIR=$OPENAIR2_DIR ; export OPENAIR3_DIR=$OPENAIR3_DIR ; export OPENAIR_TARGETS=$OPENAIR_TARGETS ; $OPENAIR_TARGETS/SIMU/USER/oaisim -a -c $XML_FILENAME >oaisim.log ; mv * $RESULTS_PATH_EMULATION_LOGS ; rmdir /tmp/$ID ");
|
||||
|
||||
$OAISIM="set -x ; mkdir /tmp/$ID ; cd /tmp/$ID ; export OPENAIR1_DIR=$OPENAIR1_DIR ; export OPENAIR2_DIR=$OPENAIR2_DIR ; export OPENAIR3_DIR=$OPENAIR3_DIR ; export OPENAIR_TARGETS=$OPENAIR_TARGETS ; $OPENAIR_TARGETS/SIMU/USER/oaisim $PHY_ABSTRACTION $SNR $DL_MCS $UL_MCS -c -1 >oaisim.log ".$PROFILING_PARSE." ; cp oaisim.log $RESULTS_PATH_EMULATION".$PROFILING_COPY.$PCAP_COPY;
|
||||
|
||||
//echo $OAISIM;
|
||||
|
||||
shell_exec($OAISIM);
|
||||
|
||||
// Get hostname
|
||||
if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
|
||||
$hostname = gethostname();
|
||||
}
|
||||
elseif (version_compare(PHP_VERSION, '4.2.0') >= 0) {
|
||||
$hostname = php_uname('n');
|
||||
}
|
||||
elseif (version_compare(PHP_VERSION, '4.2.0') < 0) {
|
||||
$hostname = getenv('HOSTNAME');
|
||||
if(!$hostname) $hostname = trim(`hostname`);
|
||||
if(!$hostname) $hostname = exec('echo $HOSTNAME');
|
||||
if(!$hostname) $hostname = preg_replace('#^\w+\s+(\w+).*$#', '$1', exec('uname -a'));
|
||||
}
|
||||
|
||||
// APACHE VARIABLES
|
||||
$RESULTS_PATH="http://".$hostname."/results/";
|
||||
$XMLFILE_PATH="http://".$hostname."/xmlfile/";
|
||||
|
||||
// PROFILING and PCAP Results
|
||||
if ($PROFILING == 1) {
|
||||
$PROFILING_OUTPUT = '
|
||||
<div align="center" class="notice span-9">
|
||||
<br>
|
||||
<p>Here are the performance profiling statistics :
|
||||
<br>
|
||||
<a href="'.$RESULTS_PATH.str_replace($espace, "", $user).'/'.$date.'/profiling.log" target="_blank">profiling.log</a></p>
|
||||
</div>';
|
||||
}
|
||||
else {
|
||||
$PROFILING_OUTPUT = '';
|
||||
}
|
||||
if ($PCAP_TRACE == 1) {
|
||||
$PCAP_OUTPUT = '
|
||||
<div align="center" class="notice span-9">
|
||||
<br>
|
||||
<p>Here is the PCAP File :
|
||||
<br>
|
||||
<a href="'.$RESULTS_PATH.str_replace($espace, "", $user).'/'.$date.'/oai_opt.pcap" target="_blank">oai_opt.pcap</a></p>
|
||||
</div>';
|
||||
}
|
||||
else {
|
||||
$PCAP_OUTPUT = '';
|
||||
}
|
||||
|
||||
//
|
||||
// 3 - DISPLAY RESULTS
|
||||
//
|
||||
|
||||
// THE FIRST SQUARE - XML FILE
|
||||
echo '
|
||||
<div class=" span-50">
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="span-31">
|
||||
<div class=" span-10">
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div align="center" class=" span-10">
|
||||
<div class="success span-9">
|
||||
<br>
|
||||
<p>Here is the XML file of your OpenAirEmulation :
|
||||
<br>
|
||||
<a href="'.$RESULTS_PATH.str_replace($espace, "", $user).'/'.$date.'/'.$XML_FILENAME.'" target="_blank">'.$XML_FILENAME.'</a></p>
|
||||
</div>
|
||||
|
||||
<div align="center" class="info span-9">
|
||||
<br>
|
||||
<p>Here is the output of your OpenAirEmulation :
|
||||
<br>
|
||||
<a href="'.$RESULTS_PATH.str_replace($espace, "", $user).'/'.$date.'/oaisim.log" target="_blank">oaisim.log</a></p>
|
||||
</div>
|
||||
|
||||
'.$PROFILING_OUTPUT.'
|
||||
|
||||
'.$PCAP_OUTPUT.'
|
||||
|
||||
<div class=" span-10">
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
|
||||
/*
|
||||
// THE SECOND SQUARE - DISPLAY FILE RESULTS
|
||||
if ($handle = opendir("$RESULTS_PATH_EMULATION_LOGS")) {
|
||||
while (false !== ($file = readdir($handle)))
|
||||
{
|
||||
if ($file != "." && $file != "..")
|
||||
{
|
||||
$thelist .= '<a href="'.$RESULTS_PATH_EMULATION_LOGS.$file.'" target="_blank">'.$file.'</a><br />';
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
echo '<div align="center" class="success span-20">
|
||||
<P>List of files:</p>
|
||||
<P><a href="'.$RESULTS_PATH_EMULATION_LOGS.'oaisim.log.bz2" target="_blank">oaisim.log.bz2</a><br /></p>
|
||||
</div>';
|
||||
|
||||
// THE THIRD SQUARE - DISPLAY FILE RESULTS
|
||||
echo '<div align="center" class="success span-20">
|
||||
<P>HERE DISPLAY PACKET TRACES FILES</p>
|
||||
</div>';
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* PHIL - J'enlve la SUMO CONFIG
|
||||
<SUMO_CONFIG>
|
||||
<SUMO_CMD>'.nospace($_POST['sumocmd']).'</SUMO_CMD>
|
||||
<SUMO_CONFIG_FILE>'.nospace($_POST['sumoconffile']).'</SUMO_CONFIG_FILE>
|
||||
<SUMO_START>'.nospace($_POST['sumostart']).'</SUMO_START>
|
||||
<SUMO_END>'.nospace($_POST['sumoend']).'</SUMO_END>
|
||||
<SUMO_STEP>'.nospace($_POST['sumostep']).'</SUMO_STEP>
|
||||
<SUMO_HOST_IP>'.nospace($_POST['sumohostip']).'</SUMO_HOST_IP>
|
||||
<SUMO_HOST_PORT>'.nospace($_POST['sumohostport']).'</SUMO_HOST_PORT>
|
||||
</SUMO_CONFIG>
|
||||
|
||||
|
||||
<CLI>
|
||||
<START_ENB>'.$CLI_START_ENB.'</START_ENB>
|
||||
<START_UE>'.$CLI_START_UE.'</START_UE>
|
||||
</CLI>
|
||||
|
||||
<NB_ANTENNAS_RX>'.nospace($_POST['eNB_antennas_rx']).'</NB_ANTENNAS_RX>
|
||||
<NB_ANTENNAS_TX>'.nospace($_POST['eNB_antennas_tx']).'</NB_ANTENNAS_TX>
|
||||
|
||||
<NB_ANTENNAS_RX>'.nospace($_POST['UE_antennas_rx']).'</NB_ANTENNAS_RX>
|
||||
<NB_ANTENNAS_TX>'.nospace($_POST['UE_antennas_tx']).'</NB_ANTENNAS_TX>
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
// UE MOBILITY TYPE
|
||||
//
|
||||
if ( $_POST['uemobility'] == 'fixed' ) {
|
||||
$UE_MOBILITY =
|
||||
'<UE_MOBILITY_TYPE>'.nospace($_POST['uemobility']).'</UE_MOBILITY_TYPE>';
|
||||
}
|
||||
if ( $_POST['uemobility'] == 'random_waypoint' ) {
|
||||
$UE_MOBILITY =
|
||||
'<UE_MOBILITY_TYPE>'.nospace($_POST['uemobility']).'</UE_MOBILITY_TYPE>';
|
||||
}
|
||||
if ( $_POST['uemobility'] == 'random_walk' ) {
|
||||
$UE_MOBILITY =
|
||||
'<UE_MOBILITY_TYPE>'.nospace($_POST['uemobility']).'</UE_MOBILITY_TYPE>';
|
||||
}
|
||||
if ( $_POST['uemobility'] == 'grid_walk' ) {
|
||||
$UE_MOBILITY =
|
||||
'<UE_MOBILITY_TYPE>'.nospace($_POST['uemobility']).'</UE_MOBILITY_TYPE>
|
||||
<GRID_MAP>
|
||||
<GRID_HORIZONTAL_NUMBER>'.nospace($_POST['horizgrid']).'</GRID_HORIZONTAL_NUMBER>
|
||||
<GRID_VERTICAL_NUMBER>'.nospace($_POST['vertgrid']).'</GRID_VERTICAL_NUMBER>
|
||||
</GRID_MAP>
|
||||
<GRID_TRIP_TYPE>'.nospace($_POST['gridtype']).'</GRID_TRIP_TYPE>';
|
||||
}
|
||||
|
||||
//
|
||||
// UEs DISTRIBUTION
|
||||
//
|
||||
if ( $_POST['uedistr'] == 'random' ) {
|
||||
$UE_DISTRIBUTION =
|
||||
'<RANDOM_UE_DISTRIBUTION>
|
||||
<NUMBER_OF_NODES>1</NUMBER_OF_NODES>
|
||||
</RANDOM_UE_DISTRIBUTION>';
|
||||
}
|
||||
|
||||
if ( $_POST['uedistr'] == 'concentrated' ) {
|
||||
$UE_DISTRIBUTION =
|
||||
'<CONCENTRATED_UE_DISTRIBUTION>
|
||||
<NUMBER_OF_NODES>1</NUMBER_OF_NODES>
|
||||
</CONCENTRATED_UE_DISTRIBUTION>';
|
||||
}
|
||||
|
||||
if ( $_POST['uedistr'] == 'grid_map' ) {
|
||||
if ( $_POST['gridmapradio'] == 'random_grid' ) {
|
||||
$UE_DISTRIBUTION =
|
||||
'<GRID_UE_DISTRIBUTION>random_grid</GRID_UE_DISTRIBUTION>
|
||||
<RANDOM_GRID>
|
||||
<NUMBER_OF_NODES>'.nospace($_POST['rdgridnbnodes']).'</NUMBER_OF_NODES>
|
||||
</RANDOM_GRID>';
|
||||
}
|
||||
if ( $_POST['gridmapradio'] == 'border_grid' ) {
|
||||
$UE_DISTRIBUTION =
|
||||
'<GRID_UE_DISTRIBUTION>border_grid</GRID_UE_DISTRIBUTION>
|
||||
<BORDER_GRID>
|
||||
<NUMBER_OF_NODES>'.nospace($_POST['bdgridnbnodes']).'</NUMBER_OF_NODES>
|
||||
</BORDER_GRID>';
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// eNB INITIAL DISTRIBUTION
|
||||
//
|
||||
if ( $_POST['eNB_initial_distribution'] == 'grid' ) {
|
||||
$eNB_INITIAL_DISTRIBUTION =
|
||||
'<eNB_INITIAL_DISTRIBUTION>grid</eNB_INITIAL_DISTRIBUTION>
|
||||
<GRID_eNB_DISTRIBUTION>
|
||||
<NUMBER_OF_GRID_X>'.nospace($_POST['gridx']).'</NUMBER_OF_GRID_X>
|
||||
<NUMBER_OF_GRID_Y>'.nospace($_POST['gridy']).'</NUMBER_OF_GRID_Y>
|
||||
</GRID_eNB_DISTRIBUTION>';
|
||||
}
|
||||
if ( $_POST['eNB_initial_distribution'] == 'hexagonal' ) {
|
||||
$eNB_INITIAL_DISTRIBUTION =
|
||||
'<eNB_INITIAL_DISTRIBUTION>hexagonal</eNB_INITIAL_DISTRIBUTION>
|
||||
<HEXAGONAL_eNB_DISTRIBUTION>
|
||||
<NUMBER_OF_CELLS>'.nospace($_POST['hexanbcells']).'</NUMBER_OF_CELLS>
|
||||
<INTER_eNB_DISTANCE>'.nospace($_POST['interenbdist']).'</INTER_eNB_DISTANCE>
|
||||
</HEXAGONAL_eNB_DISTRIBUTION>';
|
||||
}
|
||||
if ( $_POST['eNB_initial_distribution'] == 'random' ) {
|
||||
$eNB_INITIAL_DISTRIBUTION =
|
||||
'<eNB_INITIAL_DISTRIBUTION>random</eNB_INITIAL_DISTRIBUTION>
|
||||
<RANDOM_eNB_DISTRIBUTION>
|
||||
<NUMBER_OF_CELLS>'.nospace($_POST['nbenbs']).'</NUMBER_OF_CELLS>
|
||||
</RANDOM_eNB_DISTRIBUTION>';
|
||||
}
|
||||
|
||||
//
|
||||
// TRAFFIC - PACKET SIZE
|
||||
//
|
||||
if ( $_POST['pktsize'] == 'fixed' ) {
|
||||
$PACKET_SIZE =
|
||||
'<PACKET_SIZE>fixed</PACKET_SIZE>
|
||||
<FIXED_PACKET_SIZE>
|
||||
<FIXED_VALUE>'.nospace($_POST['pktsizefixed']).'</FIXED_VALUE>
|
||||
</FIXED_PACKET_SIZE>';
|
||||
}
|
||||
if ( $_POST['pktsize'] == 'uniform' ) {
|
||||
$PACKET_SIZE =
|
||||
'<PACKET_SIZE>uniform</PACKET_SIZE>
|
||||
<UNIFORM_PACKET_SIZE>
|
||||
<MIN_VALUE>'.nospace($_POST['pktsizeunimin']).'</MIN_VALUE>
|
||||
<MAX_VALUE>'.nospace($_POST['pktsizeunimax']).'</MAX_VALUE>
|
||||
</UNIFORM_PACKET_SIZE>';
|
||||
}
|
||||
|
||||
//
|
||||
// INTER ARRIVAL TIME
|
||||
//
|
||||
if ( $_POST['interarrivtime'] == 'fixed' ) {
|
||||
$INTER_ARRIVAL_TIME =
|
||||
'<INTER_ARRIVAL_TIME>fixed</INTER_ARRIVAL_TIME>
|
||||
<FIXED_INTER_ARRIVAL_TIME>
|
||||
<FIXED_VALUE>'.nospace($_POST['intarrtimefixed']).'</FIXED_VALUE>
|
||||
</FIXED_INTER_ARRIVAL_TIME>';
|
||||
}
|
||||
if ( $_POST['interarrivtime'] == 'uniform' ) {
|
||||
$INTER_ARRIVAL_TIME =
|
||||
'<INTER_ARRIVAL_TIME>uniform</INTER_ARRIVAL_TIME>
|
||||
<UNIFORM_INTER_ARRIVAL_TIME>
|
||||
<MIN_VALUE>'.nospace($_POST['intarrtimeunimin']).'</MIN_VALUE>
|
||||
<MAX_VALUE>'.nospace($_POST['intarrtimeunimax']).'</MAX_VALUE>
|
||||
</UNIFORM_INTER_ARRIVAL_TIME>';
|
||||
}
|
||||
if ( $_POST['interarrivtime'] == 'poisson' ) {
|
||||
$INTER_ARRIVAL_TIME =
|
||||
'<INTER_ARRIVAL_TIME>poisson</INTER_ARRIVAL_TIME>
|
||||
<POISSON_INTER_ARRIVAL_TIME>
|
||||
<EXPECTED_INTER_ARRIVAL_TIME>'.nospace($_POST['intarrtimepoisson']).'</EXPECTED_INTER_ARRIVAL_TIME>
|
||||
</POISSON_INTER_ARRIVAL_TIME>';
|
||||
}
|
||||
|
||||
//
|
||||
// RANDOM SEED
|
||||
//
|
||||
if ( $_POST['randomseed'] == 'random' ) {
|
||||
$RANDOM_SEED =
|
||||
'<SEED>random</SEED>';
|
||||
}
|
||||
if ( $_POST['randomseed'] == 'userspecified' ) {
|
||||
$RANDOM_SEED =
|
||||
'<SEED>user_specified</SEED>
|
||||
<USER_SEED>
|
||||
<SEED_VALUE>'.nospace($_POST['seedvalue']).'</SEED_VALUE>
|
||||
</USER_SEED>';
|
||||
}
|
||||
*/
|
||||
?>
|
||||
@@ -1 +0,0 @@
|
||||
toto1234
|
||||
@@ -393,7 +393,6 @@ static void _nas_clean(user_api_id_t *user_api_id, int net_fd)
|
||||
|
||||
LOG_TRACE (INFO, "UE-MAIN - Perform EMM and ESM cleanup");
|
||||
// FIXME nas_network_cleanup depends on nas_user_t
|
||||
// Why this program should interfere like that with oaisim ?
|
||||
//nas_network_cleanup ();
|
||||
|
||||
LOG_TRACE (INFO, "UE-MAIN - "
|
||||
|
||||
@@ -66,10 +66,6 @@
|
||||
#include "sctp_messages_types.h"
|
||||
#include "tree.h"
|
||||
|
||||
#if defined(TEST_S1C_AMF)
|
||||
#include "oaisim_amf_test_s1c.h"
|
||||
#endif
|
||||
|
||||
static int ngap_gNB_generate_ng_setup_request(
|
||||
ngap_gNB_instance_t *instance_p, ngap_gNB_amf_data_t *ngap_amf_data_p);
|
||||
|
||||
@@ -300,13 +296,8 @@ static
|
||||
void ngap_gNB_handle_sctp_data_ind(sctp_data_ind_t *sctp_data_ind) {
|
||||
int result;
|
||||
DevAssert(sctp_data_ind != NULL);
|
||||
#if defined(TEST_S1C_AMF)
|
||||
amf_test_s1_notify_sctp_data_ind(sctp_data_ind->assoc_id, sctp_data_ind->stream,
|
||||
sctp_data_ind->buffer, sctp_data_ind->buffer_length);
|
||||
#else
|
||||
ngap_gNB_handle_message(sctp_data_ind->assoc_id, sctp_data_ind->stream,
|
||||
sctp_data_ind->buffer, sctp_data_ind->buffer_length);
|
||||
#endif
|
||||
result = itti_free(TASK_UNKNOWN, sctp_data_ind->buffer);
|
||||
AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
|
||||
}
|
||||
|
||||
@@ -59,9 +59,6 @@
|
||||
|
||||
#include "assertions.h"
|
||||
#include "conversions.h"
|
||||
#if defined(TEST_S1C_MME)
|
||||
#include "oaisim_mme_test_s1c.h"
|
||||
#endif
|
||||
|
||||
static int s1ap_eNB_generate_s1_setup_request(
|
||||
s1ap_eNB_instance_t *instance_p, s1ap_eNB_mme_data_t *s1ap_mme_data_p);
|
||||
@@ -411,15 +408,10 @@ static
|
||||
void s1ap_eNB_handle_sctp_data_ind(sctp_data_ind_t *sctp_data_ind) {
|
||||
int result;
|
||||
DevAssert(sctp_data_ind != NULL);
|
||||
#if defined(TEST_S1C_MME)
|
||||
mme_test_s1_notify_sctp_data_ind(sctp_data_ind->assoc_id, sctp_data_ind->stream,
|
||||
sctp_data_ind->buffer, sctp_data_ind->buffer_length);
|
||||
#else
|
||||
if (s1ap_eNB_handle_message(sctp_data_ind->assoc_id, sctp_data_ind->stream,
|
||||
sctp_data_ind->buffer, sctp_data_ind->buffer_length) == -1) {
|
||||
S1AP_ERROR("Failed to handle s1ap eNB message\n");
|
||||
}
|
||||
#endif
|
||||
result = itti_free(TASK_UNKNOWN, sctp_data_ind->buffer);
|
||||
AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=20 --track-origins=yes --track-fds=yes ./objs/OAISIM_MME/oaisim_mme 2>leakage
|
||||
Reference in New Issue
Block a user