vlib: print logs to stderr if interactive or nosyslog set
[vpp.git] / src / vpp / conf / startup.conf
index 12679da..8b02ac8 100644 (file)
@@ -5,6 +5,15 @@ unix {
   full-coredump
   cli-listen /run/vpp/cli.sock
   gid vpp
+
+  ## run vpp in the interactive mode
+  # interactive
+
+  ## do not use colors in terminal output
+  # nocolor
+
+  ## do not display banner
+  # nobanner
 }
 
 api-trace {
@@ -32,6 +41,18 @@ socksvr {
   default
 }
 
+# memory {
+       ## Set the main heap size, default is 1G
+       # main-heap-size 2G
+
+       ## Set the main heap page size. Default page size is OS default page
+       ## which is in most cases 4K. if different page size is specified VPP
+       ## will try to allocate main heap by using specified page size.
+       ## special keyword 'default-hugepage' will use system default hugepage
+       ## size
+       # main-heap-page-size 1G
+#}
+
 cpu {
        ## In the VPP there is one main thread and optionally the user can create worker(s)
        ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
@@ -186,6 +207,7 @@ cpu {
     # socket-name <filename>, name of the stats segment socket
     #     defaults to /run/vpp/stats.sock
     # size <nnn>[KMG], size of the stats segment, defaults to 32mb
+    # page-size <nnn>, page size, ie. 2m, defaults to 4k
     # per-node-counters on | off, defaults to none
     # update-interval <f64-seconds>, sets the segment scrape / update interval
 # }
@@ -198,3 +220,23 @@ cpu {
     ## l2fib hash table number of buckets. Must be power of 2.
     #  num-buckets 524288
 # }
+
+## ipsec
+# {
+   # ip4 {
+   ## ipsec for ipv4 tunnel lookup hash number of buckets.
+   #  num-buckets 524288
+   # }
+   # ip6 {
+   ## ipsec for ipv6 tunnel lookup hash number of buckets.
+   #  num-buckets 524288
+   # }
+# }
+
+# logging {
+   ## set default logging level for logging buffer
+   ## logging levels: emerg, alert,crit, error, warn, notice, info, debug, disabled
+   # default-log-level debug
+   ## set default logging level for syslog or stderr output
+   # default-syslog-log-level info
+# }