)]}'
{"openstack_dashboard/dashboards/project/vpn/tests.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bd1cbb34c7f9efcc26d4c48aaa4194deacc01d0a","unresolved":false,"context_lines":[{"line_number":619,"context_line":"                         \u0027ipsecpolicy_id\u0027],"},{"line_number":620,"context_line":"                     \u0027mtu\u0027: ipsecsiteconnection[\u0027mtu\u0027],"},{"line_number":621,"context_line":"                     \u0027peer_address\u0027: ipsecsiteconnection[\u0027peer_address\u0027],"},{"line_number":622,"context_line":"                     \u0027peer_cidrs\u0027: ipsecsiteconnection[\u0027peer_cidrs\u0027],"},{"line_number":623,"context_line":"                     \u0027peer_id\u0027: ipsecsiteconnection[\u0027peer_id\u0027],"},{"line_number":624,"context_line":"                     \u0027psk\u0027: ipsecsiteconnection[\u0027psk\u0027],"},{"line_number":625,"context_line":"                     \u0027vpnservice_id\u0027: ipsecsiteconnection[\u0027vpnservice_id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAT3%2F%2F%2BDM%3D","line":622,"updated":"2013-12-26 04:34:52.000000000","message":"in my understanding, all form fields are string fields, but peer_cidrs in neutron_data is a list. I think it should be a string.","commit_id":"5a33098a28c4ab75cd394beda8a4323adfa3cb38"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"f17855bec3ee6f51ca4c128098089b217bdeb9f0","unresolved":false,"context_lines":[{"line_number":619,"context_line":"                         \u0027ipsecpolicy_id\u0027],"},{"line_number":620,"context_line":"                     \u0027mtu\u0027: ipsecsiteconnection[\u0027mtu\u0027],"},{"line_number":621,"context_line":"                     \u0027peer_address\u0027: ipsecsiteconnection[\u0027peer_address\u0027],"},{"line_number":622,"context_line":"                     \u0027peer_cidrs\u0027: ipsecsiteconnection[\u0027peer_cidrs\u0027],"},{"line_number":623,"context_line":"                     \u0027peer_id\u0027: ipsecsiteconnection[\u0027peer_id\u0027],"},{"line_number":624,"context_line":"                     \u0027psk\u0027: ipsecsiteconnection[\u0027psk\u0027],"},{"line_number":625,"context_line":"                     \u0027vpnservice_id\u0027: ipsecsiteconnection[\u0027vpnservice_id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAT3%2F%2F9nI%3D","line":622,"in_reply_to":"AAAAT3%2F%2F%2BDM%3D","updated":"2013-12-26 08:12:11.000000000","message":"You are right and almost all fields in ipsecsiteconnection_dict in neutron_data are strings. But the matter is that for \"post\" tests string fields suit well if we just post them without any working. That\u0027s why for IntegerFields of dpd_interval and dpd_timeout we have integer fields in ipsecsiteconnection_dict and for IntegerField of mtu the string \u00271500\u0027 from this very dict works also well. Speaking about peer_cidrs, we have the same case here: since there are \"post\" tests only, we test single subnet case and list of subnets case. In fact, peer_cidrs field accept list, but we could give it a string too if that\u0027s \"post\" test.\n\nThus IMO for this patch set that\u0027s quite enough to test single subnet case and list of subnets case. But when we shall use another tests, all fields should be corrected. (In fact I already fixed the inconsistency here: https://review.openstack.org/#/c/50626/8/openstack_dashboard/test/test_data/neutron_data.py ) So please let this patch set be merged for I could rebase this one with more tests and corrections of inconsistency: \nhttps://review.openstack.org/#/c/50626/8","commit_id":"5a33098a28c4ab75cd394beda8a4323adfa3cb38"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5c3d8a07bbb4806c74fedfee1ca2299d4a577a40","unresolved":false,"context_lines":[{"line_number":619,"context_line":"                         \u0027ipsecpolicy_id\u0027],"},{"line_number":620,"context_line":"                     \u0027mtu\u0027: ipsecsiteconnection[\u0027mtu\u0027],"},{"line_number":621,"context_line":"                     \u0027peer_address\u0027: ipsecsiteconnection[\u0027peer_address\u0027],"},{"line_number":622,"context_line":"                     \u0027peer_cidrs\u0027: ipsecsiteconnection[\u0027peer_cidrs\u0027],"},{"line_number":623,"context_line":"                     \u0027peer_id\u0027: ipsecsiteconnection[\u0027peer_id\u0027],"},{"line_number":624,"context_line":"                     \u0027psk\u0027: ipsecsiteconnection[\u0027psk\u0027],"},{"line_number":625,"context_line":"                     \u0027vpnservice_id\u0027: ipsecsiteconnection[\u0027vpnservice_id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAUH%2F%2F9Vc%3D","line":622,"in_reply_to":"AAAAT3%2F%2F9nI%3D","updated":"2014-01-06 07:51:11.000000000","message":"Thanks for the clarification. I agree with the direction you are proposing.","commit_id":"5a33098a28c4ab75cd394beda8a4323adfa3cb38"}],"openstack_dashboard/dashboards/project/vpn/workflows.py":[{"author":{"_account_id":9571,"name":"Gabriel Pettier","email":"gabriel.pettier@gmail.com","username":"GabrielPettier"},"change_message_id":"ae75bb28af00ff64022a3698a5b0fae556479295","unresolved":false,"context_lines":[{"line_number":456,"context_line":"        context.pop(\u0027dpd_timeout\u0027)"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"        addresses \u003d context[\u0027peer_cidrs\u0027]"},{"line_number":459,"context_line":"        context.pop(\u0027peer_cidrs\u0027)"},{"line_number":460,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F96Z8%3D","line":459,"updated":"2013-12-04 15:26:53.000000000","message":"these two lines could be replaced by\n\naddresses \u003d context.pop(\u0027peer_cidrs\u0027)\n\nand it could be nice to get a default value in case it\u0027s not set.\n\naddresses \u003d context.pop(\u0027peers_cirds\u0027, \u0027\u0027)","commit_id":"1605cc85e175a7c195fa21661822128753371104"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"4fdd8969f960893d03bb3e825c3cf55f32ee812d","unresolved":false,"context_lines":[{"line_number":456,"context_line":"        context.pop(\u0027dpd_timeout\u0027)"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"        addresses \u003d context[\u0027peer_cidrs\u0027]"},{"line_number":459,"context_line":"        context.pop(\u0027peer_cidrs\u0027)"},{"line_number":460,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F91HA%3D","line":459,"in_reply_to":"AAAATn%2F96Z8%3D","updated":"2013-12-05 14:04:35.000000000","message":"Thank you! I didn\u0027t notice (facepalm)\n\nAs for default value, I\u0027m afraid that doesn\u0027t matter if we add it here or not. \"Peer_cidrs\" field is mandatory for adding new connection. So if that field is empty (and nevertheless a connection exists) that means we have big problems and default value won\u0027t help.","commit_id":"1605cc85e175a7c195fa21661822128753371104"},{"author":{"_account_id":9659,"name":"Matt Wood","email":"matt.wood@hpe.com","username":"woodm1979"},"change_message_id":"c888e97890fb035a99bdb170560d6948ea2ee0fa","unresolved":false,"context_lines":[{"line_number":460,"context_line":"        context.pop(\u0027dpd_interval\u0027)"},{"line_number":461,"context_line":"        context.pop(\u0027dpd_timeout\u0027)"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"        addresses \u003d context.pop(\u0027peer_cidrs\u0027)"},{"line_number":464,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":465,"context_line":""},{"line_number":466,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F9BBI%3D","line":463,"updated":"2013-12-17 17:10:44.000000000","message":"Why pop the value here?  It\u0027s just going to be overwritten below.  Simply accessing the data would better.\n\n        addresses \u003d context[\u0027peer_cidrs\u0027]","commit_id":"bf393fb1670a00b21d23b3a75e474a189e7db61c"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"c024afbaa50dbee2fbbf7ab726dac7d6431ee04f","unresolved":false,"context_lines":[{"line_number":460,"context_line":"        context.pop(\u0027dpd_interval\u0027)"},{"line_number":461,"context_line":"        context.pop(\u0027dpd_timeout\u0027)"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"        addresses \u003d context.pop(\u0027peer_cidrs\u0027)"},{"line_number":464,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":465,"context_line":""},{"line_number":466,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F8nIM%3D","line":463,"in_reply_to":"AAAATn%2F9BBI%3D","updated":"2013-12-24 11:16:10.000000000","message":"Done","commit_id":"bf393fb1670a00b21d23b3a75e474a189e7db61c"},{"author":{"_account_id":9659,"name":"Matt Wood","email":"matt.wood@hpe.com","username":"woodm1979"},"change_message_id":"c888e97890fb035a99bdb170560d6948ea2ee0fa","unresolved":false,"context_lines":[{"line_number":463,"context_line":"        addresses \u003d context.pop(\u0027peer_cidrs\u0027)"},{"line_number":464,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":465,"context_line":""},{"line_number":466,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"},{"line_number":467,"context_line":""},{"line_number":468,"context_line":"        if data:"},{"line_number":469,"context_line":"            return context"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F9BBs%3D","line":466,"updated":"2013-12-17 17:10:44.000000000","message":"Nit:  Why use dict.update?  Since there\u0027s only one key-value pair, why not just set the value?\n\ncontext[\u0027peer_cidrs\u0027] \u003d cidrs","commit_id":"bf393fb1670a00b21d23b3a75e474a189e7db61c"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"c024afbaa50dbee2fbbf7ab726dac7d6431ee04f","unresolved":false,"context_lines":[{"line_number":463,"context_line":"        addresses \u003d context.pop(\u0027peer_cidrs\u0027)"},{"line_number":464,"context_line":"        cidrs \u003d addresses.replace(\" \", \"\").split(\",\")"},{"line_number":465,"context_line":""},{"line_number":466,"context_line":"        context.update({\u0027peer_cidrs\u0027: cidrs})"},{"line_number":467,"context_line":""},{"line_number":468,"context_line":"        if data:"},{"line_number":469,"context_line":"            return context"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAATn%2F8nIA%3D","line":466,"in_reply_to":"AAAATn%2F9BBs%3D","updated":"2013-12-24 11:16:10.000000000","message":"Thank you! Of course that\u0027s much simpler.","commit_id":"bf393fb1670a00b21d23b3a75e474a189e7db61c"}]}
