[NEUTRON-93] attrs description in base and admin attributes should be resource neutral Created: 18/Dec/15  Updated: 30/Dec/15  Resolved: 30/Dec/15

Status: Resolved
Project: neutron
Component/s: General
Affects Version/s: master
Fix Version/s: None

Type: Bug
Reporter: yong sheng gong Assignee: yong sheng gong
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4816

 Description   

the yang model in model/src/main/yang/neutron-attrs.yang:
grouping base-attributes {

leaf uuid

{ type yang:uuid; description "UUID to index this neutron object."; }

leaf name

{ type string; description "Human-readable name for the item. Might not be unique."; }

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."; }

}

grouping admin-attributes {
leaf admin-state-up

{ type boolean; description "The administrative state of the network, which is up (true) or down (false)."; }

leaf status

{ type string; description "The network status."; }

}

tenant-id, admin-state-up and status should be resource neutral, since they are common attributes for other resources too.



 Comments   
Comment by Isaku Yamahata [ 30/Dec/15 ]

https://git.opendaylight.org/gerrit/#/c/31578/
merged

Generated at Wed Feb 07 20:25:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.