)]}'
{"nova/network/neutronv2/api.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"9f23af93c5a41a7e988ee6601603ca1e022734fc","unresolved":false,"context_lines":[{"line_number":975,"context_line":"    def _build_network_info_model(self, context, instance, networks\u003dNone):"},{"line_number":976,"context_line":"        search_opts \u003d {\u0027tenant_id\u0027: instance[\u0027project_id\u0027],"},{"line_number":977,"context_line":"                       \u0027device_id\u0027: instance[\u0027uuid\u0027], }"},{"line_number":978,"context_line":"        if context.project_id \u003d\u003d instance[\u0027project_id\u0027]:"},{"line_number":979,"context_line":"            as_admin \u003d False"},{"line_number":980,"context_line":"        else:"},{"line_number":981,"context_line":"            as_admin \u003d True"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FKRI%3D","line":978,"updated":"2013-11-13 15:30:27.000000000","message":"please see comment below","commit_id":"589238bb90badb363293b496b912def5a45447e1"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"9f23af93c5a41a7e988ee6601603ca1e022734fc","unresolved":false,"context_lines":[{"line_number":1014,"context_line":"            nw_info.append(network_model.VIF("},{"line_number":1015,"context_line":"                id\u003dport[\u0027id\u0027],"},{"line_number":1016,"context_line":"                address\u003dport[\u0027mac_address\u0027],"},{"line_number":1017,"context_line":"                network\u003dnetwork,"},{"line_number":1018,"context_line":"                type\u003dport.get(\u0027binding:vif_type\u0027),"},{"line_number":1019,"context_line":"                ovs_interfaceid\u003dovs_interfaceid,"},{"line_number":1020,"context_line":"                devname\u003ddevname))"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FKRM%3D","line":1017,"updated":"2013-11-13 15:30:27.000000000","message":"the client needs to be admin to get access to the vif_type.","commit_id":"589238bb90badb363293b496b912def5a45447e1"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"3240615b1332bccac025660aa6830367f8f88b9b","unresolved":false,"context_lines":[{"line_number":1014,"context_line":"            nw_info.append(network_model.VIF("},{"line_number":1015,"context_line":"                id\u003dport[\u0027id\u0027],"},{"line_number":1016,"context_line":"                address\u003dport[\u0027mac_address\u0027],"},{"line_number":1017,"context_line":"                network\u003dnetwork,"},{"line_number":1018,"context_line":"                type\u003dport.get(\u0027binding:vif_type\u0027),"},{"line_number":1019,"context_line":"                ovs_interfaceid\u003dovs_interfaceid,"},{"line_number":1020,"context_line":"                devname\u003ddevname))"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FF%2Fs%3D","line":1017,"in_reply_to":"AAAATn%2F%2FJxc%3D","updated":"2013-11-14 13:56:15.000000000","message":"Hi,\nPlease see - https://github.com/openstack/nova/blob/master/nova/virt/libvirt/vif.py#L327\nThe vif_type indicates the specific treatment for the port, for example ovs, linux bridge etc.","commit_id":"589238bb90badb363293b496b912def5a45447e1"},{"author":{"_account_id":1501,"name":"Phil Day","email":"philip.day@hp.com","username":"philip-day"},"change_message_id":"bbf0d75aad285c03dcb7dc042eece2e262549b72","unresolved":false,"context_lines":[{"line_number":1014,"context_line":"            nw_info.append(network_model.VIF("},{"line_number":1015,"context_line":"                id\u003dport[\u0027id\u0027],"},{"line_number":1016,"context_line":"                address\u003dport[\u0027mac_address\u0027],"},{"line_number":1017,"context_line":"                network\u003dnetwork,"},{"line_number":1018,"context_line":"                type\u003dport.get(\u0027binding:vif_type\u0027),"},{"line_number":1019,"context_line":"                ovs_interfaceid\u003dovs_interfaceid,"},{"line_number":1020,"context_line":"                devname\u003ddevname))"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJxc%3D","line":1017,"in_reply_to":"AAAATn%2F%2FKRM%3D","updated":"2013-11-13 17:33:03.000000000","message":"Hi Gary - where does the vif_type get used ?\n\nIt seems kind of clumsy that we have run as Admin just to get this bit of info.   Port creation only needs admin if there are certain extensions loaded, seems odd that we always need admin to read it.","commit_id":"589238bb90badb363293b496b912def5a45447e1"}]}
