)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"172c1e4099733a589c527aa0533f408a11932ecb","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adds peer persistence feature to HPE 3PAR driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"First attempt at a naive implementation for Peer Persistence volumes in the"},{"line_number":10,"context_line":"HPE 3PAR driver for Cinder."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This is a cleaned-up version of a patch we are currently using on a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f79a3b5_bc5785f6","line":9,"range":{"start_line":9,"start_character":19,"end_line":9,"end_character":24},"updated":"2018-12-06 17:53:51.000000000","message":"native","commit_id":"dfe777b0b4136dced5dcd1d31dd2d1cfca28d1c1"}],"cinder/volume/drivers/hpe/hpe_3par_fc.py":[{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"2729cd4f6cad611411a1ffa9ef41db7f5598618b","unresolved":false,"context_lines":[{"line_number":223,"context_line":"        # Grab the extra_spec entries for replication"},{"line_number":224,"context_line":"        volume_type \u003d common._get_volume_type(volume[\"volume_type_id\"])"},{"line_number":225,"context_line":"        extra_specs \u003d volume_type.get(\"extra_specs\")"},{"line_number":226,"context_line":"        peer_persistence \u003d extra_specs.get("},{"line_number":227,"context_line":"            common.EXTRA_SPEC_REPLICATION_PEERPERSISTENCE,"},{"line_number":228,"context_line":"            common.DEFAULT_REP_PEERPERSISTENCE)"},{"line_number":229,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_f0b82013","line":226,"updated":"2018-11-02 05:56:37.000000000","message":"i think it will require an extra check,\nif extra_specs is not None:","commit_id":"dfe777b0b4136dced5dcd1d31dd2d1cfca28d1c1"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"2729cd4f6cad611411a1ffa9ef41db7f5598618b","unresolved":false,"context_lines":[{"line_number":242,"context_line":"                common.client \u003d common._create_replication_client(repl)"},{"line_number":243,"context_line":"                # we have to make sure we have a host"},{"line_number":244,"context_line":"                host \u003d self._create_host(common, volume, connector)"},{"line_number":245,"context_line":"                target_wwns, init_targ_map, numPaths \u003d \\"},{"line_number":246,"context_line":"                    self._build_initiator_target_map(common, connector)"},{"line_number":247,"context_line":"                if not connector.get(\u0027multipath\u0027):"},{"line_number":248,"context_line":"                    target_wwns \u003d target_wwns[:1]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_70ec1028","line":245,"range":{"start_line":245,"start_character":55,"end_line":245,"end_character":56},"updated":"2018-11-02 05:56:37.000000000","message":"please wrap this using paranthesis ()","commit_id":"dfe777b0b4136dced5dcd1d31dd2d1cfca28d1c1"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"2729cd4f6cad611411a1ffa9ef41db7f5598618b","unresolved":false,"context_lines":[{"line_number":256,"context_line":"                    # now that we have a host, create the VLUN"},{"line_number":257,"context_line":"                    if self.lookup_service is not None and numPaths \u003d\u003d 1:"},{"line_number":258,"context_line":"                        nsp \u003d None"},{"line_number":259,"context_line":"                        active_fc_port_list \u003d \\"},{"line_number":260,"context_line":"                            common.get_active_fc_target_ports()"},{"line_number":261,"context_line":"                        for port in active_fc_port_list:"},{"line_number":262,"context_line":"                            if (port[\u0027portWWN\u0027].lower() \u003d\u003d"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_90ef6c1b","line":259,"range":{"start_line":259,"start_character":46,"end_line":259,"end_character":47},"updated":"2018-11-02 05:56:37.000000000","message":"same","commit_id":"dfe777b0b4136dced5dcd1d31dd2d1cfca28d1c1"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"2729cd4f6cad611411a1ffa9ef41db7f5598618b","unresolved":false,"context_lines":[{"line_number":344,"context_line":"           volume.replication_status !\u003d \"enabled\"):"},{"line_number":345,"context_line":"            return info"},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"        # Grab the extra_spec entries for replication"},{"line_number":348,"context_line":"        volume_type \u003d common._get_volume_type(volume[\"volume_type_id\"])"},{"line_number":349,"context_line":"        extra_specs \u003d volume_type.get(\"extra_specs\")"},{"line_number":350,"context_line":"        peer_persistence \u003d extra_specs.get("},{"line_number":351,"context_line":"            common.EXTRA_SPEC_REPLICATION_PEERPERSISTENCE,"},{"line_number":352,"context_line":"            common.DEFAULT_REP_PEERPERSISTENCE)"},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"        if not peer_persistence:"},{"line_number":355,"context_line":"            return info"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_d05c04f1","line":352,"range":{"start_line":347,"start_character":8,"end_line":352,"end_character":47},"updated":"2018-11-02 05:56:37.000000000","message":"i see this code being used again,\ncan we move it to a function like,\nget_peer_extra_spec or any suitable name","commit_id":"dfe777b0b4136dced5dcd1d31dd2d1cfca28d1c1"}]}
