)]}'
{"devstack/lib/magnum":[{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"0e5b1a9a77b206cdd17d8df3d2cb000cd65605d6","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    if ! is_service_enabled ir-api; then"},{"line_number":262,"context_line":"        ROUTE_TO_INTERNET\u003d$(ip route get 8.8.8.8)"},{"line_number":263,"context_line":"        OBOUND_DEV\u003d$(echo ${ROUTE_TO_INTERNET#*dev} | awk \u0027{print $1}\u0027)"},{"line_number":264,"context_line":"        sudo iptables -t nat -A POSTROUTING -o $OBOUND_DEV -j MASQUERADE"},{"line_number":265,"context_line":"    fi"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a50d1a3_0ea7b4a7","line":264,"updated":"2015-07-29 02:14:41.000000000","message":"Sometimes, I don\u0027t use \"nat\" configuration to connect internet from VM, I connect br-ex to eth0 directly using \"ovs-vsctl add-port br-ex eth0\".\nSo please this feature to configurable.\n\nAnd also, if devstack host is restarted, this configuration will be clear, so we should add nat configuration by hand after reboot. What about this problem? Should we add any document or comment?","commit_id":"500d7c3cccebc1f9f2dd4a109e211d52799d15ea"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"1ca4ccc806303fa27a6d21fe1a6b3902289782f2","unresolved":false,"context_lines":[{"line_number":261,"context_line":"    if ! is_service_enabled ir-api; then"},{"line_number":262,"context_line":"        ROUTE_TO_INTERNET\u003d$(ip route get 8.8.8.8)"},{"line_number":263,"context_line":"        OBOUND_DEV\u003d$(echo ${ROUTE_TO_INTERNET#*dev} | awk \u0027{print $1}\u0027)"},{"line_number":264,"context_line":"        sudo iptables -t nat -A POSTROUTING -o $OBOUND_DEV -j MASQUERADE"},{"line_number":265,"context_line":"    fi"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a50d1a3_ee5fbde2","line":264,"in_reply_to":"3a50d1a3_0ea7b4a7","updated":"2015-07-29 18:14:54.000000000","message":"It is configurable now.\n\nIf the host is restarted, users need to recovery the whole stack by hand, not just the nat configuration. Agree we need to document the recovery steps. Create a bug for that https://bugs.launchpad.net/magnum/+bug/1479475 .","commit_id":"500d7c3cccebc1f9f2dd4a109e211d52799d15ea"}]}
