)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6876,"name":"stephen-ma","email":"stephenbma43@gmail.com","username":"stephen-ma"},"change_message_id":"21276e8aa46c1efb9dccd184b7a8b7bdacf66e10","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Execute neutron-vpn-netns-wrapper with rootwrap_config argument"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add the --rootwrap_config parameter to neutron-vpn-netns-wrapper"},{"line_number":10,"context_line":"execution to support environments where rootwrap.conf is not"},{"line_number":11,"context_line":"in the default location."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5fc1f717_c7fc82b7","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":64},"updated":"2019-03-29 16:54:12.000000000","message":"The argument is only added when neutron uses neutron-rootwrap root_helper.","commit_id":"9e34ef324ee0ae79684ff075c12d1bd194438863"}],"neutron_vpnaas/services/vpn/device_drivers/ipsec.py":[{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"a6bbc75581b865fe4748d9d45784342604ecb29f","unresolved":false,"context_lines":[{"line_number":282,"context_line":"    def _get_rootwrap_config(self):"},{"line_number":283,"context_line":"        if \u0027neutron-rootwrap\u0027 in cfg.CONF.AGENT.root_helper:"},{"line_number":284,"context_line":"            rh_tokens \u003d cfg.CONF.AGENT.root_helper.split(\u0027 \u0027)"},{"line_number":285,"context_line":"            if len(rh_tokens) \u003d\u003d 3:"},{"line_number":286,"context_line":"                return rh_tokens[2]"},{"line_number":287,"context_line":"        return None"},{"line_number":288,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5fc1f717_ca4c79ca","line":285,"range":{"start_line":285,"start_character":12,"end_line":285,"end_character":35},"updated":"2019-04-01 06:10:54.000000000","message":"Looks better to check the rootwrap config file exists:\nif len(rh_tokens) \u003d\u003d 3 and os.path.exists(rh_tokens[2]):","commit_id":"f94ff697628e760e3c3878116960dc5074796398"}],"neutron_vpnaas/services/vpn/device_drivers/libreswan_ipsec.py":[{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"a6bbc75581b865fe4748d9d45784342604ecb29f","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    \"\"\""},{"line_number":30,"context_line":"    # pylint: disable\u003duseless-super-delegation"},{"line_number":31,"context_line":"    def __init__(self, conf, process_id, vpnservice, namespace):"},{"line_number":32,"context_line":"        self._rootwrap_cfgdir \u003d self._get_rootwrap_config()"},{"line_number":33,"context_line":"        super(LibreSwanProcess, self).__init__(conf, process_id,"},{"line_number":34,"context_line":"                                              vpnservice, namespace)"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5fc1f717_ea4935b7","line":32,"range":{"start_line":32,"start_character":13,"end_line":32,"end_character":29},"updated":"2019-04-01 06:10:54.000000000","message":"This will gets a config file , so \"_rootwrap_cfg\" looks better.","commit_id":"f94ff697628e760e3c3878116960dc5074796398"}],"neutron_vpnaas/services/vpn/device_drivers/strongswan_ipsec.py":[{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"a6bbc75581b865fe4748d9d45784342604ecb29f","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        self.DIALECT_MAP[\u0027v2\u0027] \u003d \u0027ikev2\u0027"},{"line_number":83,"context_line":"        self.DIALECT_MAP[\u0027sha256\u0027] \u003d \u0027sha256\u0027"},{"line_number":84,"context_line":"        self._strongswan_piddir \u003d self._get_strongswan_piddir()"},{"line_number":85,"context_line":"        self._rootwrap_cfgdir \u003d self._get_rootwrap_config()"},{"line_number":86,"context_line":"        LOG.debug(\"strongswan piddir is \u0027%s\u0027\", (self._strongswan_piddir))"},{"line_number":87,"context_line":"        super(StrongSwanProcess, self).__init__(conf, process_id,"},{"line_number":88,"context_line":"                                                vpnservice, namespace)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5fc1f717_aac9ed25","line":85,"range":{"start_line":85,"start_character":13,"end_line":85,"end_character":29},"updated":"2019-04-01 06:10:54.000000000","message":"ditto","commit_id":"f94ff697628e760e3c3878116960dc5074796398"}]}
