)]}'
{"doc/source/devref/overlapping_cidrs.rst":[{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"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":"In docker, notion of network address namespaces(non-overlapping cidrs) is managed"},{"line_number":21,"context_line":"in the form of \u0027addressSpaces\u0027. Currently docker UI(cli or Rest APIs) does not provide"},{"line_number":22,"context_line":"an option to create networks belonging to their choice of address-space."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_02345a48","line":20,"range":{"start_line":20,"start_character":3,"end_line":20,"end_character":9},"updated":"2016-06-09 11:52:47.000000000","message":"Docker","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"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":"In docker, notion of network address namespaces(non-overlapping cidrs) is managed"},{"line_number":21,"context_line":"in the form of \u0027addressSpaces\u0027. Currently docker UI(cli or Rest APIs) does not provide"},{"line_number":22,"context_line":"an option to create networks belonging to their choice of address-space."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_42d022f8","line":20,"range":{"start_line":20,"start_character":10,"end_line":20,"end_character":17},"updated":"2016-06-09 11:52:47.000000000","message":"the notion","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","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":"In docker, notion of network address namespaces(non-overlapping cidrs) is managed"},{"line_number":21,"context_line":"in the form of \u0027addressSpaces\u0027. Currently docker UI(cli or Rest APIs) does not provide"},{"line_number":22,"context_line":"an option to create networks belonging to their choice of address-space."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Just after remote driver activation, libnetwork queries capability scope and"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_62eefeb5","line":21,"range":{"start_line":21,"start_character":42,"end_line":21,"end_character":48},"updated":"2016-06-09 11:52:47.000000000","message":"Docker\u0027s","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":25,"context_line":"default address-space from remote network driver and remote ipam driver using"},{"line_number":26,"context_line":"/NetworkDriver.GetCapabilities and /IpamDriver.GetDefaultAddressSpaces."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Based on capability received from network driver,(by design [1]) either localDefaultAddressSpace or"},{"line_number":29,"context_line":"globalDefaultAddressSpace is passed to remote drivers along with all pool creation requests"},{"line_number":30,"context_line":"and network creation requests. But these was a bug in libnetwork and this was not being passed,"},{"line_number":31,"context_line":"which recently got fixed[2]."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_e25dce7a","line":28,"range":{"start_line":28,"start_character":9,"end_line":28,"end_character":48},"updated":"2016-06-09 11:52:47.000000000","message":"the capability reported by the network driver","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":26,"context_line":"/NetworkDriver.GetCapabilities and /IpamDriver.GetDefaultAddressSpaces."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Based on capability received from network driver,(by design [1]) either localDefaultAddressSpace or"},{"line_number":29,"context_line":"globalDefaultAddressSpace is passed to remote drivers along with all pool creation requests"},{"line_number":30,"context_line":"and network creation requests. But these was a bug in libnetwork and this was not being passed,"},{"line_number":31,"context_line":"which recently got fixed[2]."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_a23466fb","line":29,"range":{"start_line":29,"start_character":65,"end_line":29,"end_character":73},"updated":"2016-06-09 11:52:47.000000000","message":"all the pool","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":34,"context_line":"to Kuryr drivers transparently with the assumption that remote drivers will take care of"},{"line_number":35,"context_line":"addressing conflicts(overlapping cidrs) with their own implementations of address-spaces."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Now, problem arises when docker user tries to create two docker networks with subnets"},{"line_number":38,"context_line":"having same cidr and Kuryr as remote network driver."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Current Kuryr implementation has not considered/used libnetwork address-spaces. Kuryr ipam"},{"line_number":41,"context_line":"driver creates per-network address pools(neutron subnetpools). Ipam driver returns PoolID to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_68c09f2b","line":38,"range":{"start_line":37,"start_character":5,"end_line":38,"end_character":52},"updated":"2016-06-09 11:52:47.000000000","message":"a problem arises when a Docker deployment users try to create two docker networks with subnets having the same CIDR and Kuryr as their remote network driver.","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":46,"context_line":"This seems to be by design and chances are very high that PoolIds will not be passed through"},{"line_number":47,"context_line":"libnetwork apis."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Summarizing the problem, libnetwork assumes addressScopes to be common/association attribute"},{"line_number":50,"context_line":"between network driver and ipam driver for figuring out the correct subnet for a network"},{"line_number":51,"context_line":"in case there are multiple subnets(belonging to multiple subnetpools) with same cidr."},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_e8012f6c","line":49,"range":{"start_line":49,"start_character":63,"end_line":49,"end_character":64},"updated":"2016-06-09 11:52:47.000000000","message":"a","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d78666d666f1104e29d9edcb339c62d86f55e3b","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Proposed Change"},{"line_number":54,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"basic idea"},{"line_number":57,"context_line":"----------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The idea is quite simple:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_790630cf","line":56,"range":{"start_line":55,"start_character":0,"end_line":56,"end_character":10},"updated":"2016-06-13 07:07:48.000000000","message":"Please start with Capitals","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":15967,"name":"vikas choudhary","email":"choudharyvikas16@gmail.com","username":"vikaschoudhary16"},"change_message_id":"2a76339761ce3a177aa90db2907fda4a27bf04ed","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Proposed Change"},{"line_number":54,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"basic idea"},{"line_number":57,"context_line":"----------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The idea is quite simple:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_4047ecbb","line":56,"range":{"start_line":55,"start_character":0,"end_line":56,"end_character":10},"in_reply_to":"7aa08908_790630cf","updated":"2016-06-13 11:22:26.000000000","message":"Done","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d78666d666f1104e29d9edcb339c62d86f55e3b","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The idea is quite simple:"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"  * Map one-to-one docker address-spaces with neutron address-scopes, [3]."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"  * To support backward compatibility and networking backends who do not support"},{"line_number":64,"context_line":"        address-scopes yet, query docker out-of-band for poolID using docker client."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_390148b0","line":61,"range":{"start_line":61,"start_character":54,"end_line":61,"end_character":68},"updated":"2016-06-13 07:07:48.000000000","message":"Address scopes in neutron also impose some NAT related implications. Is there any intention to expect this for containers use case?","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":15967,"name":"vikas choudhary","email":"choudharyvikas16@gmail.com","username":"vikaschoudhary16"},"change_message_id":"2a76339761ce3a177aa90db2907fda4a27bf04ed","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The idea is quite simple:"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"  * Map one-to-one docker address-spaces with neutron address-scopes, [3]."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"  * To support backward compatibility and networking backends who do not support"},{"line_number":64,"context_line":"        address-scopes yet, query docker out-of-band for poolID using docker client."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_c0ce3c2c","line":61,"range":{"start_line":61,"start_character":54,"end_line":61,"end_character":68},"in_reply_to":"7aa08908_390148b0","updated":"2016-06-13 11:22:26.000000000","message":"As per my understanding, address-scopes implicate that networks belonging to same address-scopes will be routed directly without NAT.\nThis is same as what docker user would expect from docker address-spaces. Docker networks connected to same address-scopes should be reachable directly.\n\nPlease correct me if I am missing something.","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  * Map one-to-one docker address-spaces with neutron address-scopes, [3]."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"  * To support backward compatibility and networking backends who do not support"},{"line_number":64,"context_line":"        address-scopes yet, query docker out-of-band for poolID using docker client."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Detailed design"},{"line_number":67,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_e80f6f86","line":64,"range":{"start_line":64,"start_character":41,"end_line":64,"end_character":84},"updated":"2016-06-09 11:52:47.000000000","message":"Can you describe this further? Does it mean going to the KV store? If so, what to do when there is not a kv store (local capability scope).","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  * Map one-to-one docker address-spaces with neutron address-scopes, [3]."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"  * To support backward compatibility and networking backends who do not support"},{"line_number":64,"context_line":"        address-scopes yet, query docker out-of-band for poolID using docker client."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Detailed design"},{"line_number":67,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_88486bce","line":64,"range":{"start_line":64,"start_character":34,"end_line":64,"end_character":40},"updated":"2016-06-09 11:52:47.000000000","message":"Docker","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":69,"context_line":"It will be determined and stored in a global boolean variable if neutron supports addressScopes"},{"line_number":70,"context_line":"extension(same as we do currently for \u0027tag\u0027 extension)."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"At pool creation, if libnetwork has passed non-default address-space and addressScopes extension"},{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_8876ab04","line":72,"range":{"start_line":72,"start_character":42,"end_line":72,"end_character":54},"updated":"2016-06-09 11:52:47.000000000","message":"a non-default","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":69,"context_line":"It will be determined and stored in a global boolean variable if neutron supports addressScopes"},{"line_number":70,"context_line":"extension(same as we do currently for \u0027tag\u0027 extension)."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"At pool creation, if libnetwork has passed non-default address-space and addressScopes extension"},{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_2850575e","line":72,"range":{"start_line":72,"start_character":72,"end_line":72,"end_character":86},"updated":"2016-06-09 11:52:47.000000000","message":"the addressScopes Neutron","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":70,"context_line":"extension(same as we do currently for \u0027tag\u0027 extension)."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"At pool creation, if libnetwork has passed non-default address-space and addressScopes extension"},{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_c8c5530b","line":73,"range":{"start_line":73,"start_character":13,"end_line":73,"end_character":22},"updated":"2016-06-09 11:52:47.000000000","message":"an exception","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":70,"context_line":"extension(same as we do currently for \u0027tag\u0027 extension)."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"At pool creation, if libnetwork has passed non-default address-space and addressScopes extension"},{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_684a5fae","line":73,"range":{"start_line":73,"start_character":0,"end_line":73,"end_character":11},"updated":"2016-06-09 11:52:47.000000000","message":"is not present","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"At pool creation, if libnetwork has passed non-default address-space and addressScopes extension"},{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_e8d48fbe","line":74,"updated":"2016-06-09 11:52:47.000000000","message":"You should detail the Neutron properties the address scope is created with. Possibly include a cli command example explaining where the values come from.","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."},{"line_number":78,"context_line":"This PoolID will be used to create neutron subnet using --subnetpool option."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_e8ebef76","line":76,"range":{"start_line":76,"start_character":55,"end_line":76,"end_character":72},"updated":"2016-06-09 11:52:47.000000000","message":"from libnetwork","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."},{"line_number":78,"context_line":"This PoolID will be used to create neutron subnet using --subnetpool option."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_68e1bf9a","line":76,"range":{"start_line":76,"start_character":21,"end_line":76,"end_character":37},"updated":"2016-06-09 11:52:47.000000000","message":"if the address-space","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":73,"context_line":"not present, exception will be raised. Otherwise a corresponding neutron address-scope will be"},{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."},{"line_number":78,"context_line":"This PoolID will be used to create neutron subnet using --subnetpool option."},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_c89393ff","line":76,"range":{"start_line":76,"start_character":75,"end_line":76,"end_character":83},"updated":"2016-06-09 11:52:47.000000000","message":"the default one","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."},{"line_number":78,"context_line":"This PoolID will be used to create neutron subnet using --subnetpool option."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"At request address, libnetwork passes PoolID to ipam driver api. Subnets can be filtered with"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_2885f7ac","line":77,"range":{"start_line":77,"start_character":10,"end_line":77,"end_character":16},"updated":"2016-06-09 11:52:47.000000000","message":"Docker","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"d377a3752c0fd87ebd3ee8959d57bbe544c5bb94","unresolved":false,"context_lines":[{"line_number":74,"context_line":"created."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"At network creation, if address-space that is received in libnetwork api is default, get network"},{"line_number":77,"context_line":"info from docker using docker-client api. From the received response, get PoolID using cidr."},{"line_number":78,"context_line":"This PoolID will be used to create neutron subnet using --subnetpool option."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"At request address, libnetwork passes PoolID to ipam driver api. Subnets can be filtered with"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_c848b38d","line":77,"range":{"start_line":77,"start_character":23,"end_line":77,"end_character":40},"updated":"2016-06-09 11:52:47.000000000","message":"You should have an impact section in this document that describes the added config options. In this case, we\u0027d need access to the Docker API and probably have to add a new configuration parameter.","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"8d78666d666f1104e29d9edcb339c62d86f55e3b","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Challenges"},{"line_number":84,"context_line":"----------"},{"line_number":85,"context_line":"Currently, docker network api does not show PoolIDs. PR in docker is under review for this"},{"line_number":86,"context_line":"enhancement. See [4] \u0026 [5]"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_9984bc0b","line":85,"range":{"start_line":85,"start_character":30,"end_line":85,"end_character":51},"updated":"2016-06-13 07:07:48.000000000","message":"Looks like currently, there is no proposal to make it work if neutron address scope extension is not supported by the plugin. did you consider  neutron tagging to keep required mapping associations in the relevant neutron entities?","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":15967,"name":"vikas choudhary","email":"choudharyvikas16@gmail.com","username":"vikaschoudhary16"},"change_message_id":"8c629261b3b7147817cddcbb5baf65852cadbe53","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Challenges"},{"line_number":84,"context_line":"----------"},{"line_number":85,"context_line":"Currently, docker network api does not show PoolIDs. PR in docker is under review for this"},{"line_number":86,"context_line":"enhancement. See [4] \u0026 [5]"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_8032740e","line":85,"range":{"start_line":85,"start_character":30,"end_line":85,"end_character":51},"in_reply_to":"7aa08908_9984bc0b","updated":"2016-06-13 11:27:52.000000000","message":"neutron tagging alone will not be sufficient to make up for address-scopes, in case there is non-default address-space. There will be no logic for ensuring non-overlapping pools. So i proposed of raising exception in that case.\n\nThoughts?","commit_id":"bbe86247dd77acf6abd14d6ee28721af2111b5c7"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":".."},{"line_number":3,"context_line":" This work is licensed under a Creative Commons Attribution 3.0 Unported"},{"line_number":4,"context_line":" License."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":7,"context_line":" Unless required by applicable law or agreed to in writing, software"},{"line_number":8,"context_line":"      distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":9,"context_line":"      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":10,"context_line":"      License for the specific language governing permissions and limitations"},{"line_number":11,"context_line":"      under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"      Convention for heading levels in Neutron devref:"},{"line_number":15,"context_line":"      \u003d\u003d\u003d\u003d\u003d\u003d\u003d  Heading 0 (reserved for the title in a document)"},{"line_number":16,"context_line":"      -------  Heading 1"},{"line_number":17,"context_line":"      ~~~~~~~  Heading 2"},{"line_number":18,"context_line":"      +++++++  Heading 3"},{"line_number":19,"context_line":"      \u0027\u0027\u0027\u0027\u0027\u0027\u0027  Heading 4"},{"line_number":20,"context_line":"      (Avoid deeper levels because they do not render well.)"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_f6a5d8a1","line":20,"range":{"start_line":3,"start_character":0,"end_line":20,"end_character":60},"updated":"2016-06-14 07:05:54.000000000","message":"It looks this comment block is ill-styled. At least, the license description should be indented consistently.\n\nhttp://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#comments\nhttp://www.sphinx-doc.org/en/stable/rest.html#comments","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":30,"context_line":"requests for creation of subnets with same cidr."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Problem Description"},{"line_number":33,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"In Docker, the notion of network address namespaces(non-overlapping cidrs) is"},{"line_number":36,"context_line":"managed in the form of \u0027addressSpaces\u0027. Currently Docker\u0027s UI(cli or Rest APIs)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_bcd8541f","line":33,"range":{"start_line":33,"start_character":0,"end_line":33,"end_character":19},"updated":"2016-06-14 07:05:54.000000000","message":"\"\u003d\" is already used for the tilte, \"Overlapping CIDRs\". The style, if the tilte is surrounded its top and bottom in this case, doesn\u0027t matter.\n\nPlease use \"-\" instead and shift the heading level accordingly.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":41,"context_line":"default address-space from remote network driver and remote ipam driver using"},{"line_number":42,"context_line":"``/NetworkDriver.GetCapabilities`` and ``/IpamDriver.GetDefaultAddressSpaces``."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Based on capability reported by the network driver,(as per the libnetwork "},{"line_number":45,"context_line":"design [#]_) either localDefaultAddressSpace or globalDefaultAddressSpace is"},{"line_number":46,"context_line":"passed to remote drivers along with all the subsequent pool creation requests"},{"line_number":47,"context_line":"and network creation requests. "}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_5c3850d3","line":44,"range":{"start_line":44,"start_character":73,"end_line":44,"end_character":74},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":44,"context_line":"Based on capability reported by the network driver,(as per the libnetwork "},{"line_number":45,"context_line":"design [#]_) either localDefaultAddressSpace or globalDefaultAddressSpace is"},{"line_number":46,"context_line":"passed to remote drivers along with all the subsequent pool creation requests"},{"line_number":47,"context_line":"and network creation requests. "},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"NOTE: There was a bug in libnetwork due to which address-space was not being"},{"line_number":50,"context_line":"passed to network driver, which very recently got fixed [#]_."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_9c2e388a","line":47,"range":{"start_line":47,"start_character":30,"end_line":47,"end_character":31},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":62,"context_line":"Kuryr ipam driver creates per-network address pools(neutron subnetpools). Ipam"},{"line_number":63,"context_line":"driver returns PoolID to libnetwork in response to each pool creation request."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"But in /NetworkDriver.CreateNetwork api to Kuryr, libnetwork does not pass"},{"line_number":66,"context_line":"*PoolID* that was sent previously by ipam driver, rather the libnetwork passes"},{"line_number":67,"context_line":"addressSpace that this network belongs to. This seems to be by design and"},{"line_number":68,"context_line":"chances are very high that *PoolID* will not be passed through libnetwork apis."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_165ce417","line":65,"range":{"start_line":65,"start_character":7,"end_line":65,"end_character":35},"updated":"2016-06-14 07:05:54.000000000","message":"You might want to be consistent with the preceded URLs marked as the inline code.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":67,"context_line":"addressSpace that this network belongs to. This seems to be by design and"},{"line_number":68,"context_line":"chances are very high that *PoolID* will not be passed through libnetwork apis."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Summarizing the problem, libnetwork assumes address-spaces to be a "},{"line_number":71,"context_line":"common/association attribute between network driver and ipam driver for"},{"line_number":72,"context_line":"figuring out the correct subnet for a network in case there are multiple"},{"line_number":73,"context_line":"subnets(belonging to multiple subnetpools) with same cidr."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_3c5464fc","line":70,"range":{"start_line":70,"start_character":66,"end_line":70,"end_character":67},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"The idea is quite simple:"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"  * Map one-to-one Docker address-spaces with neutron address-scopes, [#]_."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"  * To support backward compatibility and networking backends who do not"},{"line_number":86,"context_line":"    support address-scopes yet, query Docker out-of-band(REST api interface)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_1cb248e5","line":83,"range":{"start_line":83,"start_character":0,"end_line":83,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"These spaces are not necessary. This makes the bulleted contents regarded as quotes rather than lists.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":93,"context_line":"supports *address-scope* extension (same as we do currently for *tag*"},{"line_number":94,"context_line":"extension)."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Changes in /IpamDriver.RequestPool handling:"},{"line_number":97,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"At pool creation, if libnetwork has passed default address-space no changes are"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_168a2464","line":96,"range":{"start_line":96,"start_character":11,"end_line":96,"end_character":34},"updated":"2016-06-14 07:05:54.000000000","message":"You might want to be consistent with the preceded URLs marked as the inline code.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":104,"context_line":"Otherwise a corresponding neutron address-scope will be created."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Neutron subnetpool creation api will be updated to use *--address-scope* option"},{"line_number":107,"context_line":"with the value as ID of newly created address-scope. "},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Sample pool creation request\u0027s JSON data received from libnetwork is shown"},{"line_number":110,"context_line":"below:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_1c59a835","line":107,"range":{"start_line":107,"start_character":52,"end_line":107,"end_character":53},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Sample pool creation request\u0027s JSON data received from libnetwork is shown"},{"line_number":110,"context_line":"below:"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"  ::"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"      {"},{"line_number":115,"context_line":"         \"AddressSpace\": \"global_scope\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_bc1df4bf","line":112,"range":{"start_line":111,"start_character":0,"end_line":112,"end_character":4},"updated":"2016-06-14 07:05:54.000000000","message":"I don\u0027t see any good reason to put spaces before \"::\". In other docs, for instance in \"Reuse of the existing Neutron networks\", spaces are added because the code blocks should be aligned with the numbered lists. In the top level indentation there\u0027s no need for these spaces.\n\nhttps://raw.githubusercontent.com/openstack/kuryr/7b5cce42dfda3bdb48cb8d06812fc5329d470481/doc/source/specs/existing-neutron-network.rst\n\nhttp://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-blocks\nhttp://www.sphinx-doc.org/en/stable/rest.html#source-code","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":123,"context_line":"JSON data to construct an address-scope creation request."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"Example of address-scope creation cli:"},{"line_number":126,"context_line":"  ::"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"      $ neutron address-scope-create global_scope 4"},{"line_number":129,"context_line":"      Created a new address_scope:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_bc7e94ac","line":126,"range":{"start_line":126,"start_character":0,"end_line":126,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"Ditto.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":142,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"Sample JSON data received from the libnetwork:"},{"line_number":145,"context_line":"  ::"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        {"},{"line_number":148,"context_line":"            \"NetworkID\": \"286eddb51ebca09339cb17aaec05e48ffe60659ced6f3fc41b020b0eb506d364\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_dc4f2090","line":145,"range":{"start_line":145,"start_character":0,"end_line":145,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"Ditto.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":155,"context_line":"            \"Options\": {\"com.docker.network.generic\": {}}"},{"line_number":156,"context_line":"        }"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Here we will be updating subnet creation logic by passing *PoolID(returned by "},{"line_number":159,"context_line":"the Kuryr ipam-driver in response to the pool creation request to the"},{"line_number":160,"context_line":"libnetwork)* using --subnetpool option of neutron subnet creation api."},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_5c3fb0b3","line":158,"range":{"start_line":158,"start_character":77,"end_line":158,"end_character":78},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":159,"context_line":"the Kuryr ipam-driver in response to the pool creation request to the"},{"line_number":160,"context_line":"libnetwork)* using --subnetpool option of neutron subnet creation api."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"*PoolID* can be determined in the following two ways depending on whether the "},{"line_number":163,"context_line":"address-space received from the libnetwork is the default one(no address space)"},{"line_number":164,"context_line":"or otherwise."},{"line_number":165,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_bc48545d","line":162,"range":{"start_line":162,"start_character":77,"end_line":162,"end_character":78},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":170,"context_line":"using Docker REST api for network details using Docker python client."},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"Sample Docker REST api and response showing *PoolID*:"},{"line_number":173,"context_line":"  ::"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        $curl 127.0.0.1:2375/networks/d30bc311d84cca12767567f6b54407d8cc70c84b05ac82232c301e4f4839ad05 | python -m json.tool"},{"line_number":176,"context_line":"        {"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_1c46c87a","line":173,"range":{"start_line":173,"start_character":0,"end_line":173,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"Ditto.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            \"Options\": {},"},{"line_number":203,"context_line":"            \"Scope\": \"local\""},{"line_number":204,"context_line":"        }"},{"line_number":205,"context_line":"        "},{"line_number":206,"context_line":"NOTE: Please note that currently /networks/\u003cdocker-net-id\u003e api does not show"},{"line_number":207,"context_line":"*PoolID*. A patch has been pushed to upstream Docker project for this"},{"line_number":208,"context_line":"enhancement."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_9c459844","line":205,"range":{"start_line":205,"start_character":0,"end_line":205,"end_character":8},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":206,"context_line":"NOTE: Please note that currently /networks/\u003cdocker-net-id\u003e api does not show"},{"line_number":207,"context_line":"*PoolID*. A patch has been pushed to upstream Docker project for this"},{"line_number":208,"context_line":"enhancement."},{"line_number":209,"context_line":"  "},{"line_number":210,"context_line":"address-space is not the default one:"},{"line_number":211,"context_line":"+++++++++++++++++++++++++++++++++++++"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_fc749c9c","line":209,"range":{"start_line":209,"start_character":0,"end_line":209,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":216,"context_line":"*PoolID* retrieved using one of the two approaches explained above, will be"},{"line_number":217,"context_line":"used to create neutron subnet using *--subnetpool* option."},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Changes in /IpamDriver.RequestAddress handling:"},{"line_number":220,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"Sample JSON data received from the libnetwork:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_16b3444e","line":219,"range":{"start_line":219,"start_character":11,"end_line":219,"end_character":37},"updated":"2016-06-14 07:05:54.000000000","message":"You might want to be consistent with the preceded URLs marked as the inline code.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":220,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"Sample JSON data received from the libnetwork:"},{"line_number":223,"context_line":"  ::"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"       {"},{"line_number":226,"context_line":"            \"Address\": \"\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_5c5cd04a","line":223,"range":{"start_line":223,"start_character":0,"end_line":223,"end_character":2},"updated":"2016-06-14 07:05:54.000000000","message":"Ditto.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"5a9aa347593f01c375be5e767a21b21d7fc5e37f","unresolved":false,"context_lines":[{"line_number":230,"context_line":"       }"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"The libnetwork passes *PoolID* to the ipam driver api. Currently neutron subnets"},{"line_number":233,"context_line":"are filtered/searched using cidr as matching attribute. Along with cidr, "},{"line_number":234,"context_line":"*PoolID* will also be used to filter matching neutron subnets."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7aa08908_3c6bc4ba","line":233,"range":{"start_line":233,"start_character":72,"end_line":233,"end_character":73},"updated":"2016-06-14 07:05:54.000000000","message":"Please eliminate this unnecessary space.","commit_id":"aaf11b1cd89e1bff7588bbfcd3f2cace99301b4b"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Problem Description"},{"line_number":33,"context_line":"-------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"In Docker, the notion of network address namespaces(non-overlapping cidrs) is"},{"line_number":36,"context_line":"managed in the form of \u0027addressSpaces\u0027. Currently Docker\u0027s UI(cli or Rest APIs)"},{"line_number":37,"context_line":"does not provide an option to create networks belonging to address-space as per"},{"line_number":38,"context_line":"user\u0027s choice."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_e7584b33","line":35,"range":{"start_line":35,"start_character":51,"end_line":35,"end_character":52},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":33,"context_line":"-------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"In Docker, the notion of network address namespaces(non-overlapping cidrs) is"},{"line_number":36,"context_line":"managed in the form of \u0027addressSpaces\u0027. Currently Docker\u0027s UI(cli or Rest APIs)"},{"line_number":37,"context_line":"does not provide an option to create networks belonging to address-space as per"},{"line_number":38,"context_line":"user\u0027s choice."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_874a2753","line":36,"range":{"start_line":36,"start_character":61,"end_line":36,"end_character":62},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":41,"context_line":"default address-space from remote network driver and remote ipam driver using"},{"line_number":42,"context_line":"``/NetworkDriver.GetCapabilities`` and ``/IpamDriver.GetDefaultAddressSpaces``."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Based on capability reported by the network driver,(as per the libnetwork"},{"line_number":45,"context_line":"design [#]_) either localDefaultAddressSpace or globalDefaultAddressSpace is"},{"line_number":46,"context_line":"passed to remote drivers along with all the subsequent pool creation requests"},{"line_number":47,"context_line":"and network creation requests."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_076d97cb","line":44,"range":{"start_line":44,"start_character":51,"end_line":44,"end_character":52},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":46,"context_line":"passed to remote drivers along with all the subsequent pool creation requests"},{"line_number":47,"context_line":"and network creation requests."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"NOTE: There was a bug in libnetwork due to which address-space was not being"},{"line_number":50,"context_line":"passed to network driver, which very recently got fixed [#]_."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Docker/libnetwork then passes these network creation requests"},{"line_number":53,"context_line":"to Kuryr drivers(network driver and ipam driver) transparently with the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_27c25385","line":50,"range":{"start_line":49,"start_character":0,"end_line":50,"end_character":61},"updated":"2016-06-27 10:17:36.000000000","message":"The following format convert this into a nicely styled block but it\u0027s not mandatory.\n\n  \u003e *NOTE*: There was a bug in libnetwork due to which address-space was not being\n  \u003e  passed to network driver, which very recently got fixed [#]_.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":50,"context_line":"passed to network driver, which very recently got fixed [#]_."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Docker/libnetwork then passes these network creation requests"},{"line_number":53,"context_line":"to Kuryr drivers(network driver and ipam driver) transparently with the"},{"line_number":54,"context_line":"assumption that remote drivers will take care of addressing conflicts"},{"line_number":55,"context_line":"(overlapping cidrs) with their own implementations of address-spaces."},{"line_number":56,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_c760afa7","line":53,"range":{"start_line":53,"start_character":16,"end_line":53,"end_character":17},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":59,"context_line":"driver."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Current Kuryr implementation has not considered/used libnetwork address-spaces."},{"line_number":62,"context_line":"Kuryr ipam driver creates per-network address pools(neutron subnetpools). Ipam"},{"line_number":63,"context_line":"driver returns PoolID to libnetwork in response to each pool creation request."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"But in ``/NetworkDriver.CreateNetwork`` api to Kuryr, libnetwork does not pass"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_c7070fc8","line":62,"range":{"start_line":62,"start_character":51,"end_line":62,"end_character":52},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":70,"context_line":"Summarizing the problem, libnetwork assumes address-spaces to be a"},{"line_number":71,"context_line":"common/association attribute between network driver and ipam driver for"},{"line_number":72,"context_line":"figuring out the correct subnet for a network in case there are multiple"},{"line_number":73,"context_line":"subnets(belonging to multiple subnetpools) with same cidr."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Project Priority"},{"line_number":76,"context_line":"~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_a7d80354","line":73,"range":{"start_line":73,"start_character":7,"end_line":73,"end_character":8},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":162,"context_line":"      \"Options\": {\"com.docker.network.generic\": {}}"},{"line_number":163,"context_line":"    }"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Here we will be updating subnet creation logic by passing *PoolID(returned by"},{"line_number":166,"context_line":"the Kuryr ipam-driver in response to the pool creation request to the"},{"line_number":167,"context_line":"libnetwork)* using --subnetpool option of neutron subnet creation api."},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_477f9f14","line":165,"range":{"start_line":165,"start_character":65,"end_line":165,"end_character":66},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"},{"author":{"_account_id":12069,"name":"Taku Fukushima","email":"f.tac.mac@gmail.com","username":"tfukushima"},"change_message_id":"d3111a2a46bbd4ac72492707592eb8ab73a71584","unresolved":false,"context_lines":[{"line_number":167,"context_line":"libnetwork)* using --subnetpool option of neutron subnet creation api."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"*PoolID* can be determined in the following two ways depending on whether the"},{"line_number":170,"context_line":"address-space received from the libnetwork is the default one(no address space)"},{"line_number":171,"context_line":"or otherwise."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"*address-space* is the default one:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_e79a0b61","line":170,"range":{"start_line":170,"start_character":61,"end_line":170,"end_character":62},"updated":"2016-06-27 10:17:36.000000000","message":"A space here, please.","commit_id":"01517996b4e5c058d6bc4c850dc4ca9b0df170ce"}]}
