Re: Regarding multiple APN support in ofono/connman
Hi Denis, On 01/12/2017 12:26 AM, Denis Kenzior wrote: > On 01/11/2017 01:39 PM, Naveen Kumar Danturi wrote: >> Hi Ofono team, >> Is there a support in ofono for multiple PDN connections in parallel ? >> If so what interfaces/API's it exposes to connman to manage multiple >> APN's ? If so, I have these 2 questions : > > Yes, oFono can activate multiple active contexts, assuming the hardware > & driver supports this. See doc/connman-api.txt. This is the same > interface ConnMan is using currently. However, ConnMan only manages a > single context of type="internet". I think there were some patches for > ConnMan to support multiple active internet contexts, but I'm not sure > if they ever were accepted upstream. Just for the record, ConnMan supports multiple context of type "internet" now. See 71cbf35ce180cfed27bea6f4b7d1e5792d58f52c in the ConnMan repo. cheers, daniel ___ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono
Re: Regarding multiple APN support in ofono/connman
Thanks for the responses Denis !! On Jan 11, 2017 5:53 PM, "Denis Kenzior" wrote: Hi Naveen, On 01/11/2017 01:39 PM, Naveen Kumar Danturi wrote: > Hi Ofono team, > Is there a support in ofono for multiple PDN connections in parallel ? > If so what interfaces/API's it exposes to connman to manage multiple > APN's ? If so, I have these 2 questions : > Yes, oFono can activate multiple active contexts, assuming the hardware & driver supports this. See doc/connman-api.txt. This is the same interface ConnMan is using currently. However, ConnMan only manages a single context of type="internet". I think there were some patches for ConnMan to support multiple active internet contexts, but I'm not sure if they ever were accepted upstream. > a) How ofono/connman able to construct / destruct routing tables on > data connections for multiple APNs and makes sure that IP traffic goes > to the right IP interface/APN ? > All routing table management is outside of oFono's area of responsibility. Typically an application would use direct interface binding to use contexts that are not managed by ConnMan. > b)How ofono/connman ensures that domain name searches are performed via > right IP interface/APN to the right name server. Provide mechanism to > keep track of name servers associated with each APN ? I believe Linux > only provides a mechanism for a single APN via /etc/resolv.con > Again, this is outside of oFono's area of responsibility. We only provide the DNS information for each context. > c) Is it configurable from upper layers to ensure that if IPV6 is > available then IPV6 routing and name discovery is used ? > Not oFono's responsibility either. Regards, -Denis ___ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono
Re: Regarding multiple APN support in ofono/connman
Hi Naveen, On 01/11/2017 01:39 PM, Naveen Kumar Danturi wrote: Hi Ofono team, Is there a support in ofono for multiple PDN connections in parallel ? If so what interfaces/API's it exposes to connman to manage multiple APN's ? If so, I have these 2 questions : Yes, oFono can activate multiple active contexts, assuming the hardware & driver supports this. See doc/connman-api.txt. This is the same interface ConnMan is using currently. However, ConnMan only manages a single context of type="internet". I think there were some patches for ConnMan to support multiple active internet contexts, but I'm not sure if they ever were accepted upstream. a) How ofono/connman able to construct / destruct routing tables on data connections for multiple APNs and makes sure that IP traffic goes to the right IP interface/APN ? All routing table management is outside of oFono's area of responsibility. Typically an application would use direct interface binding to use contexts that are not managed by ConnMan. b)How ofono/connman ensures that domain name searches are performed via right IP interface/APN to the right name server. Provide mechanism to keep track of name servers associated with each APN ? I believe Linux only provides a mechanism for a single APN via /etc/resolv.con Again, this is outside of oFono's area of responsibility. We only provide the DNS information for each context. c) Is it configurable from upper layers to ensure that if IPV6 is available then IPV6 routing and name discovery is used ? Not oFono's responsibility either. Regards, -Denis ___ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono
Regarding multiple APN support in ofono/connman
Hi Ofono team, Is there a support in ofono for multiple PDN connections in parallel ? If so what interfaces/API's it exposes to connman to manage multiple APN's ? If so, I have these 2 questions : a) How ofono/connman able to construct / destruct routing tables on data connections for multiple APNs and makes sure that IP traffic goes to the right IP interface/APN ? b)How ofono/connman ensures that domain name searches are performed via right IP interface/APN to the right name server. Provide mechanism to keep track of name servers associated with each APN ? I believe Linux only provides a mechanism for a single APN via /etc/resolv.con c) Is it configurable from upper layers to ensure that if IPV6 is available then IPV6 routing and name discovery is used ? Probably some of these Questions may come under connman context adding here just in case if anyone has experience with it? Thanks, Naveen ___ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono