)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"57dcd71294235d7ea7a61c9bdae9ce27619f2e15","unresolved":false,"context_lines":[{"line_number":10,"context_line":"needs to know about provider details for the network."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch documents this relationship. Also, the"},{"line_number":13,"context_line":"API validator lets"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Related-bug: #1648129"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da36d5c6_e1cdee66","line":13,"updated":"2017-02-24 05:38:50.000000000","message":"oh it lets? how nice of it!","commit_id":"1902b85fad359d182d91f2751e8bec2b577a5bfd"}],"neutron_lib/api/definitions/trunk.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"40bfbe890989091c26c134606be84b98c317e778","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# The list of required extensions."},{"line_number":93,"context_line":"REQUIRED_EXTENSIONS \u003d ["},{"line_number":94,"context_line":"    \"binding\","},{"line_number":95,"context_line":"    \"provider\","},{"line_number":96,"context_line":"]"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"# The list of optional extensions."}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_be19718a","line":95,"updated":"2017-02-23 15:19:12.000000000","message":"Isn\u0027t \u0027provider\u0027 optional?\n\nAFAIK most plugins support provider networks now, but the provider network extension is not a requirement to support neutron multi-tenancy. Plugins and/or mechanism drivers can support multi-tenancy network in various way and there is no need to support the provider network extension. Even such plugin can support the existing trunk extension.\n\nI understand the provider network extension support is required to support some ironic use case with hardware switches without vlan translation feature.\n\nHow about adding \u0027provider\u0027 to OPTIONAL EXTENSION?\nIs there any problem in making the provider extension optional (from the point of view of abstraction or implementation)?","commit_id":"9dfd36a99c9b2188e65c70fc5a7d273c0fa8c340"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bd17ba9552d726b1046afc514758bbe5d31e1adb","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# The list of required extensions."},{"line_number":93,"context_line":"REQUIRED_EXTENSIONS \u003d ["},{"line_number":94,"context_line":"    \"binding\","},{"line_number":95,"context_line":"    \"provider\","},{"line_number":96,"context_line":"]"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"# The list of optional extensions."}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_c0dc5b48","line":95,"in_reply_to":"da36d5c6_41a87a77","updated":"2017-02-24 14:33:50.000000000","message":"Yes, I think there are cases where we cannot honor request to inherit the segmentation details from the network. I think it is not limited to the case I mentioned. It also can happen if the provider network_type is other than VLAN (e.g. VXLAN), so I think a case I mentioned is not a special case.\n\nEven If we introduce a new provider network_type like \u0027inherit\u0027 or something, there is a case where we need to refuse it depending on deployment choice or operator choice.","commit_id":"9dfd36a99c9b2188e65c70fc5a7d273c0fa8c340"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"2e2f693c4feb61314642151c5b70203f80f2a08a","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# The list of required extensions."},{"line_number":93,"context_line":"REQUIRED_EXTENSIONS \u003d ["},{"line_number":94,"context_line":"    \"binding\","},{"line_number":95,"context_line":"    \"provider\","},{"line_number":96,"context_line":"]"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"# The list of optional extensions."}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_41a87a77","line":95,"in_reply_to":"da36d5c6_8fab9574","updated":"2017-02-24 05:38:17.000000000","message":"We will need to check if extension is on before accepting the request.","commit_id":"9dfd36a99c9b2188e65c70fc5a7d273c0fa8c340"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"76112436d566b066361edab0f88132e2f4509ee5","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# The list of required extensions."},{"line_number":93,"context_line":"REQUIRED_EXTENSIONS \u003d ["},{"line_number":94,"context_line":"    \"binding\","},{"line_number":95,"context_line":"    \"provider\","},{"line_number":96,"context_line":"]"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"# The list of optional extensions."}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_8fab9574","line":95,"in_reply_to":"da36d5c6_be19718a","updated":"2017-02-23 16:01:19.000000000","message":"OK, if we make it optional, and it ends up being not available, then we can\u0027t honor requests to inherit the segmentation details from the network. Is that what we want? I can fix the code to match that.","commit_id":"9dfd36a99c9b2188e65c70fc5a7d273c0fa8c340"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"c523f74635a63ba586407fd415cc29a8a75c5c41","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"# The list of optional extensions."},{"line_number":98,"context_line":"OPTIONAL_EXTENSIONS \u003d ["},{"line_number":99,"context_line":"    \"provider\",  # needed to learn about network segmentation details."},{"line_number":100,"context_line":"]"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"# TODO(armax): add support for modeling custom queries"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba2be162_a83b9b9b","line":99,"range":{"start_line":99,"start_character":5,"end_line":99,"end_character":13},"updated":"2017-02-28 13:14:19.000000000","message":"For both the required and optional extensions might it be better to import the respective neutron_lib.api.defintions.\u003cmodule\u003e and then just use its ALIAS attribute rather than hard coding these?","commit_id":"f2eb0ecb89001fb403c907b6d96b0e24385a9eef"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"75c1e7d436f3d3dc602acab1f48d54e0986dcc3d","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"# The list of optional extensions."},{"line_number":98,"context_line":"OPTIONAL_EXTENSIONS \u003d ["},{"line_number":99,"context_line":"    \"provider\",  # needed to learn about network segmentation details."},{"line_number":100,"context_line":"]"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"# TODO(armax): add support for modeling custom queries"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba2be162_8f6247d7","line":99,"range":{"start_line":99,"start_character":5,"end_line":99,"end_character":13},"in_reply_to":"ba2be162_a83b9b9b","updated":"2017-02-28 22:22:29.000000000","message":"we can do a sweep at the end, once all definitions have been ported, but I can respin if someone else complains.","commit_id":"f2eb0ecb89001fb403c907b6d96b0e24385a9eef"}],"neutron_lib/api/validators.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b1cfb192cd0f108d1b693d83b7dcd53ba5fe2c0a","unresolved":false,"context_lines":[{"line_number":931,"context_line":"        segmentation_id \u003d subport.get(\"segmentation_id\")"},{"line_number":932,"context_line":"        segmentation_type \u003d subport.get(\"segmentation_type\")"},{"line_number":933,"context_line":"        if segmentation_type \u003d\u003d \u0027inherit\u0027:"},{"line_number":934,"context_line":"            return"},{"line_number":935,"context_line":"        if (not segmentation_id or not segmentation_type) and len(subport) \u003e 1:"},{"line_number":936,"context_line":"            msg \u003d _(\"Invalid subport details \u0027%s\u0027: missing segmentation \""},{"line_number":937,"context_line":"                    \"information. Must specify both segmentation_id and \""}],"source_content_type":"text/x-python","patch_set":2,"id":"da36d5c6_c100ea68","line":934,"updated":"2017-02-24 05:40:43.000000000","message":"nit: if you return here, then you may want to move line 931 to after line 934","commit_id":"1902b85fad359d182d91f2751e8bec2b577a5bfd"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d2e3b169045f2b797b704ec11b8664edba48d01f","unresolved":false,"context_lines":[{"line_number":932,"context_line":"        if segmentation_type \u003d\u003d \u0027inherit\u0027:"},{"line_number":933,"context_line":"            return"},{"line_number":934,"context_line":"        segmentation_id \u003d subport.get(\"segmentation_id\")"},{"line_number":935,"context_line":"        if (not segmentation_type or not segmentation_id) and len(subport) \u003e 1:"},{"line_number":936,"context_line":"            msg \u003d _(\"Invalid subport details \u0027%s\u0027: missing segmentation \""},{"line_number":937,"context_line":"                    \"information. Must specify both segmentation_id and \""},{"line_number":938,"context_line":"                    \"segmentation_type\") % subport"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba2be162_8b6f9491","line":935,"range":{"start_line":935,"start_character":11,"end_line":935,"end_character":57},"updated":"2017-03-01 03:06:28.000000000","message":"nit: order switch is not of much need is it?","commit_id":"f2eb0ecb89001fb403c907b6d96b0e24385a9eef"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e8bac176793d30391e0ba983fca7612f8e1a46e1","unresolved":false,"context_lines":[{"line_number":932,"context_line":"        if segmentation_type \u003d\u003d \u0027inherit\u0027:"},{"line_number":933,"context_line":"            return"},{"line_number":934,"context_line":"        segmentation_id \u003d subport.get(\"segmentation_id\")"},{"line_number":935,"context_line":"        if (not segmentation_type or not segmentation_id) and len(subport) \u003e 1:"},{"line_number":936,"context_line":"            msg \u003d _(\"Invalid subport details \u0027%s\u0027: missing segmentation \""},{"line_number":937,"context_line":"                    \"information. Must specify both segmentation_id and \""},{"line_number":938,"context_line":"                    \"segmentation_type\") % subport"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba2be162_70d31239","line":935,"range":{"start_line":935,"start_character":11,"end_line":935,"end_character":57},"in_reply_to":"ba2be162_8b6f9491","updated":"2017-03-01 14:04:16.000000000","message":"no, but I thought you\u0027d like it :)","commit_id":"f2eb0ecb89001fb403c907b6d96b0e24385a9eef"}]}
