aboutsummaryrefslogtreecommitdiffstats
path: root/os_net_config/__init__.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-06-26 12:58:04 -0400
committerDan Prince <dprince@redhat.com>2014-06-26 12:58:04 -0400
commit8e8b9b980b549e3388782fbb315c5c26e9a67e37 (patch)
tree82e3030b4e2a2d7efdb6cd9e31a4a09b6b1b1cc5 /os_net_config/__init__.py
parent4c2e97b30ef1bac4e5e9229bce5425536466d122 (diff)
Add OvsBond object and impl for ifcfg format.
Supports the configuration of OVS bond interfaces. Also adds the ability to configure extra OVS_OPTIONS for both bonds and bridges (useful for some modes of operation)
Diffstat (limited to 'os_net_config/__init__.py')
-rw-r--r--os_net_config/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/os_net_config/__init__.py b/os_net_config/__init__.py
index 066ebb5..e2232e4 100644
--- a/os_net_config/__init__.py
+++ b/os_net_config/__init__.py
@@ -29,8 +29,14 @@ class NetConfig(object):
def addInterface(self, interface):
raise NotImplemented("addInterface is not implemented.")
+ def addVlan(self, bridge):
+ raise NotImplemented("addVlan is not implemented.")
+
def addBridge(self, bridge):
raise NotImplemented("addBridge is not implemented.")
+ def addBond(self, bridge):
+ raise NotImplemented("addBond is not implemented.")
+
def apply(self):
raise NotImplemented("apply is not implemented.")