diff options
author | 2018-12-24 07:07:09 +0000 | |
---|---|---|
committer | 2018-12-24 07:07:09 +0000 | |
commit | 15aaddae13faf2bdf7e5d6e18a5192aedbd27e9c (patch) | |
tree | 86185cf9ecf81663c5c91f607889434d507d95c2 /stacks/lwip_stack | |
parent | ce9b6c724588ad9b0f27ce52a5500d6983a537a1 (diff) | |
parent | 550eae9cfdc9f6a42ce5a81cf0873f8de7d1074b (diff) |
Merge "Fix: Rename the config folders inside dmm/stacks."
Diffstat (limited to 'stacks/lwip_stack')
-rw-r--r-- | stacks/lwip_stack/configure/module_config.json (renamed from stacks/lwip_stack/app_conf/module_config.json) | 0 | ||||
-rw-r--r-- | stacks/lwip_stack/configure/nStackConfig.json (renamed from stacks/lwip_stack/app_conf/nStackConfig.json) | 0 | ||||
-rw-r--r-- | stacks/lwip_stack/configure/rd_config.json (renamed from stacks/lwip_stack/app_conf/rd_config.json) | 0 | ||||
-rw-r--r-- | stacks/lwip_stack/doc/README.md | 6 | ||||
-rwxr-xr-x | stacks/lwip_stack/vagrant/start_nstackMain.sh | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/stacks/lwip_stack/app_conf/module_config.json b/stacks/lwip_stack/configure/module_config.json index c9c872b..c9c872b 100644 --- a/stacks/lwip_stack/app_conf/module_config.json +++ b/stacks/lwip_stack/configure/module_config.json diff --git a/stacks/lwip_stack/app_conf/nStackConfig.json b/stacks/lwip_stack/configure/nStackConfig.json index 3cc54c5..3cc54c5 100644 --- a/stacks/lwip_stack/app_conf/nStackConfig.json +++ b/stacks/lwip_stack/configure/nStackConfig.json diff --git a/stacks/lwip_stack/app_conf/rd_config.json b/stacks/lwip_stack/configure/rd_config.json index 3109bcd..3109bcd 100644 --- a/stacks/lwip_stack/app_conf/rd_config.json +++ b/stacks/lwip_stack/configure/rd_config.json diff --git a/stacks/lwip_stack/doc/README.md b/stacks/lwip_stack/doc/README.md index 6b533e0..a76b18a 100644 --- a/stacks/lwip_stack/doc/README.md +++ b/stacks/lwip_stack/doc/README.md @@ -32,11 +32,11 @@ a birds eye view of lwip in DMM pipeline mode. ```sh #export LD_LIBRARY_PATH=${dmm}/stacks/lwip_stack/release/lib64/ #export LD_PRELOAD=${dmm}/release/lib64/libnStackAPI.so - #export NSTACK_MOD_CFG_FILE=${dmm}/stacks/lwip_stack/app_conf/module_config.json - #export NSTACK_MOD_CFG_RD=${dmm}/stacks/lwip_stack/app_conf/rd_config.json + #export NSTACK_MOD_CFG_FILE=${dmm}/stacks/lwip_stack/configure/module_config.json + #export NSTACK_MOD_CFG_RD=${dmm}/stacks/lwip_stack/configure/rd_config.json #export NSTACK_LOG_ON=DBG (optional enable debug) ``` -- Steps 2: Modify rd_config.json(located at dmm/stacks/lwip_stack/app_config/) +- Steps 2: Modify rd_config.json(located at dmm/stacks/lwip_stack/configure/) ```sh #vim rd_config.json Eg. set "subnet": "192.168.21.1/24" diff --git a/stacks/lwip_stack/vagrant/start_nstackMain.sh b/stacks/lwip_stack/vagrant/start_nstackMain.sh index 0c6d0a4..674562a 100755 --- a/stacks/lwip_stack/vagrant/start_nstackMain.sh +++ b/stacks/lwip_stack/vagrant/start_nstackMain.sh @@ -82,7 +82,7 @@ sed -i 's!eth7!'$ifname'!1' network_data_tonStack.json cd $DMM_BUILD_SCRIPT_DIR/../release/bin cp -r . ../../stacks/lwip_stack/app_test cd $DMM_BUILD_SCRIPT_DIR/../stacks/lwip_stack/app_test -cp -r ../app_conf/*.json . +cp -r ../configure/*.json . sed -i 's!192.168.1.1!'$ifaddresscut'.0!1' rd_config.json |