-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: rsarwad_migrate_state_ue_ht_s1ap
Are you sure you want to change the base?
Conversation
…tobuf structure, UeDescription in s1ap module Signed-off-by: Rashmi <[email protected]>
from s1ap_types.hpp Signed-off-by: Rashmi <[email protected]>
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
❌ The Semantic PR check ended with status failure. See instructions on formatting your commit and pull request titles. |
void* parameterP, void** resultP) { | ||
mme_ue_s1ap_id_t* mme_ue_s1ap_id_p = (mme_ue_s1ap_id_t*)parameterP; | ||
ue_description_t* ue_ref = (ue_description_t*)elementP; | ||
if (*mme_ue_s1ap_id_p == ue_ref->mme_ue_s1ap_id) { | ||
UeDescription* ue_ref = (UeDescription*)elementP; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<UeDescription*>(...) instead [readability/casting] [4]
void* parameterP, void** resultP) { | ||
imsi64_t imsi64 = INVALID_IMSI64; | ||
imsi64_t* target_imsi64 = (imsi64_t*)parameterP; | ||
ue_description_t* ue_ref = (ue_description_t*)elementP; | ||
UeDescription* ue_ref = (UeDescription*)elementP; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<UeDescription*>(...) instead [readability/casting] [4]
f274d37
to
d7925b0
Compare
Signed-off-by: Rashmi <[email protected]>
d7925b0
to
fafd30f
Compare
4d2837d
to
68afe56
Compare
Signed-off-by: Rashmi <[email protected]>
Signed-off-by: Rashmi <[email protected]>
Signed-off-by: Rashmi <[email protected]>
* chore(agw): Clean up unnecessary Make commands: build_c and test_c Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: clang_tidy_oai and clang_tidy_oai_upload Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: build_oai_clang and clang_warning_oai_upload Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: help Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: log, logs and status Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: precommit_sm and precommit_oai Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: scan_oai Signed-off-by: Lars Kreutzer <[email protected]> * chore(agw): Clean up unnecessary Make commands: smf_build Signed-off-by: Lars Kreutzer <[email protected]> Signed-off-by: Lars Kreutzer <[email protected]>
Signed-off-by: Rashmi <[email protected]>
Modified code to replace hashtable with protobuf map for state_ue hash table in s1ap module
Signed-off-by: Sebastian Thomas <[email protected]>
Signed-off-by: Rashmi <[email protected]>
@@ -1,7 +1,7 @@ | |||
ARG ENV=standard | |||
FROM python:3.9.2-slim-buster as protos-generator | |||
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends curl=7.64.0-4+deb10u2 zip=3.0-11+b1 make=4.2.1-1.2 unzip=6.0-23+deb10u2 | |||
RUN apt-get update && apt-get install -y --no-install-recommends curl zip make unzip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,7 +1,7 @@ | |||
ARG ENV=standard | |||
FROM python:3.9.2-slim-buster as protos-generator | |||
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends curl=7.64.0-4+deb10u2 zip=3.0-11+b1 make=4.2.1-1.2 unzip=6.0-23+deb10u2 | |||
RUN apt-get update && apt-get install -y --no-install-recommends curl zip make unzip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,7 +1,7 @@ | |||
ARG ENV=standard | |||
FROM python:3.9.2-slim-buster as protos-generator | |||
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends curl=7.64.0-4+deb10u2 zip=3.0-11+b1 make=4.2.1-1.2 unzip=6.0-23+deb10u2 | |||
RUN apt-get update && apt-get install -y --no-install-recommends curl zip make unzip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment: | ||
- MAGMA_DEV_MODE=1 | ||
|
||
monitord: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[misspell] reported by reviewdog 🐶
"monitord" is a misspelling of "monitored"
/dp/{network_id}/cbsds/{cbsd_id}/relinquish: | ||
post: | ||
parameters: | ||
- $ref: '#/parameters/network_id' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[yamllint] reported by reviewdog 🐶
[error] wrong indentation: expected 8 but found 6 (indentation)
$ref: '#/responses/UnexpectedError' | ||
summary: Force relinquish all grants in SAS of given CBSD | ||
tags: | ||
- cbsds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[yamllint] reported by reviewdog 🐶
[error] wrong indentation: expected 8 but found 6 (indentation)
Signed-off-by: Rashmi <[email protected]>
441db76
to
9c6abcf
Compare
…ow (magma#13803) Signed-off-by: Lars Kreutzer <[email protected]> Co-authored-by: Lars Kreutzer [email protected] Co-authored-by: Krisztián Varga [email protected] Signed-off-by: Lars Kreutzer <[email protected]>
… for feg and systemd magmad for agw. So the detection fails. (magma#13781) Signed-off-by: Christian Krämer <[email protected]> Signed-off-by: Christian Krämer <[email protected]>
* feat(agw): envoy controller is dockerized Signed-off-by: Christian Krämer <[email protected]> * feat(agw): envoy namespace is now configured by the envoy service Signed-off-by: Christian Krämer <[email protected]> * feat(agw): install dhclient in pipelined container Signed-off-by: Sebastian Wolf <[email protected]> Signed-off-by: Christian Krämer <[email protected]> Signed-off-by: Sebastian Wolf <[email protected]> Co-authored-by: Christian Krämer <[email protected]> Co-authored-by: Marco Pfirrmann <[email protected]>
) * feat(agw): restart functions can now handle docker containers and systemd services Signed-off-by: Marco Pfirrmann <[email protected]> * feat(agw): handling of redis states is improved Signed-off-by: Marco Pfirrmann <[email protected]> * feat(agw): cleanup redis if not empty Signed-off-by: Marco Pfirrmann <[email protected]> * feat(agw): service restart is adapted to new syntax Signed-off-by: Marco Pfirrmann <[email protected]> Signed-off-by: Marco Pfirrmann <[email protected]>
Signed-off-by: Jarosław Jaszczuk <[email protected]> Signed-off-by: Jarosław Jaszczuk <[email protected]>
Signed-off-by: Tomasz Gromowski <[email protected]> Signed-off-by: Tomasz Gromowski <[email protected]>
* feat(dp): Implement GetState in DP orc8r service Signed-off-by: Wojciech Sadowy <[email protected]> * fixes Signed-off-by: Wojciech Sadowy <[email protected]> * adding test with more cbsds and grants Signed-off-by: Wojciech Sadowy <[email protected]> * fixes after rebase Signed-off-by: Wojciech Sadowy <[email protected]> Signed-off-by: Wojciech Sadowy <[email protected]> Co-authored-by: Wojciech Sadowy <[email protected]>
Signed-off-by: Jan Heidbrink <[email protected]>
Signed-off-by: Tomasz Gromowski <[email protected]> Signed-off-by: Tomasz Gromowski <[email protected]>
Previously AMC used additional grpc service to communicate with the database, but it was inefficient. Signed-off-by: Kuba Marciniszyn <[email protected]> Signed-off-by: Kuba Marciniszyn <[email protected]>
…plate (magma#13934) Signed-off-by: Tomasz Gromowski <[email protected]>
Signed-off-by: Oleksandr Berezovskyi <[email protected]> Signed-off-by: Oleksandr Berezovskyi <[email protected]>
…13890) Signed-off-by: Kuba Marciniszyn <[email protected]> Signed-off-by: Kuba Marciniszyn <[email protected]>
Signed-off-by: Wojciech Sadowy <[email protected]> Signed-off-by: Wojciech Sadowy <[email protected]> Co-authored-by: Wojciech Sadowy <[email protected]>
* test(cwag): Modified quotas - Make `TestGyCreditExhaustionRedirect` more stable by reducing the quota and the requested data volume. - Larger data requests are more likely to fail. - test(cwag): Reformatted comments
Sort all installed packages alphabetically, remove duplicates, and add explicit cleanup after installing Signed-off-by: Sebastian Wolf <[email protected]> Signed-off-by: Sebastian Wolf <[email protected]>
Downgrade grpcio in - setup.py - build script - bazel setup Signed-off-by: Sebastian Thomas <[email protected]>
Signed-off-by: Jan Heidbrink <[email protected]>
* chore(ci): Add a new CI workflow for running integ tests against magma debian installation Signed-off-by: Alex Jahl <[email protected]> * chore(ci): Improve comparison with None Signed-off-by: Cameron Voisey <[email protected]> Signed-off-by: Alex Jahl <[email protected]> Signed-off-by: Cameron Voisey <[email protected]> Co-authored-by: Cameron Voisey <[email protected]>
…13917) * fix(nms): Improve sync of NMS organizations and orc8r tenants - Sync all changes of NMS organization to orc8rs - Add documentation that orc8r tenant API should not be used to modify tenants - Fix wrong description in NMS organization edit dialog Signed-off-by: Sebastian Thomas <[email protected]> * fix(nms): Improve sync of NMS organizations and orc8r tenants - Sync all changes of NMS organization to orc8rs - Add documentation that orc8r tenant API should not be used to modify tenants - Fix wrong description in NMS organization edit dialog Signed-off-by: Sebastian Thomas <[email protected]>
* fix(agw): the envoy controller is in the feg image Signed-off-by: Fritz Lehnert <[email protected]> * fix(agw): only 1 go service does not need abstraction Signed-off-by: Fritz Lehnert <[email protected]>
Signed-off-by: Nils Semmelrock <[email protected]> Signed-off-by: Nils Semmelrock <[email protected]>
…gma#13960) Signed-off-by: Nils Semmelrock <[email protected]> Signed-off-by: Nils Semmelrock <[email protected]>
Signed-off-by: Marco Pfirrmann <[email protected]>
…p/hpp and also removed unused structure, deactivated_predefined_pcc_rules (magma#13943) Signed-off-by: Rashmi <[email protected]>
* feat(amf): Support for Protocol Configuration Options IE Signed-off-by: sreedharkumartn <[email protected]> * Addressed Review Comments (R1) Signed-off-by: sreedharkumartn <[email protected]> * Addressed Review Comments (R2) Signed-off-by: sreedharkumartn <[email protected]> Signed-off-by: sreedharkumartn <[email protected]>
…a#13957) Signed-off-by: Marco Pfirrmann <[email protected]>
…text Signed-off-by: Rashmi <[email protected]>
"health", | ||
"kernsnoopd", | ||
"mobilityd", | ||
"monitord", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[misspell] reported by reviewdog 🐶
"monitord" is a misspelling of "monitored"
9bafb19
to
555307b
Compare
Signed-off-by: Rashmi <[email protected]>
555307b
to
59c836c
Compare
Modified code to replace C structure ue_description_t to protobuf structure UeDescription
Summary
Modified code to replace C structure ue_description_t to protobuf structure UeDescription
Test Plan
Tested both unit test cases and end2end test cases with s1ap sanity test suite