From 550eae9cfdc9f6a42ce5a81cf0873f8de7d1074b Mon Sep 17 00:00:00 2001 From: charan makkina Date: Wed, 28 Nov 2018 12:01:18 +0530 Subject: Fix: Rename the config folders inside dmm/stacks. Change-Id: Ie50f7f26ae7741e26572c9f2b5b049c458f4649e Signed-off-by: charan makkina --- stacks/lwip_stack/configure/module_config.json | 17 ++++++++++++++ stacks/lwip_stack/configure/nStackConfig.json | 32 ++++++++++++++++++++++++++ stacks/lwip_stack/configure/rd_config.json | 26 +++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 stacks/lwip_stack/configure/module_config.json create mode 100644 stacks/lwip_stack/configure/nStackConfig.json create mode 100644 stacks/lwip_stack/configure/rd_config.json (limited to 'stacks/lwip_stack/configure') 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", + } + ], +} -- cgit 1.2.3-korg