Skip to content

11191 move ue context #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 95 commits into
base: rsarwad_migrate_state_ue_ht_s1ap
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
42719e6
agw(fix): coverted C structure of ue context, ue_description_t to pro…
rsarwad Jul 25, 2022
a3b791b
Defined S1ap UE state in proto file and removed the enum definition
rsarwad Aug 2, 2022
fafd30f
Resolved merge conflicts
rsarwad Aug 4, 2022
ecea04c
Resolved merge conflicts
rsarwad Aug 22, 2022
bf7e827
Updating s1ap_state.pb.go file
rsarwad Aug 22, 2022
4f960ca
Addressed self review comments
rsarwad Aug 30, 2022
b5e9802
chore(agw): Clean up unnecessary Make commands (#13782)
LKreutzer Sep 2, 2022
ccc7293
Addressed review comments
rsarwad Sep 2, 2022
b9bf710
fix(agw): Migrate hash list of state_ue to protobuf_map (#13508)
rsarwad Sep 2, 2022
e2e032c
fix(agw): Fix spyne version in pydep lockfile (#13809)
sebathomas Sep 2, 2022
2ed0912
Resolved merge conflicts
rsarwad Sep 2, 2022
9c6abcf
Addressed self comments
rsarwad Sep 2, 2022
d7e2482
fix(ci): Set up the scripts needed in the bazel LTE integ test workfl…
LKreutzer Sep 2, 2022
4134ee9
fix(ci): Fix feg integ tests. Feg integ tests need both docker magmad…
Sep 2, 2022
cf0da32
Merge remote-tracking branch 'upstream/master' into 11191_move_ue_con…
rsarwad Sep 2, 2022
13f8b02
fix(ci): Trigger all bazel workflow jobs by pushing to master (#13825)
LKreutzer Sep 2, 2022
85e81ed
fix(ci): fix ipv6 uplink test (#13669)
Sep 2, 2022
4ae86aa
fix(agw): Modified code to fix compilation error on inclusion of prot…
rsarwad Sep 5, 2022
e5141ba
fix(feg): fix snowflake issue in feg integ test (#13600)
wolfseb Sep 5, 2022
c361224
chore(agw): Increase disksize for agw container to accomodate the con…
Sep 5, 2022
2541951
refactor(nms): Migrate Alerts rules detail to new style (#13792)
HannaFar Sep 5, 2022
603949f
chore(agw): Clean up dead code in gxgy_tests/local integ tests (#13783)
LKreutzer Sep 5, 2022
7fba511
fix(agw): Reload magma_deb when provisioning (#13823)
voisey Sep 5, 2022
dbbf0e2
fix(ci): refine backport title (#13637)
Neudrino Sep 5, 2022
2880fed
docs: Document magma_deb VM (#13840)
voisey Sep 5, 2022
6c9a96b
fix: ryu patching is cleaned up (#13705)
nstng Sep 6, 2022
d1281e3
refactor(ci): never used successfully within its whole lifetime (#13846)
Neudrino Sep 6, 2022
f0c3169
fix(feg): Added vagrant-reload to workflows (#13849)
MoritzThomasHuebner Sep 6, 2022
49d9791
chore(dp): Remove unused CPI related fields (#13858)
jkmar Sep 7, 2022
9d60f69
fix(cwg): Install necesssary vagrant plugin for test flow (#13860)
sebathomas Sep 7, 2022
0c49239
feat(dp): Add support for json columns in db framework (#13863)
jkmar Sep 7, 2022
15c16eb
refactor(nms): replace moment.js with date-fns (#13804)
Neudrino Sep 7, 2022
9b338d4
Addressed review comments
rsarwad Sep 7, 2022
74db2ab
chore(ci): codecov should not fail the build pipeline (#13866)
Neudrino Sep 7, 2022
c40bfe4
feat(dp): Add interface for radio controller replacement (#13864)
jkmar Sep 7, 2022
66f3799
feat(agw): Write per subscriber APN specific data into subscriberDB s…
vroon2703 Sep 7, 2022
ea38c5c
chore: delete stale example dir (#13829)
lucasgonze Sep 8, 2022
ffe5bb1
fix(ci): Join the qfi test to resolve test interdependency issue (#13…
Sep 8, 2022
3082cfc
chore(orc8r): Rework domain-proxy configuration file (#13875)
jkmar Sep 8, 2022
c31168d
fix(dp): add 103 grantId handling (#13876)
Sep 8, 2022
5959b34
chore(dp): remove channels DB table (#13871)
Sep 8, 2022
d6cea33
chore(nms): Upgrade chart-js-2 and react-chart-js (#13590)
thmsschmitt Sep 9, 2022
6827767
fix(orc8r): Updated helm chart version for 1.8.0 release (#13731)
ShubhamTatvamasi Sep 9, 2022
0fe1ed0
chore(dp): Move AMC to dp orc8r service (#13886)
jkmar Sep 9, 2022
bb73325
fix(mobilityd): Set daemon flag for mobilityd timers (#13879)
sebathomas Sep 12, 2022
3c5edbf
fix(nms): Show an error message if the user login fails (#13888)
sebathomas Sep 12, 2022
7673213
fix: bazel base uses same folly version as magma vm (#13867)
nstng Sep 12, 2022
0a6dbec
fix(dp): Adjust dp config to deployment names (#13893)
jkmar Sep 12, 2022
c4de1e5
fix(ci): Add repository with grpc-dev version 1.43 (#13896)
LKreutzer Sep 12, 2022
3abc95e
chore: bump postcss (#13675)
lucasgonze Sep 12, 2022
1f355f9
fix(nms): bump network timeout to avoid preventable build failures (#…
lucasgonze Sep 12, 2022
ff523a8
Addressed review comments
rsarwad Sep 7, 2022
baf982e
Merge branch '11191_move_ue_context' of https://github.com/rsarwad/ma…
rsarwad Sep 13, 2022
a7a1a9d
Merge remote-tracking branch 'upstream/master' into 11191_move_ue_con…
rsarwad Sep 13, 2022
43f3d01
feat(ci): Add federated integ test for HSS (#13805)
orion-belt Sep 13, 2022
e8b2d80
chore(agw): Tidy up fabfile (#13872)
voisey Sep 13, 2022
b9747f5
fix(ci): activate carryforward + apply best practise for flag managem…
Neudrino Sep 13, 2022
e2cd8f3
chore(agw): Create convenient aliases in magma-dev VM for service com…
LKreutzer Sep 13, 2022
9d4a75d
chore(ci): Parallelize the LTE integ tests and the sudo python tests …
LKreutzer Sep 13, 2022
88b6e7f
fix: ansible is pinned because of ansible-core 2.13.4 breaking change…
nstng Sep 13, 2022
0f9a6d3
fix(amf): Adding Reject if Static ip configured is in subset of ip_po…
Sathyaj27 Sep 14, 2022
94547e4
chore(dp): New AmcManager CreateRequest func (#13908)
Sep 14, 2022
1a22cca
chore(dp): Implement AmcManager DeleteCbsd func (#13921)
Sep 14, 2022
5444521
fix: golangci is upgraded to 1.47.3 in order to support generics (#13…
nstng Sep 14, 2022
0589db4
fix(dp): make 37 default value for max_eirp (#13922)
WojSad Sep 14, 2022
da0d251
chore(dp): Implement AmcManager UpdateCbsd func (#13927)
Sep 14, 2022
935783d
chore: magma deb build is bazelified (#13749)
nstng Sep 14, 2022
5287b74
fix(agw): Fix wildcard expansion error in magma aliases (#13929)
LKreutzer Sep 15, 2022
a61dd26
feat(agw): dockerize the agw envoy controller (#13852)
wolfseb Sep 15, 2022
886ce0e
feat(agw): LTE integration tests run on a containerized AGW (#13853)
mpfirrmann Sep 15, 2022
1212843
chore(dp): WithinTx should not suppress panic (#13933)
Sep 15, 2022
11896c1
chore(dp): Get rid of legacy active-mode controller (#13906)
sklgromek Sep 15, 2022
cadd2b8
feat(dp): Implement GetState in DP orc8r service (#13914)
WojSad Sep 15, 2022
f042921
docs(agw): Mark the AGWC Helm chart as experimental (#13920)
jheidbrink Sep 15, 2022
3356cb0
chore(dp): Fix domain-proxy build job (#13937)
sklgromek Sep 15, 2022
e718514
feat(dp): Use database directly in AMC (#13930)
jkmar Sep 15, 2022
0118afd
chore(orc8r): Add missing dp enabled parameter to terraform input tem…
sklgromek Sep 15, 2022
9755fdf
fix(agw): perform install of magma runtime dependencies (#13924)
berezovskyi-oleksandr Sep 15, 2022
0e293ef
chore(dp): Preallocate memory when collecting column pointers (#13890)
jkmar Sep 16, 2022
b8ad056
chore(dp): supressed radio controller operation (#13925)
WojSad Sep 16, 2022
8dc6dea
test(cwg): Stabilizing `TestGyCreditExhaustionRedirect` (#13870)
MoritzThomasHuebner Sep 18, 2022
4299e29
chore(agw): cleanup apt installs in agw Dockerfiles (#13932)
wolfseb Sep 19, 2022
1d34f11
fix(agw): Downgrade grpcio to fix pylint (#13946)
sebathomas Sep 19, 2022
f6f1d00
fix(ci): Add missing paths to path filter (#13959)
jheidbrink Sep 19, 2022
f9decaf
chore(ci): run integ tests again deb installation in ci (#13842)
Sep 19, 2022
366f6be
fix(nms): Improve sync of NMS organizations and orc8r tenants (#13917)
sebathomas Sep 19, 2022
e111d5a
fix(agw): the envoy controller is in the feg image (#13947)
Neudrino Sep 19, 2022
5a26549
chore: #11633 is reverted manually (#13868)
nstng Sep 19, 2022
c89642a
fix: py cryptography is pinned to a version that works with magma (#1…
nstng Sep 19, 2022
dc69a34
feat(agw): all AGW containeres have health checks (#13918)
mpfirrmann Sep 19, 2022
3ab0f9d
fix(agw): Modified code to remove unused files, pgw_pcef_emulation.cp…
rsarwad Sep 20, 2022
dc23b8c
feat(amf): Support for Protocol Configuration Options IE (#13768)
sreedharkumartn Sep 20, 2022
a9c2f01
fix(agw): Pin version of grpcio_tool in python_dev ansible role (#13957)
mpfirrmann Sep 20, 2022
8f7d260
Merge remote-tracking branch 'upstream/master' into 11191_move_ue_con…
rsarwad Sep 20, 2022
59c836c
Addressed review comments
rsarwad Sep 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 13 additions & 8 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ startup --host_jvm_args="-Xmx8g"
build --announce_rc
build --color=yes

build:production --config=lsan --strip=never --copt=-O3
build:production --config=lsan --copt=-O3

# C/C++ CONFIGS
build --cxxopt=-std=c++14
build --compilation_mode=dbg
# Create debug information only for magma binaries (not for external dependencies).
# --compilation_mode=dbg would also create debug information of external dependencies
# and increase the size of artifacts drastically.
# Needs --strip=never so that debug information is not removed by the linker.
# See https://bazel.build/docs/user-manual#compilation-mode and
# https://bazel.build/docs/user-manual#strip
build --strip=never
build --per_file_copt=^lte/gateway/c/.*$@-g

# DEFAULT TEST CONFIGURATION
# Please read the GH issue #13073 before adding "test" options.
Expand All @@ -32,19 +39,17 @@ common:disk_cache --repository_cache=/var/cache/bazel-cache-repo
# REMOTE CACHING READ AND WRITE CONFIGS
# The file bazel/bazelrcs/remote_caching_rw.bazelrc is templated in CI
# The full config is then written to bazel/bazelrcs/cache.bazelrc
build:remote_caching_rw --remote_download_minimal
# --remote_download_toplevel instead of --remote_download_minimal is
# needed for 'bazel run' due to https://github.com/bazelbuild/bazel/issues/11920
run:remote_caching_rw --remote_download_toplevel

# REMOTE CACHING READ-ONLY CONFIGS
# The file bazel/bazelrcs/remote_caching_ro.bazelrc is templated in CI
# The full config is then written to bazel/bazelrcs/cache.bazelrc
build:remote_caching_ro --remote_upload_local_results=false
build:remote_caching_ro --remote_download_minimal

# REMOTE DOWNLOAD OPTIMIZATION
build:remote_download_optimization --remote_download_minimal
# --remote_download_toplevel instead of --remote_download_minimal is
# needed for 'bazel run' due to https://github.com/bazelbuild/bazel/issues/11920
run:remote_caching_ro --remote_download_toplevel
run:remote_download_optimization --remote_download_toplevel

# Import the bazel caching config, with default disk cache,
# which in CI gets overwritten by the remote caching config.
Expand Down
56 changes: 11 additions & 45 deletions .devcontainer/bazel-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RUN echo "Install general purpose packages" && \
apt-get install -y --no-install-recommends \
apt-transport-https \
apt-utils \
# dependencies of FreeDiameter
bison \
build-essential \
ca-certificates \
Expand All @@ -29,39 +28,30 @@ RUN echo "Install general purpose packages" && \
git \
gnupg2 \
g++ \
# dependency of mobilityd (tests)
iproute2 \
# dependency of python services (e.g. magmad)
iputils-ping \
iproute2 `# dependency of mobilityd (tests)` \
iputils-ping `# dependency of python services (e.g. magmad)` \
flex \
libconfig-dev \
# dependency of @sentry_native//:sentry
libcurl4-openssl-dev \
# dependencies of oai/mme
libcurl4-openssl-dev `# dependency of @sentry_native//:sentry` \
libczmq-dev \
libgcrypt-dev \
libgmp3-dev \
libidn11-dev \
libsctp1 \
libsqlite3-dev \
# dependency of sctpd
libsctp-dev \
libsctp-dev `# dependency of sctpd` \
libssl-dev \
# dependency of pip systemd
libsystemd-dev \
libsystemd-dev `# dependency of pip systemd` \
lld \
# dependency of python services (e.g. magmad)
net-tools \
# dependency of python services (e.g. pipelined)
netbase \
net-tools `# dependency of python services (e.g. magmad)` \
netbase `# dependency of python services (e.g. pipelined)` \
python${PYTHON_VERSION} \
python-is-python3 \
python3-distutils `# dependency of bazel pip_parse rule` \
software-properties-common \
# dependency of python services (e.g. magmad)
systemd \
systemd `# dependency of python services (e.g. magmad)` \
unzip \
# dependency of liagent
uuid-dev \
uuid-dev `# dependency of liagent` \
vim \
wget \
zip
Expand All @@ -82,38 +72,14 @@ RUN apt-get install -y --no-install-recommends \
libpcap-dev=1.9.1-3 \
libmnl-dev=1.0.4-2

## Install Fmt (Folly Dep)
RUN git clone https://github.com/fmtlib/fmt.git && \
cd fmt && \
mkdir _build && \
cd _build && \
cmake -DBUILD_SHARED_LIBS=ON -DFMT_TEST=0 .. && \
make -j"$(nproc)" && \
make install && \
cd / && \
rm -rf fmt

# Facebook Folly C++ lib
# Note: "Because folly does not provide any ABI compatibility guarantees from
# commit to commit, we generally recommend building folly as a static library."
# Here we checkout the hash for v2021.02.22.00 (arbitrary recent version)
RUN git clone --depth 1 --branch v2021.02.15.00 https://github.com/facebook/folly && \
cd /folly && \
mkdir _build && \
cd _build && \
cmake -DBUILD_SHARED_LIBS=ON .. && \
make -j"$(nproc)" && \
make install && \
cd / && \
rm -rf folly

# setup magma artifactories and install magma dependencies
RUN wget -qO - https://artifactory.magmacore.org:443/artifactory/api/gpg/key/public | apt-key add - && \
add-apt-repository 'deb https://artifactory.magmacore.org/artifactory/debian-test focal-ci main' && \
add-apt-repository 'deb https://artifactory.magmacore.org/artifactory/debian-test focal-1.7.0 main' && \
apt-get update -y && \
apt-get install -y --no-install-recommends \
bcc-tools \
libfolly-dev \
liblfds710 \
oai-asn1c \
oai-gnutls \
Expand Down
1 change: 0 additions & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# ISC License
#
# Copyright (c) 2017, Brandon Keepers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
# Copyright 2022 The Magma Authors.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: AGW docker load test

on:
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/agw-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
# Copyright 2022 The Magma Authors.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: agw-workflow

on:
Expand All @@ -18,8 +28,9 @@ concurrency:

env:
DEVCONTAINER_IMAGE: "ghcr.io/magma/magma/devcontainer:latest"
BAZEL_BASE_IMAGE: "ghcr.io/magma/magma/bazel-base:latest"
BAZEL_BASE_IMAGE: "ghcr.io/magma/magma/bazel-base:sha-4a878d8"
CACHE_KEY: bazel-base-image
REMOTE_DOWNLOAD_OPTIMIZATION: true

jobs:
path_filter:
Expand Down Expand Up @@ -287,7 +298,7 @@ jobs:
options: -v ${{ github.workspace }}:/workspaces/magma/ -v ${{ github.workspace }}/lte/gateway/configs:/etc/magma
run: |
cd $MAGMA_ROOT
bazel/scripts/remote_cache_bazelrc_setup.sh "${{ env.CACHE_KEY }}" "${{ secrets.BAZEL_REMOTE_PASSWORD }}"
bazel/scripts/remote_cache_bazelrc_setup.sh "${{ env.CACHE_KEY }}" "${{ env.REMOTE_DOWNLOAD_OPTIMIZATION }}" "${{ secrets.BAZEL_REMOTE_PASSWORD }}"
# Collecting coverage with Bazel can be slow. We can follow this thread to see if this can be improved: https://github.com/bazelbuild/bazel/issues/8178
# Coverage in bazel is flaky for remote caches - the flags below are helping. See GH13026 for details.
# TODO: GH11936 Omit OAI coverage until it is tested. We need to determine what the behavior is for doing both CMake and Bazel based coverage at the same time
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/amis-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
# Copyright 2022 The Magma Authors.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: amis-workflow

on:
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/autolabel-pullrequests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
# Copyright 2022 The Magma Authors.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: AutoLabel PR
on:
# Use pull_request_target to gain write permissions.
Expand All @@ -24,7 +34,6 @@ on:
- 'secrets/**'
- 'show-tech/**'
- 'third_party/**'
- 'xwf/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand Down Expand Up @@ -92,10 +101,6 @@ jobs:
console.log("file changed under ORC8R component : " + f['filename']);
newCompLbls.add("component: orc8r");
break;
case /^xwf\/.*/.test(f.filename):
console.log("file changed under XWF component : " + f['filename']);
newCompLbls.add("component: xwf");
break;
case /^show-tech\/.*/.test(f.filename):
console.log("file changed under SHOW-TECH component : " + f['filename']);
newCompLbls.add("component: show-tech");
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/backport-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Copyright 2022 The Magma Authors.
#
# This source code is licensed under the BSD-style license found in the
Expand Down Expand Up @@ -34,6 +33,10 @@ jobs:
)
)
steps:
- run: |
echo '{
"prTitle": "{commitMessages} [backport to {targetBranch}]"
}' > .backportrc.json
- name: Backport Action
uses: sqren/backport-github-action@f54e19901f2a57f8b82360f2490d47ee82ec82c6 # [email protected]
with:
Expand Down
Loading