diff --git a/quantum/api/v2/attributes.py b/quantum/api/v2/attributes.py index cf5ba2afb7..cf5767be8d 100644 --- a/quantum/api/v2/attributes.py +++ b/quantum/api/v2/attributes.py @@ -157,9 +157,7 @@ RESOURCE_ATTRIBUTE_MAP = { 'is_visible': True}, 'tenant_id': {'allow_post': True, 'allow_put': False, 'required_by_policy': True, - 'is_visible': True}, - 'mac_ranges': {'allow_post': False, 'allow_put': False, - 'is_visible': True}, + 'is_visible': True} }, 'ports': { 'id': {'allow_post': False, 'allow_put': False, diff --git a/quantum/tests/unit/test_api_v2.py b/quantum/tests/unit/test_api_v2.py index 1bf680f23b..0f6105eeba 100644 --- a/quantum/tests/unit/test_api_v2.py +++ b/quantum/tests/unit/test_api_v2.py @@ -742,7 +742,7 @@ class V2Views(unittest.TestCase): def test_network(self): keys = ('id', 'name', 'subnets', 'admin_state_up', 'status', - 'tenant_id', 'mac_ranges') + 'tenant_id') self._view(keys, 'networks', 'network') def test_port(self):