diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-12-13 20:04:09 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-12-15 12:08:47 +0100 |
commit | 6641994d8d84d013d0e3acfb9462579df57a4fd2 (patch) | |
tree | 3880f8322b4b3f81a4460b23a2df639220c20e80 /suites | |
parent | c1b3278af89a02522eb2f474df7fcf80474e2a63 (diff) |
Set osmo-ggsn ipv6 link-local addr and enable ipv6 ctx activate test
osmo-ggsn requires a link-local IPv6 address to be added to the
tun interface, otherwise the apn will not be configured correctly and it
won't be able to allocate addresses from the ipv6 pool later on.
Some OS don't support autoconfiguring link-local IPv6 addresses when the
interface is brought up (some linux versions are known to fail at it).
This is the case for our Prod osmo-gsm-tester setup (running debian8
with kernel 3.16.51).
Make sure we configure correctly the interface by forcing osmo-ggsn to
set on the interface and use a specific IPv6 link-local address. This is
done by using the "ipv6 link-local" vty cmd in osmo-ggsn.
After this modification, we can re-enable ipv6 gprs context creation as
it will work in Prod setup.
Related: OS#2746
Change-Id: Ib291c02a3c57a4189f9c4b1b856109be97ad2a34
Diffstat (limited to 'suites')
-rwxr-xr-x | suites/gprs/ping.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/suites/gprs/ping.py b/suites/gprs/ping.py index 5d2d847..1b6d85c 100755 --- a/suites/gprs/ping.py +++ b/suites/gprs/ping.py @@ -52,12 +52,11 @@ sleep(5) # TODO: send ping to server or open TCP conn with a socket in python ms.deactivate_context(ctx_id_v4) -# We disable ipv6 for now as osmo-ggsn is failing to create tun ipv6 device in Prod main unit (OS#2746) # We need to use inet46 since ofono qmi only uses ipv4v6 eua (OS#2713) -# ctx_id_v6 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv6) -# sleep(5) +ctx_id_v6 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv6) +sleep(5) # TODO: send ping to server or open TCP conn with a socket in python -# ms.deactivate_context(ctx_id_v6) +ms.deactivate_context(ctx_id_v6) # IPv46 (dual) not supported in ofono qmi: org.ofono.Error.Failed: Operation failed (36) # ctx_id_v46 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv46) |