diff options
author | 2016-07-30 15:22:57 +0530 | |
---|---|---|
committer | 2016-08-26 15:26:28 +0530 | |
commit | 9108fcb7bb1fa10ffce2fd787278802ee3f3354c (patch) | |
tree | dd7dc512b234d48e3bde4bde45a347fc12688cc6 /etc | |
parent | 6d046bca3c7c63993782ba6646ecdf530a643297 (diff) |
Add support for OVS DPDK Bond
Add functionality to os-net-config to allow DPDK bonding of
interfaces, and implement support for parameters to be passed
by TripleO Heat Templates.
Implements: blueprint tripleo-ovs-dpdk
Depends-On: Id4a23ced28b92a642c180a35c55080e5f4e2e05d
Change-Id: If1c91402d2d393140dc1b4a678e68a1bcdbe81e4
Diffstat (limited to 'etc')
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk_bond.json | 44 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk_bond.yaml | 36 |
2 files changed, 80 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk_bond.json b/etc/os-net-config/samples/ovs_dpdk_bond.json new file mode 100644 index 0000000..af82e7b --- /dev/null +++ b/etc/os-net-config/samples/ovs_dpdk_bond.json @@ -0,0 +1,44 @@ +{ "network_config": [ + { + "type": "ovs_user_bridge", + "name": "br-link", + "members": [ + { + "type" : "ovs_dpdk_bond", + "name" : "dpdkbond0", + "members": [ + { + "type" : "ovs_dpdk_port", + "name" : "dpdk0", + "members": [ + { + "type": "interface", + "name": "eth1" + } + ] + }, + { + "type" : "ovs_dpdk_port", + "name" : "dpdk1", + "members": [ + { + "type": "interface", + "name": "eth2" + } + ] + }, + ] + }, + { + "type" : "vlan", + "vlan_id" : 16, + "addresses" : [ + { + "ip_netmask" : "192.0.2.1/24" + } + ] + } + ] + } + ] +} diff --git a/etc/os-net-config/samples/ovs_dpdk_bond.yaml b/etc/os-net-config/samples/ovs_dpdk_bond.yaml new file mode 100644 index 0000000..d51fa4a --- /dev/null +++ b/etc/os-net-config/samples/ovs_dpdk_bond.yaml @@ -0,0 +1,36 @@ +# ovs_user_bridge type refers to the OVSUserBridge OVS ifup type, which will +# have the datapath type set as 'netdev' for DPDK processing. +# ovs_dpdk_port type refers to the OVSDPDKPort OVS ifup type, which will +# add the port to the bridge with the interface type as 'dpdk'. +# ovs_dpdk_bond type refers to the OVSDPDKBond OVS ifup type, which will +# create the bond with dpdk interface type for dpdk ports + +network_config: + - + type: ovs_user_bridge + name: br-link + members: + - + type: ovs_dpdk_bond + name: dpdkbond0 + members: + - + type: ovs_dpdk_port + name: dpdk0 + members: + - + type: interface + name: eth1 + - + type: ovs_dpdk_port + name: dpdk1 + members: + - + type: interface + name: eth2 + - + type: vlan + vlan_id: 16 + addresses: + - + ip_netmask: 192.0.2.1/24
\ No newline at end of file |