diff options
author | 2018-11-28 12:01:18 +0530 | |
---|---|---|
committer | 2018-12-24 11:54:13 +0530 | |
commit | 550eae9cfdc9f6a42ce5a81cf0873f8de7d1074b (patch) | |
tree | 6b7725aef4853029951585126bf13c15fc718545 /stacks/lwip_stack/configure | |
parent | fa0dce9d94e9bfbdd9ec877036a101d2fd69f42c (diff) |
Fix: Rename the config folders inside dmm/stacks.
Change-Id: Ie50f7f26ae7741e26572c9f2b5b049c458f4649e
Signed-off-by: charan makkina <charan795m@gmail.com>
Diffstat (limited to 'stacks/lwip_stack/configure')
-rw-r--r-- | stacks/lwip_stack/configure/module_config.json | 17 | ||||
-rw-r--r-- | stacks/lwip_stack/configure/nStackConfig.json | 32 | ||||
-rw-r--r-- | stacks/lwip_stack/configure/rd_config.json | 26 |
3 files changed, 75 insertions, 0 deletions
diff --git a/stacks/lwip_stack/configure/module_config.json b/stacks/lwip_stack/configure/module_config.json new file mode 100644 index 0000000..c9c872b --- /dev/null +++ b/stacks/lwip_stack/configure/module_config.json @@ -0,0 +1,17 @@ +{ + "default_stack_name": "kernel", + "module_list": [ + { + "stack_name": "kernel", + "libname": "./", + "deploytype": "1", + "stackid": "0", + }, + { + "stack_name": "lwip", + "libname": "liblwip_dpdk.so", + "deploytype": "3", + "stackid": "1", + }, + ] +} diff --git a/stacks/lwip_stack/configure/nStackConfig.json b/stacks/lwip_stack/configure/nStackConfig.json new file mode 100644 index 0000000..3cc54c5 --- /dev/null +++ b/stacks/lwip_stack/configure/nStackConfig.json @@ -0,0 +1,32 @@ +{ +"cfg_seg_socket": [ +{ + "socket_num": 8192, + "arp_stale_time": 300, + "arp_bc_retrans_num": 5 +} +], +"cfg_seg_log": [ +{ + "run_log_size": 50, + "run_log_count": 10, + "mon_log_size": 10, + "mon_log_count": 10 +} +], +"cfg_seg_thread_pri": [ +{ + "comment":"0:SCHED_OTHER, 1:SCHED_FIFO, 2:SCHED_RR", + "sched_policy": 0, + "thread_pri": 0 +} +], +"cfg_seg_path": [ +{ + "stackpool_log_path": "/var/log/nStack", + "master_log_path": "/var/log/nStack", + "nstack_log_path": "/var/log/nStack", + "dpdk_log_path": "/var/log/nstack-dpdk" +} +] +} diff --git a/stacks/lwip_stack/configure/rd_config.json b/stacks/lwip_stack/configure/rd_config.json new file mode 100644 index 0000000..3109bcd --- /dev/null +++ b/stacks/lwip_stack/configure/rd_config.json @@ -0,0 +1,26 @@ +{ + "ip_route": [ + { + "subnet": "192.168.1.1/24", + "stack_name": "lwip", + }, + { + "subnet": "192.167.1.1/24", + "stack_name": "kernel", + }, + { + "subnet": "192.166.1.1/24", + "stack_name": "kernel", + } + ], + "prot_route": [ + { + "proto_type": "1", + "stack_name": "lwip", + }, + { + "proto_type": "2", + "stack_name": "kernel", + } + ], +} |