Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
aefa4d9
Incorporated review comments
rsarwad Feb 27, 2020
a40201f
Merge branch 'rsarwad_spgw_merge_dedicated_bearer' of https://github.…
rsarwad Feb 27, 2020
0cc45ee
As part of SGW and PGW task merge, removed PGW task and dependencies
rsarwad Feb 27, 2020
f98aeb6
Add option to run on all tenants in EntScript
Mar 12, 2020
57a7c53
adding some missing go mod files
uri200 Mar 12, 2020
44ab324
Modify MockDriver's DoesMatch's interface to return a custom error (#…
themarwhal Mar 12, 2020
66abb22
Add Rule Removal Conversion to mock pcrf conversion (#1308)
themarwhal Mar 12, 2020
dcca8d0
Another fix for CI after Gx Gy change
uri200 Mar 12, 2020
38e704e
Add log, logs, and help command to gw Makefile.
Mar 12, 2020
eb742a7
Migrate certifier and accessd services to blobstore.
Mar 12, 2020
f657bbf
Remove orc8r logger service and usages in gateway.
Mar 12, 2020
8e9327e
Fix createOrganization script
Scott8440 Mar 12, 2020
431eef9
Implement CPE monitoring REST handlers
xjtian Mar 13, 2020
4dc1cd1
Remove controller datastore iface.
Mar 13, 2020
0009ed5
Terminate should send the IMSI with the "IMSI" prefix removed, not ad…
themarwhal Mar 13, 2020
1d92216
symphony/add-report mutation client
idoshveki Mar 13, 2020
4d2d033
Add env.go file missing from D20426268.
Mar 13, 2020
3c89ea6
Fix typo in helm terraform module example
xjtian Mar 13, 2020
a846f1c
Get rid of unfreeze clock function factory
xjtian Mar 13, 2020
372d716
Remove remaining clock.GetUnfreezeClockDeferFunc missed by D20434635.
Mar 13, 2020
284ee38
Update directoryd service iface in preparation for session ID indexer.
Mar 13, 2020
cc008fe
Reorganize StateIndexer; add Type field to State struct.
Mar 13, 2020
b76c92f
Remove user middleware until fix issues (#402)
Mar 13, 2020
a9160a7
Remove GetHostnameForHwid references from orc8r/gateway/go missed by …
Mar 13, 2020
4f63e01
Back out "Default Grafana Dashboards for NMS" (#403)
Mar 13, 2020
ab28457
Ensure that Gx/Gy QoS fields gets programmed properly in CWAG
karthiksubraveti Mar 13, 2020
121262b
Back out "Implement a proxy to simulate the orchestrator for integ te…
themarwhal Mar 13, 2020
2c0b62b
Rsarwad spgw merge dedicated bearer (#1224)
rsarwad Mar 13, 2020
7e3683f
Apn config through cli (#1092)
pruthvihebbani Mar 13, 2020
4111253
Disable downlink Qos enforcement test (#2028)
karthiksubraveti Mar 13, 2020
7591738
Fix the CircleCI diff ailure (#2029)
karthiksubraveti Mar 13, 2020
0f65e24
Resolved merge conflicts
rsarwad Mar 15, 2020
b554bea
Add release notes documentation
hanle11 Mar 15, 2020
c1ab953
Merge remote-tracking branch 'upstream/master' into rsarwad_spgw_merg…
rsarwad Mar 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cwf/cloud/go/plugin/handlers/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func TestCwfGateways(t *testing.T) {
_ = plugin.RegisterPluginForTests(t, &pluginimpl.BaseOrchestratorPlugin{})
_ = plugin.RegisterPluginForTests(t, &plugin2.CwfOrchestratorPlugin{})
clock.SetAndFreezeClock(t, time.Unix(1000000, 0))
defer clock.GetUnfreezeClockDeferFunc(t)()
defer clock.UnfreezeClock(t)
test_init.StartTestService(t)
stateTestInit.StartTestService(t)
deviceTestInit.StartTestService(t)
Expand Down
133 changes: 101 additions & 32 deletions cwf/cloud/go/protos/ue_sim.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions cwf/gateway/configs/magmad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,9 @@ bootstrap_config:
enable_config_streamer: True
enable_upgrade_manager: True
enable_network_monitor: True
enable_systemd_tailer: False
enable_sync_rpc: True
enable_kernel_version_checking: True

systemd_tailer_poll_interval: 30 # seconds

upgrader_factory:
module: magma.magmad.upgrade.docker_upgrader
class: DockerUpgraderFactory
Expand Down
2 changes: 0 additions & 2 deletions cwf/gateway/configs/redirectd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@

log_level: INFO

scribe_logging_enabled: False

http_port: 8080
1 change: 0 additions & 1 deletion cwf/gateway/docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ IMAGE_VERSION=latest

BUILD_CONTEXT=../../..

CERTS_PATH=../../../.cache/test_certs/
ROOTCA_PATH=../../../.cache/test_certs/rootCA.pem
CONTROL_PROXY_PATH=../configs/control_proxy.yml
CONFIGS_TEMPLATES_PATH=../../../orc8r/gateway/configs/templates
Expand Down
33 changes: 0 additions & 33 deletions cwf/gateway/docker/docker-compose.integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ services:
sessiond:
volumes:
- ../integ_tests/sessiond.yml:/etc/magma/sessiond.yml
extra_hosts:
- controller.magma.test:127.0.0.1
- bootstrapper-controller.magma.test:127.0.0.1

swx_proxy:
<<: *feggoservice
Expand Down Expand Up @@ -106,38 +103,8 @@ services:
/bin/bash -c "/usr/bin/redis-server /var/opt/magma/redis.conf --daemonize no &&
/usr/bin/redis-cli shutdown"

control_proxy:
extra_hosts:
- controller.magma.test:127.0.0.1
- bootstrapper-controller.magma.test:127.0.0.1
command: >
sh -c "mkdir -p /usr/share/ca-certificates/extra/ &&
cp -f /var/opt/magma/certs/rootCA.pem /usr/share/ca-certificates/extra/ &&
echo \"extra/rootCA.pem\" >> /etc/ca-certificates.conf && update-ca-certificates &&
/usr/local/bin/generate_nghttpx_config.py &&
/usr/bin/env nghttpx --conf /var/opt/magma/tmp/nghttpx.conf /var/opt/magma/certs/controller.key /var/opt/magma/certs/controller.crt"

magmad:
extra_hosts:
- controller.magma.test:127.0.0.1
- bootstrapper-controller.magma.test:127.0.0.1

uesim:
<<: *service
container_name: uesim
image: ${DOCKER_REGISTRY}uesim:${IMAGE_VERSION}
command: envdir /var/opt/magma/envdir /var/opt/magma/bin/uesim -logtostderr=true -v=0

ingress:
<<: *service
container_name: ingress
image: nginx:latest
extra_hosts:
- controller.magma.test:127.0.0.1
- bootstrapper-controller.magma.test:127.0.0.1
- session-proxy.magma.test:127.0.0.1
- sessiond.magma.test:127.0.0.1
volumes:
- ../integ_tests/nginx.conf:/etc/nginx/nginx.conf:ro
- ${CERTS_PATH}/:/etc/nginx/certs/
command: /usr/sbin/nginx -g "daemon off;"
2 changes: 1 addition & 1 deletion cwf/gateway/integ_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ to see specific errors.

&rightarrow; Since docker does not garbage collect previously built images, we
will have to manually prune them. Run `docker system df` to see memory usage
and what can be deleted. To remove these images, run `docker system prune to docker image prune --filter until=24h`.
and what can be deleted. To remove these images, run `docker system prune to docker image prune --filter until=24h`.
5 changes: 4 additions & 1 deletion cwf/gateway/integ_tests/auth_ul_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ import (
"testing"

"fbc/lib/go/radius/rfc2869"
cwfprotos "magma/cwf/cloud/go/protos"
"magma/feg/gateway/services/eap"

"github.com/go-openapi/swag"
"github.com/golang/protobuf/ptypes/wrappers"
"github.com/stretchr/testify/assert"
)

Expand All @@ -39,7 +41,8 @@ func TestAuthenticateUplinkTraffic(t *testing.T) {
assert.NotNil(t, eapMessage)
assert.True(t, reflect.DeepEqual(int(eapMessage[0]), eap.SuccessCode))

err = tr.GenULTraffic(ue.GetImsi(), swag.String("100K"))
req := &cwfprotos.GenTrafficRequest{Imsi: ue.GetImsi(), Volume: &wrappers.StringValue{Value: *swag.String("100K")}}
_, err = tr.GenULTraffic(req)
assert.NoError(t, err)

// Clear hss, ocs, and pcrf
Expand Down
Loading