summaryrefslogtreecommitdiffstats
path: root/release/configure
diff options
context:
space:
mode:
Diffstat (limited to 'release/configure')
-rw-r--r--release/configure/module_config.json27
-rw-r--r--release/configure/rd_config.json26
2 files changed, 53 insertions, 0 deletions
diff --git a/release/configure/module_config.json b/release/configure/module_config.json
new file mode 100644
index 0000000..c9bae26
--- /dev/null
+++ b/release/configure/module_config.json
@@ -0,0 +1,27 @@
+{
+ "default_stack_name": "kernel",
+ "module_list": [
+ {
+ "stack_name": "kernel",
+ "function_name": "kernel_stack_register",
+ "libname": "./",
+ "loadtype": "static",
+ "deploytype": "1",
+ "maxfd": "1024",
+ "minfd": "0",
+ "priorty": "1",
+ "stackid": "0",
+ },
+ {
+ "stack_name": "stackpool",
+ "function_name": "nstack_stack_register",
+ "libname": "libnstack.so",
+ "loadtype": "dynmic",
+ "deploytype": "3",
+ "maxfd": "1024",
+ "minfd": "0",
+ "priorty": "1",
+ "stackid": "1",
+ },
+ ]
+}
diff --git a/release/configure/rd_config.json b/release/configure/rd_config.json
new file mode 100644
index 0000000..d005569
--- /dev/null
+++ b/release/configure/rd_config.json
@@ -0,0 +1,26 @@
+{
+ "ip_route": [
+ {
+ "subnet": "192.168.1.1/24",
+ "type": "nstack-kernel",
+ },
+ {
+ "subnet": "192.167.1.1/24",
+ "type": "nstack-kernel",
+ },
+ {
+ "subnet": "192.166.1.1/24",
+ "type": "nstack-kernel",
+ }
+ ],
+ "prot_route": [
+ {
+ "proto_type": "1",
+ "type": "nstack-kernel",
+ },
+ {
+ "proto_type": "2",
+ "type": "nstack-kernel",
+ }
+ ],
+}