diff options
author | Saravanan KR <skramaja@redhat.com> | 2016-07-30 15:22:57 +0530 |
---|---|---|
committer | Saravanan KR <skramaja@redhat.com> | 2016-08-26 15:26:28 +0530 |
commit | 9108fcb7bb1fa10ffce2fd787278802ee3f3354c (patch) | |
tree | dd7dc512b234d48e3bde4bde45a347fc12688cc6 /os_net_config/__init__.py | |
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 'os_net_config/__init__.py')
-rw-r--r-- | os_net_config/__init__.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os_net_config/__init__.py b/os_net_config/__init__.py index d307980..19d4a1e 100644 --- a/os_net_config/__init__.py +++ b/os_net_config/__init__.py @@ -93,6 +93,8 @@ class NetConfig(object): self.add_ib_interface(obj) elif isinstance(obj, objects.OvsDpdkPort): self.add_ovs_dpdk_port(obj) + elif isinstance(obj, objects.OvsDpdkBond): + self.add_ovs_dpdk_bond(obj) def add_interface(self, interface): """Add an Interface object to the net config object. @@ -192,6 +194,13 @@ class NetConfig(object): """ raise NotImplemented("add_ovs_dpdk_port is not implemented.") + def add_ovs_dpdk_bond(self, ovs_dpdk_bond): + """Add a OvsDpdkBond object to the net config object. + + :param ovs_dpdk_bond: The OvsDpdkBond object to add. + """ + raise NotImplemented("add_ovs_dpdk_bond is not implemented.") + def apply(self, cleanup=False): """Apply the network configuration. |