Provide unified _show_resource()

Registered by huangtianhua on 2017-01-13

Now every neutron resources has to override the method _show_resource() due neutronclient has a different way to get the info of resource:
     neutronclient: 'self.client().show_port()', 'self.client().show_network()' and so on
     otherclients: 'self.client().*entity*.get()'
This blueprint will refactor and provide unified a method for all neutron resources, it is not hard, because it's regular.

Blueprint information

Status:
Complete
Approver:
Rico Lin
Priority:
Low
Drafter:
huangtianhua
Direction:
Approved
Assignee:
huangtianhua
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
milestone icon pike-1
Started by
huangtianhua on 2017-02-06
Completed by
huangtianhua on 2017-02-06

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-show-resource-for-neutron-resource,n,z

Addressed by: https://review.openstack.org/419851
    Refactor _show_resource() for neutron resources

Addressed by: https://review.openstack.org/420262
    Apply super _show_resource() for neutron resources

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-show-resource,n,z

Addressed by: https://review.openstack.org/420500
    Apply super _show_resource() for senlin resources

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.