)]}'
{"octavia/amphorae/drivers/haproxy/ssh_driver.py":[{"author":{"_account_id":10850,"name":"German Eichberger","email":"german.eichberger@gmail.com","username":"german"},"change_message_id":"9039c954154ffc58e592c6a81b0282f18c928493","unresolved":false,"context_lines":[{"line_number":146,"context_line":"            sections \u003d vip.split(\u0027.\u0027)[:3]"},{"line_number":147,"context_line":"            sections.append(\u0027255\u0027)"},{"line_number":148,"context_line":"            broadcast \u003d \u0027.\u0027.join(sections)"},{"line_number":149,"context_line":"            command \u003d (\"sh -c \u0027echo \\\"\\nauto {0} {0}:0\\n\""},{"line_number":150,"context_line":"                       \"iface {0} inet dhcp\\n\\niface {0}:0 inet static\\n\""},{"line_number":151,"context_line":"                       \"address {1}\\nbroadcast {2}\\nnetmask {3}\\\" \""},{"line_number":152,"context_line":"                       \"\u003e\u003e /etc/network/interfaces\u0027\".format("}],"source_content_type":"text/x-python","patch_set":2,"id":"7a016987_ca772ad3","line":149,"updated":"2015-05-14 15:50:27.000000000","message":"I think I already mentioned that I like putting entries into interfaces.d as complete files better -- is there a way to ensure that we don\u0027t add the same entry twice if above interface detection fails?","commit_id":"0da1718cda5752316947e72326bea44319653412"},{"author":{"_account_id":10850,"name":"German Eichberger","email":"german.eichberger@gmail.com","username":"german"},"change_message_id":"9039c954154ffc58e592c6a81b0282f18c928493","unresolved":false,"context_lines":[{"line_number":186,"context_line":"        self._execute_command(command)"},{"line_number":187,"context_line":"        self.client.close()"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"    def _execute_command(self, command, run_as_root\u003dTrue):"},{"line_number":190,"context_line":"        if run_as_root:"},{"line_number":191,"context_line":"            command \u003d \"sudo {0}\".format(command)"},{"line_number":192,"context_line":"        _, stdout, stderr \u003d self.client.exec_command(command)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a016987_2a659e44","line":189,"updated":"2015-05-14 15:50:27.000000000","message":"Love that new method","commit_id":"0da1718cda5752316947e72326bea44319653412"}]}
