diff options
author | charan makkina <charan795m@gmail.com> | 2019-04-30 17:40:53 +0530 |
---|---|---|
committer | charan makkina <charan795m@gmail.com> | 2019-05-20 18:14:40 +0530 |
commit | a826fe833d3f2a8fe2673fa05811fe1a22baf045 (patch) | |
tree | da11a17c46ca9b8a002a52a290628574fa3f5eda /stacks/rsocket/configure | |
parent | 3e6bf7b64eea418c59959c18750261b815b2892c (diff) |
Feature: 19.04 part 1
Change-Id: Ibba924b8deca1f246b9dcb12d89d085b6fd33046
Signed-off-by: charan makkina <charan795m@gmail.com>
Diffstat (limited to 'stacks/rsocket/configure')
-rw-r--r-- | stacks/rsocket/configure/module_config.json | 10 | ||||
-rw-r--r-- | stacks/rsocket/configure/rd_config.json | 31 |
2 files changed, 33 insertions, 8 deletions
diff --git a/stacks/rsocket/configure/module_config.json b/stacks/rsocket/configure/module_config.json index 736de24..2df82cd 100644 --- a/stacks/rsocket/configure/module_config.json +++ b/stacks/rsocket/configure/module_config.json @@ -3,17 +3,27 @@ "module_list": [ { "stack_name": "kernel", /*stack name*/ + "function_name": "kernel_stack_register", /*function name*/ "libname": "./", /*library name, if loadtype is static, this maybe null, else must give a library name*/ + "loadtype": "static", /*library load type: static or dynamic*/ "deploytype": "1", /*deploy model type:model type1, model type2, model type3. Indicating single or multi process deployment. Used during shared memory initialization.*/ + "maxfd": "1024", /*the max fd supported*/ + "minfd": "0", /*the min fd supported*/ + "priorty": "1", /*priorty when executing, reserv*/ "stackid": "0", /*stack id, this must be ordered and not be repeated*/ }, { "stack_name": "rsocket", + "function_name": "rsocket_stack_register", "libname": "libdmm_rsocket.so", + "loadtype": "dynmic", "deploytype": "1", + "maxfd": "1024", + "minfd": "0", + "priorty": "1", "stackid": "1", }, ] diff --git a/stacks/rsocket/configure/rd_config.json b/stacks/rsocket/configure/rd_config.json index 5c6f861..d89afcf 100644 --- a/stacks/rsocket/configure/rd_config.json +++ b/stacks/rsocket/configure/rd_config.json @@ -1,10 +1,25 @@ { - "ip_route": [ - { - "subnet": "192.168.1.1/24", - "stack_name": "rsocket", - }, - ], - "prot_route": [ - ], + "modules": [ + { + "name": "kernel", + "ip_route": [ + "127.0.0.1/24" + ], + "protocol_route": [ + ], + "type_route": [ + ] + }, + { + "name": "rsocket", + "ip_route": [ + "192.168.21.1/24" + + ], + "protocol_route": [ + ], + "type_route": [ + ] + } + ] } |