)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"a22936a2a30d1f5096e9d12fba5a53158525a198","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add BaremetalMechanismDriver driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Ironic hypervisor is used, instances leaves on dedicated hardware"},{"line_number":10,"context_line":"servers. In case flat network binding is not needed, since servers"},{"line_number":11,"context_line":"are pre-plugged to the network."},{"line_number":12,"context_line":"This patch adds BaremetalMechanismDriver that perform fake port binding"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"dada55a8_8729f539","line":9,"updated":"2016-07-20 11:12:08.000000000","message":"s/leaves/live","commit_id":"4ece1f0b9a8d83b6c31c134950e3bc3e5ae79f99"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"a22936a2a30d1f5096e9d12fba5a53158525a198","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add BaremetalMechanismDriver driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Ironic hypervisor is used, instances leaves on dedicated hardware"},{"line_number":10,"context_line":"servers. In case flat network binding is not needed, since servers"},{"line_number":11,"context_line":"are pre-plugged to the network."},{"line_number":12,"context_line":"This patch adds BaremetalMechanismDriver that perform fake port binding"},{"line_number":13,"context_line":"for ports in flat networks with vnic_type\u003dbaremetal."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"dada55a8_0716a5f0","line":10,"updated":"2016-07-20 11:12:08.000000000","message":"\"In this case\"","commit_id":"4ece1f0b9a8d83b6c31c134950e3bc3e5ae79f99"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"02c13461f44ca8fafea4ea1261f90c011a0a6fa5","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add BaremetalMechanismDriver driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Ironic hypervisor is used, instances leaves on dedicated hardware"},{"line_number":10,"context_line":"servers. In case flat network binding is not needed, since servers"},{"line_number":11,"context_line":"are pre-plugged to the network."},{"line_number":12,"context_line":"This patch adds BaremetalMechanismDriver that perform fake port binding"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"dada55a8_10d22a28","line":9,"range":{"start_line":9,"start_character":42,"end_line":9,"end_character":48},"updated":"2016-07-21 08:23:25.000000000","message":"live","commit_id":"de1cd2f6eb42ff2da4a1f5b6706b10a3e80b5edb"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"a253b561a8ca7f40e594db75a01dd1c214b702df","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add BaremetalMechanismDriver driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Ironic hypervisor is used, instances live on dedicated hardware"},{"line_number":10,"context_line":"servers. In case flat network binding is not needed, since servers"},{"line_number":11,"context_line":"are pre-plugged to the network."},{"line_number":12,"context_line":"This patch adds BaremetalMechanismDriver that perform fake port binding"},{"line_number":13,"context_line":"for ports in flat networks with vnic_type\u003dbaremetal."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"dada55a8_820b5523","line":10,"range":{"start_line":10,"start_character":9,"end_line":10,"end_character":29},"updated":"2016-07-21 15:08:19.000000000","message":"With flat network..","commit_id":"023b20ceefc78070a3f790190582699f43da3615"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"ee4ec30626aef84e4bfaf16d41eccbe8434218cb","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add BaremetalMechanismDriver driver."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Ironic hypervisor is used, instances live on dedicated hardware"},{"line_number":10,"context_line":"servers. In case flat network binding is not needed, since servers"},{"line_number":11,"context_line":"are pre-plugged to the network."},{"line_number":12,"context_line":"This patch adds BaremetalMechanismDriver that perform fake port binding"},{"line_number":13,"context_line":"for ports in flat networks with vnic_type\u003dbaremetal."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"dada55a8_293ead29","line":10,"range":{"start_line":10,"start_character":9,"end_line":10,"end_character":29},"in_reply_to":"dada55a8_820b5523","updated":"2016-07-22 07:08:29.000000000","message":"Done","commit_id":"023b20ceefc78070a3f790190582699f43da3615"}],"neutron/plugins/ml2/drivers/mech_baremetal/mech_driver/mech_baremetal.py":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"a22936a2a30d1f5096e9d12fba5a53158525a198","unresolved":false,"context_lines":[{"line_number":23,"context_line":"class BaremetalMechanismDriver(api.MechanismDriver):"},{"line_number":24,"context_line":"    \"\"\"Attach to networks using BaremetalMechanismDriver."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    When Ironic is used, instances are swapned to dedicated hardware."},{"line_number":27,"context_line":"    There is no need to bind port in flat networks in this case, since"},{"line_number":28,"context_line":"    hardware servers are pre-plugged. The driver perform fake binding"},{"line_number":29,"context_line":"    of `baremetal` vnic_type port in flat networks."}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_c7e5acdc","line":26,"updated":"2016-07-20 11:12:08.000000000","message":"\"swapned\" -\u003e \"mapped\", I think (\"swapned\" isn\u0027t an English word, though apparently it is a word in Hindi).","commit_id":"4ece1f0b9a8d83b6c31c134950e3bc3e5ae79f99"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"02c13461f44ca8fafea4ea1261f90c011a0a6fa5","unresolved":false,"context_lines":[{"line_number":23,"context_line":"class BaremetalMechanismDriver(api.MechanismDriver):"},{"line_number":24,"context_line":"    \"\"\"Attach to networks using BaremetalMechanismDriver."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    When Ironic is used, instances are swapned to dedicated hardware."},{"line_number":27,"context_line":"    There is no need to bind port in flat networks in this case, since"},{"line_number":28,"context_line":"    hardware servers are pre-plugged. The driver perform fake binding"},{"line_number":29,"context_line":"    of `baremetal` vnic_type port in flat networks."}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_d0aa5284","line":26,"range":{"start_line":26,"start_character":39,"end_line":26,"end_character":46},"updated":"2016-07-21 08:23:25.000000000","message":"spawned","commit_id":"de1cd2f6eb42ff2da4a1f5b6706b10a3e80b5edb"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"a253b561a8ca7f40e594db75a01dd1c214b702df","unresolved":false,"context_lines":[{"line_number":23,"context_line":"class BaremetalMechanismDriver(api.MechanismDriver):"},{"line_number":24,"context_line":"    \"\"\"Attach to networks using BaremetalMechanismDriver."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    When Ironic is used, instances are spawned to dedicated hardware."},{"line_number":27,"context_line":"    There is no need to bind port in flat networks in this case, since"},{"line_number":28,"context_line":"    hardware servers are pre-plugged. The driver perform fake binding"},{"line_number":29,"context_line":"    of `baremetal` vnic_type port in flat networks."}],"source_content_type":"text/x-python","patch_set":5,"id":"dada55a8_42531d17","line":26,"range":{"start_line":26,"start_character":47,"end_line":26,"end_character":49},"updated":"2016-07-21 15:08:19.000000000","message":"on","commit_id":"023b20ceefc78070a3f790190582699f43da3615"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"ee4ec30626aef84e4bfaf16d41eccbe8434218cb","unresolved":false,"context_lines":[{"line_number":23,"context_line":"class BaremetalMechanismDriver(api.MechanismDriver):"},{"line_number":24,"context_line":"    \"\"\"Attach to networks using BaremetalMechanismDriver."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    When Ironic is used, instances are spawned to dedicated hardware."},{"line_number":27,"context_line":"    There is no need to bind port in flat networks in this case, since"},{"line_number":28,"context_line":"    hardware servers are pre-plugged. The driver perform fake binding"},{"line_number":29,"context_line":"    of `baremetal` vnic_type port in flat networks."}],"source_content_type":"text/x-python","patch_set":5,"id":"dada55a8_4945e1b1","line":26,"range":{"start_line":26,"start_character":47,"end_line":26,"end_character":49},"in_reply_to":"dada55a8_42531d17","updated":"2016-07-22 07:08:29.000000000","message":"Done","commit_id":"023b20ceefc78070a3f790190582699f43da3615"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"a253b561a8ca7f40e594db75a01dd1c214b702df","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                    context.set_binding(segment[api.ID],"},{"line_number":46,"context_line":"                                        self.vif_type,"},{"line_number":47,"context_line":"                                        self.vif_details)"},{"line_number":48,"context_line":"                    provisioning_blocks.provisioning_complete("},{"line_number":49,"context_line":"                        context._plugin_context, port[\u0027id\u0027], resources.PORT,"},{"line_number":50,"context_line":"                        provisioning_blocks.L2_AGENT_ENTITY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"dada55a8_c2f6ed8d","line":50,"range":{"start_line":48,"start_character":20,"end_line":50,"end_character":59},"updated":"2016-07-21 15:08:19.000000000","message":"Seems this is not needed since nothing adds this provisioning block (it\u0027s only added by AgentMechanismDriverBase which is not a parent of BaremetalMechanismDriver)","commit_id":"023b20ceefc78070a3f790190582699f43da3615"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"ee4ec30626aef84e4bfaf16d41eccbe8434218cb","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                    context.set_binding(segment[api.ID],"},{"line_number":46,"context_line":"                                        self.vif_type,"},{"line_number":47,"context_line":"                                        self.vif_details)"},{"line_number":48,"context_line":"                    provisioning_blocks.provisioning_complete("},{"line_number":49,"context_line":"                        context._plugin_context, port[\u0027id\u0027], resources.PORT,"},{"line_number":50,"context_line":"                        provisioning_blocks.L2_AGENT_ENTITY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"dada55a8_0c3657e7","line":50,"range":{"start_line":48,"start_character":20,"end_line":50,"end_character":59},"in_reply_to":"dada55a8_c2f6ed8d","updated":"2016-07-22 07:08:29.000000000","message":"yes, looks it is not needed.","commit_id":"023b20ceefc78070a3f790190582699f43da3615"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"b42a987ff4e079ca70887bfee20cfbb0cf1843ef","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        self.vif_type \u003d portbindings.VIF_TYPE_OVS"},{"line_number":34,"context_line":"        self.vif_details \u003d {}"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def bind_port(self, context):"},{"line_number":37,"context_line":"        segments \u003d context.network.network_segments"},{"line_number":38,"context_line":"        for segment in segments:"},{"line_number":39,"context_line":"            if segment[api.NETWORK_TYPE] in self.supported_network_types:"}],"source_content_type":"text/x-python","patch_set":8,"id":"5a3905b3_ebce3682","line":36,"updated":"2017-01-19 21:34:38.000000000","message":"Can you elaborate on the differences you see between this driver and the one available in [1]?\n\n[1] http://git.openstack.org/cgit/openstack/networking-generic-switch/tree/networking_generic_switch/generic_switch_mech.py#n361","commit_id":"15066e06fc03b706a7176849e55064d94ee3c242"}]}
