)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec for Routing traffic based on subnet"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is the draft for the subnet routing traffic, it will introduce a new"},{"line_number":10,"context_line":"API for this function and how to make it work in a way."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: #1715386"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"df87a7cf_189ee7b7","line":9,"range":{"start_line":9,"start_character":48,"end_line":9,"end_character":49},"updated":"2017-12-18 04:03:00.000000000","message":"Nit: fullstop","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec for Routing traffic based on subnet"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is the draft for the subnet routing traffic, it will introduce a new"},{"line_number":10,"context_line":"API for this function and how to make it work in a way."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: #1715386"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"df87a7cf_1a733118","line":9,"range":{"start_line":9,"start_character":48,"end_line":9,"end_character":49},"in_reply_to":"df87a7cf_189ee7b7","updated":"2017-12-19 03:19:46.000000000","message":"Thanks, will done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is the draft for the subnet routing traffic."},{"line_number":10,"context_line":"It will introduce a new API for this function and how to make it work in a way."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Depends-On: If40305044c9dfe0024b64bd3921232bb0a6c9372"},{"line_number":13,"context_line":"Change-Id: Ic1377b4a3a296555fde2e5aad6c0f74c5b9cf101"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"7f96bb07_29bbb80e","line":11,"updated":"2018-01-25 04:19:55.000000000","message":"Would you please add:\n\nPartial-Bug: #1715386","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"}],"specs/queens/subnet-routing-traffic.rst":[{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_dd97c339","line":13,"range":{"start_line":13,"start_character":42,"end_line":13,"end_character":47},"updated":"2017-12-10 03:38:14.000000000","message":"staff?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_366b2ef2","line":13,"range":{"start_line":13,"start_character":42,"end_line":13,"end_character":47},"in_reply_to":"df87a7cf_dd97c339","updated":"2017-12-13 11:05:22.000000000","message":"Things,haha. my poor english. T_T","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_fd9ac75f","line":14,"range":{"start_line":14,"start_character":30,"end_line":14,"end_character":34},"updated":"2017-12-10 03:38:14.000000000","message":"needs","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_f674e6d2","line":14,"range":{"start_line":14,"start_character":30,"end_line":14,"end_character":34},"in_reply_to":"df87a7cf_fd9ac75f","updated":"2017-12-13 11:05:22.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem Description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_9da5bba4","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":21},"updated":"2017-12-10 03:38:14.000000000","message":"examples?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 staff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron need to improve its ability for the complex"},{"line_number":15,"context_line":"routing requirements."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem Description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_1672aae4","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":21},"in_reply_to":"df87a7cf_9da5bba4","updated":"2017-12-13 11:05:22.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem Description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contains several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_bda0bf91","line":21,"range":{"start_line":21,"start_character":28,"end_line":21,"end_character":36},"updated":"2017-12-10 03:38:14.000000000","message":"nit:contain","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem Description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contains several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d67be2bb","line":21,"range":{"start_line":21,"start_character":28,"end_line":21,"end_character":36},"in_reply_to":"df87a7cf_bda0bf91","updated":"2017-12-13 11:05:22.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contains several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_7da6b7ad","line":23,"range":{"start_line":23,"start_character":54,"end_line":23,"end_character":57},"updated":"2017-12-10 03:38:14.000000000","message":"and have","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contains several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_5dabb373","line":23,"range":{"start_line":23,"start_character":8,"end_line":23,"end_character":12},"updated":"2017-12-10 03:38:14.000000000","message":"may be","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":21,"context_line":"In real data center, it may contains several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":27,"context_line":"But the other VMs\u0027traffic which locate on other subnets in the same network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_1dbbebc4","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":11},"updated":"2017-12-10 03:38:14.000000000","message":"performance indexes","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":27,"context_line":"But the other VMs\u0027traffic which locate on other subnets in the same network"},{"line_number":28,"context_line":"pass through the original gateway as default. So we need to route the specified"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_ddb023e0","line":25,"range":{"start_line":25,"start_character":66,"end_line":25,"end_character":71},"updated":"2017-12-10 03:38:14.000000000","message":"\"which\" not required","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":27,"context_line":"But the other VMs\u0027traffic which locate on other subnets in the same network"},{"line_number":28,"context_line":"pass through the original gateway as default. So we need to route the specified"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3dbeefb3","line":25,"range":{"start_line":25,"start_character":46,"end_line":25,"end_character":53},"updated":"2017-12-10 03:38:14.000000000","message":"route","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":23,"context_line":"gateway may from different network service providers, and different network"},{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":27,"context_line":"But the other VMs\u0027traffic which locate on other subnets in the same network"},{"line_number":28,"context_line":"pass through the original gateway as default. So we need to route the specified"},{"line_number":29,"context_line":"traffic to other gateway."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_7dbf97a9","line":26,"range":{"start_line":26,"start_character":37,"end_line":26,"end_character":41},"updated":"2017-12-10 03:38:14.000000000","message":"network","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":24,"context_line":"performance(such as stability, bandwidth, speed). Cloud users may want to make"},{"line_number":25,"context_line":"the VMs in the specified subnet of network to routing the traffic which from"},{"line_number":26,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":27,"context_line":"But the other VMs\u0027traffic which locate on other subnets in the same network"},{"line_number":28,"context_line":"pass through the original gateway as default. So we need to route the specified"},{"line_number":29,"context_line":"traffic to other gateway."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3de34fdb","line":27,"range":{"start_line":27,"start_character":14,"end_line":27,"end_character":26},"updated":"2017-12-10 03:38:14.000000000","message":"VM\u0027s traffic","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":32,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":33,"context_line":"private env which deployed by cloud user A and contains some security process"},{"line_number":34,"context_line":"(private FW, etc..), so there is a requirement that cloud user A need some"},{"line_number":35,"context_line":"traffic from VM X(maybe the traffic from VMX which want to access the internet)"},{"line_number":36,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_bdce7f57","line":33,"range":{"start_line":33,"start_character":17,"end_line":33,"end_character":27},"updated":"2017-12-10 03:38:14.000000000","message":"is deployed","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":33,"context_line":"private env which deployed by cloud user A and contains some security process"},{"line_number":34,"context_line":"(private FW, etc..), so there is a requirement that cloud user A need some"},{"line_number":35,"context_line":"traffic from VM X(maybe the traffic from VMX which want to access the internet)"},{"line_number":36,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":37,"context_line":"Also, this private env can not expose to the customer of user A, user A don\u0027t"},{"line_number":38,"context_line":"allow that the route table in VM inject the specified routing rules."},{"line_number":39,"context_line":"So we need another way to process this traffic, like PBR on router. The traffic"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_5dd9731f","line":36,"range":{"start_line":36,"start_character":47,"end_line":36,"end_character":77},"updated":"2017-12-10 03:38:14.000000000","message":"before accessing the internet ??","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":33,"context_line":"private env which deployed by cloud user A and contains some security process"},{"line_number":34,"context_line":"(private FW, etc..), so there is a requirement that cloud user A need some"},{"line_number":35,"context_line":"traffic from VM X(maybe the traffic from VMX which want to access the internet)"},{"line_number":36,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":37,"context_line":"Also, this private env can not expose to the customer of user A, user A don\u0027t"},{"line_number":38,"context_line":"allow that the route table in VM inject the specified routing rules."},{"line_number":39,"context_line":"So we need another way to process this traffic, like PBR on router. The traffic"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_ee584b57","line":36,"range":{"start_line":36,"start_character":47,"end_line":36,"end_character":77},"in_reply_to":"df87a7cf_5dd9731f","updated":"2017-12-19 03:19:46.000000000","message":"Yeah, maybe some security task for the employee could access which websites if they want to limit that \"You can not access some websites, or logging them for check whether the employee is busying for work\"","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":47,"context_line":"In real data center, there could be 2 or more network providers, as the company"},{"line_number":48,"context_line":"who run and maintain the data center doesn\u0027t want to be bound by a single"},{"line_number":49,"context_line":"network vendor. That means there are several multi-entry networks and all of"},{"line_number":50,"context_line":"them can be reached in Lay 3 like the picture below."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_1d09ab94","line":50,"range":{"start_line":50,"start_character":51,"end_line":50,"end_character":52},"updated":"2017-12-10 03:38:14.000000000","message":":","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":47,"context_line":"In real data center, there could be 2 or more network providers, as the company"},{"line_number":48,"context_line":"who run and maintain the data center doesn\u0027t want to be bound by a single"},{"line_number":49,"context_line":"network vendor. That means there are several multi-entry networks and all of"},{"line_number":50,"context_line":"them can be reached in Lay 3 like the picture below."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_7dd477e9","line":50,"range":{"start_line":50,"start_character":20,"end_line":50,"end_character":26},"updated":"2017-12-10 03:38:14.000000000","message":"by layer","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":47,"context_line":"In real data center, there could be 2 or more network providers, as the company"},{"line_number":48,"context_line":"who run and maintain the data center doesn\u0027t want to be bound by a single"},{"line_number":49,"context_line":"network vendor. That means there are several multi-entry networks and all of"},{"line_number":50,"context_line":"them can be reached in Lay 3 like the picture below."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_f65dc648","line":50,"range":{"start_line":50,"start_character":20,"end_line":50,"end_character":26},"in_reply_to":"df87a7cf_7dd477e9","updated":"2017-12-13 11:05:22.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"36ddd3f310b9cb66b0576200c34e20001d74a37d","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    VM A and B are in             Router"},{"line_number":55,"context_line":"    the same subnet.         +----------------+       +-------------------+"},{"line_number":56,"context_line":"       +--------+            | +------------+ |       |     Privider X    |"},{"line_number":57,"context_line":"       |VM A    |            | |Main Route  | |  +----\u003eegwA network       |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_62a45409","line":54,"range":{"start_line":54,"start_character":34,"end_line":54,"end_character":40},"updated":"2017-12-14 21:56:08.000000000","message":"Is this a Neutron router?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"9299d99e87a2beb13019fda74c965d110b992175","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    VM A and B are in             Router"},{"line_number":55,"context_line":"    the same subnet.         +----------------+       +-------------------+"},{"line_number":56,"context_line":"       +--------+            | +------------+ |       |     Privider X    |"},{"line_number":57,"context_line":"       |VM A    |            | |Main Route  | |  +----\u003eegwA network       |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_1354bc20","line":54,"range":{"start_line":54,"start_character":34,"end_line":54,"end_character":40},"in_reply_to":"df87a7cf_62a45409","updated":"2017-12-15 00:52:31.000000000","message":"Yeah, it is.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    VM A and B are in             Router"},{"line_number":55,"context_line":"    the same subnet.         +----------------+       +-------------------+"},{"line_number":56,"context_line":"       +--------+            | +------------+ |       |     Privider X    |"},{"line_number":57,"context_line":"       |VM A    |            | |Main Route  | |  +----\u003eegwA network       |"},{"line_number":58,"context_line":"       |        +------+     | |default to  | |  |    |                   |"},{"line_number":59,"context_line":"       |        |      |     | |egwA        | |  |    +-------------------+"},{"line_number":60,"context_line":"       +--------+      |     | +------------+ |  |"},{"line_number":61,"context_line":"                       |     |                |  |"},{"line_number":62,"context_line":"                       +-----+subnet          +--+"},{"line_number":63,"context_line":"                       |     |interface       |  |"},{"line_number":64,"context_line":"                       |     | +------------+ |  |"},{"line_number":65,"context_line":"       +--------+      |     | |SubnetRoute | |  |    +-------------------+"},{"line_number":66,"context_line":"       |VM B    |      |     | |default to  | |  |    |     Provider Y    |"},{"line_number":67,"context_line":"       |        +------+     | |egwB        | |  +----\u003eegwB network       |"},{"line_number":68,"context_line":"       |        |            | +------------+ |       |                   |"},{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3d0cafa3","line":68,"range":{"start_line":56,"start_character":32,"end_line":68,"end_character":44},"updated":"2017-12-10 03:38:14.000000000","message":"seems close to the eBGP implementation","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    VM A and B are in             Router"},{"line_number":55,"context_line":"    the same subnet.         +----------------+       +-------------------+"},{"line_number":56,"context_line":"       +--------+            | +------------+ |       |     Privider X    |"},{"line_number":57,"context_line":"       |VM A    |            | |Main Route  | |  +----\u003eegwA network       |"},{"line_number":58,"context_line":"       |        +------+     | |default to  | |  |    |                   |"},{"line_number":59,"context_line":"       |        |      |     | |egwA        | |  |    +-------------------+"},{"line_number":60,"context_line":"       +--------+      |     | +------------+ |  |"},{"line_number":61,"context_line":"                       |     |                |  |"},{"line_number":62,"context_line":"                       +-----+subnet          +--+"},{"line_number":63,"context_line":"                       |     |interface       |  |"},{"line_number":64,"context_line":"                       |     | +------------+ |  |"},{"line_number":65,"context_line":"       +--------+      |     | |SubnetRoute | |  |    +-------------------+"},{"line_number":66,"context_line":"       |VM B    |      |     | |default to  | |  |    |     Provider Y    |"},{"line_number":67,"context_line":"       |        +------+     | |egwB        | |  +----\u003eegwB network       |"},{"line_number":68,"context_line":"       |        |            | +------------+ |       |                   |"},{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3820ef49","line":68,"range":{"start_line":56,"start_character":32,"end_line":68,"end_character":44},"in_reply_to":"df87a7cf_3d0cafa3","updated":"2017-12-13 11:05:22.000000000","message":"not familiar the details, but I trust you that very close. :)","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3bf1e3cd408c42fae295b8ebb5d6d1812688be50","unresolved":false,"context_lines":[{"line_number":68,"context_line":"       |        |            | +------------+ |       |                   |"},{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"},{"line_number":72,"context_line":"vendor providing different internet entry with different performance. Here,"},{"line_number":73,"context_line":"Provider Y is the best one. The owner of VM A is a general user, he/she just"},{"line_number":74,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d3be54d3","line":71,"range":{"start_line":71,"start_character":8,"end_line":71,"end_character":15},"updated":"2017-12-15 00:29:24.000000000","message":"picture shows","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"9299d99e87a2beb13019fda74c965d110b992175","unresolved":false,"context_lines":[{"line_number":68,"context_line":"       |        |            | +------------+ |       |                   |"},{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"},{"line_number":72,"context_line":"vendor providing different internet entry with different performance. Here,"},{"line_number":73,"context_line":"Provider Y is the best one. The owner of VM A is a general user, he/she just"},{"line_number":74,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_b3307009","line":71,"range":{"start_line":71,"start_character":8,"end_line":71,"end_character":15},"in_reply_to":"df87a7cf_d3be54d3","updated":"2017-12-15 00:52:31.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"3bf1e3cd408c42fae295b8ebb5d6d1812688be50","unresolved":false,"context_lines":[{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"},{"line_number":72,"context_line":"vendor providing different internet entry with different performance. Here,"},{"line_number":73,"context_line":"Provider Y is the best one. The owner of VM A is a general user, he/she just"},{"line_number":74,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":75,"context_line":"access the Internet with high speed and good performance. So the requirment"},{"line_number":76,"context_line":"is that routing the traffic in different way towards VMs in the same subnet."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d38c1437","line":73,"range":{"start_line":72,"start_character":1,"end_line":73,"end_character":26},"updated":"2017-12-15 00:29:24.000000000","message":"vendors providing different levels of performance, with vendor Y delivering the higher level.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"9299d99e87a2beb13019fda74c965d110b992175","unresolved":false,"context_lines":[{"line_number":69,"context_line":"       +--------+            +----------------+       +-------------------+"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"As this picture, there are 2 VMs in the same subnet. And 2 different network"},{"line_number":72,"context_line":"vendor providing different internet entry with different performance. Here,"},{"line_number":73,"context_line":"Provider Y is the best one. The owner of VM A is a general user, he/she just"},{"line_number":74,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":75,"context_line":"access the Internet with high speed and good performance. So the requirment"},{"line_number":76,"context_line":"is that routing the traffic in different way towards VMs in the same subnet."}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d333b412","line":73,"range":{"start_line":72,"start_character":1,"end_line":73,"end_character":26},"in_reply_to":"df87a7cf_d38c1437","updated":"2017-12-15 00:52:31.000000000","message":"Done","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"069a8ab846e33b192295f7d970e3decc58b811c0","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   the general performance network."},{"line_number":84,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":85,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":86,"context_line":"   which locates on the high performance network."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"So both VM users could have different internet performance."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_25c7f666","line":86,"updated":"2017-12-07 05:26:11.000000000","message":"How does a user find out about these different gateways and their capabilities?  And should we limit the user to only be able to choose a gateway from this list, so they can\u0027t set their gateway to another users router in the subnet?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   the general performance network."},{"line_number":84,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":85,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":86,"context_line":"   which locates on the high performance network."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"So both VM users could have different internet performance."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_5df2d39b","line":86,"in_reply_to":"df87a7cf_25c7f666","updated":"2017-12-10 03:38:14.000000000","message":"I really think this can be picked up with Quality of Service.\nBased on the type of quality, the cloud admin can define the type of route the network can take up.\nIf the user pays for that QoS, then the corresponding route can be provided to them ...","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"3c8ae059e898f315c2dfe834b96557e5396a9cb4","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   the general performance network."},{"line_number":84,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":85,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":86,"context_line":"   which locates on the high performance network."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"So both VM users could have different internet performance."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_65b3be99","line":86,"in_reply_to":"df87a7cf_25c7f666","updated":"2017-12-07 06:45:02.000000000","message":"Thanks Brian, Let me try to clear it.\nFor [1] question:\nTenant users can not see the related info. I think it will be available setting for admin/cloud deployer. for the openstack services vendors, want to control the different user traffic and VM user can not know what the first nexthop is if access different destination. From vm users sight, they just see a default gateway. This spec wish to describe multi-route towards a subnet, the traffic in a subnet can be forward by the main table of Router which acts on Router namespace(including some extra routes), and can be forwarded by the policy routing which defined by a cloud admin, that\u0027s all related to the defined policy.\n\nFor [2] question:\nThe list of gateways for user choosing, is like the example \"egwA\"/\"egwB\"? If yes, I\u0027m not sure I got you point here. But I want to clear that there must be a case here.\nThe router gateway port locates on public/provider network, the nexthop of default route in Router namespace can be set by the public/provider subnet gateway IP. For example, it is \"egwA\". So admin can manually set another gateway \"egwB\" which is out of the subnet ip allocations if he want or some buisiness reason into the policy route. Because \"egwA\" and \"egwB\" are in the same Lay 3.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   the general performance network."},{"line_number":84,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":85,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":86,"context_line":"   which locates on the high performance network."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"So both VM users could have different internet performance."},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d8d6a328","line":86,"in_reply_to":"df87a7cf_5df2d39b","updated":"2017-12-13 11:05:22.000000000","message":"Yeah, good raise.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Proposed Change"},{"line_number":92,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":95,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":96,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. But for"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3d310f5b","line":93,"updated":"2017-12-10 03:38:14.000000000","message":"No impact on DVR , I guess?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Proposed Change"},{"line_number":92,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":95,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":96,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. But for"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_38e54f0b","line":93,"in_reply_to":"df87a7cf_3d310f5b","updated":"2017-12-13 11:05:22.000000000","message":"For now, I don\u0027t think it will affect DVR.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"36ddd3f310b9cb66b0576200c34e20001d74a37d","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":95,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":96,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. But for"},{"line_number":97,"context_line":"the simple in the first implementation, we just support source routing with"},{"line_number":98,"context_line":"basic options, we could extend for type of traffic, protocol, protocol port in"},{"line_number":99,"context_line":"the future."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":102,"context_line":"need a entry to set the routing rule for a subnet. We could have a \"language\""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_c2a3e0b0","line":99,"range":{"start_line":96,"start_character":70,"end_line":99,"end_character":11},"updated":"2017-12-14 21:56:08.000000000","message":"I think we can change this to:\n\nThe proposed first implementation will only support source subnet / address based routing. In the future, we can exetend this to other routing criteria, like type of traffic, protocol, etc.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"9299d99e87a2beb13019fda74c965d110b992175","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":95,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":96,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. But for"},{"line_number":97,"context_line":"the simple in the first implementation, we just support source routing with"},{"line_number":98,"context_line":"basic options, we could extend for type of traffic, protocol, protocol port in"},{"line_number":99,"context_line":"the future."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":102,"context_line":"need a entry to set the routing rule for a subnet. We could have a \"language\""}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_933d2cdf","line":99,"range":{"start_line":96,"start_character":70,"end_line":99,"end_character":11},"in_reply_to":"df87a7cf_c2a3e0b0","updated":"2017-12-15 00:52:31.000000000","message":"Thanks Miguel. Will reword here. :)","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"DB Tables"},{"line_number":129,"context_line":"---------"},{"line_number":130,"context_line":"New tables need to create::"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    CREATE TABLE subnet_routetables ("},{"line_number":133,"context_line":"        project_id varchar(255) DEFAULT NULL,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_9d413bac","line":130,"range":{"start_line":130,"start_character":1,"end_line":130,"end_character":27},"updated":"2017-12-10 03:38:14.000000000","message":"I am a little skeptical about the number of DB tables used here. Do we need so many tables?\nAnd how would they be backward compatible? Should they be populated wuith existing routes during update from , say , Pike to Queens/Rocky?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"DB Tables"},{"line_number":129,"context_line":"---------"},{"line_number":130,"context_line":"New tables need to create::"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    CREATE TABLE subnet_routetables ("},{"line_number":133,"context_line":"        project_id varchar(255) DEFAULT NULL,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_38a1cf96","line":130,"range":{"start_line":130,"start_character":1,"end_line":130,"end_character":27},"in_reply_to":"df87a7cf_9d413bac","updated":"2017-12-13 11:05:22.000000000","message":"These tables are totally new, there is no any exsiting records need to been migrated here. As this spec intro the subnet\u0027s route table, user can create it for a particular subnet. Then if the L3 flavor aware the \u0027PBR\u0027, then it will capture the route from subnet and install in its namespace. Not sure this description is clear?","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"36ddd3f310b9cb66b0576200c34e20001d74a37d","unresolved":false,"context_lines":[{"line_number":167,"context_line":""},{"line_number":168,"context_line":"REST API Impact"},{"line_number":169,"context_line":"---------------"},{"line_number":170,"context_line":"A new api named ``/subnetroutetables`` and ``/subnetrouterules`` will be added,"},{"line_number":171,"context_line":"and we can use like a Security Group."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"``subnetroutetables`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_a261fc3b","line":170,"range":{"start_line":170,"start_character":17,"end_line":170,"end_character":62},"updated":"2017-12-14 21:56:08.000000000","message":"It was mentioned above that in the first implementation, we want to focus on source subnet / address based routing but that in the future we might support routing based on other criteria, like type of traffic, protocol, etc. I cannot imagine us creating a new resource for each criteria that we decide to support. How about /routing-policies and /routing-policy-rules. And then, for rules will have an \"type\" attribute, where the first type we will support will be \u0027source-subnet\u0027","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"9299d99e87a2beb13019fda74c965d110b992175","unresolved":false,"context_lines":[{"line_number":167,"context_line":""},{"line_number":168,"context_line":"REST API Impact"},{"line_number":169,"context_line":"---------------"},{"line_number":170,"context_line":"A new api named ``/subnetroutetables`` and ``/subnetrouterules`` will be added,"},{"line_number":171,"context_line":"and we can use like a Security Group."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"``subnetroutetables`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_d31c1479","line":170,"range":{"start_line":170,"start_character":17,"end_line":170,"end_character":62},"in_reply_to":"df87a7cf_a261fc3b","updated":"2017-12-15 00:52:31.000000000","message":"Very thanks, I think the \"type\" attribute is very useful and nice for current and future extending work. We can define the new type for the next work.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"130ba64673657c180e978fcc76a1566e629ddb62","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"Security impact"},{"line_number":286,"context_line":"---------------"},{"line_number":287,"context_line":"The ``ip rule`` will be installed in the Router namespace, it may affect the"},{"line_number":288,"context_line":"firewall policy application on router ports."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Notifications impact"},{"line_number":291,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_3d1a6fcb","line":288,"range":{"start_line":287,"start_character":1,"end_line":288,"end_character":44},"updated":"2017-12-10 03:38:14.000000000","message":"How would it be an impact?\nSome explanation would be better.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cce5c546227128d592aa6fdf58a5bc7b7b35b1d0","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"Security impact"},{"line_number":286,"context_line":"---------------"},{"line_number":287,"context_line":"The ``ip rule`` will be installed in the Router namespace, it may affect the"},{"line_number":288,"context_line":"firewall policy application on router ports."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Notifications impact"},{"line_number":291,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_b812bfb3","line":288,"range":{"start_line":287,"start_character":1,"end_line":288,"end_character":44},"in_reply_to":"df87a7cf_3d1a6fcb","updated":"2017-12-13 11:05:22.000000000","message":"OK, just a summary.\nThe existing FW was created like CIDRA allow to CIDRB, but the ip rule can make the traffic to a new route table, such as :\nCIDRA via IPC(from CIDRC), then the traffic will be forwarded to other site, just a suspect :). This may be risk","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"02b0680b7d1266d3e0850529aa87889bacd6c52d","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"Security impact"},{"line_number":286,"context_line":"---------------"},{"line_number":287,"context_line":"The ``ip rule`` will be installed in the Router namespace, it may affect the"},{"line_number":288,"context_line":"firewall policy application on router ports."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Notifications impact"},{"line_number":291,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_c379d493","line":288,"range":{"start_line":287,"start_character":1,"end_line":288,"end_character":44},"in_reply_to":"df87a7cf_b812bfb3","updated":"2017-12-13 11:28:00.000000000","message":"You are correct but....\n\nWhat actually my question is, to understand where the routing would be placed.\nIf it is placed AHEAD of Firewall, then yes, you are correct, it may be a risk.\nIf we place the routing behind the Firewalls, then it wont be a risk.\n\nI read a bit about the ip rule , and it has more Warnings then advices ( ftp://ftp.wayne.edu/ldp/en/linux-ip/apds03.html)\n\nbut the IP rules can be placed behind the FwaaS. Packets can be Dropped/Accepted/Rejected before processing the route on it","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"709b52e7b9e711a2f0916c6ba1a50125848def85","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"Security impact"},{"line_number":286,"context_line":"---------------"},{"line_number":287,"context_line":"The ``ip rule`` will be installed in the Router namespace, it may affect the"},{"line_number":288,"context_line":"firewall policy application on router ports."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Notifications impact"},{"line_number":291,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_bc861cdb","line":288,"range":{"start_line":287,"start_character":1,"end_line":288,"end_character":44},"in_reply_to":"df87a7cf_bcf61cf9","updated":"2017-12-14 04:22:00.000000000","message":"Added members of FWaaS team as well for their inputs, incase I miss something","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1b97b632a4b3dd2a4fb5a76d7b340236741b2684","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":"Security impact"},{"line_number":286,"context_line":"---------------"},{"line_number":287,"context_line":"The ``ip rule`` will be installed in the Router namespace, it may affect the"},{"line_number":288,"context_line":"firewall policy application on router ports."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Notifications impact"},{"line_number":291,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df87a7cf_bcf61cf9","line":288,"range":{"start_line":287,"start_character":1,"end_line":288,"end_character":44},"in_reply_to":"df87a7cf_c379d493","updated":"2017-12-14 03:42:18.000000000","message":"You are right, the expect should be behind the Firewalls. But I\u0027m not sure whether it could be work. I just stand on the netfilter sight, for a router, FW(iptables rules) usually is installed on the FORWARD chain in filter table if I\u0027m right. So before the network packet pass though the filter table, there is a \"ROUTING DECISION\"(We need routing to forward the traffic in this spec). This spec wish to support more granularity such as a single IP or something instead of only CIDR, so it is possible to install a iptables rule on PREROUTING chain in mangle table before ROUTING DECISION. Think about it:\niptables -A PREROUTING -t mangle -s 10.0.0.7 -p tcp --dport 80 -j MARK --set-mark 1\nip rule add from all fwmark 1 table NEWROUTE TABLE.","commit_id":"d23f8f7d782ad331c3e2b631bf54cc0daad86471"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 stuff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron needs to improve its ability for the complex"},{"line_number":15,"context_line":"routing scenarios."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_b8a49b09","line":13,"range":{"start_line":13,"start_character":42,"end_line":13,"end_character":47},"updated":"2017-12-18 04:03:00.000000000","message":"not required","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 stuff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron needs to improve its ability for the complex"},{"line_number":15,"context_line":"routing scenarios."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_7a535d6c","line":13,"range":{"start_line":13,"start_character":42,"end_line":13,"end_character":47},"in_reply_to":"df87a7cf_b8a49b09","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 stuff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron needs to improve its ability for the complex"},{"line_number":15,"context_line":"routing scenarios."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem Description"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_78ae13e8","line":15,"range":{"start_line":13,"start_character":69,"end_line":15,"end_character":18},"updated":"2017-12-18 04:03:00.000000000","message":"for complex routing scenarios. This can be improved in Neutron","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/neutron/+bug/1715386"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Today, our reference implementation of L3 stuff is not very flexible for some"},{"line_number":14,"context_line":"routing scenarios. So Neutron needs to improve its ability for the complex"},{"line_number":15,"context_line":"routing scenarios."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem Description"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_1a4c91c6","line":15,"range":{"start_line":13,"start_character":69,"end_line":15,"end_character":18},"in_reply_to":"df87a7cf_78ae13e8","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem Description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contain several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may be from different network service providers, and have different"},{"line_number":24,"context_line":"network performance indexes(such as stability, bandwidth, speed). Cloud users"},{"line_number":25,"context_line":"may want to make the VMs in the specified subnet of network to route the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_7897f391","line":22,"range":{"start_line":21,"start_character":0,"end_line":22,"end_character":17},"updated":"2017-12-18 04:03:00.000000000","message":"A real data center may contain several external gateways to access the external network.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem Description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"In real data center, it may contain several external gateways to access"},{"line_number":22,"context_line":"external network. The VM instances can access all of them in L3 layer. Each"},{"line_number":23,"context_line":"gateway may be from different network service providers, and have different"},{"line_number":24,"context_line":"network performance indexes(such as stability, bandwidth, speed). Cloud users"},{"line_number":25,"context_line":"may want to make the VMs in the specified subnet of network to route the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_facc4d36","line":22,"range":{"start_line":21,"start_character":0,"end_line":22,"end_character":17},"in_reply_to":"df87a7cf_7897f391","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":24,"context_line":"network performance indexes(such as stability, bandwidth, speed). Cloud users"},{"line_number":25,"context_line":"may want to make the VMs in the specified subnet of network to route the"},{"line_number":26,"context_line":"traffic from some specified source IP/CIDR to the site which own the best"},{"line_number":27,"context_line":"connection line. But the other VM\u0027s traffic which locate on other subnets in"},{"line_number":28,"context_line":"the same network pass through the original gateway as default. So we need to"},{"line_number":29,"context_line":"route the specified traffic to other gateway."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_ac40dc08","line":27,"range":{"start_line":27,"start_character":45,"end_line":27,"end_character":56},"updated":"2017-12-18 04:03:00.000000000","message":"which is located","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":24,"context_line":"network performance indexes(such as stability, bandwidth, speed). Cloud users"},{"line_number":25,"context_line":"may want to make the VMs in the specified subnet of network to route the"},{"line_number":26,"context_line":"traffic from some specified source IP/CIDR to the site which own the best"},{"line_number":27,"context_line":"connection line. But the other VM\u0027s traffic which locate on other subnets in"},{"line_number":28,"context_line":"the same network pass through the original gateway as default. So we need to"},{"line_number":29,"context_line":"route the specified traffic to other gateway."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_5adbf9eb","line":27,"range":{"start_line":27,"start_character":45,"end_line":27,"end_character":56},"in_reply_to":"df87a7cf_ac40dc08","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":34,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":35,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":36,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":37,"context_line":"firstly. Also, this private env can not expose to the customer of user A,"},{"line_number":38,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":39,"context_line":"rules. So we need another way to process this traffic, like PBR on router. The"},{"line_number":40,"context_line":"traffic from each subnets which attached on this router, may need a individual"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_0c31c8a2","line":37,"range":{"start_line":37,"start_character":36,"end_line":37,"end_character":46},"updated":"2017-12-18 04:03:00.000000000","message":"not be exposed","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":35,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":36,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":37,"context_line":"firstly. Also, this private env can not expose to the customer of user A,"},{"line_number":38,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":39,"context_line":"rules. So we need another way to process this traffic, like PBR on router. The"},{"line_number":40,"context_line":"traffic from each subnets which attached on this router, may need a individual"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_1ae1f19b","line":37,"range":{"start_line":37,"start_character":36,"end_line":37,"end_character":46},"in_reply_to":"df87a7cf_0c31c8a2","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":36,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":37,"context_line":"firstly. Also, this private env can not expose to the customer of user A,"},{"line_number":38,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":39,"context_line":"rules. So we need another way to process this traffic, like PBR on router. The"},{"line_number":40,"context_line":"traffic from each subnets which attached on this router, may need a individual"},{"line_number":41,"context_line":"route table for each subnet now."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_ccb440d4","line":39,"range":{"start_line":39,"start_character":60,"end_line":39,"end_character":63},"updated":"2017-12-18 04:03:00.000000000","message":"I didnt know what PBR actually stood for.\nChecking google mentioned it is Policy based Routing, which I knew :)\nSo I think for user understandability, please use the full form and put PBR in () , so that users know that PBR means Policy Based Routing and the same is used later","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":37,"context_line":"firstly. Also, this private env can not expose to the customer of user A,"},{"line_number":38,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":39,"context_line":"rules. So we need another way to process this traffic, like PBR on router. The"},{"line_number":40,"context_line":"traffic from each subnets which attached on this router, may need a individual"},{"line_number":41,"context_line":"route table for each subnet now."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_7a011d38","line":39,"range":{"start_line":39,"start_character":60,"end_line":39,"end_character":63},"in_reply_to":"df87a7cf_ccb440d4","updated":"2017-12-19 03:19:46.000000000","message":"Right, it means policy based routing. Yeah, I think it is good for a reference link addition. :)","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Proposed Change"},{"line_number":95,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":98,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":99,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":100,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_f13c7894","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":77},"updated":"2017-12-18 05:57:33.000000000","message":"can you try to separate things specific to the reference implementation?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"e41d8e57bfe370aad4d854bcf36bf9af513e7f71","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Proposed Change"},{"line_number":95,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":98,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":99,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":100,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_ca5e8d11","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":77},"in_reply_to":"bf8cb3f7_15a7bb51","updated":"2017-12-26 03:09:56.000000000","message":"OK, Sorry, YAMAMOTO, I\u0027m following you now. hmmm, I think you are right, it is necessary not to mention ip rule here, the reference implementation here need to work with ip rule and iptables. So for easy understanding, I added here in my original thought. I will remove this part which ip rule described. Thanks, YAMAMOTO","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"342eb3e9aa86c9b5b24600af27daf83712f10303","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Proposed Change"},{"line_number":95,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":98,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":99,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":100,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_15a7bb51","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":77},"in_reply_to":"df87a7cf_6b7ffadf","updated":"2017-12-25 09:36:36.000000000","message":"the \"ip rule\" stuff is very specific to a particular implementation, right?\nit\u0027s better to explain the API semantics without relying on the understanding of the particular implementation.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":94,"context_line":"Proposed Change"},{"line_number":95,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":98,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":99,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":100,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_6b7ffadf","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":77},"in_reply_to":"df87a7cf_f13c7894","updated":"2017-12-19 03:19:46.000000000","message":"ehhhh, sorry YAMAMOTO, I\u0027m afraid that I don\u0027t get you here. Could you please give more explain what you want here? Thanks.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"6015c3a7c3f809b78e3132fead0b4989438b0932","unresolved":false,"context_lines":[{"line_number":102,"context_line":"of traffic, protocol, etc."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":105,"context_line":"need a entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":106,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":107,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":108,"context_line":"router flavor \u0027PBR-aware\u0027 that will allow an L3 agent to enforce the rules being"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_2cfdac39","line":105,"range":{"start_line":105,"start_character":5,"end_line":105,"end_character":6},"updated":"2017-12-18 04:03:00.000000000","message":"an","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":102,"context_line":"of traffic, protocol, etc."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":105,"context_line":"need a entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":106,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":107,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":108,"context_line":"router flavor \u0027PBR-aware\u0027 that will allow an L3 agent to enforce the rules being"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_dabe2964","line":105,"range":{"start_line":105,"start_character":5,"end_line":105,"end_character":6},"in_reply_to":"df87a7cf_2cfdac39","updated":"2017-12-19 03:19:46.000000000","message":"Done","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":123,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":124,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":125,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":126,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":127,"context_line":"resource, the routes will acts in the default Router namespace which affect the"},{"line_number":128,"context_line":"whole routing functionality. There is no conflict with ``ip rule``. So what to"},{"line_number":129,"context_line":"do is how to apply this subnet routing function into current implementation."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"DB Tables"},{"line_number":132,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_d1d37437","line":129,"range":{"start_line":126,"start_character":52,"end_line":129,"end_character":76},"updated":"2017-12-18 05:57:33.000000000","message":"i guess the semantics/interactions with extraroute should be clearly specified.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"14bccd003fd0534ff9b6b7af65c06fc2777e1012","unresolved":false,"context_lines":[{"line_number":123,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":124,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":125,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":126,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":127,"context_line":"resource, the routes will acts in the default Router namespace which affect the"},{"line_number":128,"context_line":"whole routing functionality. There is no conflict with ``ip rule``. So what to"},{"line_number":129,"context_line":"do is how to apply this subnet routing function into current implementation."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"DB Tables"},{"line_number":132,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_eacfd17c","line":129,"range":{"start_line":126,"start_character":52,"end_line":129,"end_character":76},"in_reply_to":"bf8cb3f7_d534f3fd","updated":"2017-12-26 03:25:46.000000000","message":"Correct, the new \"routing policy\" should have a higher priority. And it also intro that new route tables, as we will use ip rule like:\nip rule add from 192.168.1.10/32 table 1 pref 100\nip rule add fwmark 3  table 3\nAlso Linux can maintain 255 route tables, except 0, local(255), main(254), default(253). So users can define 1-252 route tables and these tables we can based on for this function which this spec described. If no match, it will still use the main(254) route table. That\u0027s the expect behavior I think. :)","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"342eb3e9aa86c9b5b24600af27daf83712f10303","unresolved":false,"context_lines":[{"line_number":123,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":124,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":125,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":126,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":127,"context_line":"resource, the routes will acts in the default Router namespace which affect the"},{"line_number":128,"context_line":"whole routing functionality. There is no conflict with ``ip rule``. So what to"},{"line_number":129,"context_line":"do is how to apply this subnet routing function into current implementation."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"DB Tables"},{"line_number":132,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_d534f3fd","line":129,"range":{"start_line":126,"start_character":52,"end_line":129,"end_character":76},"in_reply_to":"df87a7cf_ab4982b7","updated":"2017-12-25 09:36:36.000000000","message":"so these \"routing policy\" has higher priority than existing mechasims?  if none of rules match the traffic, existing mechanism applies?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":123,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":124,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":125,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":126,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":127,"context_line":"resource, the routes will acts in the default Router namespace which affect the"},{"line_number":128,"context_line":"whole routing functionality. There is no conflict with ``ip rule``. So what to"},{"line_number":129,"context_line":"do is how to apply this subnet routing function into current implementation."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"DB Tables"},{"line_number":132,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_ab4982b7","line":129,"range":{"start_line":126,"start_character":52,"end_line":129,"end_character":76},"in_reply_to":"df87a7cf_d1d37437","updated":"2017-12-19 03:19:46.000000000","message":"Thanks YAMAMOTO, Did you mean that extraroute for Router should be mentioned here? I think the routes on Router setting should act on the main table, if we defined some routing policy for a specific subnet, the routes/extraroute will not affect the traffic, as the traffic will hold by the ip rule with new route tables.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":176,"context_line":"REST API Impact"},{"line_number":177,"context_line":"---------------"},{"line_number":178,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":179,"context_line":"added, and we can use like a Security Group. Just mentioned above that in the"},{"line_number":180,"context_line":"first implementation, this spec will focus on source subnet/address based"},{"line_number":181,"context_line":"routing, and extend in the future. So introduce a field to"},{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_31b98014","line":179,"range":{"start_line":179,"start_character":22,"end_line":179,"end_character":43},"updated":"2017-12-18 05:57:33.000000000","message":"can you explain?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":176,"context_line":"REST API Impact"},{"line_number":177,"context_line":"---------------"},{"line_number":178,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":179,"context_line":"added, and we can use like a Security Group. Just mentioned above that in the"},{"line_number":180,"context_line":"first implementation, this spec will focus on source subnet/address based"},{"line_number":181,"context_line":"routing, and extend in the future. So introduce a field to"},{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_006980f7","line":179,"range":{"start_line":179,"start_character":22,"end_line":179,"end_character":43},"in_reply_to":"df87a7cf_31b98014","updated":"2017-12-19 03:19:46.000000000","message":"The routing policies like current Security group, it is a set of routing policy rules. So the routing policy rule like current security group rules, which access may be very similar parameters with sg_rule. And sg can applied on multiple ports, but routing policies may be aimed at a specific subnet.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_7192a859","line":185,"updated":"2017-12-18 05:57:33.000000000","message":"don\u0027t you need a way to associate a policy to a router?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_a7ad7d9c","line":185,"in_reply_to":"7f96bb07_486e50ca","updated":"2018-01-23 02:45:59.000000000","message":"I think yes. All attached routers need to install the same ip rules if it can reach all underlay gw. I think this is based on the route setting in the VM or pre-setting dhcp for inject the route rule, also users can set the route rules by themselves in VM. But we have to check the nexthop could be reached in each Router.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"e41d8e57bfe370aad4d854bcf36bf9af513e7f71","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_ca168df2","line":185,"in_reply_to":"bf8cb3f7_350e7f3b","updated":"2017-12-26 03:09:56.000000000","message":"Sorry, YAMAMOTO. I will make an example for \"a subnet can attach multiple Router\":\n1. neutron net-create test-net\n2. neutron subnet-create test-net 7.7.7.7/24 --name test-subnet\n3. neutron router-create router1\n4. neutron router-create router2\n5. neutron router-create router3\n6. create 2 ports(port1 port2) from test-net, the port will allocate some IP from the test-subnet.\n7. neutron router-interface-add router1 test-subnet\n8. neutron router-interface-add router2 port\u003d\u003cport1 ID\u003e\n9. neutron router-interface-add router3 port\u003d\u003cport2 ID\u003e\nSo this is the meaning of \"a subnet can attach multiple Router\".\n\nThen I could recreate another new network and subnet like:\n1. create network net2 and its subnet subnet2 with cidr 123.123.123.123/24.\n2. I attach the subnet2 interface into router3.\n3. I change the routes of router1 ns which the default gw of test-subnet with ip 7.7.7.1. The new routes should be like:\nip route add 123.123.123.0/24 via port2\u0027s IP.\n4. I test ping in test-subnet dhcp ns with ping 123.123.123.1 and 123.123.123.2(which the dhcp server locates on), that\u0027s OK.\n\nFor the scenario about this, that maybe the vendor network env what to control some specific traffics through the routes configuration.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_486e50ca","line":185,"in_reply_to":"bf8cb3f7_ca168df2","updated":"2018-01-19 13:52:39.000000000","message":"in that case, those routers will use the same nexthop for traffic from the subnet? i\u0027m not sure in what situation it would be useful.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"aecfb9795ee0976c3ca9f400f293b47d8386f40c","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_5c2e7e92","line":185,"in_reply_to":"df87a7cf_25fff6ab","updated":"2017-12-19 06:12:29.000000000","message":"Oh, sorry. My bad, please ignore the last comment, I don\u0027t think we need a router_id here, as a subnet can attach multiple Router and they must do the same work for a specific subnet traffic.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"342eb3e9aa86c9b5b24600af27daf83712f10303","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bf8cb3f7_350e7f3b","line":185,"in_reply_to":"df87a7cf_5c2e7e92","updated":"2017-12-25 09:36:36.000000000","message":"i don\u0027t follow.  what do you mean by \"a subnet can attach multiple Router\"?  router-interface-add?  i\u0027m not sure if there\u0027s a scenario the same next hop etc can apply to multiple routers.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":182,"context_line":"``routing-policy-rules``like ``type`` to expose the routing function , for the"},{"line_number":183,"context_line":"first type, we will support ``SOURCE-SUBNET``."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"``routing_policies`` object attributes like:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":188,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                           |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_25fff6ab","line":185,"in_reply_to":"df87a7cf_7192a859","updated":"2017-12-19 03:19:46.000000000","message":"I think the existing Floating IP had contained the same field \"router_id\", and I think we could use that.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":198,"context_line":"|                   |         |       |      | admin users can specify a project     |"},{"line_number":199,"context_line":"|                   |         |       |      | identifier other than their own.      |"},{"line_number":200,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":201,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. Only    |"},{"line_number":202,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":203,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":204,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the subnet. Only    |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_b1291038","line":201,"range":{"start_line":201,"start_character":2,"end_line":201,"end_character":11},"updated":"2017-12-18 05:57:33.000000000","message":"how is this used?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":198,"context_line":"|                   |         |       |      | admin users can specify a project     |"},{"line_number":199,"context_line":"|                   |         |       |      | identifier other than their own.      |"},{"line_number":200,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":201,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. Only    |"},{"line_number":202,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":203,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":204,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the subnet. Only    |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_25c6166a","line":201,"range":{"start_line":201,"start_character":2,"end_line":201,"end_character":11},"in_reply_to":"df87a7cf_b1291038","updated":"2017-12-19 03:19:46.000000000","message":"It expose that the routing policy owned by which subnet. \nsubnet -- 1: n --- routing policy. Users can create multiple routing policies towards a particular subnet. It won\u0027t work until this subnet attach on a router.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":201,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. Only    |"},{"line_number":202,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":203,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":204,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the subnet. Only    |"},{"line_number":205,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":206,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":207,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_31fc20b4","line":204,"range":{"start_line":204,"start_character":47,"end_line":204,"end_character":75},"updated":"2017-12-18 05:57:33.000000000","message":"bad copy and paste?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":201,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. Only    |"},{"line_number":202,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":203,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":204,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the subnet. Only    |"},{"line_number":205,"context_line":"|                   |         |       |      | admin/subnet owners can specify it.   |"},{"line_number":206,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":207,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_05d99255","line":204,"range":{"start_line":204,"start_character":47,"end_line":204,"end_character":75},"in_reply_to":"df87a7cf_31fc20b4","updated":"2017-12-19 03:19:46.000000000","message":"Thanks, my bad. will update","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":222,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":223,"context_line":"| nexthop           | string  | Yes   | CRU  | The nexthop of the routing rule.       |"},{"line_number":224,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":225,"context_line":"| ethertype         | string  | Yes   | CRU  | The ethertype of the routing rule. The |"},{"line_number":226,"context_line":"|                   |         |       |      | routing rules will group by ethertype  |"},{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_f13318aa","line":225,"range":{"start_line":225,"start_character":2,"end_line":225,"end_character":11},"updated":"2017-12-18 05:57:33.000000000","message":"is this meant to be either ipv4 or ipv6?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":222,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":223,"context_line":"| nexthop           | string  | Yes   | CRU  | The nexthop of the routing rule.       |"},{"line_number":224,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":225,"context_line":"| ethertype         | string  | Yes   | CRU  | The ethertype of the routing rule. The |"},{"line_number":226,"context_line":"|                   |         |       |      | routing rules will group by ethertype  |"},{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_e5a10eab","line":225,"range":{"start_line":225,"start_character":2,"end_line":225,"end_character":11},"in_reply_to":"df87a7cf_f13318aa","updated":"2017-12-19 03:19:46.000000000","message":"Yeah, it is.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"},{"line_number":229,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":230,"context_line":"| setting           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":231,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":232,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":233,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_711f0808","line":230,"range":{"start_line":230,"start_character":2,"end_line":230,"end_character":9},"updated":"2017-12-18 05:57:33.000000000","message":"i feel this is too generic and opaque.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"},{"line_number":229,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":230,"context_line":"| setting           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":231,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":232,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":233,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_8c3ae8e4","line":230,"range":{"start_line":230,"start_character":2,"end_line":230,"end_character":9},"in_reply_to":"7f96bb07_48b090de","updated":"2018-01-23 02:45:59.000000000","message":"Oh, sorry. But for more functions support, this will change to \"match-set\" for more types support.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"},{"line_number":229,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":230,"context_line":"| setting           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":231,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":232,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":233,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_48b090de","line":230,"range":{"start_line":230,"start_character":2,"end_line":230,"end_character":9},"in_reply_to":"df87a7cf_4571da43","updated":"2018-01-19 13:52:39.000000000","message":"my comment was not about the name.\ni was thinking about simply having source_ip_prefix field here.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":227,"context_line":"|                   |         |       |      | and setting in different routing       |"},{"line_number":228,"context_line":"|                   |         |       |      | tables.                                |"},{"line_number":229,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":230,"context_line":"| setting           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":231,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":232,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":233,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_4571da43","line":230,"range":{"start_line":230,"start_character":2,"end_line":230,"end_character":9},"in_reply_to":"df87a7cf_711f0808","updated":"2017-12-19 03:19:46.000000000","message":"Hmmmm, I also think this name is odd, but I have no idea about how to named it. How about \"match-setting\" or something?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":273,"context_line":"   {"},{"line_number":274,"context_line":"        \"routing_policy_rule\": {"},{"line_number":275,"context_line":"            \"name\": \"sample route rule\","},{"line_number":276,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":277,"context_line":"            \"setting\": {"},{"line_number":278,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":279,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_b1acb09f","line":276,"range":{"start_line":276,"start_character":13,"end_line":276,"end_character":30},"updated":"2017-12-18 05:57:33.000000000","message":"are rules in a policy ordered?\notherwise, how to choose a rule for a given packet?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":273,"context_line":"   {"},{"line_number":274,"context_line":"        \"routing_policy_rule\": {"},{"line_number":275,"context_line":"            \"name\": \"sample route rule\","},{"line_number":276,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":277,"context_line":"            \"setting\": {"},{"line_number":278,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":279,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_2b433215","line":276,"range":{"start_line":276,"start_character":13,"end_line":276,"end_character":30},"in_reply_to":"df87a7cf_b1acb09f","updated":"2017-12-19 03:19:46.000000000","message":"Thanks, good raise YAMAMOTO. The intent of This spec willing to support more complex and granularity to control the traffic towards a subnet. So I think it\u0027s bad for ordered them now, as 1 SRC IP can be routed by multiple route tables if we split by different dest_IPs/cidrs already and implement it based on ip rule. This is terrible. For case of \"SOURCE-SUBNET\", If you want control a particular IP/cidr, why you want to split the traffic again, also the route table looks like multiple nested.Such as:\nMAIN table\n     ----\u003e  table 1     source cidr 10.0.0.0/27 nexthop 10.0.0.8\n            -------\u003e   table 2 source ip 10.0.0.1 dest 1.1.1.1 nexthop XXXX\n            -------\u003e   table 3 source ip 10.0.0.2 dest 2.2.2.2 nexthop YYYY\nThis is very complex and terrible thing, even though it is valid. But it brings multiple nexthop for a SRC IP/CIDR. So I think just 1 layer is enough, I could make a check in the code for the new request of routing policy rules. Sounds like:\nIf I have already a rule like: src_cidr 10.11.0.0/24 dest_cidr 111.32.0.0/16 nexthop 24.188.50.61. The backend may like:\niptables -A PREROUTING -t mangle -s 10.11.0.0/24 -d 111.32.0.0/16 -j MARK --set-mark 1\nip rule add from all fwmark 1 table X\nTable X may be:\ndefault via 24.188.50.61\nThen I want to add a new rule like SRC IP 10.11.0.8 dest_cidr 111.18.0.0/16 nexthop 24.188.50.50. This is not allowed as already a policy rule contains this src IP. So I think the limit here is necessary. Do you agree? Please feel free to correct and advice. :)","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":276,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":277,"context_line":"            \"setting\": {"},{"line_number":278,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":279,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":280,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""},{"line_number":281,"context_line":"            },"},{"line_number":282,"context_line":"            \"nexthop\": \"24.188.50.61\","},{"line_number":283,"context_line":"            \"ethertype\": \"IPv4\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_b1def03b","line":280,"range":{"start_line":279,"start_character":0,"end_line":280,"end_character":49},"updated":"2017-12-18 05:57:33.000000000","message":"can rules have overlapping cidr?  if yes, which one should match?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":276,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":277,"context_line":"            \"setting\": {"},{"line_number":278,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":279,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":280,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""},{"line_number":281,"context_line":"            },"},{"line_number":282,"context_line":"            \"nexthop\": \"24.188.50.61\","},{"line_number":283,"context_line":"            \"ethertype\": \"IPv4\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_8b511edc","line":280,"range":{"start_line":279,"start_character":0,"end_line":280,"end_character":49},"in_reply_to":"df87a7cf_b1def03b","updated":"2017-12-19 03:19:46.000000000","message":"I think source cidr overlap is not allowed. As we focus on the subnet traffic.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7a1a8baa9dfa7899eda10cae4696db5b857cc3d8","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Other end user impact"},{"line_number":314,"context_line":"---------------------"},{"line_number":315,"context_line":"User should create a router with `PBR-aware` flavor, and associate a specific"},{"line_number":316,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":317,"context_line":"subnet."},{"line_number":318,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_f1d7984a","line":315,"range":{"start_line":315,"start_character":33,"end_line":315,"end_character":51},"updated":"2017-12-18 05:57:33.000000000","message":"how does it interact with the legacy (pre-flavor) stuff like dvr and ha?","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Other end user impact"},{"line_number":314,"context_line":"---------------------"},{"line_number":315,"context_line":"User should create a router with `PBR-aware` flavor, and associate a specific"},{"line_number":316,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":317,"context_line":"subnet."},{"line_number":318,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_c72a09e6","line":315,"range":{"start_line":315,"start_character":33,"end_line":315,"end_character":51},"in_reply_to":"7f96bb07_6881cc4a","updated":"2018-01-23 02:45:59.000000000","message":"Agree, how about a necessary check and a warning log sendout? :)","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Other end user impact"},{"line_number":314,"context_line":"---------------------"},{"line_number":315,"context_line":"User should create a router with `PBR-aware` flavor, and associate a specific"},{"line_number":316,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":317,"context_line":"subnet."},{"line_number":318,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f96bb07_6881cc4a","line":315,"range":{"start_line":315,"start_character":33,"end_line":315,"end_character":51},"in_reply_to":"df87a7cf_8ba83e20","updated":"2018-01-19 13:52:39.000000000","message":"i guess we should notify a user if he attempted to configure policies but his router doesn\u0027t support it. (rather than silently ignoring policies)","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"948727ab74e4b3a3dedf652b50183c158eb385d3","unresolved":false,"context_lines":[{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Other end user impact"},{"line_number":314,"context_line":"---------------------"},{"line_number":315,"context_line":"User should create a router with `PBR-aware` flavor, and associate a specific"},{"line_number":316,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":317,"context_line":"subnet."},{"line_number":318,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df87a7cf_8ba83e20","line":315,"range":{"start_line":315,"start_character":33,"end_line":315,"end_character":51},"in_reply_to":"df87a7cf_f1d7984a","updated":"2017-12-19 03:19:46.000000000","message":"If the pre-flavor not care about the \u0027PBR-aware\u0027, they are still not work with routing policies, even though users config some policies through API. But if update the pre-flavor and let them care about \u0027PBR-aware\u0027, I think for DVR/HA cases, the ip rule could be installed easily on the Router namespace, for DVR, we may need to concern that which l3 agent need to be installed the rules if we need.","commit_id":"84c46f88cfb23fb0e7b05cdf03c195808fbb657c"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The possible workflow is:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"1. VM A want to access Internet, first throw the network packets to its gateway"},{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_39f0dc90","line":79,"range":{"start_line":79,"start_character":39,"end_line":79,"end_character":45},"updated":"2017-12-22 00:24:27.000000000","message":"send","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The possible workflow is:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"1. VM A want to access Internet, first throw the network packets to its gateway"},{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_19f398a0","line":79,"range":{"start_line":79,"start_character":8,"end_line":79,"end_character":12},"updated":"2017-12-22 00:24:27.000000000","message":"wants","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The possible workflow is:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"1. VM A want to access Internet, first throw the network packets to its gateway"},{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_aea9fd7b","line":79,"range":{"start_line":79,"start_character":8,"end_line":79,"end_character":12},"in_reply_to":"bf8cb3f7_19f398a0","updated":"2017-12-22 08:54:29.000000000","message":"Done","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The possible workflow is:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"1. VM A want to access Internet, first throw the network packets to its gateway"},{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_4eb871c7","line":79,"range":{"start_line":79,"start_character":39,"end_line":79,"end_character":45},"in_reply_to":"bf8cb3f7_39f0dc90","updated":"2017-12-22 08:54:29.000000000","message":"Done","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."},{"line_number":83,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":84,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":85,"context_line":"   which locates on the high performance network."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_9934884c","line":83,"range":{"start_line":83,"start_character":14,"end_line":83,"end_character":19},"updated":"2017-12-22 00:24:27.000000000","message":"sends","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":80,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":81,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":82,"context_line":"   the general performance network."},{"line_number":83,"context_line":"2. VM B, also throw the network packets to its subnet interface, but check the"},{"line_number":84,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":85,"context_line":"   which locates on the high performance network."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_0eb269e7","line":83,"range":{"start_line":83,"start_character":14,"end_line":83,"end_character":19},"in_reply_to":"bf8cb3f7_9934884c","updated":"2017-12-22 08:54:29.000000000","message":"Done","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":88,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":89,"context_line":"coresponding routes can be provided for access the higher level of performance"},{"line_number":90,"context_line":"network."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_593e002a","line":89,"range":{"start_line":89,"start_character":0,"end_line":89,"end_character":12},"updated":"2017-12-22 00:24:27.000000000","message":"corresponding","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":88,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":89,"context_line":"coresponding routes can be provided for access the higher level of performance"},{"line_number":90,"context_line":"network."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_793bc437","line":89,"range":{"start_line":89,"start_character":20,"end_line":89,"end_character":39},"updated":"2017-12-22 00:24:27.000000000","message":"to","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":88,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":89,"context_line":"coresponding routes can be provided for access the higher level of performance"},{"line_number":90,"context_line":"network."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_2eb72dd8","line":89,"range":{"start_line":89,"start_character":0,"end_line":89,"end_character":12},"in_reply_to":"bf8cb3f7_593e002a","updated":"2017-12-22 08:54:29.000000000","message":"Done","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":88,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":89,"context_line":"coresponding routes can be provided for access the higher level of performance"},{"line_number":90,"context_line":"network."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_cecb2151","line":89,"range":{"start_line":89,"start_character":20,"end_line":89,"end_character":39},"in_reply_to":"bf8cb3f7_793bc437","updated":"2017-12-22 08:54:29.000000000","message":"Done","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        project_id varchar(255) DEFAULT NULL,"},{"line_number":146,"context_line":"        id varchar(36) NOT NULL PRIMARY KEY,"},{"line_number":147,"context_line":"        name varchar(255) DEFAULT NULL,"},{"line_number":148,"context_line":"        subnet_id varchar(36) NOT NULL,"},{"line_number":149,"context_line":"        CONSTRAINT routing_policies_ibfk_1` FOREIGN KEY ("},{"line_number":150,"context_line":"        subnet_id) REFERENCES subnets (id) ON DELETE CASCADE"},{"line_number":151,"context_line":"    );"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    CREATE TABLE routing_policy_rules ("}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_dc9afec3","line":150,"range":{"start_line":148,"start_character":8,"end_line":150,"end_character":60},"updated":"2017-12-22 00:24:27.000000000","message":"Why do we need the relationship with a subnet here? If we want policies to support more that subnet based routing in the future, the subnet information shouldn\u0027t be here.","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        project_id varchar(255) DEFAULT NULL,"},{"line_number":146,"context_line":"        id varchar(36) NOT NULL PRIMARY KEY,"},{"line_number":147,"context_line":"        name varchar(255) DEFAULT NULL,"},{"line_number":148,"context_line":"        subnet_id varchar(36) NOT NULL,"},{"line_number":149,"context_line":"        CONSTRAINT routing_policies_ibfk_1` FOREIGN KEY ("},{"line_number":150,"context_line":"        subnet_id) REFERENCES subnets (id) ON DELETE CASCADE"},{"line_number":151,"context_line":"    );"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    CREATE TABLE routing_policy_rules ("}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_ee9f054e","line":150,"range":{"start_line":148,"start_character":8,"end_line":150,"end_character":60},"in_reply_to":"bf8cb3f7_dc9afec3","updated":"2017-12-22 08:54:29.000000000","message":"hmmm, it\u0027s reasonable, but I also worried about the \u0027type\u0027 we proposed, now the type field is in \u0027routing_policy_rules\u0027, and there are already some field like \u0027source_ip_prefix\u0027 and \u0027dest_ip_prefix\u0027(will remove maybe) in that. So if we support more types in the future, how to extend it. A new table for new types? But I think this is a good way for extending new types through new table for it. So I have a idea for this current spec, that is split the \u0027source_ip_prefix\u0027 and \u0027dest_ip_prefix\u0027(will remove maybe) out of \u0027routing_policy_rules\u0027 table, but keep type there. Thought? ~\\(≧▽≦)/~","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":176,"context_line":"    );"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"For table ``routing_policies_router_association``, the record should be filled"},{"line_number":179,"context_line":"when the router created with \u0027PBR-aware\u0027 Flavor."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":".. note:: These tables are totally new, so please not care about the backward"},{"line_number":182,"context_line":"           compatible. There is no any existing records need to be migrated"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_5c94ae44","line":179,"updated":"2017-12-22 00:24:27.000000000","message":"This is an example of how the CLI looks like:\n\nAs admin:\n1. neutron flavor-create super_awesome L3_ROUTER_NAT\n2. neutron flavor-profile-create --driver \u0027neutron.services.l3_router.service_providers.dvr.DvrDriver\u0027\n3. neutron flavor-associate \u003cid from 1\u003e \u003cid from 2\u003e\n\nAs tenant:\n1. neutron flavor-list\n2. neutron router-create --flavor-id\u003d\u003cid of super_awesome flavor\u003e","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":176,"context_line":"    );"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"For table ``routing_policies_router_association``, the record should be filled"},{"line_number":179,"context_line":"when the router created with \u0027PBR-aware\u0027 Flavor."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":".. note:: These tables are totally new, so please not care about the backward"},{"line_number":182,"context_line":"           compatible. There is no any existing records need to be migrated"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_2ee2cd04","line":179,"in_reply_to":"bf8cb3f7_5c94ae44","updated":"2017-12-22 08:54:29.000000000","message":"awesome, thanks miguel, I will add the example in the spec.","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":210,"context_line":"|                   |         |       |      | admin users can specify a project     |"},{"line_number":211,"context_line":"|                   |         |       |      | identifier other than their own.      |"},{"line_number":212,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":213,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. This    |"},{"line_number":214,"context_line":"|                   |         |       |      | means the particular routing policy   |"},{"line_number":215,"context_line":"|                   |         |       |      | owned by which subnet, and when the   |"},{"line_number":216,"context_line":"|                   |         |       |      | subnet attach on a Router, also there |"},{"line_number":217,"context_line":"|                   |         |       |      | is a external gw attachment, then the |"},{"line_number":218,"context_line":"|                   |         |       |      | routing policy will be installed in   |"},{"line_number":219,"context_line":"|                   |         |       |      | the Router. Only admin/subnet owners  |"},{"line_number":220,"context_line":"|                   |         |       |      | can specify it.                       |"},{"line_number":221,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":222,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the routing policy  |"},{"line_number":223,"context_line":"|                   |         |       |      | rules. Admin/subnet owners can create |"},{"line_number":224,"context_line":"|                   |         |       |      | them and associate with a routing     |"},{"line_number":225,"context_line":"|                   |         |       |      | policy. This fields is only readable. |"},{"line_number":226,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"``routing_policy_rules`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_1c54e6c9","line":225,"range":{"start_line":213,"start_character":1,"end_line":225,"end_character":86},"updated":"2017-12-22 00:24:27.000000000","message":"Again, we don\u0027t need this here if a policy is going to be general enough to specify more than subnet based routing","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":210,"context_line":"|                   |         |       |      | admin users can specify a project     |"},{"line_number":211,"context_line":"|                   |         |       |      | identifier other than their own.      |"},{"line_number":212,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":213,"context_line":"| subnet_id         | uuid-str| Yes   | CR   | Relationship with the subnet. This    |"},{"line_number":214,"context_line":"|                   |         |       |      | means the particular routing policy   |"},{"line_number":215,"context_line":"|                   |         |       |      | owned by which subnet, and when the   |"},{"line_number":216,"context_line":"|                   |         |       |      | subnet attach on a Router, also there |"},{"line_number":217,"context_line":"|                   |         |       |      | is a external gw attachment, then the |"},{"line_number":218,"context_line":"|                   |         |       |      | routing policy will be installed in   |"},{"line_number":219,"context_line":"|                   |         |       |      | the Router. Only admin/subnet owners  |"},{"line_number":220,"context_line":"|                   |         |       |      | can specify it.                       |"},{"line_number":221,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":222,"context_line":"| route_rules       | List-str| No    | R    | Relationship with the routing policy  |"},{"line_number":223,"context_line":"|                   |         |       |      | rules. Admin/subnet owners can create |"},{"line_number":224,"context_line":"|                   |         |       |      | them and associate with a routing     |"},{"line_number":225,"context_line":"|                   |         |       |      | policy. This fields is only readable. |"},{"line_number":226,"context_line":"+-------------------+---------+-------+------+---------------------------------------+"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"``routing_policy_rules`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_4eddd112","line":225,"range":{"start_line":213,"start_character":1,"end_line":225,"end_character":86},"in_reply_to":"bf8cb3f7_1c54e6c9","updated":"2017-12-22 08:54:29.000000000","message":"keep here a while for your reply. :)","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":247,"context_line":"|                   |         |       |      | rules will group by ethertype and      |"},{"line_number":248,"context_line":"|                   |         |       |      | setting in different routing tables.   |"},{"line_number":249,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":250,"context_line":"| match-setting     | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":251,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":252,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":253,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_bc2cda47","line":250,"range":{"start_line":250,"start_character":2,"end_line":250,"end_character":16},"updated":"2017-12-22 00:24:27.000000000","message":"how about just match-set?","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":247,"context_line":"|                   |         |       |      | rules will group by ethertype and      |"},{"line_number":248,"context_line":"|                   |         |       |      | setting in different routing tables.   |"},{"line_number":249,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":250,"context_line":"| match-setting     | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":251,"context_line":"|                   |         |       |      | policy routing rule. It will contains  |"},{"line_number":252,"context_line":"|                   |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":253,"context_line":"|                   |         |       |      | such as source_ip_prefix,              |"}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_6ed8d552","line":250,"range":{"start_line":250,"start_character":2,"end_line":250,"end_character":16},"in_reply_to":"bf8cb3f7_bc2cda47","updated":"2017-12-22 08:54:29.000000000","message":"OK, thanks Miguel. :)","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":287,"context_line":"   {"},{"line_number":288,"context_line":"        \"routing_policy\": {"},{"line_number":289,"context_line":"            \"name\": \"sample route table\","},{"line_number":290,"context_line":"            \"subnet_id\": \"6ddb60c5-d80e-44e0-bc98-1aeb5541dbc2\""},{"line_number":291,"context_line":"        }"},{"line_number":292,"context_line":"   }"},{"line_number":293,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_dc043ec9","line":290,"range":{"start_line":290,"start_character":0,"end_line":290,"end_character":63},"updated":"2017-12-22 00:24:27.000000000","message":"We shouldn\u0027t have this here. See comments to L148 and L213 above","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":287,"context_line":"   {"},{"line_number":288,"context_line":"        \"routing_policy\": {"},{"line_number":289,"context_line":"            \"name\": \"sample route table\","},{"line_number":290,"context_line":"            \"subnet_id\": \"6ddb60c5-d80e-44e0-bc98-1aeb5541dbc2\""},{"line_number":291,"context_line":"        }"},{"line_number":292,"context_line":"   }"},{"line_number":293,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_ced001fb","line":290,"range":{"start_line":290,"start_character":0,"end_line":290,"end_character":63},"in_reply_to":"bf8cb3f7_dc043ec9","updated":"2017-12-22 08:54:29.000000000","message":"ditto","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":301,"context_line":"        \"routing_policy_rule\": {"},{"line_number":302,"context_line":"            \"name\": \"sample route rule\","},{"line_number":303,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":304,"context_line":"            \"match-setting\": {"},{"line_number":305,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":306,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":307,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_5c210e4d","line":304,"range":{"start_line":304,"start_character":13,"end_line":304,"end_character":26},"updated":"2017-12-22 00:24:27.000000000","message":"match-set?","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":301,"context_line":"        \"routing_policy_rule\": {"},{"line_number":302,"context_line":"            \"name\": \"sample route rule\","},{"line_number":303,"context_line":"            \"routing_policy_id\": \"3f1f24f3-0cf3-4935-9feb-8502e925e972\","},{"line_number":304,"context_line":"            \"match-setting\": {"},{"line_number":305,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":306,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":307,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_8e4af952","line":304,"range":{"start_line":304,"start_character":13,"end_line":304,"end_character":26},"in_reply_to":"bf8cb3f7_5c210e4d","updated":"2017-12-22 08:54:29.000000000","message":"Aha, Miguel, I think both of us have not a very good name for this field. O(∩_∩)O","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6bf1bb72e156790fbbf9fc002cd2c51fede982cd","unresolved":false,"context_lines":[{"line_number":304,"context_line":"            \"match-setting\": {"},{"line_number":305,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":306,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":307,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""},{"line_number":308,"context_line":"            },"},{"line_number":309,"context_line":"            \"nexthop\": \"24.188.50.61\","},{"line_number":310,"context_line":"            \"ethertype\": \"IPv4\""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_5ce6ee18","line":307,"range":{"start_line":307,"start_character":16,"end_line":307,"end_character":49},"updated":"2017-12-22 00:24:27.000000000","message":"seems odd that the match set name is \"SOURCE-SUBNET\" and we specify a destination prefix","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"8dff4469b70db169613cb344a9f38227779ddcae","unresolved":false,"context_lines":[{"line_number":304,"context_line":"            \"match-setting\": {"},{"line_number":305,"context_line":"                \"type\": \"SOURCE-SUBNET\","},{"line_number":306,"context_line":"                \"source_ip_prefix\": \"10.11.0.0/24\","},{"line_number":307,"context_line":"                \"dest_ip_prefix\": \"111.32.0.0/16\""},{"line_number":308,"context_line":"            },"},{"line_number":309,"context_line":"            \"nexthop\": \"24.188.50.61\","},{"line_number":310,"context_line":"            \"ethertype\": \"IPv4\""}],"source_content_type":"text/x-rst","patch_set":7,"id":"bf8cb3f7_6ea0d5f5","line":307,"range":{"start_line":307,"start_character":16,"end_line":307,"end_character":49},"in_reply_to":"bf8cb3f7_5ce6ee18","updated":"2017-12-22 08:54:29.000000000","message":"hmmm, I think this type, users can set \"source_ip_prefix\" which must be exist, and optional \"dest_ip_prefix\". hmmm, Does my understood is wrong? hmmm, if not allow \u0027dest_ip_prefix\u0027 here, how we could support it in the future? :)","commit_id":"29d8c21f015a03a21e6c39daff95ebb1857757cb"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ff01cf4b315370a5a7bdb3ac4a2cbaf9ef554c15","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":22,"context_line":"be from different network service providers, and have different network"},{"line_number":23,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":24,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":25,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":26,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":32,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":33,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":34,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":35,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":36,"context_line":"firstly. Also, this private env can not be exposed to the customer of user A,"},{"line_number":37,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":38,"context_line":"rules. So we need another way to process this traffic, like PBR [#foot1]_ on"},{"line_number":39,"context_line":"router. The traffic from each subnets which attached on this router, may need a"},{"line_number":40,"context_line":"individual route table for each subnet now."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_36e22005","line":40,"range":{"start_line":20,"start_character":0,"end_line":40,"end_character":43},"updated":"2018-01-03 00:31:45.000000000","message":"During the last drivers meetings this spec was discussed. One question that continues to be asked is why this cannot be solved by connecting each subnet to a different router. Can you clarify?","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"5ad9ed86891ef1298f1f017d23ec6e40db273ee0","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":22,"context_line":"be from different network service providers, and have different network"},{"line_number":23,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":24,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":25,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":26,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":32,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":33,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":34,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":35,"context_line":"internet) to pass through the cloud user A\u0027s private env to access the internet"},{"line_number":36,"context_line":"firstly. Also, this private env can not be exposed to the customer of user A,"},{"line_number":37,"context_line":"user A don\u0027t allow that the route table in VM inject the specified routing"},{"line_number":38,"context_line":"rules. So we need another way to process this traffic, like PBR [#foot1]_ on"},{"line_number":39,"context_line":"router. The traffic from each subnets which attached on this router, may need a"},{"line_number":40,"context_line":"individual route table for each subnet now."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_d21c00c3","line":40,"range":{"start_line":20,"start_character":0,"end_line":40,"end_character":43},"in_reply_to":"9f91af0f_36e22005","updated":"2018-01-04 09:37:52.000000000","message":"Hi Miguel, Thanks for let me know this question. I will try to explain the details. And wish you could point out the miss things. I\u0027ll wait for the review.","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ff01cf4b315370a5a7bdb3ac4a2cbaf9ef554c15","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Use case"},{"line_number":45,"context_line":"--------"},{"line_number":46,"context_line":"In real data center, there could be 2 or more network providers, as the company"},{"line_number":47,"context_line":"who run and maintain the data center doesn\u0027t want to be bound by a single"},{"line_number":48,"context_line":"network vendor. That means there are several multi-entry networks and all of"},{"line_number":49,"context_line":"them can be reached by Layer 3 like the picture below:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_f6e35804","line":46,"updated":"2018-01-03 00:31:45.000000000","message":"Same in this use case","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"5ad9ed86891ef1298f1f017d23ec6e40db273ee0","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Use case"},{"line_number":45,"context_line":"--------"},{"line_number":46,"context_line":"In real data center, there could be 2 or more network providers, as the company"},{"line_number":47,"context_line":"who run and maintain the data center doesn\u0027t want to be bound by a single"},{"line_number":48,"context_line":"network vendor. That means there are several multi-entry networks and all of"},{"line_number":49,"context_line":"them can be reached by Layer 3 like the picture below:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_52ea30ac","line":46,"in_reply_to":"9f91af0f_f6e35804","updated":"2018-01-04 09:37:52.000000000","message":"This is the same as the first use case below. :)","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ff01cf4b315370a5a7bdb3ac4a2cbaf9ef554c15","unresolved":false,"context_lines":[{"line_number":269,"context_line":"        },"},{"line_number":270,"context_line":"    }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Examples"},{"line_number":273,"context_line":"~~~~~~~~"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Create a ``routing_policies`` resource:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_16ab5c89","line":272,"range":{"start_line":272,"start_character":0,"end_line":272,"end_character":8},"updated":"2018-01-03 00:31:45.000000000","message":"The API calls depicted below are not examples, They are the actual API calls. So I would title this section \u0027ReST API calls\u0027","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"5ad9ed86891ef1298f1f017d23ec6e40db273ee0","unresolved":false,"context_lines":[{"line_number":269,"context_line":"        },"},{"line_number":270,"context_line":"    }"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Examples"},{"line_number":273,"context_line":"~~~~~~~~"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Create a ``routing_policies`` resource:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_a9f0f7ca","line":272,"range":{"start_line":272,"start_character":0,"end_line":272,"end_character":8},"in_reply_to":"9f91af0f_16ab5c89","updated":"2018-01-04 09:37:52.000000000","message":"Thanks for correct, Miguel. I will update this title.","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"ff01cf4b315370a5a7bdb3ac4a2cbaf9ef554c15","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Examples"},{"line_number":273,"context_line":"~~~~~~~~"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Create a ``routing_policies`` resource:"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":".. code-block:: none"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_d6941447","line":274,"updated":"2018-01-03 00:31:45.000000000","message":"How do we associate a routing policy with a router? Don\u0027t we need another ReST API call for that?","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"5ad9ed86891ef1298f1f017d23ec6e40db273ee0","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Examples"},{"line_number":273,"context_line":"~~~~~~~~"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Create a ``routing_policies`` resource:"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":".. code-block:: none"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_8c7c21ec","line":274,"in_reply_to":"9f91af0f_d6941447","updated":"2018-01-04 09:37:52.000000000","message":"hmm, good catch, miguel. That\u0027s Right. I just think about the \"SOURCE-SUBNET\" type rules, we can reuse the routerports table as it already store some information about the relationship of a router and a subnet. So just for \u0027SOURCE-SUBNET\u0027 type, we may not need the router_id, it can be automatic stored after router-interface operation. Otherwise, if we want to support more, we need the Router association API.","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"Examples"},{"line_number":273,"context_line":"~~~~~~~~"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Create a ``routing_policies`` resource:"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":".. code-block:: none"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9f91af0f_11176647","line":274,"in_reply_to":"9f91af0f_d6941447","updated":"2018-01-23 02:45:59.000000000","message":"hmm, in my opinion.","commit_id":"4a10b26bab98ff0e98ca919e683f48bc76c058be"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":44,"context_line":"The reason why we don\u0027t want multiple routers(connecting each subnet to a"},{"line_number":45,"context_line":"different Router) for the several use cases is:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"1. For the first use case, the real data center owned two network links"},{"line_number":48,"context_line":"   provided by different network service providers, in general, the manager"},{"line_number":49,"context_line":"   always don\u0027t wish the higher performance one exposed to users through any"},{"line_number":50,"context_line":"   ways, such as route info in VM, ``extra routes`` on Routers and etc. It is"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_3cbf3162","line":47,"updated":"2018-01-04 23:00:56.000000000","message":"Can fwaas policy applied to router ports restrict abuse of the better external connection?","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":44,"context_line":"The reason why we don\u0027t want multiple routers(connecting each subnet to a"},{"line_number":45,"context_line":"different Router) for the several use cases is:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"1. For the first use case, the real data center owned two network links"},{"line_number":48,"context_line":"   provided by different network service providers, in general, the manager"},{"line_number":49,"context_line":"   always don\u0027t wish the higher performance one exposed to users through any"},{"line_number":50,"context_line":"   ways, such as route info in VM, ``extra routes`` on Routers and etc. It is"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_850e1839","line":47,"in_reply_to":"9f91af0f_3cbf3162","updated":"2018-01-05 13:48:24.000000000","message":"Fwaas Policy can do this for the users vm which not pay for the better link. And send the packets to the default data center gw which is the worse ext link. But the ones who pay for it will routing to another router in this case.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":55,"context_line":"   Router\u0027s ``extra routes``."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"2. For the second use case, this one is still hide the backend and more"},{"line_number":58,"context_line":"   detailed flow control is required. And the A\u0027s private env hold the security"},{"line_number":59,"context_line":"   process, once the sensitive information is exposed, the whole env will be"},{"line_number":60,"context_line":"   under attack. So the best way is hide the private security env up."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_a78d6e7c","line":58,"updated":"2018-01-04 23:00:56.000000000","message":"I wonder if the fact that you need a more detailed flow control suggests that your needs may be better served in scope of SFC subproject that is dedicated to steer traffic based on detailed pattern matching.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":55,"context_line":"   Router\u0027s ``extra routes``."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"2. For the second use case, this one is still hide the backend and more"},{"line_number":58,"context_line":"   detailed flow control is required. And the A\u0027s private env hold the security"},{"line_number":59,"context_line":"   process, once the sensitive information is exposed, the whole env will be"},{"line_number":60,"context_line":"   under attack. So the best way is hide the private security env up."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_2851210f","line":58,"in_reply_to":"9f91af0f_a78d6e7c","updated":"2018-01-05 13:48:24.000000000","message":"We want to control the traffic as wish through the routing function. So I think we may put it into the l3 part. :). Also this is a low level stream control, not like SFC does more fine-grained. But I agree with you that it may like SFC. We wish the more/extend routing function should be supported in L3 part is better. Thought? :)","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":57,"context_line":"2. For the second use case, this one is still hide the backend and more"},{"line_number":58,"context_line":"   detailed flow control is required. And the A\u0027s private env hold the security"},{"line_number":59,"context_line":"   process, once the sensitive information is exposed, the whole env will be"},{"line_number":60,"context_line":"   under attack. So the best way is hide the private security env up."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"3. Finally, the reason is that the requirement about more detailed traffic"},{"line_number":63,"context_line":"   control and more complex routing. We can not get it through a subnet connect"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_7c81398f","line":60,"range":{"start_line":60,"start_character":18,"end_line":60,"end_character":69},"updated":"2018-01-04 23:00:56.000000000","message":"you don\u0027t really hide it if both machines are on the same network. maybe SFC would be a better fit here, stearing matching traffic to the \u0027private\u0027 port and allowing it to handle it.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"2. For the second use case, this one is still hide the backend and more"},{"line_number":58,"context_line":"   detailed flow control is required. And the A\u0027s private env hold the security"},{"line_number":59,"context_line":"   process, once the sensitive information is exposed, the whole env will be"},{"line_number":60,"context_line":"   under attack. So the best way is hide the private security env up."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"3. Finally, the reason is that the requirement about more detailed traffic"},{"line_number":63,"context_line":"   control and more complex routing. We can not get it through a subnet connect"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_e881f94b","line":60,"range":{"start_line":60,"start_character":18,"end_line":60,"end_character":69},"in_reply_to":"9f91af0f_7c81398f","updated":"2018-01-05 13:48:24.000000000","message":"hmmm, Thanks for raise this. I realy hard to think about it.. SFC may be over the top. I still think the proposed one is routing function. Maybe the description is not fit here, I will think about it.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":118,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":119,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":120,"context_line":"proposed first implementation will only support source subnet/address based"},{"line_number":121,"context_line":"routing. In the future, we can extend this to other routing criteria, like type"},{"line_number":122,"context_line":"of traffic, protocol, etc."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":125,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_e70e1631","line":122,"range":{"start_line":121,"start_character":9,"end_line":122,"end_character":26},"updated":"2018-01-04 23:00:56.000000000","message":"I would suggest we don\u0027t. We have a traffic classifier project to... classify traffic... and that\u0027s what we should use any time we see a need to stear traffic based on its patterns.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":118,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":119,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":120,"context_line":"proposed first implementation will only support source subnet/address based"},{"line_number":121,"context_line":"routing. In the future, we can extend this to other routing criteria, like type"},{"line_number":122,"context_line":"of traffic, protocol, etc."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":125,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_e8cfb9ad","line":122,"range":{"start_line":121,"start_character":9,"end_line":122,"end_character":26},"in_reply_to":"9f91af0f_e70e1631","updated":"2018-01-05 13:48:24.000000000","message":"I\u0027m not very familiar classifier project, but I saw it before. You mean we need to add a new layer for this function and do what we want? I will consider it and think about how to do. Yeah, maybe we can think about the affect of fw conflict here, and solve it with the classifier.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":131,"context_line":"the limitation of their real implementation, it could be different with this"},{"line_number":132,"context_line":"spec mentioned. So it is the right way to follow the L3 flavors or"},{"line_number":133,"context_line":"mutil-l3-backend approach to implement.That means a new service type"},{"line_number":134,"context_line":"``PBR-aware`` for this feature will be introduced. A service provider for"},{"line_number":135,"context_line":"routing rules will be added into the ``router_update`` info to the backends for"},{"line_number":136,"context_line":"this functionality. The main idea about this provider is simply that only"},{"line_number":137,"context_line":"subscribe the router events and insert the routing rules before sending out rpc"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_47d34261","line":134,"range":{"start_line":134,"start_character":2,"end_line":134,"end_character":5},"updated":"2018-01-04 23:00:56.000000000","message":"sorry for my ignorance but what\u0027s PBR?","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"90f12a4dfcda127261dd10932a4278a7294ed329","unresolved":false,"context_lines":[{"line_number":131,"context_line":"the limitation of their real implementation, it could be different with this"},{"line_number":132,"context_line":"spec mentioned. So it is the right way to follow the L3 flavors or"},{"line_number":133,"context_line":"mutil-l3-backend approach to implement.That means a new service type"},{"line_number":134,"context_line":"``PBR-aware`` for this feature will be introduced. A service provider for"},{"line_number":135,"context_line":"routing rules will be added into the ``router_update`` info to the backends for"},{"line_number":136,"context_line":"this functionality. The main idea about this provider is simply that only"},{"line_number":137,"context_line":"subscribe the router events and insert the routing rules before sending out rpc"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_4be104d0","line":134,"range":{"start_line":134,"start_character":2,"end_line":134,"end_character":5},"in_reply_to":"9f91af0f_47d34261","updated":"2018-01-05 10:13:54.000000000","message":"policy based routing or something like that i guess.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":131,"context_line":"the limitation of their real implementation, it could be different with this"},{"line_number":132,"context_line":"spec mentioned. So it is the right way to follow the L3 flavors or"},{"line_number":133,"context_line":"mutil-l3-backend approach to implement.That means a new service type"},{"line_number":134,"context_line":"``PBR-aware`` for this feature will be introduced. A service provider for"},{"line_number":135,"context_line":"routing rules will be added into the ``router_update`` info to the backends for"},{"line_number":136,"context_line":"this functionality. The main idea about this provider is simply that only"},{"line_number":137,"context_line":"subscribe the router events and insert the routing rules before sending out rpc"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_0838dd9d","line":134,"range":{"start_line":134,"start_character":2,"end_line":134,"end_character":5},"in_reply_to":"9f91af0f_4be104d0","updated":"2018-01-05 13:48:24.000000000","message":"Yeah, thanks YAMAMOTO. That\u0027s the PBR. I will add a reference link for it. Sorry for confuse.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"93f34dc0ef145a15f86ffb83a4a6dc4059e77ab0","unresolved":false,"context_lines":[{"line_number":219,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":220,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":221,"context_line":"``routing_policy_rules`` can access very similar parameters with"},{"line_number":222,"context_line":"Security Group Rules, such as ``ethertype``, ``ip-prefix`` and etc. Just"},{"line_number":223,"context_line":"mentioned above that in the first implementation, this spec will focus on"},{"line_number":224,"context_line":"source subnet/address based routing, and extend in the future. So introduce a"},{"line_number":225,"context_line":"field to ``routing-policy-rules``like ``type`` to expose the routing function,"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_e73cd6c0","line":222,"updated":"2018-01-04 23:00:56.000000000","message":"I don\u0027t want to see another place to classify traffic. Use traffic-classifier work to do it.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"1e1fd553d59d6dea5a4db4e59cb91881c77ad54a","unresolved":false,"context_lines":[{"line_number":219,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":220,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":221,"context_line":"``routing_policy_rules`` can access very similar parameters with"},{"line_number":222,"context_line":"Security Group Rules, such as ``ethertype``, ``ip-prefix`` and etc. Just"},{"line_number":223,"context_line":"mentioned above that in the first implementation, this spec will focus on"},{"line_number":224,"context_line":"source subnet/address based routing, and extend in the future. So introduce a"},{"line_number":225,"context_line":"field to ``routing-policy-rules``like ``type`` to expose the routing function,"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9f91af0f_884b8d29","line":222,"in_reply_to":"9f91af0f_e73cd6c0","updated":"2018-01-05 13:48:24.000000000","message":"Thanks, Ihar. I will re-consider this part with traffic-classifier.","commit_id":"e0bf38a8bcc254e260ac4a95291e9bb2d9947065"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":134,"context_line":"and then define or install the policy routing rules."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":137,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":138,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":139,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":140,"context_line":"router flavor ``PBR-aware`` that will allow an L3 agent to enforce the rules"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_c80020af","line":137,"range":{"start_line":137,"start_character":17,"end_line":137,"end_character":50},"updated":"2018-01-19 13:52:39.000000000","message":"i\u0027m not sure if i like the idea to configure routing rules to a subnet, rather than a router.\nwhat\u0027s wrong with associating policies to routers?","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":134,"context_line":"and then define or install the policy routing rules."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":137,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":138,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":139,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":140,"context_line":"router flavor ``PBR-aware`` that will allow an L3 agent to enforce the rules"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_2ca63455","line":137,"range":{"start_line":137,"start_character":17,"end_line":137,"end_character":50},"in_reply_to":"7f96bb07_c80020af","updated":"2018-01-23 02:45:59.000000000","message":"Associating policies with routers is Ok from implementation point of view. But for the SOURCE-SUBNET type policies, associating with subnets is good for logic separation, as the source_ips are all from the same subnet on a particular Router which also own the subnet interface.","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":281,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":282,"context_line":"| nexthop           | string  | Yes   | CRU  | The nexthop of the routing rule.       |"},{"line_number":283,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":284,"context_line":"| ethertype         | string  | Yes   | CRU  | The ethertype of the routing rule. The |"},{"line_number":285,"context_line":"|                   |         |       |      | values are Ipv4 or Ipv6. The routing   |"},{"line_number":286,"context_line":"|                   |         |       |      | rules will group by ethertype and      |"},{"line_number":287,"context_line":"|                   |         |       |      | setting in different routing tables.   |"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_c5a9e924","line":284,"range":{"start_line":284,"start_character":2,"end_line":284,"end_character":11},"updated":"2018-01-19 13:52:39.000000000","message":"i\u0027m not sure why you need ethertype here. isn\u0027t it obvious from match and nexthop?\n\nalso, why ethertype rather than, say, ip_version?","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":281,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":282,"context_line":"| nexthop           | string  | Yes   | CRU  | The nexthop of the routing rule.       |"},{"line_number":283,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":284,"context_line":"| ethertype         | string  | Yes   | CRU  | The ethertype of the routing rule. The |"},{"line_number":285,"context_line":"|                   |         |       |      | values are Ipv4 or Ipv6. The routing   |"},{"line_number":286,"context_line":"|                   |         |       |      | rules will group by ethertype and      |"},{"line_number":287,"context_line":"|                   |         |       |      | setting in different routing tables.   |"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_b1ba9f6b","line":284,"range":{"start_line":284,"start_character":2,"end_line":284,"end_character":11},"in_reply_to":"7f96bb07_c5a9e924","updated":"2018-01-23 02:45:59.000000000","message":"Thanks, TAMAMOTO, yeah. It is obvious. ip_version is good like your suggest. I think the reason need this field is good for show and group the routing table in different ip_version. This field is just like the security group things, the default value should be ipv4, also we can gurantee it by the match fields.","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":296,"context_line":""},{"line_number":297,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":298,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":299,"context_line":"           subnet, even though multiple nexthops split by protocol, protocol"},{"line_number":300,"context_line":"           port in the general environment. Then the ``routing_policy_rules``"},{"line_number":301,"context_line":"           are non-order in a particular ``routing_policy``."},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"``routing_rules_subnet_association`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_c5f1e997","line":300,"range":{"start_line":299,"start_character":19,"end_line":300,"end_character":42},"updated":"2018-01-19 13:52:39.000000000","message":"i failed to parse this sentence. can you explain?","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":296,"context_line":""},{"line_number":297,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":298,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":299,"context_line":"           subnet, even though multiple nexthops split by protocol, protocol"},{"line_number":300,"context_line":"           port in the general environment. Then the ``routing_policy_rules``"},{"line_number":301,"context_line":"           are non-order in a particular ``routing_policy``."},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"``routing_rules_subnet_association`` object attributes like:"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_4c3b80d0","line":300,"range":{"start_line":299,"start_character":19,"end_line":300,"end_character":42},"in_reply_to":"7f96bb07_c5f1e997","updated":"2018-01-23 02:45:59.000000000","message":"OK, sorry for making you confused. I think I could take an example, then it is good to understand this node.\n\nFor SOURCE-SUBNET type, at first we should not allow IP overlap, as we will match the src_ip_address fields of comming network packets. So for more scenarios support, we may support like:\n\nbackend\n----------\ntest-subnet 192.168.0.0/24\nunderlay network gwA 12.12.12.12\nunderlay network gwB 13.13.13.13\nVMX(192.168.0.3) on test-subnet\n\nThere are 2 routing policy rules here:\nfrom 192.168.0.3  udp(protocol) 82(protocol port) via gwA\nfrom 192.168.0.3  tcp(protocol) 80(protocol port) via gwB\n\nThen from the VMX traffic will have different nexthops by different protocol and protocol ports.","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ad6211c62355a5b74a2148707642b5ddc37b8d28","unresolved":false,"context_lines":[{"line_number":439,"context_line":""},{"line_number":440,"context_line":"Performance Impact"},{"line_number":441,"context_line":"------------------"},{"line_number":442,"context_line":"* This will reduce the Router online, because it need to process the"},{"line_number":443,"context_line":"  ``ip rule`` if requests."},{"line_number":444,"context_line":"* TBR"},{"line_number":445,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_e54ae5aa","line":442,"range":{"start_line":442,"start_character":2,"end_line":442,"end_character":36},"updated":"2018-01-19 13:52:39.000000000","message":"what do you mean?","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"fcd6021f05b42221d989a58027b5c9e557cf4239","unresolved":false,"context_lines":[{"line_number":439,"context_line":""},{"line_number":440,"context_line":"Performance Impact"},{"line_number":441,"context_line":"------------------"},{"line_number":442,"context_line":"* This will reduce the Router online, because it need to process the"},{"line_number":443,"context_line":"  ``ip rule`` if requests."},{"line_number":444,"context_line":"* TBR"},{"line_number":445,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7f96bb07_0c5498c9","line":442,"range":{"start_line":442,"start_character":2,"end_line":442,"end_character":36},"in_reply_to":"7f96bb07_e54ae5aa","updated":"2018-01-23 02:45:59.000000000","message":"Because there are some ip rules need to process in the Router namespace. Also need logic to judge and check which ip rule need to be installed. So I think it may cause a very small delay before the Router is usable.","commit_id":"f7836cc8ff82757da772bdb94e7f2ba00b6e58b5"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_7498c069","line":18,"updated":"2018-01-25 04:19:55.000000000","message":"See my comments to L20-28 and L30-42. I would start this section with a brief introduction, for example:\n\nUp until now, Neutron routers have offered the functionality of routing traffic based exclusively on its destination address. There are use cases, though, that can benefit from routing traffic based on the address of the source, possibly combined with other criteria. In the following section two such cases are explained","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_e053a6e1","line":18,"in_reply_to":"5f93b717_7498c069","updated":"2018-01-25 07:13:54.000000000","message":"Many thanks. I will do this. Thanks for suggestion. :)","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":22,"context_line":"be from different network service providers, and have different network"},{"line_number":23,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":24,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":25,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":26,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_1524dfc5","line":28,"range":{"start_line":20,"start_character":0,"end_line":28,"end_character":35},"updated":"2018-01-25 04:19:55.000000000","message":"The use case described in this first paragraph is the same as the one in in L78, right? If that is indeed the case, I think we would add to the clarity to this spec if we just remove L20-28 and focus on improving the explanation of this use case in L78-121. Otherwise, the spec is highly repetitive and difficult to read","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"A real data center may contain several external gateways to access external"},{"line_number":21,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":22,"context_line":"be from different network service providers, and have different network"},{"line_number":23,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":24,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":25,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":26,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_e0c88675","line":28,"range":{"start_line":20,"start_character":0,"end_line":28,"end_character":35},"in_reply_to":"5f93b717_1524dfc5","updated":"2018-01-25 07:13:54.000000000","message":"Yeah, L20 - L28 describe the same use case as L78. Good suggestion. I will remove the first paragraph. hmmm, combine the \"Problem Description\" with \"Use Case\" part may be more suitable. :). Oh I just saw the next comment, I will leave a very brief summary for these cases. And move the details to the “Use Cases” part.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":32,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":33,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":34,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":35,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":36,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":37,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":38,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":39,"context_line":"we need another way to process this traffic, like"},{"line_number":40,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":41,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":42,"context_line":"subnet now."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_10694dbd","line":42,"range":{"start_line":30,"start_character":0,"end_line":42,"end_character":11},"updated":"2018-01-25 04:19:55.000000000","message":"With this use case I recommend:\n\n1) Moving it to the \"Use cases\" section after L121, as a second use case.\n2) The description of this use case would benefit from a graphical depiction that the text explanation relates to. You can use a graph similar to the one you have in L85-100. You can also create a more graphical depiction with an office package and attach the resulting PDF to the spec. Here\u0027s an example on how to do that: https://review.openstack.org/#/c/486450/11/specs/queens/routed-networks-floating-ips.rst@70","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":27,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":28,"context_line":"specified traffic to other gateway."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":31,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":32,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":33,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":34,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":35,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":36,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":37,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":38,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":39,"context_line":"we need another way to process this traffic, like"},{"line_number":40,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":41,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":42,"context_line":"subnet now."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_00e1f29a","line":42,"range":{"start_line":30,"start_character":0,"end_line":42,"end_character":11},"in_reply_to":"5f93b717_10694dbd","updated":"2018-01-25 07:13:54.000000000","message":"Thanks, Miguel. I will reconstruct these paragraphs. hmmm, And think about how to image a graph to describe the use case 2. The graph is complex I think, so the simple picture like L85 is not suitable, yeah. PDF is good way and thanks for suggestion. I will try to post one. :)","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"The reason why we don\u0027t want multiple routers(connecting each subnet to a"},{"line_number":47,"context_line":"different Router) for the several use cases is:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. For the first use case, the real data center owned two network links"},{"line_number":50,"context_line":"   provided by different Internet Service Providers, in general, the manager"},{"line_number":51,"context_line":"   always don\u0027t wish the higher performance one exposed to users through any"},{"line_number":52,"context_line":"   ways, such as route info in VM, ``extra routes`` on Routers and etc to avoid"},{"line_number":53,"context_line":"   affecting the user experience. It is necessary to hide them for users, they"},{"line_number":54,"context_line":"   can only use their vms normally. If each subnet connects to a different"},{"line_number":55,"context_line":"   Router, users can know where the gateway hold a high performance link by the"},{"line_number":56,"context_line":"   dhcp requests. Even though, cloud manager add a new routing record to"},{"line_number":57,"context_line":"   routing the traffic to the new Router, users could also find a way to get"},{"line_number":58,"context_line":"   that information from Router\u0027s ``extra routes`` and may be risky for this"},{"line_number":59,"context_line":"   kind of sensitive information. And the multiple ISPs configuration is a very"},{"line_number":60,"context_line":"   common scenario with policy routing."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. For the second use case, this one is still try to hide the backend and more"},{"line_number":63,"context_line":"   detailed flow control is required based on different application requests."},{"line_number":64,"context_line":"   This is very similar with Neutron Service Function(SFC) case to steer some"},{"line_number":65,"context_line":"   specific traffic based on detailed pattern matching, but it is a low level"},{"line_number":66,"context_line":"   stream control not like SFC. Also, not each cloud env will deploy the SFC,"},{"line_number":67,"context_line":"   so it is necessary to extend the basic routing function than combining"},{"line_number":68,"context_line":"   several services for a basic requirement. Also it will be easier to use like"},{"line_number":69,"context_line":"   physical devices when there is a requirement want to migrate the traditional"},{"line_number":70,"context_line":"   environment to cloud. For multiple routers solution, it can not fit this"},{"line_number":71,"context_line":"   case as it can not split the traffic by application protocol."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"3. Finally, the reason is that the requirement about more complex routing. We"},{"line_number":74,"context_line":"   can not get it through a subnet connect multiple routers."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Use case"},{"line_number":77,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_34cb1854","line":74,"range":{"start_line":46,"start_character":0,"end_line":74,"end_character":60},"updated":"2018-01-25 04:19:55.000000000","message":"For the next revision, again, for clairty purposes, I would remove this section. You can add it back later depending on reviewers feedback","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"The reason why we don\u0027t want multiple routers(connecting each subnet to a"},{"line_number":47,"context_line":"different Router) for the several use cases is:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. For the first use case, the real data center owned two network links"},{"line_number":50,"context_line":"   provided by different Internet Service Providers, in general, the manager"},{"line_number":51,"context_line":"   always don\u0027t wish the higher performance one exposed to users through any"},{"line_number":52,"context_line":"   ways, such as route info in VM, ``extra routes`` on Routers and etc to avoid"},{"line_number":53,"context_line":"   affecting the user experience. It is necessary to hide them for users, they"},{"line_number":54,"context_line":"   can only use their vms normally. If each subnet connects to a different"},{"line_number":55,"context_line":"   Router, users can know where the gateway hold a high performance link by the"},{"line_number":56,"context_line":"   dhcp requests. Even though, cloud manager add a new routing record to"},{"line_number":57,"context_line":"   routing the traffic to the new Router, users could also find a way to get"},{"line_number":58,"context_line":"   that information from Router\u0027s ``extra routes`` and may be risky for this"},{"line_number":59,"context_line":"   kind of sensitive information. And the multiple ISPs configuration is a very"},{"line_number":60,"context_line":"   common scenario with policy routing."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. For the second use case, this one is still try to hide the backend and more"},{"line_number":63,"context_line":"   detailed flow control is required based on different application requests."},{"line_number":64,"context_line":"   This is very similar with Neutron Service Function(SFC) case to steer some"},{"line_number":65,"context_line":"   specific traffic based on detailed pattern matching, but it is a low level"},{"line_number":66,"context_line":"   stream control not like SFC. Also, not each cloud env will deploy the SFC,"},{"line_number":67,"context_line":"   so it is necessary to extend the basic routing function than combining"},{"line_number":68,"context_line":"   several services for a basic requirement. Also it will be easier to use like"},{"line_number":69,"context_line":"   physical devices when there is a requirement want to migrate the traditional"},{"line_number":70,"context_line":"   environment to cloud. For multiple routers solution, it can not fit this"},{"line_number":71,"context_line":"   case as it can not split the traffic by application protocol."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"3. Finally, the reason is that the requirement about more complex routing. We"},{"line_number":74,"context_line":"   can not get it through a subnet connect multiple routers."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Use case"},{"line_number":77,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_40005a35","line":74,"range":{"start_line":46,"start_character":0,"end_line":74,"end_character":60},"in_reply_to":"5f93b717_34cb1854","updated":"2018-01-25 07:13:54.000000000","message":"OK, remove it. :)","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b8ed9b2e5aa24a3515d863b88cf67642380d9e7a","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The simple usecase is like [#foot2]_"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"The reason why we don\u0027t want multiple routers(connecting each subnet to a"},{"line_number":47,"context_line":"different Router) for the several use cases is:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. For the first use case, the real data center owned two network links"},{"line_number":50,"context_line":"   provided by different Internet Service Providers, in general, the manager"},{"line_number":51,"context_line":"   always don\u0027t wish the higher performance one exposed to users through any"},{"line_number":52,"context_line":"   ways, such as route info in VM, ``extra routes`` on Routers and etc to avoid"},{"line_number":53,"context_line":"   affecting the user experience. It is necessary to hide them for users, they"},{"line_number":54,"context_line":"   can only use their vms normally. If each subnet connects to a different"},{"line_number":55,"context_line":"   Router, users can know where the gateway hold a high performance link by the"},{"line_number":56,"context_line":"   dhcp requests. Even though, cloud manager add a new routing record to"},{"line_number":57,"context_line":"   routing the traffic to the new Router, users could also find a way to get"},{"line_number":58,"context_line":"   that information from Router\u0027s ``extra routes`` and may be risky for this"},{"line_number":59,"context_line":"   kind of sensitive information. And the multiple ISPs configuration is a very"},{"line_number":60,"context_line":"   common scenario with policy routing."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. For the second use case, this one is still try to hide the backend and more"},{"line_number":63,"context_line":"   detailed flow control is required based on different application requests."},{"line_number":64,"context_line":"   This is very similar with Neutron Service Function(SFC) case to steer some"},{"line_number":65,"context_line":"   specific traffic based on detailed pattern matching, but it is a low level"},{"line_number":66,"context_line":"   stream control not like SFC. Also, not each cloud env will deploy the SFC,"},{"line_number":67,"context_line":"   so it is necessary to extend the basic routing function than combining"},{"line_number":68,"context_line":"   several services for a basic requirement. Also it will be easier to use like"},{"line_number":69,"context_line":"   physical devices when there is a requirement want to migrate the traditional"},{"line_number":70,"context_line":"   environment to cloud. For multiple routers solution, it can not fit this"},{"line_number":71,"context_line":"   case as it can not split the traffic by application protocol."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"3. Finally, the reason is that the requirement about more complex routing. We"},{"line_number":74,"context_line":"   can not get it through a subnet connect multiple routers."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Use case"},{"line_number":77,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_61c23236","line":74,"range":{"start_line":46,"start_character":0,"end_line":74,"end_character":60},"in_reply_to":"5f93b717_40005a35","updated":"2018-01-25 12:25:43.000000000","message":"we usually put this kind of stuff in \"Alternatives\" section.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_34d0f8f7","line":105,"range":{"start_line":105,"start_character":0,"end_line":105,"end_character":4},"updated":"2018-01-25 04:19:55.000000000","message":"wants","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_94046c7d","line":105,"range":{"start_line":105,"start_character":71,"end_line":105,"end_character":75},"updated":"2018-01-25 04:19:55.000000000","message":"wants","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_b405e87c","line":105,"range":{"start_line":105,"start_character":29,"end_line":105,"end_character":43},"updated":"2018-01-25 04:19:55.000000000","message":"with no specific performance","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_00fa5241","line":105,"range":{"start_line":105,"start_character":0,"end_line":105,"end_character":4},"in_reply_to":"5f93b717_34d0f8f7","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_a094bee9","line":105,"range":{"start_line":105,"start_character":71,"end_line":105,"end_character":75},"in_reply_to":"5f93b717_94046c7d","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":102,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_609eb608","line":105,"range":{"start_line":105,"start_character":29,"end_line":105,"end_character":43},"in_reply_to":"5f93b717_b405e87c","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_54f6e491","line":106,"range":{"start_line":106,"start_character":65,"end_line":106,"end_character":75},"updated":"2018-01-25 04:19:55.000000000","message":"requirement","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":103,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_80a3c24f","line":106,"range":{"start_line":106,"start_character":65,"end_line":106,"end_character":75},"in_reply_to":"5f93b717_54f6e491","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_343eb829","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":72},"updated":"2018-01-25 04:19:55.000000000","message":"traffic from and to different VMs in the same subnet be routed in a different way","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":104,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":105,"context_line":"want to access the Internet, no performance request. The owner of VM B want to"},{"line_number":106,"context_line":"access the Internet with high speed and good performance. So the requirment is"},{"line_number":107,"context_line":"that routing the traffic in different way towards VMs in the same subnet."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_20b18e90","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":72},"in_reply_to":"5f93b717_343eb829","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_b413a8b8","line":111,"range":{"start_line":111,"start_character":40,"end_line":111,"end_character":45},"updated":"2018-01-25 04:19:55.000000000","message":"sends","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_40ae1a2f","line":111,"range":{"start_line":111,"start_character":40,"end_line":111,"end_character":45},"in_reply_to":"5f93b717_b413a8b8","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_740d208f","line":112,"range":{"start_line":112,"start_character":53,"end_line":112,"end_character":57},"updated":"2018-01-25 04:19:55.000000000","message":"needs","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":109,"context_line":"The possible workflow is:"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_e0aac617","line":112,"range":{"start_line":112,"start_character":53,"end_line":112,"end_character":57},"in_reply_to":"5f93b717_740d208f","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_5424a40d","line":113,"range":{"start_line":113,"start_character":6,"end_line":113,"end_character":11},"updated":"2018-01-25 04:19:55.000000000","message":"checks","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_b47888f8","line":113,"range":{"start_line":113,"start_character":68,"end_line":113,"end_character":75},"updated":"2018-01-25 04:19:55.000000000","message":"is located","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_00a8121d","line":113,"range":{"start_line":113,"start_character":6,"end_line":113,"end_character":11},"in_reply_to":"5f93b717_5424a40d","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"1. VM A wants to access Internet, first send the network packets to its gateway"},{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_a0627e15","line":113,"range":{"start_line":113,"start_character":68,"end_line":113,"end_character":75},"in_reply_to":"5f93b717_b47888f8","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":117,"context_line":"   which locates on the high performance network."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"So both VM users could have different internet performance. If some VM users"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_54d7c4c0","line":116,"range":{"start_line":115,"start_character":65,"end_line":116,"end_character":47},"updated":"2018-01-25 04:19:55.000000000","message":"but given its source address, the other routing table is used, resulting in the selection of egwB as its gateway, which is located on the high performance network","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":112,"context_line":"   It must be the subnet interface. Then the traffic need to know the next hop,"},{"line_number":113,"context_line":"   so check the main route table, the default gateway is egwA which locates on"},{"line_number":114,"context_line":"   the general performance network."},{"line_number":115,"context_line":"2. VM B, also sends the network packets to its subnet interface, but check the"},{"line_number":116,"context_line":"   other route table(from subnet/particular IP), its default gateway is egwB"},{"line_number":117,"context_line":"   which locates on the high performance network."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"So both VM users could have different internet performance. If some VM users"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_c0678a25","line":116,"range":{"start_line":115,"start_character":65,"end_line":116,"end_character":47},"in_reply_to":"5f93b717_54d7c4c0","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":120,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":121,"context_line":"corresponding routes to access the higher level of performance network."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_34031845","line":121,"range":{"start_line":121,"start_character":24,"end_line":121,"end_character":70},"updated":"2018-01-25 04:19:55.000000000","message":"to provide a differentiated level of performance","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":120,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":121,"context_line":"corresponding routes to access the higher level of performance network."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_606c7608","line":121,"range":{"start_line":121,"start_character":24,"end_line":121,"end_character":70},"in_reply_to":"5f93b717_34031845","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Proposed Change"},{"line_number":125,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":128,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":129,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":130,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_3fc21187","line":127,"range":{"start_line":127,"start_character":44,"end_line":127,"end_character":51},"updated":"2018-01-25 04:19:55.000000000","message":"what is \u0027ip rule\u0027?","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Proposed Change"},{"line_number":125,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"The functionality could be completed with ``ip rule`` and some routing rules."},{"line_number":128,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":129,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":130,"context_line":"proposed first implementation will only support source subnet/address based"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_405cda4a","line":127,"range":{"start_line":127,"start_character":44,"end_line":127,"end_character":51},"in_reply_to":"5f93b717_3fc21187","updated":"2018-01-25 07:13:54.000000000","message":"It is a cmd from ip cmd.. We can install routing policy rules by it. I will add a reference link for this. :)","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":128,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":129,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":130,"context_line":"proposed first implementation will only support source subnet/address based"},{"line_number":131,"context_line":"routing. In the future, we can support this to other routing criteria, like"},{"line_number":132,"context_line":"type of traffic, protocol, etc. All of this will based on the"},{"line_number":133,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":134,"context_line":"and then define or install the policy routing rules."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_548584ac","line":131,"range":{"start_line":131,"start_character":39,"end_line":131,"end_character":46},"updated":"2018-01-25 04:19:55.000000000","message":"remove this","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":128,"context_line":"The route rules are like source routing, user/admin can specify the routing"},{"line_number":129,"context_line":"rules like from source IP/CIDR to nexthop which user/admin specified. The"},{"line_number":130,"context_line":"proposed first implementation will only support source subnet/address based"},{"line_number":131,"context_line":"routing. In the future, we can support this to other routing criteria, like"},{"line_number":132,"context_line":"type of traffic, protocol, etc. All of this will based on the"},{"line_number":133,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":134,"context_line":"and then define or install the policy routing rules."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_e0588657","line":131,"range":{"start_line":131,"start_character":39,"end_line":131,"end_character":46},"in_reply_to":"5f93b717_548584ac","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":133,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":134,"context_line":"and then define or install the policy routing rules."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":137,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":138,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":139,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":140,"context_line":"router flavor ``PBR-aware`` that will allow an L3 agent to enforce the rules"},{"line_number":141,"context_line":"being defined for the particular router implementation(HA or DVR, etc.). For"},{"line_number":142,"context_line":"other concerned, the existing routers may don\u0027t support this function, but as"},{"line_number":143,"context_line":"the limitation of their real implementation, it could be different with this"},{"line_number":144,"context_line":"spec mentioned. So it is the right way to follow the L3 flavors or"},{"line_number":145,"context_line":"mutil-l3-backend approach to implement.That means a new service type"},{"line_number":146,"context_line":"``PBR-aware`` for this feature will be introduced. A service provider for"},{"line_number":147,"context_line":"routing rules will be added into the ``router_update`` info to the backends for"},{"line_number":148,"context_line":"this functionality. The main idea about this provider is simply that only"},{"line_number":149,"context_line":"subscribe the router events and insert the routing rules before sending out rpc"},{"line_number":150,"context_line":"to l3 agent. The addition information must associated with subnets and routers"},{"line_number":151,"context_line":"if we focus on the subnet based routing now. Then the backend driver could get"},{"line_number":152,"context_line":"the routing info if necessary and implement it with its own way. For DVR and HA"},{"line_number":153,"context_line":"cases, the routing policy could be installed directly in the Router namespace,"},{"line_number":154,"context_line":"but for DVR, it is necessary to consider that which l3 agent need to process."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"For the existing routing rules, the less change is better. We will preserve the"},{"line_number":157,"context_line":"current behavior for the most part. The only difference will be the presence of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bfedc126","line":154,"range":{"start_line":136,"start_character":0,"end_line":154,"end_character":77},"updated":"2018-01-25 04:19:55.000000000","message":"This paragraph is very dense. I recommend listing the different components you describe here in separate bullet points, where you will explain what each one of those components does.. Also please avoid using the \u0027PBR-aware\u0027 term. It has created confusion. Maybe \u0027routing policy aware\u0027","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":133,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":134,"context_line":"and then define or install the policy routing rules."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this new function support, there is a requirement for Neutron API, users"},{"line_number":137,"context_line":"need an entry to set the routing rule for a subnet. We could have a \"language\""},{"line_number":138,"context_line":"similar to security groups that contain security group rules. So expose a"},{"line_number":139,"context_line":"service plugin which providing an API for defining the routing rules and a"},{"line_number":140,"context_line":"router flavor ``PBR-aware`` that will allow an L3 agent to enforce the rules"},{"line_number":141,"context_line":"being defined for the particular router implementation(HA or DVR, etc.). For"},{"line_number":142,"context_line":"other concerned, the existing routers may don\u0027t support this function, but as"},{"line_number":143,"context_line":"the limitation of their real implementation, it could be different with this"},{"line_number":144,"context_line":"spec mentioned. So it is the right way to follow the L3 flavors or"},{"line_number":145,"context_line":"mutil-l3-backend approach to implement.That means a new service type"},{"line_number":146,"context_line":"``PBR-aware`` for this feature will be introduced. A service provider for"},{"line_number":147,"context_line":"routing rules will be added into the ``router_update`` info to the backends for"},{"line_number":148,"context_line":"this functionality. The main idea about this provider is simply that only"},{"line_number":149,"context_line":"subscribe the router events and insert the routing rules before sending out rpc"},{"line_number":150,"context_line":"to l3 agent. The addition information must associated with subnets and routers"},{"line_number":151,"context_line":"if we focus on the subnet based routing now. Then the backend driver could get"},{"line_number":152,"context_line":"the routing info if necessary and implement it with its own way. For DVR and HA"},{"line_number":153,"context_line":"cases, the routing policy could be installed directly in the Router namespace,"},{"line_number":154,"context_line":"but for DVR, it is necessary to consider that which l3 agent need to process."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"For the existing routing rules, the less change is better. We will preserve the"},{"line_number":157,"context_line":"current behavior for the most part. The only difference will be the presence of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_c01eaa6f","line":154,"range":{"start_line":136,"start_character":0,"end_line":154,"end_character":77},"in_reply_to":"5f93b717_bfedc126","updated":"2018-01-25 07:13:54.000000000","message":"Thanks, rework this part. I just remember the field name from armax, haha, so I reuse it. Will change the name.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":158,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_ffbb490b","line":161,"range":{"start_line":161,"start_character":26,"end_line":161,"end_character":30},"updated":"2018-01-25 04:19:55.000000000","message":"act","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":158,"context_line":"new rules that will route based on certain source CIDRs/IPs. For source"},{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_60131668","line":161,"range":{"start_line":161,"start_character":26,"end_line":161,"end_character":30},"in_reply_to":"5f93b717_ffbb490b","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_3f477120","line":162,"range":{"start_line":162,"start_character":75,"end_line":162,"end_character":79},"updated":"2018-01-25 04:19:55.000000000","message":"act","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_7f45f916","line":162,"range":{"start_line":162,"start_character":15,"end_line":162,"end_character":25},"updated":"2018-01-25 04:19:55.000000000","message":"are deployed","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_200d0e3e","line":162,"range":{"start_line":162,"start_character":75,"end_line":162,"end_character":79},"in_reply_to":"5f93b717_3f477120","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":159,"context_line":"CIDRs/IPs that have not been setup by the user in the new way, the router will"},{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_400a9a26","line":162,"range":{"start_line":162,"start_character":15,"end_line":162,"end_character":25},"in_reply_to":"5f93b717_7f45f916","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"},{"line_number":166,"context_line":"apply this subnet routing function into current implementation."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bf64e1ba","line":163,"range":{"start_line":163,"start_character":62,"end_line":163,"end_character":68},"updated":"2018-01-25 04:19:55.000000000","message":"affects","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":160,"context_line":"behave exactly the same as the current routers. For ``subnetroutes`` in subnet"},{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"},{"line_number":166,"context_line":"apply this subnet routing function into current implementation."}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_e0064621","line":163,"range":{"start_line":163,"start_character":62,"end_line":163,"end_character":68},"in_reply_to":"5f93b717_bf64e1ba","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"},{"line_number":166,"context_line":"apply this subnet routing function into current implementation."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_7f5e59e7","line":164,"range":{"start_line":164,"start_character":50,"end_line":164,"end_character":58},"updated":"2018-01-25 04:19:55.000000000","message":"see comment to L127","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":161,"context_line":"resource, the routes will acts in the VM instances. For ``routes`` in router"},{"line_number":162,"context_line":"resource which introduced by `extraroutes`` extension, the ``routes`` will acts"},{"line_number":163,"context_line":"on the main route table in the default Router namespace which affect the whole"},{"line_number":164,"context_line":"routing functionality. There is no conflict with ``ip rule``, as it will define"},{"line_number":165,"context_line":"new route table for a particular subnet, cidr or IPs. So what to do is how to"},{"line_number":166,"context_line":"apply this subnet routing function into current implementation."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_00049216","line":164,"range":{"start_line":164,"start_character":50,"end_line":164,"end_character":58},"in_reply_to":"5f93b717_7f5e59e7","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":166,"context_line":"apply this subnet routing function into current implementation."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"The subnet\u0027s routing policy must be installed in Router namespace when the"},{"line_number":169,"context_line":"subnet attached on the Router and the Router already accessed external network"},{"line_number":170,"context_line":"(there is a gateway port on the Router). This would be valid for the scenarios"},{"line_number":171,"context_line":"described in this spec."},{"line_number":172,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_ff69098b","line":169,"range":{"start_line":169,"start_character":7,"end_line":169,"end_character":16},"updated":"2018-01-25 04:19:55.000000000","message":"is attached","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":166,"context_line":"apply this subnet routing function into current implementation."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"The subnet\u0027s routing policy must be installed in Router namespace when the"},{"line_number":169,"context_line":"subnet attached on the Router and the Router already accessed external network"},{"line_number":170,"context_line":"(there is a gateway port on the Router). This would be valid for the scenarios"},{"line_number":171,"context_line":"described in this spec."},{"line_number":172,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_d4fe6f04","line":169,"range":{"start_line":169,"start_character":7,"end_line":169,"end_character":16},"in_reply_to":"5f93b717_ff69098b","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":196,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":197,"context_line":"    );"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":200,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":201,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":202,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_1fcb9553","line":199,"updated":"2018-01-25 04:19:55.000000000","message":"I don\u0027t get why we need to associate the rules to the subnet. We associate routing policies to routers and those policies contain rules, right?","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":196,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":197,"context_line":"    );"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":200,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":201,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":202,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_f4884b72","line":199,"in_reply_to":"5f93b717_1fcb9553","updated":"2018-01-25 07:13:54.000000000","message":"For SOURCE-SUBNET type, It will associate with subnets, but the routing policies/rules will be installed on the Routers which own the subnet interface.\n\nMy thought is the source based routing, the source IP addresses or CIDR is from subnets. So I think associating them with subnets is better to understand and management.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"85eb62602e08a5c75982a21349d19f2b7186ca3f","unresolved":false,"context_lines":[{"line_number":196,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":197,"context_line":"    );"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":200,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":201,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":202,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bb3dc3bc","line":199,"in_reply_to":"5f93b717_8103be42","updated":"2018-01-25 15:21:37.000000000","message":"Thanks for review, YAMAMOTO.\nFor 1, yeah. It seems a router field. :) But,\nMy view stands on the good management behavior. What traffic will pass through the Router, the traffic from/to the subnets which are located on this Router. So it seems a existing relationship. I willing to raise the discuss about this. :). Also wish to find a better way/perfect suggestion from you guys.\n\nFor 2, hmmm, if there are 2 rules:\n1) SOURCE-SUBNET type\n2) TCP traffic type\nYeah, it is true that we apply a single one or both of them, the router will act very different function.. I\u0027m not sure whether this can be solved by intro a ip rule priority mechnism. I think I\u0027m not ready for sample it now, I need to consider this.\n\nThanks, YAMAMOTO. I will keep this for the next patch and waiting for your feedback.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b8ed9b2e5aa24a3515d863b88cf67642380d9e7a","unresolved":false,"context_lines":[{"line_number":196,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":197,"context_line":"    );"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":200,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":201,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":202,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_8103be42","line":199,"in_reply_to":"5f93b717_f4884b72","updated":"2018-01-25 12:25:43.000000000","message":"1. it\u0027s easier for me to understand if a policy is associated to routers rather than subnets, even for SOURCE-SUBNET type.\n\n2. do you have examples of possible types other than SOURCE-SUBNET?  can a policy have SOURCE-SUBNET rules and other, say TYPE-X rules?  what to do if it doesn\u0027t make sense to associate the TYPE-X rules to subnets?","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":223,"context_line":"           will act differently based on the ``type`` values."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"For table ``routing_policies_router_association``, the record should be filled"},{"line_number":226,"context_line":"when the router created with ``PBR-aware`` Flavor."},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_9fbb25e4","line":226,"range":{"start_line":226,"start_character":31,"end_line":226,"end_character":40},"updated":"2018-01-25 04:19:55.000000000","message":"routing policy aware?","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":223,"context_line":"           will act differently based on the ``type`` values."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"For table ``routing_policies_router_association``, the record should be filled"},{"line_number":226,"context_line":"when the router created with ``PBR-aware`` Flavor."},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_b482c34e","line":226,"range":{"start_line":226,"start_character":31,"end_line":226,"end_character":40},"in_reply_to":"5f93b717_9fbb25e4","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"},{"line_number":230,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":231,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":232,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":233,"context_line":"``routing_policy_rules`` can access very similar parameters with"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bfc06152","line":230,"range":{"start_line":230,"start_character":0,"end_line":230,"end_character":16},"updated":"2018-01-25 04:19:55.000000000","message":"New API resources","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"},{"line_number":230,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":231,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":232,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":233,"context_line":"``routing_policy_rules`` can access very similar parameters with"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_5497bf91","line":230,"range":{"start_line":230,"start_character":0,"end_line":230,"end_character":16},"in_reply_to":"5f93b717_bfc06152","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"},{"line_number":230,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":231,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":232,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":233,"context_line":"``routing_policy_rules`` can access very similar parameters with"},{"line_number":234,"context_line":"Security Group Rules, such as ``ethertype``, ``ip-prefix`` and etc. Just"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bfa5c1b7","line":231,"range":{"start_line":231,"start_character":7,"end_line":231,"end_character":43},"updated":"2018-01-25 04:19:55.000000000","message":"and they will be similar to Security Groups and Rules","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":228,"context_line":"REST API Impact"},{"line_number":229,"context_line":"---------------"},{"line_number":230,"context_line":"A new api named ``/routing-policies`` and ``/routing-policy-rules`` will be"},{"line_number":231,"context_line":"added, and we can use like a Security Group. The ``routing_policies`` is like"},{"line_number":232,"context_line":"current Security Group, it is a set of ``routing_policy_rules``. The"},{"line_number":233,"context_line":"``routing_policy_rules`` can access very similar parameters with"},{"line_number":234,"context_line":"Security Group Rules, such as ``ethertype``, ``ip-prefix`` and etc. Just"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_1491379a","line":231,"range":{"start_line":231,"start_character":7,"end_line":231,"end_character":43},"in_reply_to":"5f93b717_bfa5c1b7","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":312,"context_line":"| subnet_id              | uuid-str| N/A   | R    | The associated subnet id.         |"},{"line_number":313,"context_line":"+------------------------+---------+-------+------+-----------------------------------+"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":318,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                            |"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_ffc10930","line":315,"updated":"2018-01-25 04:19:55.000000000","message":"See comment to L199","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":312,"context_line":"| subnet_id              | uuid-str| N/A   | R    | The associated subnet id.         |"},{"line_number":313,"context_line":"+------------------------+---------+-------+------+-----------------------------------+"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"+-------------------+---------+-------+------+----------------------------------------+"},{"line_number":318,"context_line":"| Attribute         | Type    | Req   | CRUD | Description                            |"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_d4042fc9","line":315,"in_reply_to":"5f93b717_ffc10930","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":327,"context_line":""},{"line_number":328,"context_line":".. code-block:: python"},{"line_number":329,"context_line":""},{"line_number":330,"context_line":"    EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":331,"context_line":"        \u0027subnets\u0027: {"},{"line_number":332,"context_line":"             \u0027routing_policies\u0027:"},{"line_number":333,"context_line":"                 {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_bfe141d3","line":330,"updated":"2018-01-25 04:19:55.000000000","message":"see comment to L199","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":327,"context_line":""},{"line_number":328,"context_line":".. code-block:: python"},{"line_number":329,"context_line":""},{"line_number":330,"context_line":"    EXTENDED_ATTRIBUTES_2_0 \u003d {"},{"line_number":331,"context_line":"        \u0027subnets\u0027: {"},{"line_number":332,"context_line":"             \u0027routing_policies\u0027:"},{"line_number":333,"context_line":"                 {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_940ea7e3","line":330,"in_reply_to":"5f93b717_bfe141d3","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Other end user impact"},{"line_number":421,"context_line":"---------------------"},{"line_number":422,"context_line":"User should create a router with ``PBR-aware`` flavor, and associate a specific"},{"line_number":423,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":424,"context_line":"subnet with ``SOURCE-SUBNET`` type."},{"line_number":425,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_7f04197c","line":422,"range":{"start_line":422,"start_character":34,"end_line":422,"end_character":44},"updated":"2018-01-25 04:19:55.000000000","message":"See my previous comments about this term","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Other end user impact"},{"line_number":421,"context_line":"---------------------"},{"line_number":422,"context_line":"User should create a router with ``PBR-aware`` flavor, and associate a specific"},{"line_number":423,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":424,"context_line":"subnet with ``SOURCE-SUBNET`` type."},{"line_number":425,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_14e61746","line":422,"range":{"start_line":422,"start_character":34,"end_line":422,"end_character":44},"in_reply_to":"5f93b717_7f04197c","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":423,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":424,"context_line":"subnet with ``SOURCE-SUBNET`` type."},{"line_number":425,"context_line":""},{"line_number":426,"context_line":"There is an example for how to create a router with ``PBR-aware``"},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"For admin users:"},{"line_number":429,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_7f12d9b3","line":426,"range":{"start_line":426,"start_character":53,"end_line":426,"end_character":63},"updated":"2018-01-25 04:19:55.000000000","message":"Ditto","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":423,"context_line":"service provider, then User can use this function for routing traffic based on"},{"line_number":424,"context_line":"subnet with ``SOURCE-SUBNET`` type."},{"line_number":425,"context_line":""},{"line_number":426,"context_line":"There is an example for how to create a router with ``PBR-aware``"},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"For admin users:"},{"line_number":429,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_34e31336","line":426,"range":{"start_line":426,"start_character":53,"end_line":426,"end_character":63},"in_reply_to":"5f93b717_7f12d9b3","updated":"2018-01-25 07:13:54.000000000","message":"Done","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6c460b5920d7d7affbe36da213e53c456fe160fd","unresolved":false,"context_lines":[{"line_number":427,"context_line":""},{"line_number":428,"context_line":"For admin users:"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"1. neutron flavor-create aware_PBR L3_ROUTER_NAT"},{"line_number":431,"context_line":"2. neutron flavor-profile-create --driver \u0027PBR-AWARED Driver\u0027"},{"line_number":432,"context_line":"3. neutron flavor-associate \u003cid from 1\u003e \u003cid from 2\u003e"},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Then tenant users can use the flavor to create routers:"},{"line_number":435,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_df20cdfa","line":432,"range":{"start_line":430,"start_character":0,"end_line":432,"end_character":51},"updated":"2018-01-25 04:19:55.000000000","message":"How does this relate to the API described above?","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"f663a5af15d8aca2bc97fbdc81168165f815f2f6","unresolved":false,"context_lines":[{"line_number":427,"context_line":""},{"line_number":428,"context_line":"For admin users:"},{"line_number":429,"context_line":""},{"line_number":430,"context_line":"1. neutron flavor-create aware_PBR L3_ROUTER_NAT"},{"line_number":431,"context_line":"2. neutron flavor-profile-create --driver \u0027PBR-AWARED Driver\u0027"},{"line_number":432,"context_line":"3. neutron flavor-associate \u003cid from 1\u003e \u003cid from 2\u003e"},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Then tenant users can use the flavor to create routers:"},{"line_number":435,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f93b717_54733f81","line":432,"range":{"start_line":430,"start_character":0,"end_line":432,"end_character":51},"in_reply_to":"5f93b717_df20cdfa","updated":"2018-01-25 07:13:54.000000000","message":"Tell the users what need to be done before creating a Router with \"routing policy aware\". That is how to create a service provider which wrapped by a flavor.","commit_id":"f15977c524422c367802c6fe2e37f4e425e3805d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Case 1"},{"line_number":29,"context_line":"~~~~~~"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_4344ac1b","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":9},"updated":"2018-01-27 01:50:55.000000000","message":"A","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Case 1"},{"line_number":29,"context_line":"~~~~~~"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_069eb253","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":9},"in_reply_to":"5f93b717_4344ac1b","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":29,"context_line":"~~~~~~"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_0346a422","line":32,"range":{"start_line":32,"start_character":62,"end_line":32,"end_character":74},"updated":"2018-01-27 01:50:55.000000000","message":"The gateways","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":29,"context_line":"~~~~~~"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a6ac9e8c","line":32,"range":{"start_line":32,"start_character":62,"end_line":32,"end_character":74},"in_reply_to":"5f93b717_0346a422","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_235ac0f2","line":33,"range":{"start_line":33,"start_character":64,"end_line":33,"end_character":71},"updated":"2018-01-27 01:50:55.000000000","message":"please remove. too iterative","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_c6a76aa7","line":33,"range":{"start_line":33,"start_character":64,"end_line":33,"end_character":71},"in_reply_to":"5f93b717_235ac0f2","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_435d8ce7","line":34,"range":{"start_line":34,"start_character":12,"end_line":34,"end_character":19},"updated":"2018-01-27 01:50:55.000000000","message":"characteristics","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":31,"context_line":"In a real data center may contain several external gateways to access external"},{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_66b8d6c7","line":34,"range":{"start_line":34,"start_character":12,"end_line":34,"end_character":19},"in_reply_to":"5f93b717_435d8ce7","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_838dd432","line":35,"range":{"start_line":35,"start_character":19,"end_line":35,"end_character":22},"updated":"2018-01-27 01:50:55.000000000","message":"a","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_4387cc10","line":35,"range":{"start_line":35,"start_character":43,"end_line":35,"end_character":50},"updated":"2018-01-27 01:50:55.000000000","message":"a network","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_46b59acc","line":35,"range":{"start_line":35,"start_character":43,"end_line":35,"end_character":50},"in_reply_to":"5f93b717_4387cc10","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":32,"context_line":"network. The VM instances can access all of them in L3 layer. Each gateway may"},{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e6cb8650","line":35,"range":{"start_line":35,"start_character":19,"end_line":35,"end_character":22},"in_reply_to":"5f93b717_838dd432","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_c372fc49","line":36,"range":{"start_line":36,"start_character":48,"end_line":36,"end_character":51},"updated":"2018-01-27 01:50:55.000000000","message":"owns","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":33,"context_line":"be from different network service providers, and have different network"},{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_06c79247","line":36,"range":{"start_line":36,"start_character":48,"end_line":36,"end_character":51},"in_reply_to":"5f93b717_c372fc49","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_8392b44a","line":37,"range":{"start_line":37,"start_character":14,"end_line":37,"end_character":18},"updated":"2018-01-27 01:50:55.000000000","message":"VMs","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_439cac5c","line":37,"range":{"start_line":37,"start_character":33,"end_line":37,"end_character":35},"updated":"2018-01-27 01:50:55.000000000","message":"are","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a6c57e3e","line":37,"range":{"start_line":37,"start_character":33,"end_line":37,"end_character":35},"in_reply_to":"5f93b717_439cac5c","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":34,"context_line":"performance indexes(such as stability, bandwidth, speed). Cloud users may want"},{"line_number":35,"context_line":"to make the VMs in the specified subnet of network to route the traffic from"},{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_c6c0ca2d","line":37,"range":{"start_line":37,"start_character":14,"end_line":37,"end_character":18},"in_reply_to":"5f93b717_8392b44a","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"::"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_23b2c0e7","line":40,"range":{"start_line":39,"start_character":36,"end_line":40,"end_character":6},"updated":"2018-01-27 01:50:55.000000000","message":"This situation is shown in the following picture","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":36,"context_line":"some specified source IP/CIDR to the site which own the best connection line."},{"line_number":37,"context_line":"But the other VM\u0027s traffic which is located on other subnets in the same"},{"line_number":38,"context_line":"network pass through the original gateway as default. So we need to route the"},{"line_number":39,"context_line":"specified traffic to other gateway. All things can be showed by the picture"},{"line_number":40,"context_line":"below:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"::"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_66dd3613","line":40,"range":{"start_line":39,"start_character":36,"end_line":40,"end_character":6},"in_reply_to":"5f93b717_23b2c0e7","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":62,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":63,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":64,"context_line":"wants to access the Internet, with no specific performance request. The owner"},{"line_number":65,"context_line":"of VM B wants to access the Internet with high speed and good performance. So"},{"line_number":66,"context_line":"the requirement is traffic from and to different VMs in the same subnet be"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_03c78447","line":63,"range":{"start_line":63,"start_character":65,"end_line":63,"end_character":71},"updated":"2018-01-27 01:50:55.000000000","message":"who","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As this picture shows, there are 2 VMs in the same subnet. And 2 different"},{"line_number":62,"context_line":"network vendors providing different levels of performance, with vendor Y"},{"line_number":63,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":64,"context_line":"wants to access the Internet, with no specific performance request. The owner"},{"line_number":65,"context_line":"of VM B wants to access the Internet with high speed and good performance. So"},{"line_number":66,"context_line":"the requirement is traffic from and to different VMs in the same subnet be"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_86e082ce","line":63,"range":{"start_line":63,"start_character":65,"end_line":63,"end_character":71},"in_reply_to":"5f93b717_03c78447","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":63,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":64,"context_line":"wants to access the Internet, with no specific performance request. The owner"},{"line_number":65,"context_line":"of VM B wants to access the Internet with high speed and good performance. So"},{"line_number":66,"context_line":"the requirement is traffic from and to different VMs in the same subnet be"},{"line_number":67,"context_line":"routed in a different way."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"The possible workflow is:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_23008067","line":66,"range":{"start_line":66,"start_character":19,"end_line":66,"end_character":26},"updated":"2018-01-27 01:50:55.000000000","message":"that traffic","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":63,"context_line":"delivering the higher level.The owner of VM A is a general user, he/she just"},{"line_number":64,"context_line":"wants to access the Internet, with no specific performance request. The owner"},{"line_number":65,"context_line":"of VM B wants to access the Internet with high speed and good performance. So"},{"line_number":66,"context_line":"the requirement is traffic from and to different VMs in the same subnet be"},{"line_number":67,"context_line":"routed in a different way."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"The possible workflow is:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_26e72ee7","line":66,"range":{"start_line":66,"start_character":19,"end_line":66,"end_character":26},"in_reply_to":"5f93b717_23008067","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":77,"context_line":"   of egwB as its gateway, which is located on the high performance network."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":80,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":81,"context_line":"corresponding routes to provide a differentiated level of performance."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Case 2"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_632be8ea","line":80,"range":{"start_line":80,"start_character":40,"end_line":80,"end_character":43},"updated":"2018-01-27 01:50:55.000000000","message":"don\u0027t","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":77,"context_line":"   of egwB as its gateway, which is located on the high performance network."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"So both VM users could have different internet performance. If some VM users"},{"line_number":80,"context_line":"pay for QoS/performance, but the others not, the cloud admin could define the"},{"line_number":81,"context_line":"corresponding routes to provide a differentiated level of performance."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Case 2"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e6d066fa","line":80,"range":{"start_line":80,"start_character":40,"end_line":80,"end_character":43},"in_reply_to":"5f93b717_632be8ea","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_831714a4","line":86,"range":{"start_line":86,"start_character":0,"end_line":86,"end_character":12},"updated":"2018-01-27 01:50:55.000000000","message":"Another","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_230e408d","line":86,"range":{"start_line":86,"start_character":21,"end_line":86,"end_character":25},"updated":"2018-01-27 01:50:55.000000000","message":"is one where","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_43110cac","line":86,"range":{"start_line":86,"start_character":39,"end_line":86,"end_character":47},"updated":"2018-01-27 01:50:55.000000000","message":"launches","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_06cc725f","line":86,"range":{"start_line":86,"start_character":21,"end_line":86,"end_character":25},"in_reply_to":"5f93b717_230e408d","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a6da5e14","line":86,"range":{"start_line":86,"start_character":39,"end_line":86,"end_character":47},"in_reply_to":"5f93b717_43110cac","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Case 2"},{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_c6d52ae7","line":86,"range":{"start_line":86,"start_character":0,"end_line":86,"end_character":12},"in_reply_to":"5f93b717_831714a4","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_837cf4eb","line":87,"range":{"start_line":87,"start_character":20,"end_line":87,"end_character":29},"updated":"2018-01-27 01:50:55.000000000","message":"A\u0027s customers","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_6379a8fa","line":87,"range":{"start_line":87,"start_character":0,"end_line":87,"end_character":4},"updated":"2018-01-27 01:50:55.000000000","message":"VM, X,","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_4386ecdd","line":87,"range":{"start_line":87,"start_character":45,"end_line":87,"end_character":49},"updated":"2018-01-27 01:50:55.000000000","message":"VM, Y,","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_66069689","line":87,"range":{"start_line":87,"start_character":45,"end_line":87,"end_character":49},"in_reply_to":"5f93b717_4386ecdd","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_86096296","line":87,"range":{"start_line":87,"start_character":0,"end_line":87,"end_character":4},"in_reply_to":"5f93b717_6379a8fa","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":84,"context_line":"~~~~~~"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Also another use case, if cloud user A launched 2 VMs in different subnets, One"},{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_26008e67","line":87,"range":{"start_line":87,"start_character":20,"end_line":87,"end_character":29},"in_reply_to":"5f93b717_837cf4eb","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_460cba3a","line":90,"range":{"start_line":90,"start_character":46,"end_line":90,"end_character":49},"updated":"2018-01-27 01:50:55.000000000","message":"VM X","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e612a658","line":90,"range":{"start_line":90,"start_character":56,"end_line":90,"end_character":74},"updated":"2018-01-27 01:50:55.000000000","message":"is directed to","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_46035a74","line":90,"range":{"start_line":90,"start_character":46,"end_line":90,"end_character":49},"in_reply_to":"5f93b717_460cba3a","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":87,"context_line":"VM X is used by the customers, and the other VM Y is used for accessing the"},{"line_number":88,"context_line":"private env which is deployed by cloud user A and contains some security"},{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e6f94680","line":90,"range":{"start_line":90,"start_character":56,"end_line":90,"end_character":74},"in_reply_to":"5f93b717_e612a658","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_6628d685","line":92,"range":{"start_line":92,"start_character":47,"end_line":92,"end_character":77},"updated":"2018-01-27 01:50:55.000000000","message":"before accessing the internet","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a61c9e6a","line":92,"range":{"start_line":92,"start_character":16,"end_line":92,"end_character":19},"updated":"2018-01-27 01:50:55.000000000","message":"please remove","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_06f55283","line":92,"range":{"start_line":92,"start_character":47,"end_line":92,"end_character":77},"in_reply_to":"5f93b717_6628d685","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":89,"context_line":"process (private FW, etc..), so there is a requirement that cloud user A need"},{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a6f33e9e","line":92,"range":{"start_line":92,"start_character":16,"end_line":92,"end_character":19},"in_reply_to":"5f93b717_a61c9e6a","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e66946be","line":93,"range":{"start_line":93,"start_character":49,"end_line":93,"end_character":75},"updated":"2018-01-27 01:50:55.000000000","message":"customer. User A","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":90,"context_line":"some traffic from VM X(maybe the traffic from VMX which want to access the"},{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_c6ee8ab3","line":93,"range":{"start_line":93,"start_character":49,"end_line":93,"end_character":75},"in_reply_to":"5f93b717_e66946be","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a6633edc","line":94,"range":{"start_line":94,"start_character":0,"end_line":94,"end_character":73},"updated":"2018-01-27 01:50:55.000000000","message":"doesn\u0027t allow the route table of VM A to contain any special routes.","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":91,"context_line":"some particular servers in the Internet, such as http, https and ftp servers)"},{"line_number":92,"context_line":"to pass through the cloud user A\u0027s private env to access the internet firstly."},{"line_number":93,"context_line":"Also, this private env can not be exposed to the customer of user A, user A"},{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_662bf6ea","line":94,"range":{"start_line":94,"start_character":0,"end_line":94,"end_character":73},"in_reply_to":"5f93b717_a6633edc","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_869e42b6","line":97,"range":{"start_line":97,"start_character":40,"end_line":97,"end_character":41},"updated":"2018-01-27 01:50:55.000000000","message":"an","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_26a5ee04","line":97,"range":{"start_line":97,"start_character":65,"end_line":97,"end_character":73},"updated":"2018-01-27 01:50:55.000000000","message":"please remove","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_862e42f8","line":97,"range":{"start_line":97,"start_character":65,"end_line":97,"end_character":73},"in_reply_to":"5f93b717_26a5ee04","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":94,"context_line":"don\u0027t allow that the route table in VM inject the specified routing rules. So"},{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_2635ee46","line":97,"range":{"start_line":97,"start_character":40,"end_line":97,"end_character":41},"in_reply_to":"5f93b717_869e42b6","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_86872262","line":98,"range":{"start_line":98,"start_character":12,"end_line":98,"end_character":57},"updated":"2018-01-27 01:50:55.000000000","message":"For more details please see the following graphic:","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_46a83ada","line":98,"range":{"start_line":98,"start_character":0,"end_line":98,"end_character":11},"updated":"2018-01-27 01:50:55.000000000","message":"please remove","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_46383a3c","line":98,"range":{"start_line":98,"start_character":0,"end_line":98,"end_character":11},"in_reply_to":"5f93b717_46a83ada","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":95,"context_line":"we need another way to process this traffic, like"},{"line_number":96,"context_line":"Policy Based Routing(PBR) [#foot1]_ on router. The traffic from each subnet"},{"line_number":97,"context_line":"which attached on this router, may need a individual route table for each"},{"line_number":98,"context_line":"subnet now. More details please see the attachment below."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e63e2628","line":98,"range":{"start_line":98,"start_character":12,"end_line":98,"end_character":57},"in_reply_to":"5f93b717_86872262","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":109,"context_line":"the routing rules like from source IP/CIDR to nexthop which user/admin"},{"line_number":110,"context_line":"specified. The proposed first implementation will only support source"},{"line_number":111,"context_line":"subnet/address based routing. In the future, we can support other routing"},{"line_number":112,"context_line":"criteria, like type of traffic, protocol, etc. All of this will based on the"},{"line_number":113,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":114,"context_line":"and then define or install the policy routing rules."},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_86ec022a","line":112,"range":{"start_line":112,"start_character":59,"end_line":112,"end_character":69},"updated":"2018-01-27 01:50:55.000000000","message":"will be based","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":109,"context_line":"the routing rules like from source IP/CIDR to nexthop which user/admin"},{"line_number":110,"context_line":"specified. The proposed first implementation will only support source"},{"line_number":111,"context_line":"subnet/address based routing. In the future, we can support other routing"},{"line_number":112,"context_line":"criteria, like type of traffic, protocol, etc. All of this will based on the"},{"line_number":113,"context_line":"openstack/neutron-classifier project. We use its models to describe the traffic"},{"line_number":114,"context_line":"and then define or install the policy routing rules."},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_063a3233","line":112,"range":{"start_line":112,"start_character":59,"end_line":112,"end_character":69},"in_reply_to":"5f93b717_86ec022a","updated":"2018-01-27 02:10:47.000000000","message":"Done","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":181,"context_line":"    );"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":184,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":185,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":186,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_06d8f27c","line":183,"updated":"2018-01-27 01:50:55.000000000","message":"Like Yamamoto, I still don\u0027t get why rules would be associated to subnets. Rules, that reference subnets, should be associated to routers","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        routing_policy_id) REFERENCES routing_policies (id) ON DELETE CASCADE"},{"line_number":181,"context_line":"    );"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    CREATE TABLE routing_rules_subnet_association("},{"line_number":184,"context_line":"        routing_policy_rule_id varchar(255) NOT NULL,"},{"line_number":185,"context_line":"        subnet_id varchar(255) NOT NULL,"},{"line_number":186,"context_line":"        CONSTRAINT routing_rules_subnet_association_tkxc_1 FOREIGN KEY ("}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_a677be3a","line":183,"in_reply_to":"5f93b717_06d8f27c","updated":"2018-01-27 02:10:47.000000000","message":"Aha, Thanks Miguel. Correct. I will remove the associated like subnet\u0026policy routing things. As it is true that it\u0027s better to associated to routers.","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"4e350fa0a5e7c0d2b5e4e1fde7116608524d0979","unresolved":false,"context_lines":[{"line_number":319,"context_line":"        },"},{"line_number":320,"context_line":"    }"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"ReST API calls"},{"line_number":323,"context_line":"~~~~~~~~~~~~~~"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Create a ``routing_policies`` resource:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e673867f","line":322,"updated":"2018-01-27 01:50:55.000000000","message":"With the API that you specify here, can you support the use case depicted in L83. It seems to me you need more than source routing policies. You need to combine that with destination routing. Right? I would encourage you to go through the mental exercise of trying to express use case 2 with the API you have here","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"857d2e651fa8f6d2d1df7b62109ffd1d615b7dc6","unresolved":false,"context_lines":[{"line_number":319,"context_line":"        },"},{"line_number":320,"context_line":"    }"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"ReST API calls"},{"line_number":323,"context_line":"~~~~~~~~~~~~~~"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Create a ``routing_policies`` resource:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f93b717_e6a2a69a","line":322,"in_reply_to":"5f93b717_e673867f","updated":"2018-01-27 02:10:47.000000000","message":"Very good suggestion, thanks. Miguel. I will take the example to match/support the use cases. I will post a new one today. :)","commit_id":"40cc74821b3f0b94f498ffa6985cbf680900ad73"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"a2c72e3f0dfd0ef541cfe7274d3360c5ec4c7e20","unresolved":false,"context_lines":[{"line_number":95,"context_line":"on router. The traffic from each subnet which attached on this router, may need"},{"line_number":96,"context_line":"an individual route table. For more details please see the following graphic:"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":".. image:: ../../images/source-based-routing-case2.pdf"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"The simple usecase is like [#foot2]_."},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f93b717_974f4ebc","line":98,"range":{"start_line":98,"start_character":0,"end_line":98,"end_character":54},"updated":"2018-01-27 08:49:40.000000000","message":"This is always break. I will change this to png format.","commit_id":"dadb95a4d395301f400c56f75767f9bf106a7522"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"2897c6587b5ef398d18add870c1209a214b29ec5","unresolved":false,"context_lines":[{"line_number":82,"context_line":"Case 2"},{"line_number":83,"context_line":"~~~~~~"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Another use case is one where cloud user A launches 2 VMs in different subnets,"},{"line_number":86,"context_line":"One VM,X, is used by the A\u0027s customers, and the other VM,Y, is used for"},{"line_number":87,"context_line":"accessing the private env which is deployed by cloud user A and contains some"},{"line_number":88,"context_line":"security process (private FW, etc..), so there is a requirement that cloud"},{"line_number":89,"context_line":"user A needs some traffics from VM,X, (maybe the traffic from VM,X, which is"},{"line_number":90,"context_line":"directed to some particular servers in the Internet, such as http, https and"},{"line_number":91,"context_line":"ftp servers) to pass through cloud user A\u0027s private env before accessing the"},{"line_number":92,"context_line":"internet. Also, this private env can not be exposed to the customer. User A"},{"line_number":93,"context_line":"doesn\u0027t allow the route table of VM to contain any special routes. So we need"},{"line_number":94,"context_line":"another way to process this traffic, like Policy Based Routing(PBR) [#foot1]_"},{"line_number":95,"context_line":"on router. The traffic from each subnet which attached on this router, may need"},{"line_number":96,"context_line":"an individual route table. For more details please see the following graphic:"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":".. image:: ../../images/source-based-routing-case2.png"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"5f93b717_8ca01344","line":96,"range":{"start_line":85,"start_character":0,"end_line":96,"end_character":77},"updated":"2018-02-02 00:41:52.000000000","message":"I just took a stab at rephrasing this paragraph to increase clarity. This is what I came up with:\n\nAnother use case is one where cloud user A launches 2 VMs in different subnets,\nwhich are connected with a router (there may be other subnets linked to the \nsame router). One of the VMs, X, is used by A\u0027s customers. The other VM ,Y, is\nthe access point to a ``private environment`` that performs additional processing\nto some of the traffic generated by the users in VM X that may include VPN,\nfirewall, QoS. Traffic from VM X directed inside the OpenStack will be\nprocessed normally by the router. Other traffic from VM X, which is directed\nto the outside, has to pass through the ``private environment`` before \naccessing the internet. The ``private environment`` must not be exposed to the \ncustomer, so user A doesn\u0027t allow the route table of VM X to contain\nany special routes. As a consequence, the router has to discriminate such traffic\nbased on a combination of its source subnet and its destination. \nThe traffic from each subnet which is attached to this router may need\nan individual route table. For more details please see the following graphic:","commit_id":"f7671713fc6ea9f3c070870c109ed3dd7774cf59"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"2b4d09b459cae99dd7717f854e5040fd0c2c745b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"Case 2"},{"line_number":83,"context_line":"~~~~~~"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Another use case is one where cloud user A launches 2 VMs in different subnets,"},{"line_number":86,"context_line":"One VM,X, is used by the A\u0027s customers, and the other VM,Y, is used for"},{"line_number":87,"context_line":"accessing the private env which is deployed by cloud user A and contains some"},{"line_number":88,"context_line":"security process (private FW, etc..), so there is a requirement that cloud"},{"line_number":89,"context_line":"user A needs some traffics from VM,X, (maybe the traffic from VM,X, which is"},{"line_number":90,"context_line":"directed to some particular servers in the Internet, such as http, https and"},{"line_number":91,"context_line":"ftp servers) to pass through cloud user A\u0027s private env before accessing the"},{"line_number":92,"context_line":"internet. Also, this private env can not be exposed to the customer. User A"},{"line_number":93,"context_line":"doesn\u0027t allow the route table of VM to contain any special routes. So we need"},{"line_number":94,"context_line":"another way to process this traffic, like Policy Based Routing(PBR) [#foot1]_"},{"line_number":95,"context_line":"on router. The traffic from each subnet which attached on this router, may need"},{"line_number":96,"context_line":"an individual route table. For more details please see the following graphic:"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":".. image:: ../../images/source-based-routing-case2.png"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"5f93b717_58dac577","line":96,"range":{"start_line":85,"start_character":0,"end_line":96,"end_character":77},"in_reply_to":"5f93b717_8ca01344","updated":"2018-02-02 03:53:14.000000000","message":"Thanks very very much, Miguel. It\u0027s very helpful to me. I will update it as your suggest.","commit_id":"f7671713fc6ea9f3c070870c109ed3dd7774cf59"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"54380c1d06ead6a48adb84105f1072afb80238aa","unresolved":false,"context_lines":[{"line_number":97,"context_line":"from each subnet which is attached to this router may need an individual route"},{"line_number":98,"context_line":"table. For more details please see the following graphic:"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.png"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"The simple usecase is like [#foot1]_."},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_757fdb14","line":100,"updated":"2018-04-20 14:07:25.000000000","message":"what\u0027s \"ext(the Router underlay gateway)\"?\n\n* traffic from VM X to the subnet 3 would be eg. \"src 192.168.50.8, dst 192.168.70.1\"\n* traffic from VM X to the internet would be eg. \"src 192.168.50.8, dst 8.8.8.8\"\n\nright?\n\nhow the router can distinguish those traffic, if it\u0027s not via the dst ip as a normal routing?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"af73259702d6692cc15fbb50a364e28175a9ccce","unresolved":false,"context_lines":[{"line_number":97,"context_line":"from each subnet which is attached to this router may need an individual route"},{"line_number":98,"context_line":"table. For more details please see the following graphic:"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. image:: ../../images/source-based-routing-case2.png"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"The simple usecase is like [#foot1]_."},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_557f04aa","line":100,"in_reply_to":"9f6a8fd7_757fdb14","updated":"2018-04-24 03:51:47.000000000","message":"1.\"ext underlay gateway Router\", this is just an example, we can treat it as a physical router(maybe PE or a single VRF for it). For the vRouter, we can specify the default route to the physical Router for ext accessing or across network accessing.\n\n2. Hmm, I\u0027m not sure what you want.if we just trace those traffic depends on source ip. We can mark those traffic, let them to lookup table 6 and copy other local route entries to table 6. That means we just change the default route for VMx, make its traffic to the VPN side(VMY). That\u0027s why I introduce \"ignore_local_routes \" option.. Is this answer your question?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a09dc597c076adbb3b5f268c600058c0d5404bcc","unresolved":false,"context_lines":[{"line_number":122,"context_line":"   defining the routing rules is necessary."},{"line_number":123,"context_line":"2. Introduce ``routing policy aware`` flavor, it will allow an L3 agent to"},{"line_number":124,"context_line":"   enforce the rules being defined for the particular router implementation (HA"},{"line_number":125,"context_line":"   or DVR, etc.). For other concerned, the existing routers may don\u0027t support"},{"line_number":126,"context_line":"   this function, but as the limitation of their real implementation, it could"},{"line_number":127,"context_line":"   be different with this spec mentioned. So it is the right way to follow the"},{"line_number":128,"context_line":"   L3 flavors or mutil-l3-backend approach to implement."}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_bcc3b4ec","line":125,"range":{"start_line":125,"start_character":64,"end_line":125,"end_character":69},"updated":"2018-02-02 13:51:05.000000000","message":"not","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c9a6db124a692ab3ee824d01c72ce155126f2636","unresolved":false,"context_lines":[{"line_number":122,"context_line":"   defining the routing rules is necessary."},{"line_number":123,"context_line":"2. Introduce ``routing policy aware`` flavor, it will allow an L3 agent to"},{"line_number":124,"context_line":"   enforce the rules being defined for the particular router implementation (HA"},{"line_number":125,"context_line":"   or DVR, etc.). For other concerned, the existing routers may don\u0027t support"},{"line_number":126,"context_line":"   this function, but as the limitation of their real implementation, it could"},{"line_number":127,"context_line":"   be different with this spec mentioned. So it is the right way to follow the"},{"line_number":128,"context_line":"   L3 flavors or mutil-l3-backend approach to implement."}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_7419b7d4","line":125,"range":{"start_line":125,"start_character":64,"end_line":125,"end_character":69},"in_reply_to":"5f93b717_bcc3b4ec","updated":"2018-02-03 02:35:38.000000000","message":"Done","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a09dc597c076adbb3b5f268c600058c0d5404bcc","unresolved":false,"context_lines":[{"line_number":214,"context_line":"introduce a field to ``routing-policy-rules`` like ``type`` to expose the"},{"line_number":215,"context_line":"routing function, for the first type, we will support ``SOURCE-SUBNET``."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":".. note:: For the traffic classifier, API will accept the"},{"line_number":218,"context_line":"           ``classification group`` after the first version of"},{"line_number":219,"context_line":"           openstack/neutron-classifier release. The ``classification group``"},{"line_number":220,"context_line":"           may contains multiple ``classification`` which describes the traffic"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_17d2c328","line":217,"range":{"start_line":217,"start_character":38,"end_line":217,"end_character":53},"updated":"2018-02-02 13:51:05.000000000","message":"but not for now, right?  i guess it will be another RFE/spec/etc.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cdabd43a5a1b6f57478c5dc25c3708e3e996fa64","unresolved":false,"context_lines":[{"line_number":214,"context_line":"introduce a field to ``routing-policy-rules`` like ``type`` to expose the"},{"line_number":215,"context_line":"routing function, for the first type, we will support ``SOURCE-SUBNET``."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":".. note:: For the traffic classifier, API will accept the"},{"line_number":218,"context_line":"           ``classification group`` after the first version of"},{"line_number":219,"context_line":"           openstack/neutron-classifier release. The ``classification group``"},{"line_number":220,"context_line":"           may contains multiple ``classification`` which describes the traffic"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1f9dbf25_9ffd213c","line":217,"range":{"start_line":217,"start_character":38,"end_line":217,"end_character":53},"in_reply_to":"3fa0c359_720ce040","updated":"2018-03-05 10:07:26.000000000","message":"Yeah, it looks like a alternative in the future if we want to use the CCF in a large scale way(But I think that is the right direction). So I move the contents into NOTES, you suggested that I remove these notes which related with CCF. Right?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b591d41ab087fa888fa9ba034f9219d0cb8136c5","unresolved":false,"context_lines":[{"line_number":214,"context_line":"introduce a field to ``routing-policy-rules`` like ``type`` to expose the"},{"line_number":215,"context_line":"routing function, for the first type, we will support ``SOURCE-SUBNET``."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":".. note:: For the traffic classifier, API will accept the"},{"line_number":218,"context_line":"           ``classification group`` after the first version of"},{"line_number":219,"context_line":"           openstack/neutron-classifier release. The ``classification group``"},{"line_number":220,"context_line":"           may contains multiple ``classification`` which describes the traffic"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3fa0c359_720ce040","line":217,"range":{"start_line":217,"start_character":38,"end_line":217,"end_character":53},"in_reply_to":"5f93b717_1412b362","updated":"2018-02-08 21:59:26.000000000","message":"while it\u0027s fine to mention it as a possible future direction, i agree it\u0027s better not to commit anything about CCF in this spec.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c9a6db124a692ab3ee824d01c72ce155126f2636","unresolved":false,"context_lines":[{"line_number":214,"context_line":"introduce a field to ``routing-policy-rules`` like ``type`` to expose the"},{"line_number":215,"context_line":"routing function, for the first type, we will support ``SOURCE-SUBNET``."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":".. note:: For the traffic classifier, API will accept the"},{"line_number":218,"context_line":"           ``classification group`` after the first version of"},{"line_number":219,"context_line":"           openstack/neutron-classifier release. The ``classification group``"},{"line_number":220,"context_line":"           may contains multiple ``classification`` which describes the traffic"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_1412b362","line":217,"range":{"start_line":217,"start_character":38,"end_line":217,"end_character":53},"in_reply_to":"5f93b717_17d2c328","updated":"2018-02-03 02:35:38.000000000","message":"For now, I have no idea whether use neutron-classifier directly, as I found the project is not ready now. And it will store the traffic description fields including the spec mentioned fields. So I think not bring CCF things, it\u0027s better to describe this spec in the original way which introduce the new fields to describe the traffic.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a09dc597c076adbb3b5f268c600058c0d5404bcc","unresolved":false,"context_lines":[{"line_number":266,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_7771c7a7","line":269,"range":{"start_line":269,"start_character":64,"end_line":269,"end_character":77},"updated":"2018-02-02 13:51:05.000000000","message":"the name SOURCE-SUBNET seems confusing, as it now can look at the destination as well.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cdabd43a5a1b6f57478c5dc25c3708e3e996fa64","unresolved":false,"context_lines":[{"line_number":266,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1f9dbf25_ff8305a8","line":269,"range":{"start_line":269,"start_character":64,"end_line":269,"end_character":77},"in_reply_to":"3fa0c359_32541821","updated":"2018-03-05 10:07:26.000000000","message":"Sorry for confused, I mean \"mainly\" is about the first implementation of this feature is based on the source_prefix. We mark the traffic by source prefix. We may extend the function in the future, maybe like traffic type, qos tag, protocol or something. So I say the main function for this feature now is \"mainly\" about source_prefix. :)","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c9a6db124a692ab3ee824d01c72ce155126f2636","unresolved":false,"context_lines":[{"line_number":266,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_d40f6b34","line":269,"range":{"start_line":269,"start_character":64,"end_line":269,"end_character":77},"in_reply_to":"5f93b717_7771c7a7","updated":"2018-02-03 02:35:38.000000000","message":"SOURCE-SUBNET means that we mark the traffic mainly based on the source_prefix. Eventhough the destination introduced, but we still just care about the source_ip is XXX, then dest_ip is YYY.Right?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b591d41ab087fa888fa9ba034f9219d0cb8136c5","unresolved":false,"context_lines":[{"line_number":266,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3fa0c359_32541821","line":269,"range":{"start_line":269,"start_character":64,"end_line":269,"end_character":77},"in_reply_to":"5f93b717_d40f6b34","updated":"2018-02-08 21:59:26.000000000","message":"can you explain \"mainly\"?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b591d41ab087fa888fa9ba034f9219d0cb8136c5","unresolved":false,"context_lines":[{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3fa0c359_b52492b0","line":270,"range":{"start_line":270,"start_character":64,"end_line":270,"end_character":78},"updated":"2018-02-08 21:59:26.000000000","message":"if we end up to have dest match as well, i suspect it\u0027s simpler to understand and more flexible if we actually allow a router to have multiple routing tables.  \"ip rule\" based implementation will look like that anyway, right?  how do you think?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"54380c1d06ead6a48adb84105f1072afb80238aa","unresolved":false,"context_lines":[{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_bae7a0ac","line":270,"range":{"start_line":270,"start_character":64,"end_line":270,"end_character":78},"in_reply_to":"1f9dbf25_5f4c799d","updated":"2018-04-20 14:07:25.000000000","message":"i meant, say, have an extraroute-like api to create additional routing tables for a router, and make this routing_policy_rules specify the table, rather than a nexthop.  that way we don\u0027t need dest ip match here.  how do you think?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cdabd43a5a1b6f57478c5dc25c3708e3e996fa64","unresolved":false,"context_lines":[{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"1f9dbf25_5f4c799d","line":270,"range":{"start_line":270,"start_character":64,"end_line":270,"end_character":78},"in_reply_to":"3fa0c359_b52492b0","updated":"2018-03-05 10:07:26.000000000","message":"Yeah, you are right. More flexible is what we want. As there are some limitation in current Neutron during the traditional devices shift to cloud env, such as some physical network device functions.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"af73259702d6692cc15fbb50a364e28175a9ccce","unresolved":false,"context_lines":[{"line_number":267,"context_line":"| match-set           | string  | Yes   | CR   | The routing setting type of this       |"},{"line_number":268,"context_line":"|                     |         |       |      | policy routing rule. It will contains  |"},{"line_number":269,"context_line":"|                     |         |       |      | sub-fields for SOURCE-SUBNET type,     |"},{"line_number":270,"context_line":"|                     |         |       |      | such as source/dest_ip_prefix,         |"},{"line_number":271,"context_line":"|                     |         |       |      | negated_src/dst fields. Different      |"},{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_f85ded78","line":270,"range":{"start_line":270,"start_character":64,"end_line":270,"end_character":78},"in_reply_to":"9f6a8fd7_bae7a0ac","updated":"2018-04-24 03:51:47.000000000","message":"Woow, Right. Sounds like we move the dest ip and nexthop to the new route table definition. But it\u0027s also good to fit these new models introduced. I will reconsider how to match your suggestion. Thank you.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a09dc597c076adbb3b5f268c600058c0d5404bcc","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_dc056015","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"updated":"2018-02-02 13:51:05.000000000","message":"i\u0027m not sure what this is.\nit\u0027s applied only when a packet is matched to this rule, right?\nin that case, we already know the next hop.  how the main route table matters?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cdabd43a5a1b6f57478c5dc25c3708e3e996fa64","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"ff6b8bd7_eed967f4","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"in_reply_to":"3fa0c359_3229789a","updated":"2018-03-05 10:07:26.000000000","message":"I mean if several subnets had attached the Router. We can use this option \"False\" to let them reach each other like current Router. For example, like the diagram in this spec, VMX contains 2 type traffic, one is the normal traffic which will connect with 192.168.70.0/24, the other is the VPN traffic for Internet. In this case, we need to meet both of them. For VPN traffic, we set the ip rule like:\niptables -t mangle -A prerouting -s VMX -j mark --set 10\nip rule fwmark 10 table 6\nip route add table 6 default via VMY.\nWe own a single route table 6 and meet the VPN traffic request, but how to met the normal traffic if we want VMX can connect subnet3. if we set this option to False, there will be a higher priority ip rule setting, like\niptables -t mangle -A prerouting -i subnet1gw -d localroutes -j mark --set 11\nip rule fwmark 11 table main/0.\nSo that\u0027s my thought, any suggestion? :)","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b591d41ab087fa888fa9ba034f9219d0cb8136c5","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3fa0c359_3229789a","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"in_reply_to":"5f93b717_6f047e15","updated":"2018-02-08 21:59:26.000000000","message":"i don\u0027t understand how this ignore_local_routes works and can be used to archive the goal.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c9a6db124a692ab3ee824d01c72ce155126f2636","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_6f047e15","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"in_reply_to":"5f93b717_dc056015","updated":"2018-02-03 02:35:38.000000000","message":"As we want some of traffic(contain the src_ipA, dst_ipB, or tcp, etc.) generated by VM to a specific nexthop. But for other traffic, such as src_ipA, dst_ipC, or udp, etc) is routed as normal(direct to the default gw just like the ip rule not exist.), so we should still use the main route table to forward the packets.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"af73259702d6692cc15fbb50a364e28175a9ccce","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_988b91c1","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"in_reply_to":"9f6a8fd7_354643c2","updated":"2018-04-24 03:51:47.000000000","message":"Oh, sorry. Sorry that I confused you, as I don\u0027t familiar with the perfessional network English, but localism. I mean subnet1gw is the \u0027qr-XXX\u0027, we call it \"subnet gateway\". :). \"localroutes\" is the direct connect routes of the Router.\nFor example, Router1 attach 2 subnets(subnet1 1.1.1.0/24, subnet2 2.2.2.0/24), the \"localroutes\" means the cidr of these subnets. So the iptables rule below should be:\niptables -t mangle -A prerouting -i qr-XXsubnet1 -d 1.1.1.0/24 -j mark --set 11\niptables -t mangle -A prerouting -i qr-XXsubnet1 -d 2.2.2.0/24 -j mark --set 11\nThen the traffic will lookup table 0 as ip rule configuration.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"54380c1d06ead6a48adb84105f1072afb80238aa","unresolved":false,"context_lines":[{"line_number":272,"context_line":"|                     |         |       |      | types may contain different options    |"},{"line_number":273,"context_line":"|                     |         |       |      | in the future.                         |"},{"line_number":274,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":275,"context_line":"| ignore_local_routes | boolean | Yes   | CRU  | Boolean value for whether ignore the   |"},{"line_number":276,"context_line":"|                     |         |       |      | local routes in main route table of    |"},{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":17,"id":"9f6a8fd7_354643c2","line":275,"range":{"start_line":275,"start_character":2,"end_line":275,"end_character":21},"in_reply_to":"ff6b8bd7_eed967f4","updated":"2018-04-20 14:07:25.000000000","message":"i guess i don\u0027t understand Case 2. what\u0027s subnet1gw and localroutes?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a09dc597c076adbb3b5f268c600058c0d5404bcc","unresolved":false,"context_lines":[{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":281,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":282,"context_line":"           subnet, even though multiple nexthops group by protocol, protocol"},{"line_number":283,"context_line":"           port number in the general environment. Then the"},{"line_number":284,"context_line":"           ``routing_policy_rules`` are non-order in a particular"},{"line_number":285,"context_line":"           ``routing_policy``."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":288,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_77854706","line":285,"range":{"start_line":280,"start_character":0,"end_line":285,"end_character":30},"updated":"2018-02-02 13:51:05.000000000","message":"how about dest_ip_prefix?  and a combination of dest and src?","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"cdabd43a5a1b6f57478c5dc25c3708e3e996fa64","unresolved":false,"context_lines":[{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":281,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":282,"context_line":"           subnet, even though multiple nexthops group by protocol, protocol"},{"line_number":283,"context_line":"           port number in the general environment. Then the"},{"line_number":284,"context_line":"           ``routing_policy_rules`` are non-order in a particular"},{"line_number":285,"context_line":"           ``routing_policy``."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":288,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"1f9dbf25_3f172d54","line":285,"range":{"start_line":280,"start_character":0,"end_line":285,"end_character":30},"in_reply_to":"3fa0c359_d24db49a","updated":"2018-03-05 10:07:26.000000000","message":"oh, I think we should not allow the overlapping dest_ip_prefix as well. We need to check that there is only 1 src_ip/prefix:dst_ip/prefix for a specific traffic.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c9a6db124a692ab3ee824d01c72ce155126f2636","unresolved":false,"context_lines":[{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":281,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":282,"context_line":"           subnet, even though multiple nexthops group by protocol, protocol"},{"line_number":283,"context_line":"           port number in the general environment. Then the"},{"line_number":284,"context_line":"           ``routing_policy_rules`` are non-order in a particular"},{"line_number":285,"context_line":"           ``routing_policy``."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":288,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"5f93b717_8f1a2a6c","line":285,"range":{"start_line":280,"start_character":0,"end_line":285,"end_character":30},"in_reply_to":"5f93b717_77854706","updated":"2018-02-03 02:35:38.000000000","message":"Sorry, I don\u0027t get you. Could you please to give more explanation for the question? Thanks.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b591d41ab087fa888fa9ba034f9219d0cb8136c5","unresolved":false,"context_lines":[{"line_number":277,"context_line":"|                     |         |       |      | associated Router.                     |"},{"line_number":278,"context_line":"+---------------------+---------+-------+------+----------------------------------------+"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":".. note:: For SOURCE-SUBNET type, the source_ip_prefix is no overlap. We need"},{"line_number":281,"context_line":"           to maintain a single nexthop for a source ip address in a specific"},{"line_number":282,"context_line":"           subnet, even though multiple nexthops group by protocol, protocol"},{"line_number":283,"context_line":"           port number in the general environment. Then the"},{"line_number":284,"context_line":"           ``routing_policy_rules`` are non-order in a particular"},{"line_number":285,"context_line":"           ``routing_policy``."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"``routing_policies_router_association`` object attributes like:"},{"line_number":288,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3fa0c359_d24db49a","line":285,"range":{"start_line":280,"start_character":0,"end_line":285,"end_character":30},"in_reply_to":"5f93b717_8f1a2a6c","updated":"2018-02-08 21:59:26.000000000","message":"my question was how rules with overlapping dest_ip_prefix are dealt with.","commit_id":"01e9fa37de8120bab16b69283009d5b53a002a76"}]}
