Commit f06c1f02 authored by Vasek Sraier's avatar Vasek Sraier

reorganized repository - moved docker root to repo root, split README, moved...

reorganized repository - moved docker root to repo root, split README, moved db initialization to the control server,
removed old unusable initialization
parent 9ccb1c92
The following third party libraries are required dependencies:
### Google Play Services ###
- see <http://developer.android.com/google/play-services/setup.html>.
- copy "extras/google/google_play_services/libproject" as "google-play-services_lib" into the source distribution of *Open-RMBT*.
### Android Support Library ###
- see <http://developer.android.com/tools/extras/support-library.html>
- copy as "RMBTAndroid/libs/android-support-v13.jar"
### Guava ###
- Apache 2.0. License
- available at <https://code.google.com/p/guava-libraries/>
- copy as "RMBTSharedCode/lib/guava-18.0.jar"
### dnsjava ###
- BSD License
- available at <http://www.xbill.org/dnsjava/>
- copy as "RMBTSharedCode/lib/dnsjava-2.1.4.jar"
### PostgreSQL JDBC Driver ###
- BSD License
- available at <http://jdbc.postgresql.org/>
- copy as "RMBTSharedCode/lib/postgresql-9.2-1002.jdbc4.jar"
### JSON in Java ###
- MIT License (+ "The Software shall be used for Good, not Evil.")
- available at <http://www.json.org/java/index.html>
- copy as "RMBTSharedCode/lib/org.json.jar" and "RMBTClient/lib/org.json.jar"
### Simple Logging Facade for Java (SLF4J) ###
- MIT License
- available at <http://www.slf4j.org/>
- copy as "RMBTAndroid/libs/slf4j-android-1.5.8.jar"
### JOpt Simple ###
- MIT License
- available at <http://pholser.github.com/jopt-simple/>
- copy as "RMBTClient/lib/jopt-simple-3.2.jar"
### Apache Commons ###
- Apache 2.0 License
- available at <http://commons.apache.org/>
- copy as:
- "RMBTClient/lib/commons-logging-1.1.1.jar"
- "RMBTClient/lib/org.apache.httpclient.jar"
- "RMBTClient/lib/org.apache.httpcore.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-csv-1.0.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-io-2.4.jar"
### Restlet Framework ###
- Version: 2.1
- Licenses:
- Apache 2.0
- LGPL license version 3.0
- LGPL license version 2.1
- CDDL license version 1.0 or
- EPL license version 1.0
- available at <http://restlet.org/>
- copy as:
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.json.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.ext.json.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"
### PostGIS/ODBC ###
- Version: 2.1
- Licenses:
- GPL license version 2.0 (for PostGIS)
- LGPL license version 2.1 (for PostGIS/JDBC)
- available at <http://postgis.net/>
- copy as:
- "RMBTMapServer/WebContent/WEB-INF/lib/postgis.jar"
\ No newline at end of file
......@@ -39,97 +39,8 @@ The following Eclipse projects are distributed in this release:
Dependencies
---------------
The following third party libraries are required dependencies:
See [DEPENDENCIES.md](DEPENDENCIES.md)
### Google Play Services ###
# Local testing setup using Docker
- see <http://developer.android.com/google/play-services/setup.html>.
- copy "extras/google/google_play_services/libproject" as "google-play-services_lib" into the source distribution of *Open-RMBT*.
### Android Support Library ###
- see <http://developer.android.com/tools/extras/support-library.html>
- copy as "RMBTAndroid/libs/android-support-v13.jar"
### Guava ###
- Apache 2.0. License
- available at <https://code.google.com/p/guava-libraries/>
- copy as "RMBTSharedCode/lib/guava-18.0.jar"
### dnsjava ###
- BSD License
- available at <http://www.xbill.org/dnsjava/>
- copy as "RMBTSharedCode/lib/dnsjava-2.1.4.jar"
### PostgreSQL JDBC Driver ###
- BSD License
- available at <http://jdbc.postgresql.org/>
- copy as "RMBTSharedCode/lib/postgresql-9.2-1002.jdbc4.jar"
### JSON in Java ###
- MIT License (+ "The Software shall be used for Good, not Evil.")
- available at <http://www.json.org/java/index.html>
- copy as "RMBTSharedCode/lib/org.json.jar" and "RMBTClient/lib/org.json.jar"
### Simple Logging Facade for Java (SLF4J) ###
- MIT License
- available at <http://www.slf4j.org/>
- copy as "RMBTAndroid/libs/slf4j-android-1.5.8.jar"
### JOpt Simple ###
- MIT License
- available at <http://pholser.github.com/jopt-simple/>
- copy as "RMBTClient/lib/jopt-simple-3.2.jar"
### Apache Commons ###
- Apache 2.0 License
- available at <http://commons.apache.org/>
- copy as:
- "RMBTClient/lib/commons-logging-1.1.1.jar"
- "RMBTClient/lib/org.apache.httpclient.jar"
- "RMBTClient/lib/org.apache.httpcore.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-csv-1.0.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/commons-io-2.4.jar"
### Restlet Framework ###
- Version: 2.1
- Licenses:
- Apache 2.0
- LGPL license version 3.0
- LGPL license version 2.1
- CDDL license version 1.0 or
- EPL license version 1.0
- available at <http://restlet.org/>
- copy as:
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.json.jar"
- "RMBTControlServer/WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.ext.json.jar"
- "RMBTMapServer/WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"
### PostGIS/ODBC ###
- Version: 2.1
- Licenses:
- GPL license version 2.0 (for PostGIS)
- LGPL license version 2.1 (for PostGIS/JDBC)
- available at <http://postgis.net/>
- copy as:
- "RMBTMapServer/WebContent/WEB-INF/lib/postgis.jar"
See [docker/README.md](docker/README.md)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
INSERT INTO settings (key, lang, value) VALUES ('url_statistics', 'cs', 'http://www.netmetr.cz/statistiky.html');
INSERT INTO settings (key, lang, value) VALUES ('url_statistics', 'en', 'http://www.netmetr.cz/statistiky.html');
UPDATE provider SET map_filter = false;
INSERT INTO provider (uid, name, mcc_mnc, shortname, map_filter) VALUES (37, 'T-Mobile Czech Republic a.s.', '230-01', 'T-Mobile CZ', true);
INSERT INTO provider (uid, name, mcc_mnc, shortname, map_filter) VALUES (38, 'O2 Czech Republic a.s.', '230-02', 'O2 CZ', true);
INSERT INTO provider (uid, name, mcc_mnc, shortname, map_filter) VALUES (39, 'Vodafone Czech Republic a.s.', '230-03', 'Vodafone CZ', true);
INSERT INTO mccmnc2provider (mcc_mnc_sim, provider_id) VALUES ('230-01', 37);
INSERT INTO mccmnc2provider (mcc_mnc_sim, provider_id) VALUES ('230-02', 38);
INSERT INTO mccmnc2provider (mcc_mnc_sim, provider_id) VALUES ('230-03', 39);
INSERT INTO mccmnc2name (mccmnc, country, name, shortname) VALUES ('230-01', 'cz', 'T-Mobile Czech Republic a.s.', 'T-Mobile CZ');
INSERT INTO mccmnc2name (mccmnc, country, name, shortname) VALUES ('230-02', 'cz', 'O2 Czech Republic a.s.', 'O2 CZ');
INSERT INTO mccmnc2name (mccmnc, country, name, shortname) VALUES ('230-03', 'cz', 'Vodafone Czech Republic a.s.', 'Vodafone CZ');
INSERT INTO as2provider (uid, asn, provider_id) VALUES (29, 13036, 37);
INSERT INTO as2provider (uid, asn, provider_id) VALUES (30, 5610, 38);
INSERT INTO as2provider (uid, asn, provider_id) VALUES (31, 16019, 39);
CREATE TABLE test_type (
id integer NOT NULL UNIQUE,
description varchar(25) NOT NULL
);
INSERT INTO test_type VALUES (1, 'FULL_TEST');
INSERT INTO test_type VALUES (2, 'SIGNAL_ONLY');
ALTER TABLE test ADD test_type_id integer NOT NULL DEFAULT 1;
ALTER TABLE test ADD CONSTRAINT foreign_test_type FOREIGN KEY (test_type_id) REFERENCES test_type(id);
GRANT ALL PRIVILEGES ON TABLE test_type TO rmbt;
ALTER TABLE test_server ADD COLUMN IF NOT EXISTS 'key' varchar default NULL;
\ No newline at end of file
......@@ -4,7 +4,7 @@ services:
postgres:
hostname: postgres.netmetr
build:
context: ../
context: ./
dockerfile: docker/postgres/Dockerfile
args:
- SPEED_SERVER_NAME
......@@ -19,7 +19,7 @@ services:
control:
hostname: control.netmetr
build:
context: ../
context: ./
dockerfile: docker/control/Dockerfile
args:
- TOMCAT_USER
......@@ -36,14 +36,14 @@ services:
qos:
hostname: qos.netmetr
build:
context: ../
context: ./
dockerfile: docker/qos/Dockerfile
depends_on:
- control
speed:
hostname: speed.netmetr
build:
context: ../
context: ./
dockerfile: docker/speed/Dockerfile
args:
- RMBT_SECRET_KEY
......
# Local testing setup using Docker
All commands and files are referenced from this directory
All commands and files are referenced root of the NetMetr repository.
* first, all Java servers must be compiled
* Java8 required, otherwise it fails
......@@ -31,7 +31,7 @@ All commands and files are referenced from this directory
* runs Tomcat8 with 3 Serverlet apps
* is remotely debuggable through exported port 5005
* connects to the database
* credentials for Tomcat administration are in file `control/tomcat-users.xml`
* credentials for Tomcat administration are in file `docker/control/tomcat-users.xml`
* ports
* 5005 - remote java debugger
* 80 - http
......
......@@ -10,8 +10,8 @@ ADD docker/postgres/init_tables.sh /docker-entrypoint-initdb.d/06_init_tables.sh
RUN mkdir /init_sql
ADD docker/postgres/rmbt_schema.sql /init_sql/10_rmbt.sql
ADD docker/postgres/rmbt_init.sql /init_sql/11_rmbt_init.sql
ADD RMBTControlServer/db/rmbt_schema.sql /init_sql/10_rmbt.sql
ADD RMBTControlServer/db/rmbt_init_data.sql /init_sql/11_rmbt_init.sql
ARG QOS_SERVER_NAME
ARG SPEED_SERVER_NAME
......@@ -21,7 +21,7 @@ RUN sed -i 's/SPEED_SERVER_NAME/'$SPEED_SERVER_NAME'/g' /init_sql/11_rmbt_init.s
RUN sed -i 's/QOS_SERVER_NAME/'$QOS_SERVER_NAME'/g' /init_sql/11_rmbt_init.sql
RUN sed -i 's/RMBT_SECRET_KEY/'$RMBT_SECRET_KEY'/g' /init_sql/11_rmbt_init.sql
ADD docker/postgres/qos_texts-en.sql /init_sql/12_qos_texts-en.sql
ADD docker/postgres/qos_texts-cs.sql /init_sql/13_qos_texts-cs.sql
ADD docker/postgres/qos_tests.sql /init_sql/14_qos_tests.sql
ADD docker/postgres/rmbt_settings.sql /init_sql/15_rmbt_settings.sql
ADD RMBTControlServer/db/qos_texts-en.sql /init_sql/12_qos_texts-en.sql
ADD RMBTControlServer/db/qos_texts-cs.sql /init_sql/13_qos_texts-cs.sql
ADD RMBTControlServer/db/qos_tests.sql /init_sql/14_qos_tests.sql
ADD RMBTControlServer/db/rmbt_settings.sql /init_sql/15_rmbt_settings.sql
-- DNS
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_test_desc', 'DNS je základní internetová služba. Používá se k překladu doménových jmen na IP adresy. V závislosti na testu se kontoluje zda je služba k dispozici, zda adpovědi jsou správné a jak rychle server odpovídá.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_test_name', 'DNS', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_summary', 'Cíl: %PARAMdns_objective_host%
Záznam: %PARAMdns_objective_dns_record%
Resolver: %PARAMdns_objective_resolver%'
, 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_positive_desc', 'DNS požadavek na doménu: %PARAMdns_objective_host% Požadovaný záznam: %PARAMdns_objective_dns_record%
Výsledek testu:
DNS status: %PARAMdns_result_status%
DNS záznamy: %PARAMdns_result_entries%
Trvání testu: %EVAL(result = Math.round(dns_result_duration / 1000000))% ms'
, 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_negative_desc', E'DNS test pro neexistující doménu (%PARAMdns_objective_host%) byl spuštěn pro kontrolu odpovědi na požadavek doménového DNS záznamu. Správná odpověď by měla být \'NXDOMAIN\' (non-existend domain). DNS stav: %PARAMdns_result_status%; Trvání: %EVAL(result = Math.round(dns_result_duration / 1000000))% ms', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_positive_ok', 'DNS požadavek byl úspěšný (resolver: %PARAMdns_objective_resolver%)', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_negative_ok', 'DNS požadavek na neexistující doménu : úspěšný, žádné záznamy nebyly vráceny.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_timeout_ko', 'Timeout pro test byl vyčerpán. Test nemohl být úspěšně dokončen.', 'cs');
-- NON TRANSPARENT PROXY
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_test_desc', 'Tento test testuje zda byl HTTP požadavek změněn proxy serverem nebo jiným middleboxem.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_test_name', 'Netransparentní proxy', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_summary', 'Port: %PARAMnontransproxy_objective_port%
Požadavek: %PARAMnontransproxy_objective_request%'
, 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_desc', 'HTTP požadavek s obsahem: %PARAMnontransproxy_objective_request% byl zaslán na testovací server.
Odpověď byla: %PARAMnontransproxy_result_response%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_ok', 'HTTP požadavek na testovací server nebyl změněn.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_ko', 'HTTP požadavek na testovací server byl změněn.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_result_ko', 'Neplatný HTTP výsledek. Výsledek: %PARAMnontransproxy_result%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_timeout_ko', 'Timeout pro test byl vyčerpán. Test nemohl být úspěšně dokončen.', 'cs');
-- HTTP PROXY
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_test_desc', 'Tento test stahuje testovací webový zdroj (např. obrázek) a kontroluje, zda byl změněn během přenosu.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_test_name', 'HTTP Proxy', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_summary', 'Cíl: %PARAMhttp_objective_url%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_desc', 'Cíl: %PARAMhttp_objective_url%
Rozsah: %PARAMhttp_objective_range%
Trvání: %EVAL(result = duration_ns / 1000000000)% s
Délka: %PARAMhttp_result_length%
Status code: %PARAMhttp_result_status%
Hash: %PARAMhttp_result_hash%
Hlavička:
%PARAMhttp_result_header%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_ok', 'Přijmutý obsah je přešně stejný jako původní. Nebyl tedy změněn.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_ko', 'Přijmutý obsah není přešně stejný jako původní. Byl tedy změněn!', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_status_ko', 'Neplatný HTTP status code. Status code: %PARAMhttp_result_status%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_timeout_ko', 'Timeout pro test byl vyčerpán. Test nemohl být úspěšně dokončen.', 'cs');
-- WEB
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_test_desc', 'Website test stahuje referenční webovou stránku (mobilní stránka Kepler od ETSI). Je ověřeno zda webová stránka mohla být přenesena a jak dlouho trvalo stahování.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_test_name', 'Website', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_summary', 'Cíl: %PARAMwebsite_objective_url%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_desc', 'Přenos stránky %PARAMwebsite_objective_url% trval %EVAL(result = (website_result_duration / 1000000000).toFixed(2))% s.
Stažená data: %EVAL(result = (website_result_rx_bytes / 1000).toFixed(2))% kB
Odeslaná data: %EVAL(result = (website_result_tx_bytes / 1000).toFixed(2))% kB
HTTP status code: %PARAMwebsite_result_status%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_ok', 'Webová stránka byla přenesena úspěšně.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_ko', 'Webová stránka nebyla přenesena úspěšně!', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_timeout_ko', 'Timeout pro test byl vyčerpán. Test nemohl být úspěšně dokončen.', 'cs');
-- TCP
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_test_desc', 'TCP je důležitým spojovaným internetovým protokolem. Je používán například pro webové stránky nebo emaily.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_test_name', 'TCP', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_summary', 'TCP %EVAL(result = tcp_objective_out_port != null ? " odchozí, port: " + tcp_objective_out_port : "")%%EVAL(result = (tcp_objective_out_port != null && typeof tcp_objective_in_port !== ''undefined'' && tcp_objective_in_port != null) ? ", " : "")%%EVAL(result = typeof tcp_objective_in_port !== ''undefined'' && tcp_objective_in_port != null ? " příchozí, port: " + tcp_objective_in_port : "")%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_desc_outgoing', 'TCP odchozí:
Byl proveden pokus navázat odchozí spojení s QoS serverem na portu: %PARAMtcp_objective_out_port%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_ok', 'Test byl úspěšný. Spojení bylo navázáno.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_ko', 'Test nebyl úspěšný. Spojení nebylo navázáno!', 'cs');
-- UDP
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_test_desc', 'UDP je důležitý nespojovaný internetový protokol. Používá se pro real-time komunikaci jako je například VoIP nebo video.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_test_name', 'UDP', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_summary', 'UDP %EVAL(result = udp_objective_out_port != null ? " odchozí, port: " + udp_objective_out_port + ", počet paketů: " + udp_objective_out_num_packets : "")%%EVAL(result = (udp_objective_out_port != null && typeof udp_objective_in_port !== ''undefined'' && udp_objective_in_port != null) ? ", " : "")%%EVAL(result = typeof udp_objective_in_port !== ''undefined'' && udp_objective_in_port != null ? " příchozí, port: " + udp_objective_in_port + ", počet paketů: " + udp_objective_in_num_packets : "")%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_desc_outgoing', 'UDP odchozí:
Počet odeslaných paketů: %PARAMudp_objective_out_num_packets%, obdržených serverem: %PARAMudp_result_out_num_packets%, vrátilo se zpět na klienta: %PARAMudp_result_out_response_num_packets%.
Četnost ztráty paketů: %PARAMudp_result_out_packet_loss_rate%%', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_ok', 'UDP test byl úspěšný. Všechny pakety byly přeneseny úspěšně.', 'cs');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_ko', 'UDP test nebyl úspěšný. Nebyly přeneseny žádné pakety.', 'cs');
-- DNS
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_test_desc', 'DNS is a fundamental Internet service. It is used to translate domain names to IP addresses. Depending on the test it is checked if the service is available, if the answers are correct and how fast the server responds.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_test_name', 'DNS', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_summary', 'Target: %PARAMdns_objective_host%
Entry: %PARAMdns_objective_dns_record%
Resolver: %PARAMdns_objective_resolver%'
, 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_positive_desc', 'DNS request for the domain: %PARAMdns_objective_host% Requested record: %PARAMdns_objective_dns_record%
Test result:
DNS status: %PARAMdns_result_status%
DNS entries: %PARAMdns_result_entries%
Test duration: %EVAL(result = Math.round(dns_result_duration / 1000000))% ms'
, 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_negative_desc', E'A DNS request for a non-existing domain (%PARAMdns_objective_host%) has been run to check the response for the request of the domain\'s DNS A record. The correct answer would be \'NXDOMAIN\' (non-existend domain). DNS status: %PARAMdns_result_status%; Duration: %EVAL(result = Math.round(dns_result_duration / 1000000))% ms', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_positive_ok', 'DNS request successful (resolver: %PARAMdns_objective_resolver%)', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_negative_ok', 'A DNS request for a not existing domain: succeeded, no entries have been returned.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('dns_timeout_ko', 'Test timeout exceeded. The test could not be complete successfully.', 'en');
-- NON TRANSPARENT PROXY
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_test_desc', 'This test checks if a HTTP request is modified by a proxy or other middlebox.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_test_name', 'Non Transparent Proxy', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_summary', 'Port: %PARAMnontransproxy_objective_port%
Request: %PARAMnontransproxy_objective_request%'
, 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_desc', 'An HTTP request with the content: %PARAMnontransproxy_objective_request% has been sent to the test server.
The answer was: %PARAMnontransproxy_result_response%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_ok', 'The HTTP request to the test server was not modified.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_positive_ko', 'The HTTP request to the test server was modified.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_result_ko', 'Invalid HTTP result. Result: %PARAMnontransproxy_result%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('ntp_timeout_ko', 'Test timeout exceeded. The test could not be complete successfully.', 'en');
-- HTTP PROXY
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_test_desc', 'This test downloads a test web resource (e.g. image) and checks if it was modified during transport.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_test_name', 'HTTP Proxy', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_summary', 'Target: %PARAMhttp_objective_url%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_desc', 'Target: %PARAMhttp_objective_url%
Range: %PARAMhttp_objective_range%
Duration: %EVAL(result = duration_ns / 1000000000)% s
Length: %PARAMhttp_result_length%
Status code: %PARAMhttp_result_status%
Hash: %PARAMhttp_result_hash%
Header:
%PARAMhttp_result_header%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_ok', 'This received content is exactly the same as the original one, hence has not been modified.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_positive_ko', 'This received content is not exactly the same as the original one!', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_status_ko', 'Invalid HTTP status code. Status code: %PARAMhttp_result_status%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('hp_timeout_ko', 'Test timeout exceeded. The test could not be complete successfully.', 'en');
-- WEB
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_test_desc', 'The website test downloads a reference web page (mobile Kepler page by ETSI). It is verified, if the page can be transferred and how long the download of the page takes.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_test_name', 'Website', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_summary', 'Target: %PARAMwebsite_objective_url%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_desc', 'The transfer of %PARAMwebsite_objective_url% took %EVAL(result = (website_result_duration / 1000000000).toFixed(2))% s.
Transfered data downlink: %EVAL(result = (website_result_rx_bytes / 1000).toFixed(2))% kB
Transfered data uplink: %EVAL(result = (website_result_tx_bytes / 1000).toFixed(2))% kB
HTTP status code: %PARAMwebsite_result_status%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_ok', 'The web page has been transfered successfully.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_positive_ko', 'The web page has not been transfered successfully.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('web_timeout_ko', 'Test timeout exceeded. The test could not be complete successfully.', 'en');
-- TCP
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_test_desc', 'TCP is an importatnt connection oriented Internet protocol. It is used for example for web pages or e-mail.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_test_name', 'TCP', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_summary', 'TCP %EVAL(result = tcp_objective_out_port != null ? " outgoing, port: " + tcp_objective_out_port : "")%%EVAL(result = (tcp_objective_out_port != null && typeof tcp_objective_in_port !== ''undefined'' && tcp_objective_in_port != null) ? ", " : "")%%EVAL(result = typeof tcp_objective_in_port !== ''undefined'' && tcp_objective_in_port != null ? " incomming, port: " + tcp_objective_in_port : "")%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_desc_outgoing', 'TCP outgoing:
It has been attempted to establish an outgoing connection to the QOS server on port: %PARAMtcp_objective_out_port%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_ok', 'The test was successful. A connection could be established.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('tcp_positive_ko', 'The test was not successfull. A connection could not be established.', 'en');
-- UDP
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_test_desc', 'UDP is an important connectionless Internet protocol. It is used for real-time communications, e.g. for VoIP and video.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_test_name', 'UDP', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_summary', 'UDP %EVAL(result = udp_objective_out_port != null ? " outgoing, port: " + udp_objective_out_port + ", number of packets: " + udp_objective_out_num_packets : "")%%EVAL(result = (udp_objective_out_port != null && typeof udp_objective_in_port !== ''undefined'' && udp_objective_in_port != null) ? ", " : "")%%EVAL(result = typeof udp_objective_in_port !== ''undefined'' && udp_objective_in_port != null ? " incomming, port: " + udp_objective_in_port + ", number of packets: " + udp_objective_in_num_packets : "")%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_desc_outgoing', 'UDP Outgoing:
Number of sent packets: %PARAMudp_objective_out_num_packets%, received by the server: %PARAMudp_result_out_num_packets%, came back to the client: %PARAMudp_result_out_response_num_packets%.
Packet loss rate: %PARAMudp_result_out_packet_loss_rate%%', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_ok', 'The UDP test was successful. All packets have been transferred successfully.', 'en');
INSERT INTO qos_test_desc (desc_key, value, lang) VALUES ('udp_positive_ko', 'The UDP test was not successful. Some packets have not been transferred successfully.', 'en');
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment