summaryrefslogtreecommitdiffstats
path: root/os_net_config/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config/__init__.py')
-rw-r--r--os_net_config/__init__.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/os_net_config/__init__.py b/os_net_config/__init__.py
index 6c6de9b..a3ea278 100644
--- a/os_net_config/__init__.py
+++ b/os_net_config/__init__.py
@@ -56,5 +56,12 @@ class NetConfig(object):
def addBond(self, bond):
raise NotImplemented("addBond is not implemented.")
- def apply(self):
+ def apply(self, noop=False):
+ """Apply the network configuration.
+
+ :param noop: A boolean which indicates whether this is a no-op.
+ :returns: a dict of the format: filename/data which contains info
+ for each file that was changed (or would be changed if in --noop
+ mode).
+ """
raise NotImplemented("apply is not implemented.")