)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"12dca03044c60e0be2bb628d540855f5e72ec715","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Arista ML2 Mech driver for VLANs presently does"},{"line_number":10,"context_line":"not filter out non-vlan type networks (e.g vxlan)."},{"line_number":11,"context_line":"This fix will simply ignore the request if a"},{"line_number":12,"context_line":"non-vlan based network reqest is seen."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I99ec5c5772a9f1f63cf871a98be50bdd2ba5db62"},{"line_number":15,"context_line":"Closes-Bug: 1472458"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_371d6762","line":12,"updated":"2015-07-08 04:27:32.000000000","message":"Why do you ignore only? Don\u0027t we need to show messages or Error for users?","commit_id":"b719aca02ef5389347afb6bcefc5e2efff36ce37"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"0dc306f484a8267e2f358d831b93a834fe013ec0","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Arista ML2 Mech driver for VLANs presently does"},{"line_number":10,"context_line":"not filter out non-vlan type networks (e.g vxlan)."},{"line_number":11,"context_line":"This fix will simply ignore the request if a"},{"line_number":12,"context_line":"non-vlan based network reqest is seen."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I99ec5c5772a9f1f63cf871a98be50bdd2ba5db62"},{"line_number":15,"context_line":"Closes-Bug: 1472458"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_ad5fea0d","line":12,"in_reply_to":"ba3cc151_371d6762","updated":"2015-07-08 07:35:53.000000000","message":"No - This is not a failure situation. There could be multiple ML2 drivers running together. One to handle VLAN networks, others to handle other networks (e.g vxlan) - hence, it is not an error or warning.","commit_id":"b719aca02ef5389347afb6bcefc5e2efff36ce37"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"eee5215b7ae334e6e99848315fe4f30e0b98e0d1","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Arista ML2 Mech driver for VLANs presently does"},{"line_number":10,"context_line":"not filter out non-vlan type networks (e.g vxlan)."},{"line_number":11,"context_line":"This fix will simply ignore the request if a"},{"line_number":12,"context_line":"non-vlan based network reqest is seen."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I99ec5c5772a9f1f63cf871a98be50bdd2ba5db62"},{"line_number":15,"context_line":"Closes-Bug: 1472458"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"ba3cc151_e1f6595c","line":12,"range":{"start_line":12,"start_character":23,"end_line":12,"end_character":29},"updated":"2015-07-08 08:39:55.000000000","message":"typo: request","commit_id":"43760a56553c1a58b0e33b984efb6a561cab89b9"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"5868b34fc69e86d615e56cb1529bfd2b1ee42f2a","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Arista ML2 Mech driver for VLANs presently does"},{"line_number":10,"context_line":"not filter out non-vlan type networks (e.g vxlan)."},{"line_number":11,"context_line":"This fix will simply ignore the request if a"},{"line_number":12,"context_line":"non-vlan based network reqest is seen."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I99ec5c5772a9f1f63cf871a98be50bdd2ba5db62"},{"line_number":15,"context_line":"Closes-Bug: 1472458"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"ba3cc151_31d9baf3","line":12,"in_reply_to":"ba3cc151_e1f6595c","updated":"2015-07-09 00:58:20.000000000","message":"Done","commit_id":"43760a56553c1a58b0e33b984efb6a561cab89b9"}],"neutron/plugins/ml2/drivers/arista/mechanism_arista.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"4d6f595f5711229319257149ef244e76daa303d9","unresolved":false,"context_lines":[{"line_number":169,"context_line":"    def delete_network_postcommit(self, context):"},{"line_number":170,"context_line":"        \"\"\"Send network delete request to Arista HW.\"\"\""},{"line_number":171,"context_line":"        network \u003d context.current"},{"line_number":172,"context_line":"        if network[\u0027provider:network_type\u0027] !\u003d p_const.TYPE_VLAN:"},{"line_number":173,"context_line":"            # If networtk type is not VLAN, do nothing"},{"line_number":174,"context_line":"            return"},{"line_number":175,"context_line":"        network_id \u003d network[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_c99c94c2","line":172,"updated":"2015-07-08 12:04:55.000000000","message":"You could use driver_api.NETWORK_TYPE\n\nAccording to create_network_precommit, arista supports multi-segments but not delete_network_precommit?","commit_id":"43760a56553c1a58b0e33b984efb6a561cab89b9"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"5868b34fc69e86d615e56cb1529bfd2b1ee42f2a","unresolved":false,"context_lines":[{"line_number":169,"context_line":"    def delete_network_postcommit(self, context):"},{"line_number":170,"context_line":"        \"\"\"Send network delete request to Arista HW.\"\"\""},{"line_number":171,"context_line":"        network \u003d context.current"},{"line_number":172,"context_line":"        if network[\u0027provider:network_type\u0027] !\u003d p_const.TYPE_VLAN:"},{"line_number":173,"context_line":"            # If networtk type is not VLAN, do nothing"},{"line_number":174,"context_line":"            return"},{"line_number":175,"context_line":"        network_id \u003d network[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_d1c2ce33","line":172,"in_reply_to":"ba3cc151_42a7e7a6","updated":"2015-07-09 00:58:20.000000000","message":"Never mind. I was looking at the wrong context. I have fixed this. Thanks for pointing it out.","commit_id":"43760a56553c1a58b0e33b984efb6a561cab89b9"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"78d468c9a5e41f2495d62931b07ba865ce6cd858","unresolved":false,"context_lines":[{"line_number":169,"context_line":"    def delete_network_postcommit(self, context):"},{"line_number":170,"context_line":"        \"\"\"Send network delete request to Arista HW.\"\"\""},{"line_number":171,"context_line":"        network \u003d context.current"},{"line_number":172,"context_line":"        if network[\u0027provider:network_type\u0027] !\u003d p_const.TYPE_VLAN:"},{"line_number":173,"context_line":"            # If networtk type is not VLAN, do nothing"},{"line_number":174,"context_line":"            return"},{"line_number":175,"context_line":"        network_id \u003d network[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_42a7e7a6","line":172,"in_reply_to":"ba3cc151_c99c94c2","updated":"2015-07-08 17:43:28.000000000","message":"Yes, I noticed it when I updated the code. Here is the issue -\n\"network_type\" is a in the segment context, not in the network context. When network_create request comes, it has segments in the context, hence, \"network_type\" is used for the subnet. But, when the delete network request comes, all the subnets are already deleted, so there is no subnets in the request - hence, I use the network context. And, in the network context, there is no \"network_type\", but, \"provider:network_type\". Hence, it is different. \n\nHope this makes sense.","commit_id":"43760a56553c1a58b0e33b984efb6a561cab89b9"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"8bb19a6b233c4c6b3663bb21d892d482dc40cd5b","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        segments \u003d context.network_segments"},{"line_number":73,"context_line":"        if segments[0][driver_api.NETWORK_TYPE] !\u003d p_const.TYPE_VLAN:"},{"line_number":74,"context_line":"            # If network type is not VLAN, do nothing"},{"line_number":75,"context_line":"            return"},{"line_number":76,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":77,"context_line":"        tenant_id \u003d network[\u0027tenant_id\u0027]"},{"line_number":78,"context_line":"        if not tenant_id:"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_fc4e9b6d","line":75,"updated":"2015-07-09 18:06:33.000000000","message":"Networks can have multiple segments of the same and/or different types. Ideally, the driver would only ignore the network completely if no segment is of a type it understands, and would process all segments that are of types it does understand. Given that this driver currently only handles segment[0], i.e. on line 80, I think the change here is reasonable, and support for multi-segment networks should be added later as a separate patch.","commit_id":"4af485d2c00d7d280f5edfcd2638401b993386c0"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"8bb19a6b233c4c6b3663bb21d892d482dc40cd5b","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        segments \u003d context.network_segments"},{"line_number":173,"context_line":"        if segments[0][driver_api.NETWORK_TYPE] !\u003d p_const.TYPE_VLAN:"},{"line_number":174,"context_line":"            # If networtk type is not VLAN, do nothing"},{"line_number":175,"context_line":"            return"},{"line_number":176,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":177,"context_line":"        tenant_id \u003d network[\u0027tenant_id\u0027]"},{"line_number":178,"context_line":"        if not tenant_id:"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_1c525f13","line":175,"updated":"2015-07-09 18:06:33.000000000","message":"See above.","commit_id":"4af485d2c00d7d280f5edfcd2638401b993386c0"}]}
