diff options
author | Dan Prince <dprince@redhat.com> | 2014-06-11 13:52:12 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2014-06-11 13:52:12 -0400 |
commit | 9110ad5fd4fa829a070d79da1f926758b15d5f10 (patch) | |
tree | 6ee2ed2e10d36a5e790ea26a0f999372322923fe /os_net_config/__init__.py | |
parent | 86230e11d10a9a605f1eaaf9ab3619875224eb3d (diff) |
Add OvsBridge configuration support
Adds new object for OvsBridge. Also update the ifcfg network
config class to support adding bridges.
As part of the change both the bridge and interface classes
extend a _BaseOpts base class.
Diffstat (limited to 'os_net_config/__init__.py')
-rw-r--r-- | os_net_config/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os_net_config/__init__.py b/os_net_config/__init__.py index 27dc95e..066ebb5 100644 --- a/os_net_config/__init__.py +++ b/os_net_config/__init__.py @@ -29,8 +29,8 @@ class NetConfig(object): def addInterface(self, interface): raise NotImplemented("addInterface is not implemented.") - def addRoutes(self, interface_name, routes=[]): - raise NotImplemented("addRoutes is not implemented.") + def addBridge(self, bridge): + raise NotImplemented("addBridge is not implemented.") def apply(self): raise NotImplemented("apply is not implemented.") |