Bug 4816 - Change common attributes' descriptions into resource neutral 78/31578/1
authorgong yong sheng <gong.yongsheng@99cloud.net>
Fri, 18 Dec 2015 07:56:06 +0000 (15:56 +0800)
committergong yong sheng <gong.yongsheng@99cloud.net>
Fri, 18 Dec 2015 07:56:06 +0000 (15:56 +0800)
status, admin-status-up and tenant-id attributes are used by
many object types. Their descriptions should not be network
type specific.

Change-Id: Iaa671329e48fbc690aaefcc6ee99215730cc9703
Signed-off-by: yong sheng gong <gong.yongsheng@99cloud.net>
model/src/main/yang/neutron-attrs.yang

index 1ee80c54226929aaed6cc824d16c74f8d662ef0f..1d1f41c8318b0c26b44af6a7a3b1d0b8cd1daa35 100644 (file)
@@ -41,23 +41,19 @@ module neutron-attrs {
 
         leaf tenant-id {
             type yang:uuid;
-            description "Admin-only. The UUID of the tenant that will own the network.
-                        This tenant can be different from the tenant that makes the create
-                        network request. However, only administrative users can specify
-                        a tenant ID other than their own. You cannot change this value
-                        through authorization policies.";
+            description "The UUID of the tenant that will own the object.";
         }
     }
 
     grouping admin-attributes {
         leaf admin-state-up {
             type boolean;
-            description "The administrative state of the network, which is up (true) or
+            description "The administrative state of the object, which is up (true) or
                         down (false).";
         }
         leaf status {
             type string;
-            description "The network status.";
+            description "The object status.";
         }
     }
 }