diff options
author | Dan Prince <dprince@redhat.com> | 2014-08-14 14:05:05 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2014-08-14 14:05:05 -0400 |
commit | 462436fa4d339c80a888def1707f792c33cca715 (patch) | |
tree | c1e483e02de39f56062fa8531223b97de98c302f /os_net_config/impl_eni.py | |
parent | 9e515950c7eb4a73e02a4f4883c223dd24ba93ff (diff) |
Add --cleanup, and impl for ifcfg
Adds a new cleanup option which can be used to ifdown and
remove interfaces that exists but aren't specified in
the object model (or JSON).
Diffstat (limited to 'os_net_config/impl_eni.py')
-rw-r--r-- | os_net_config/impl_eni.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os_net_config/impl_eni.py b/os_net_config/impl_eni.py index cf09ff3..2a2e4e1 100644 --- a/os_net_config/impl_eni.py +++ b/os_net_config/impl_eni.py @@ -164,7 +164,7 @@ class ENINetConfig(os_net_config.NetConfig): self.routes[interface_name] = data logger.debug('route data: %s' % self.routes[interface_name]) - def apply(self, noop=False): + def apply(self, noop=False, cleanup=False): """Apply the network configuration. :param noop: A boolean which indicates whether this is a no-op. |