Skip to content
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

feat(nms): Enable federation mapping configuration capability on federated LTE networks #11952

Merged
merged 2 commits into from Jun 24, 2022
Merged

feat(nms): Enable federation mapping configuration capability on federated LTE networks #11952

merged 2 commits into from Jun 24, 2022

Conversation

andreilee
Copy link
Contributor

Summary

This bridges a gap in feature parity between the Orc8r API and NMS.

Enables the ability to configure routing for a federated LTE network, as specified here.

This screenshot shows the addition of additional configuration displayed in the network page for a federated LTE network, specifically "Federated Mapping Mode"
Screen Shot 2022-03-03 at 3 30 49 PM

Clicking the "Edit" button, opens up a modal for configuring the federated LTE network. A new tab has been added, labeled "Federation":
Screen Shot 2022-03-03 at 3 30 56 PM

There is also the capability to configure the routing/mappings for federation purposes:
Screen Shot 2022-03-03 at 3 33 02 PM

Test Plan

  • Checked enabling/disabling mapping mode

  • Checked adding/editing/deleting mappings, and persistence across page refreshes, and consistency with direct access through Orc8r API

Additional Information

  • This change is backwards-breaking

@andreilee andreilee requested review from a team and HannaFar March 3, 2022 23:48
@pull-request-size pull-request-size bot added the size/XL Denotes a Pull Request that changes 500-999 lines. label Mar 3, 2022
@github-actions github-actions bot added the component: nms NMS-related issue label Mar 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2022

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@andreilee andreilee linked an issue Mar 3, 2022 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2022

nms-workflow

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit dc22a40.

♻️ This comment has been updated with latest results.

@thmsschmitt
Copy link
Contributor

Looks good to me, but the tests need to be adapted https://github.com/magma/magma/runs/5415473763?check_suite_focus=true

Copy link
Contributor

@thmsschmitt thmsschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above

@thmsschmitt thmsschmitt self-assigned this Jun 23, 2022
const classes = useStyles();
const {values} = props;
const onChange = field => event =>
// $FlowFixMe Set state for each field
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-warning-comments> reported by reviewdog 🐶
Unexpected '$FlowFixMe' comment: '$FlowFixMe Set state for each field'.

@@ -54,6 +55,8 @@ export default function FEGGatewayConfig() {
const ctx = useContext(FEGGatewayContext);
const gwInfo: federation_gateway = ctx.state[gatewayId];

console.log('gwInfo:', gwInfo);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

Copy link
Contributor

@thmsschmitt thmsschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test were actually broken for a reason.
I fixed the bug so that we can finally merge this.

andreilee and others added 2 commits June 24, 2022 14:57
Signed-off-by: Andrei Lee <andreilee@fb.com>
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
@thmsschmitt thmsschmitt enabled auto-merge (squash) June 24, 2022 13:19
@thmsschmitt thmsschmitt merged commit 7bf901d into magma:master Jun 24, 2022
emakeev pushed a commit to emakeev/magma that referenced this pull request Aug 5, 2022
…rated LTE networks (magma#11952)

* feat(nms): Add federated mode mapping capability

Signed-off-by: Andrei Lee <andreilee@fb.com>

* feat(nms): Only show federation tab for FEG_LTE networks

Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>

Co-authored-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: nms NMS-related issue size/XL Denotes a Pull Request that changes 500-999 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NMS] Inbound Roaming Support
2 participants