]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Correct indentation in neutron.api.v2.attributes
authorCedric Brandily <zzelle@gmail.com>
Wed, 10 Jun 2015 20:08:45 +0000 (22:08 +0200)
committerCedric Brandily <zzelle@gmail.com>
Wed, 10 Jun 2015 20:41:52 +0000 (20:41 +0000)
This change corrects subnetpool resource definition indentation in
neutron.api.v2.attributes.

Change-Id: I6738ff6b73bd0b943cec32f14ccb8946ba28d2e3

neutron/api/v2/attributes.py

index 8adecc1ed385796ac7e4a104c62aef024361653b..bfc056010fc431dc781e660c96ad066316883d36 100644 (file)
@@ -816,23 +816,23 @@ RESOURCE_ATTRIBUTE_MAP = {
                        'allow_put': False,
                        'is_visible': True},
         'default_prefixlen': {'allow_post': True,
-                           'allow_put': True,
-                           'validate': {'type:non_negative': None},
-                           'convert_to': convert_to_int,
-                           'default': ATTR_NOT_SPECIFIED,
-                           'is_visible': True},
+                              'allow_put': True,
+                              'validate': {'type:non_negative': None},
+                              'convert_to': convert_to_int,
+                              'default': ATTR_NOT_SPECIFIED,
+                              'is_visible': True},
         'min_prefixlen': {'allow_post': True,
-                       'allow_put': True,
-                       'default': ATTR_NOT_SPECIFIED,
-                       'validate': {'type:non_negative': None},
-                       'convert_to': convert_to_int,
-                       'is_visible': True},
+                          'allow_put': True,
+                          'default': ATTR_NOT_SPECIFIED,
+                          'validate': {'type:non_negative': None},
+                          'convert_to': convert_to_int,
+                          'is_visible': True},
         'max_prefixlen': {'allow_post': True,
-                       'allow_put': True,
-                       'default': ATTR_NOT_SPECIFIED,
-                       'validate': {'type:non_negative': None},
-                       'convert_to': convert_to_int,
-                       'is_visible': True},
+                          'allow_put': True,
+                          'default': ATTR_NOT_SPECIFIED,
+                          'validate': {'type:non_negative': None},
+                          'convert_to': convert_to_int,
+                          'is_visible': True},
         SHARED: {'allow_post': True,
                  'allow_put': False,
                  'default': False,