summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-12-19 16:17:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-12-25 12:12:52 +0900
commit9a83a89f060f2196984633d4f6e995671737cf27 (patch)
treed8afa34337f373ae9bc80540cad421ee59daa5f8
parent7d313ad9ee12011b62577ab38562126fae01b862 (diff)
tests.integrated.test_of_config: update after capable_switch api change
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/integrated/test_of_config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ryu/tests/integrated/test_of_config.py b/ryu/tests/integrated/test_of_config.py
index 0f544639..ad0aeca2 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,