Merge "Allow router route update in XML."

This commit is contained in:
Jenkins 2013-07-09 19:30:43 +00:00 committed by Gerrit Code Review
commit aa64633759
2 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class Extraroute():
def get_extended_resources(self, version):
if version == "2.0":
attr.PLURALS.update({'routes': 'route'})
return EXTENDED_ATTRIBUTES_2_0
else:
return {}

View File

@ -475,3 +475,7 @@ class ExtraRouteDBTestCase(test_l3.L3NatDBTestCase):
(router1, router2,
router3),
('name', 'asc'), 2, 2)
class ExtraRouteDBTestCaseXML(ExtraRouteDBTestCase):
fmt = 'xml'