Merge pull request #166 from Mirantis/vrouter-dpdk
opencontrail dpdk vrouter system definition
diff --git a/opencontrail/compute/dpdk.yml b/opencontrail/compute/dpdk.yml
new file mode 100644
index 0000000..47464b6
--- /dev/null
+++ b/opencontrail/compute/dpdk.yml
@@ -0,0 +1,25 @@
+parameters:
+ nova:
+ compute:
+ libvirt_service: libvirt-bin
+ opencontrail:
+ compute:
+ dpdk:
+ enabled: true
+ taskset: "${_param:compute_vrouter_taskset}"
+ socket_mem: "${_param:compute_vrouter_socket_mem}"
+ interface:
+ mac_address: ${_param:compute_vrouter_dpdk_mac_address}
+ pci: ${_param:compute_vrouter_dpdk_pci}
+ linux:
+ system:
+ package:
+ liburcu4:
+ version: 0.9.1-3+tcp1
+ network:
+ interface:
+ vhost0:
+ pre_up_cmds:
+ - /usr/lib/contrail/if-vhost0
+ post_up_cmds:
+ - ip link set vhost0 address ${_param:compute_vrouter_dpdk_mac_address}