Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/integrated/test_of_config.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ryu/tests/integrated/test_of_config.py 
b/ryu/tests/integrated/test_of_config.py
index 0f54463..ad0aeca 100644
--- a/ryu/tests/integrated/test_of_config.py
+++ b/ryu/tests/integrated/test_of_config.py
@@ -228,7 +228,7 @@ class OFConfigClient(app_manager.RyuApp):
             traceback.print_exc()
 
     def _do_get(self):
-        data_xml = self.switch.get()
+        data_xml = self.switch.raw_get()
 
         tree = lxml.etree.fromstring(data_xml)
         # print(lxml.etree.tostring(tree, pretty_print=True))
@@ -243,7 +243,7 @@ class OFConfigClient(app_manager.RyuApp):
 
     def _do_get_config(self, source):
         print('source = %s' % source)
-        config_xml = self.switch.get_config(source)
+        config_xml = self.switch.raw_get_config(source)
 
         tree = lxml.etree.fromstring(config_xml)
         # print(lxml.etree.tostring(tree, pretty_print=True))
@@ -252,7 +252,7 @@ class OFConfigClient(app_manager.RyuApp):
     def _do_edit_config(self, config):
         tree = lxml.etree.fromstring(config)
         self._validate(tree)
-        self.switch.edit_config(target='running', config=config)
+        self.switch.raw_edit_config(target='running', config=config)
 
     def _print_ports(self, tree, ns):
         for port in tree.findall('{%s}%s/{%s}%s' % (ns, ofc_consts.RESOURCES,
-- 
1.8.3.1


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to