fix the configuration file

This commit is contained in:
Sukchan Lee 2017-12-18 14:01:16 +09:00
parent a3fbbf70cb
commit 996a0df756
6 changed files with 44 additions and 22 deletions

View File

@ -6,23 +6,3 @@ user@host ~/Documents/git/nextepc/support$ \
* Generate Key & Cert for Diameter
user@host ~/Documents/git/nextepc/support$ \
./make_certs.sh ./freeDiameter
* Memory Leak Check
user@host ~/Documents/git/nextepc$ \
sudo valgrind --leak-check=full --show-leak-kinds=all \
--suppressions=support/valgrind/mongoc.suppressions \
--suppressions=support/valgrind/freeDiameter.suppressions \
./test/testepc
* Generate Suppression File
user@host ~/Documents/git/nextepc$ \
sudo valgrind --leak-check=full --show-reachable=yes --error-limit=no \
--gen-suppressions=all --log-file=support/valgrind/test.log \
--suppressions=support/valgrind/mongoc.suppressions \
./test/testepc
user@host ~/Documents/git/nextepc/support/valgrind$ \
sudo chown user:user test.log
user@host ~/Documents/git/nextepc/support/valgrind$ \
cat ./test.log | ./parse_suppressions.sh > test.supp

View File

@ -3,7 +3,7 @@
db_uri: mongodb://localhost/nextepc
logger:
file: @LOCALSTATE_DIR@/log/nextepc/nextepc.log
file: @LOCALSTATE_DIR@/log/nextepc/mme.log
trace:
s1ap: 1
nas: 1

View File

@ -3,7 +3,7 @@
db_uri: mongodb://localhost/nextepc
logger:
file: @LOCALSTATE_DIR@/log/nextepc/nextepc.log
file: @LOCALSTATE_DIR@/log/nextepc/pgw.log
trace:
diameter: 1
gtp: 1

22
support/docker/README.md Normal file
View File

@ -0,0 +1,22 @@
* Ubuntu Docker Setup
$ docker run -p 4000:3000 --hostname build -ti --name build --privileged --cap-add=SYS_ADMIN -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup -v $PWD:/mnt ubuntu /sbin/init
$ docker exec -it ubuntu /bin/login
* Package Install
$ sudo apt-get install sudo vim dpkg-dev git
* Getting Source Repository
$ git clone https://github.com/acetcom/nextepc
$ git checkout new_branch
* Check Pakcage
$ dpkg-buildpackage
$ sudo apt-get install ....
* Build Pakcage
$ dpkg-buildpackage
$ sudo apt-get install ....

View File

@ -0,0 +1,20 @@
* Memory Leak Check
user@host ~/Documents/git/nextepc$ \
sudo valgrind --leak-check=full --show-leak-kinds=all \
--suppressions=support/valgrind/mongoc.suppressions \
--suppressions=support/valgrind/freeDiameter.suppressions \
./test/testepc
* Generate Suppression File
user@host ~/Documents/git/nextepc$ \
sudo valgrind --leak-check=full --show-reachable=yes --error-limit=no \
--gen-suppressions=all --log-file=support/valgrind/test.log \
--suppressions=support/valgrind/mongoc.suppressions \
./test/testepc
user@host ~/Documents/git/nextepc/support/valgrind$ \
sudo chown user:user test.log
user@host ~/Documents/git/nextepc/support/valgrind$ \
cat ./test.log | ./parse_suppressions.sh > test.supp