Commit 45093a6a authored by gauthier's avatar gauthier

Clean


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7380 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent d428222d
Archives in this directory contain static binaries, so any kind
of run-time linkage error is not expected. Please let me know
if you experience such an error, or any kind of unexpected behaviour.
LZMA archives can be extracted as follows,
tar xvfa SCOREF-MGMT-v1.0.4.tar.lzma
Not for all versions a binary is created when the change is
subtle and/or documentation related. So please follow OpenAirInterface
SVN for most up-to-date version.
Note: Name has changed from IF.MGMT to SCOREF-MGMT from version 1.1.0 on.
- Baris Demiray <baris.demiray@eurecom.fr>
This diff is collapsed.
~ SCOREF Management Module Design (SCOREF-MGMT) ~
SCOREF-MGMT is a server application currently having the interfaces to
GN (GeoNetworking) and FAC (Facilities) modules. Herein this directory
design documents corresponding to critical sections of MGMT-CORE will reside.
.xmi files are for Umbrello. Please see http://uml.sourceforge.net/
- Baris Demiray <baris.demiray@eurecom.fr>
Herein there are Lot 3 documents on messages exchanged among
SCOREF Management and Geonetworking modules, and with FACilities,
and big picture of these (and other) modules.
For the Doxygen documentation of the code please see
../Software/README.DOCUMENTATION.
- Baris Demiray <baris.demiray@eurecom.fr>
~ SCOREF Management Module Implementation (SCOREF-MGMT) ~
SCOREF-MGMT is a server application currently having the interfaces to
GN (GeoNetworking) and FAC (Facilities) modules. Further developments
such as OpenAirInterface integration are scheduled.
For MGMT-GN interface all the packets defined in "CM-GN Interface Definition
" (currently v4) are implemented and used,
100 LOCATION_UPDATE (supported/implemented but not used)
101 LOCATION_TABLE_REQ
102 LOCATION_TABLE_RES
300 CONFIGURATION_UPDATE_AVAILABLE
301 CONFIGURATION_REQ
302 CONFIGURATION_RES_CONT
303 CONFIGURATION_RES_BULK
304 COMM_PROF_REQ
305 COMM_PROF_REP
402 WIRELESS_STATE_REQ
403 WIRELESS_STATE_RES
404 NETWORK_STATE
For MGMT-FAC interface, following packets defined in "FAC-CM to MGMT Interface
description" (currently v4) are implemented and/or used,
110 LOCATION_UPDATE (supported/implemented but not used)
300 CONFIGURATION_UPDATE_AVAILABLE
311 CONFIGURATION_REQUEST
312 CONFIGURATION_RES_CONT
313 CONFIGURATION_RES_BULK
314 CONFIGURATION_NOTIFICATION
315 COMM_PROF_REQ
316 COMM_PROF_REP
317 COMM_PROF_SELECTION_REQ (supported/implemented but not used)
318 COMM_PROF_SELECTION_RES (supported/implemented but not used)
Please refer to following files for further information, directories given in parenthesis
belong to SCOREF SVN,
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)CM-GN Interface Definition_v4.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)FAC-CM Interface Definition.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)ITS Station Management Core - Low Level Description.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)SCOREF-MGMT_Configuration.pdf
- README.BUILD (not available in releases, check OpenAirInterface SVN)
- README.DOCUMENTATION (not available in releases check OpenAirInterface SVN)
- README.RUNNING
- Baris Demiray <baris.demiray@eurecom.fr>
SCOREF-MGMT has three build configurations which are all ready to be used
through the Makefile. These are,
1) Debug Configuration
Definition: Debug flags are on, optimisation is off, to be
run inside GDB, etc.
Command: Define make variable `BUILD_DEBUG' as
$ make BUILD_DEBUG=1
and relevant binary will be created in bin/
2) Dynamic Configuration
Definition: Optimisation flags are on, dynamic linkage, for
deployment (along with necessary libraries) or local use
Command: Define make variable `BUILD_DYNAMIC' as
$ make BUILD_DYNAMIC=1
and binary will be created in bin/
3) Static Configuration
Definition: Static linkage, to be sent to other people
and/or companies whom may not have necessary libraries
installed
Command: Define make variable `BUILD_STATIC' as
$ make BUILD_STATIC=1
and binary will be created in bin/
For Dynamic and Static configurations the make target `strip' may be used
to save space by removing symbols in the binary as follows,
$ make strip
For Eclipse development see README.BUILD.ECLIPSE file.
Please let me know in case of a build error sending relevant library
versions, platform, etc. information.
- Baris Demiray <baris.demiray@eurecom.fr>
For Eclipse development, import the directory as "Existing code as Makefile
Project" and from "C/C++ General"/Paths and Symbols define those include
paths listed in README.BUILD.ECLIPSE.PATHS (those may change according to
installed libraries, etc. use Index/Search for 'Unresolved Includes' menu
item to find out directories for your own system. A sample path list is given
in README.BUILD.ECLIPSE.PATHS.xml file.
Coding style is given in README.BUILD.ECLIPSE.CODING_STYLE.xml file and may
be imported through Eclipse's Project Properties/C/C++ General/Coding Style
configuration window.
- Baris Demiray <baris.demiray@eurecom.fr>
\ No newline at end of file
Please find .doxygen file in the root directory of the project.
Following command will generate source code documentation in ./doc/
directory.
$ doxygen SCOREF-MGMT.doxygen
More documentation, especially on control & data flow, will be added
over time. Class diagrams may be reached through Doxygen documentation.
- Baris Demiray <baris.demiray@eurecom.fr>
~ SCOREF Management Module Release ~
SCOREF-MGMT module releases involve statically-built binaries,
configuration files and relevant documentation. There is a script
in the root of Software/ (same with this document) directory named
make-release.sh and it can be used as follows.
Firstly, one has to ensure that there are no build errors as the
script doesn't check for these.
Then you can run the script giving the version name as follows,
demiray@sud:~/workspace/SCOREF-MGMT/Software$ ./make-release.sh v1.8.0
Building the version v1.8.0
Preparing the release...
Copying binary...
Copying configuration files...
Copying documentation...
Preparing the compressed archive...
Removing temporary directory...
Release is ready
The compressed archive of the release will be ready in the same directory,
demiray@sud:~/workspace/SCOREF-MGMT/Software$ ls -l SCOREF-MGMT-v1.8.0.tar.bz2
-rw-r--r-- 1 demiray umts 705692 Jan 11 16:34 SCOREF-MGMT-v1.8.0.tar.bz2
In this archive file there are the documents listed below,
demiray@sud:~/workspace/SCOREF-MGMT/Software$ tar jtf SCOREF-MGMT-v1.8.0.tar.bz2
SCOREF-MGMT-v1.8.0/
SCOREF-MGMT-v1.8.0/MGMT.conf
SCOREF-MGMT-v1.8.0/SCOREF-MGMT
SCOREF-MGMT-v1.8.0/configuration/
SCOREF-MGMT-v1.8.0/configuration/MGMT.IHM.conf
SCOREF-MGMT-v1.8.0/README.RUNNING
SCOREF-MGMT-v1.8.0/README
This file is ready to be put on SVN or to be sent to project partners.
- Baris Demiray <baris.demiray@eurecom.fr>
~ SCOREF Management Module Implementation ~
SCOREF-MGMT is a server application that handles messages sent from
GN (GeoNetworking) and FAC (Facilities) modules. Since SCOREF-MGMT is
the server it has to be started before these modules. SCOREF-MGMT
expects two command-line arguments having one optional, and they are
configuration file and optional log file name, respectively. If there
already is a log file with the same name it will be renamed (appending
date and time to its current name) and a new file will be created.
All the output is directed to this file and to standard output only for
debugging purposes. Further versions will write to the log file only.
[demiray@leynes test]$ ./SCOREF-MGMT MGMT.conf [LogFileName]
After SCOREF-MGMT is started it'll read given configuration file along
with those it finds under configuration/ directory (see Section 2.
Configuration File for FACilities in Software/SoftwareComponents/ \
MGMT/CORE/Documentation/SCOREF-MGMT_Configuration.pdf) and update local
configuration (such as UDP server port) and MIB (Management Information
Base) parameters, then it'll start listening for incoming connections on
UDP port defined by CONF_SERVER_PORT parameter in the configuration file.
Output of a sample run is given below:
demiray@sud:~/workspace/SCOREF-MGMT/Software/bin$ ./SCOREF-MGMT MGMT.conf
2012/11/23-16:06:24 INFO: Management Information Base has been created
2012/11/23-16:06:24 INFO: Following 3 file(s) have been found (only those with .conf extension will be parsed): .svn, MGMT.IHM.conf, MGMT.conf
2012/11/23-16:06:24WARNING: There is a file named '.svn' without .conf extension in given list
2012/11/23-16:06:24 INFO: Parsing configuration file 'configuration/MGMT.IHM.conf'
2012/11/23-16:06:24 INFO: Adding IHM integer parameter [name:MIB_MC002_GROUPNUM, id:49408, value:0]
2012/11/23-16:06:24 INFO: Adding IHM string parameter [name:MIB_MC002_GROUP1, id:49409, value:NULL]
...
At this point GN and FAC can be started. Please refer to relevant documentation
on how to do it and let me know about errors if you encounter any.
- Baris Demiray <baris.demiray@eurecom.fr>
Google C++ Testing Framework is used for SCOREF-MGMT, relevant
code and documentation can be found under test/ directory.
Unit tests can be compiled from root directory as well. To do so
issue following command,
$ make test
- Baris Demiray <baris.demiray@eurecom.fr>
0. Introduction
This directory involves the simulation of GN and FAC to test these interfaces.
1. Dependencies
Python packages should be installed.
2. Building
There is no build for this tool, it's plain Python which is interpreted rather
than to be built, see section 3. Running.
3. Commands
Following commands are supported.
3.1. DEFINE Command Family
3.1.1. DEFINE SERVER_ADDRESS <address>
Defines the destination address (i.e. the MGMT-CORE's address)
3.1.2. DEFINE SERVER_PORT <port>
Defines the destination port (i.e. the MGMT-CORE's port)
3.1.3. DEFINE CLIENT_PORT <port>
Defines the client's port (i.e. source port that is used to send the packets to MGMT-CORE from)
3.1.4. DEFINE CLIENT_TYPE <clientType>
Defines client type and can be 'GN', 'FAC', or 'LTE'
Packets sent will have relevant event types and sub-types based on this client type
3.2. SEND Command Family
3.2.1. SEND COMMUNICATION_PROFILE_REQUEST
Sends a COMMUNICATION_PROFILE_REQUEST packet to MGMT-CORE's given port
NOTICE: Client type has to be defined in advance for this command since event sub-type
changes from client to client for this packet
3.2.2. SEND NETWORK_STATE
Sends a NETWORK_STATE packet to MGMT-CORE's given port
3.2.3. SEND WIRELESS_STATE
Sends a WIRELESS_STATE_RESPONSE packet to MGMT-CORE's given port
NOTICE: Client type has to be defined in advance for this command since event sub-type
changes from client to client for this packet
3.2.4. SEND LOCATION_UPDATE
Sends a LOCATION_UPDATE to MGMT-CORE's given port
3.2.5. SEND CONFIGURATION_NOTIFICATION
Sends a CONFIGURATION_NOTIFICATION to MGMT-CORE's given port
3.2.6. SEND GET_CONFIGURATION
Sends a GET_CONFIGURATION to MGMT-CORE's given port
NOTICE: Client type has to be defined in advance for this command since event sub-type
changes from client to client for this packet
3.3. Util Command Family
3.2.1. WAIT Command
Makes the simulator wait for the specified amount of seconds
4. Running
Since this simulator has been written in Python you need to have the Python interpreter.
In order to run first scenario file, for example, issue the following command,
$ python main.py scenarios/01.sce
5. References
- Baris Demiray <baris.demiray@eurecom.fr>
0. Introduction
Google C++ Testing Framework is used for SCOREF-MGMT module's
test code.
1. Dependencies
On Ubuntu, libgtest-dev and libgtest0 packages are necessary
to link this code against Google's library. Refer to relevant
documentation on other systems.
On Ubuntu 12.04, though, you cannot find binary libraries and
you have to build them yourself. Do following in order to build
the binary (this directory is installed by libgtest-dev package)
$ cd /usr/src/gtest
# sudo cmake .
# sudo make
# sudo mv libg* /usr/lib/
2. Building
In this directory, running make is enough. Please let me know
if you encounter any compile-time or run-time errors.
$ make
Be informed that you may have to do 'make clean' before you
have an up-to-date binary since test_* files are designated as
header files and a change in them would not trigger a re-build
3. Running
In this directory, running the binary created by the compilation
process is enough. There are no command-line parameters currently.
$ ./TEST-SCOREF-MGMT
4. References
See Google documentation for further details regarding the test
framework,
http://code.google.com/p/googletest/
- Baris Demiray <baris.demiray@eurecom.fr>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Software</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>BUILD_DEBUG=1 -j</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>make</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?>
<pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
</pydev_project>
eclipse.preferences.version=1
org.eclipse.cdt.codan.checkers.errnoreturn=Warning
org.eclipse.cdt.codan.checkers.errnoreturn.params={implicit\=>false}
org.eclipse.cdt.codan.checkers.errreturnvalue=Error
org.eclipse.cdt.codan.checkers.errreturnvalue.params={}
org.eclipse.cdt.codan.checkers.noreturn=Error
org.eclipse.cdt.codan.checkers.noreturn.params={implicit\=>false}
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={}
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={}
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={no_break_comment\=>"no break",last_case_param\=>true,empty_case_param\=>false}
org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={unknown\=>false,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=Info
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={}
org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={}
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=Warning
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={}
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={paramNot\=>false}
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={else\=>false,afterelse\=>false}
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={macro\=>true,exceptions\=>("@(\#)","$Id")}
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
eclipse.preferences.version=1
formatter_profile=_EURECOM
formatter_settings_version=1
This diff is collapsed.
This diff is collapsed.
CPP=g++
RM=rm
ECHO=echo
STRIP=strip
CPP_FILES:=$(shell find ./src/ -iname '*.cpp')
OBJ_FILES=$(CPP_FILES:.cpp=.o)
EXE_FILE=bin/SCOREF-MGMT
CPPFLAGS=-Wall
LDFLAGS=-lboost_system -lboost_filesystem -lboost_thread -lboost_program_options
INCLUDE=-Isrc/ -Isrc/packets/ -Isrc/util/
TEST_DIR=test/
TEST_EXE=TEST-SCOREF-MGMT
OPT_FLAGS=-O3
DEBUG_FLAGS=-O0 -g3
STATIC_FLAGS=-static
# Default is dynamic build
BUILD_FLAGS=$(OPT_FLAGS)
ifdef BUILD_DEBUG
BUILD_FLAGS=$(DEBUG_FLAGS)
endif
ifdef BUILD_STATIC
BUILD_FLAGS=$(STATIC_FLAGS)
LDFLAGS=-static -lboost_system -lboost_filesystem -lboost_thread -pthread
endif
ifdef BUILD_DYNAMIC
BUILD_FLAGS=$(OPT_FLAGS)
endif
all: $(CPP_FILES) binary
binary: $(CPP_FILES) $(OBJ_FILES)
$(CPP) $(OBJ_FILES) -o $(EXE_FILE) $(LDFLAGS)
strip:
$(STRIP) $(EXE_FILE) &> /dev/null
test: binary
echo "Building test code..."
cd $(TEST_DIR)
make -f Makefile
cd -
echo "Unit tests are ready to be run under test/ directory"
clean:
$(RM) -fv $(EXE_FILE)
$(RM) -fv $(TEST_DIR)/$(TEST_EXE)
find . -iname "*.o" -exec rm -fv {} \;
.cpp.o:
$(CPP) -c $(BUILD_FLAGS) $(CPPFLAGS) $< -o $@
~ SCOREF Management Module Implementation (SCOREF-MGMT) ~
SCOREF-MGMT is a server application currently having the interfaces to
GN (GeoNetworking) and FAC (Facilities) modules. Further developments
such as OpenAirInterface integration are scheduled.
For MGMT-GN interface all the packets defined in "CM-GN Interface Definition
" (currently v4) are implemented and used,
100 LOCATION_UPDATE (supported/implemented but not used)
101 LOCATION_TABLE_REQ
102 LOCATION_TABLE_RES
300 CONFIGURATION_UPDATE_AVAILABLE
301 CONFIGURATION_REQ
302 CONFIGURATION_RES_CONT
303 CONFIGURATION_RES_BULK
304 COMM_PROF_REQ
305 COMM_PROF_REP
402 WIRELESS_STATE_REQ
403 WIRELESS_STATE_RES
404 NETWORK_STATE
For MGMT-FAC interface, following packets defined in "FAC-CM to MGMT Interface
description" (currently v4) are implemented and/or used,
110 LOCATION_UPDATE (supported/implemented but not used)
300 CONFIGURATION_UPDATE_AVAILABLE
311 CONFIGURATION_REQUEST
312 CONFIGURATION_RES_CONT
313 CONFIGURATION_RES_BULK
314 CONFIGURATION_NOTIFICATION
315 COMM_PROF_REQ
316 COMM_PROF_REP
317 COMM_PROF_SELECTION_REQ (supported/implemented but not used)
318 COMM_PROF_SELECTION_RES (supported/implemented but not used)
Please refer to following files for further information, directories given in parenthesis
belong to SCOREF SVN,
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)CM-GN Interface Definition_v4.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)FAC-CM Interface Definition.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)ITS Station Management Core - Low Level Description.pdf
- (Software/SoftwareComponents/MGMT/CORE/Documentation/)SCOREF-MGMT_Configuration.pdf
- README.BUILD (not available in releases, check OpenAirInterface SVN)
- README.DOCUMENTATION (not available in releases check OpenAirInterface SVN)
- README.RUNNING
- Baris Demiray <baris.demiray@eurecom.fr>
SCOREF-MGMT has three build configurations which are all ready to be used
through the Makefile. These are,
1) Debug Configuration
Definition: Debug flags are on, optimisation is off, to be
run inside GDB, etc.