]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove unused properties
authorNachi Ueno <nachi@nttmcl.com>
Fri, 3 Aug 2012 06:29:04 +0000 (06:29 +0000)
committerNachi Ueno <nachi@nttmcl.com>
Fri, 3 Aug 2012 06:29:04 +0000 (06:29 +0000)
Fixes bug 1032502.

Change-Id: I63d86788e004ac371e69c238caf38c64ee398955

quantum/api/v2/attributes.py
quantum/tests/unit/test_api_v2.py

index cf5ba2afb7bad23c36b06640cdf7bca4485162c8..cf5767be8d656c94a9a65d2e3df364fe1137853f 100644 (file)
@@ -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,
index ec887bc10404fb915a991188f00ea72c733e929a..2b891b45cc0c90aeedaffecd4e21370bdc3628a4 100644 (file)
@@ -741,7 +741,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):