summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/of_config/capable_switch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ryu/lib/of_config/capable_switch.py b/ryu/lib/of_config/capable_switch.py
index fd3f279d..7be3159f 100644
--- a/ryu/lib/of_config/capable_switch.py
+++ b/ryu/lib/of_config/capable_switch.py
@@ -117,5 +117,11 @@ class OFCapableSwitch(object):
xml = ofc.NETCONF_Config(capable_switch=capable_switch).to_xml()
self.raw_edit_config(target, xml, default_operation)
+ def delete_config(self, source):
+ self.netconf.delete_config(source)
+
+ def copy_config(self, source, target):
+ self.netconf.copy_config(source, target)
+
# TODO: more netconf operations
# TODO: convinience(higher level) methods