Merge "Allow router route update in XML."
This commit is contained in:
commit
aa64633759
@ -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 {}
|
||||
|
@ -475,3 +475,7 @@ class ExtraRouteDBTestCase(test_l3.L3NatDBTestCase):
|
||||
(router1, router2,
|
||||
router3),
|
||||
('name', 'asc'), 2, 2)
|
||||
|
||||
|
||||
class ExtraRouteDBTestCaseXML(ExtraRouteDBTestCase):
|
||||
fmt = 'xml'
|
||||
|
Loading…
Reference in New Issue
Block a user