Updated sample startup.conf with supported plugin config options. 47/11447/3
authorMaciek Konstantynowicz <mkonstan@cisco.com>
Wed, 28 Mar 2018 18:39:24 +0000 (19:39 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 30 Mar 2018 20:47:32 +0000 (20:47 +0000)
Change-Id: Id2884a4c2208b4382fce56019b11e4b7fdc4275b
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
src/vpp/conf/startup.conf

index 2a12ef9..7ed2798 100644 (file)
@@ -15,7 +15,7 @@ api-trace {
 ##
 ## To set the number of binary API trace records in the circular buffer, configure nitems
 ##
-## nitems <nnn> 
+## nitems <nnn>
 ##
 ## To save the api message table decode tables, configure a filename. Results in /tmp/<filename>
 ## Very handy for understanding api message changes between versions, identifying missing
@@ -96,8 +96,8 @@ cpu {
        # }
 
        ## Specify bonded interface and its slaves via PCI addresses
-       ## 
-        ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers 
+       ##
+       ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers
        # vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34
        # vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34
        ##
@@ -127,11 +127,20 @@ cpu {
        # no-tx-checksum-offload
 # }
 
-# Adjusting the plugin path depending on where the VPP plugins are:
-#plugins
-#{
-#      path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
-#}
 
-# Alternate syntax to choose plugin path
-#plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
+# plugins {
+       ## Adjusting the plugin path depending on where the VPP plugins are
+       #       path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
+
+       ## Disable all plugins by default and then selectively enable specific plugins
+       # plugin default { disable }
+       # plugin dpdk_plugin.so { enable }
+       # plugin acl_plugin.so { enable }
+
+       ## Enable all plugins by default and then selectively disable specific plugins
+       # plugin dpdk_plugin.so { disable }
+       # plugin acl_plugin.so { disable }
+# }
+
+       ## Alternate syntax to choose plugin path
+       # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins