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

Test infra set up for OAI RAN and core testing #439

Closed
gvbalaji opened this issue Nov 14, 2023 · 6 comments
Closed

Test infra set up for OAI RAN and core testing #439

gvbalaji opened this issue Nov 14, 2023 · 6 comments
Assignees
Labels
area/test-infra SIG Release Test Infra sig/release
Milestone

Comments

@gvbalaji
Copy link

We need a set up to test OAI RAN and core as described in the deployment architecture. For this we need to set up clustes in test infra. At this time we can test free5gc and OAI separately.

@gvbalaji
Copy link
Author

https://drive.google.com/file/d/1KVgc4ohmdocfExMG0F_9N_iBCgu9Pcep/view
@arora-sagar @josephthaliath please see if this deployment is still accurate.

@electrocucaracha
Copy link
Member

I've been thinking about this enablement, and I've concluded that the following tasks are required:

  1. Create an environment variable to specify the End-to-End scenario to execute, e.g ${NEPHIO_E2E_TYPE:-free5gc} and move the existing testing scripts from e2e/tests/ to e2e/tests/free5gc and update their references. [medium]
  2. Create new sequential bash scripts in e2e/tests/oai for End-to-End scenario. These scripts can reuse the assertion and waiting functions previously defined for free5gc. [large]
  3. Define new Terraform variables to control and pass the End-to-End scenario to execute. [small]
  4. Create new on-demand and periodic prow jobs that cover the new ${NEPHIO_E2E_TYPE:-oai} e2e scenario. [small]

If you don't mind, I'll start with the first task.

@arora-sagar
Copy link

@electrocucaracha sure you can start. I just recommend using some generic names or just using r2 nothing specific to oai later if we adapt free5GC a bit we can use the same infra for free5GC.

I have made slight changes in the diagram to add new VLAN IDs and VPC. Also, the naming of the clusters is different than R1. It is done to accommodate naming from O-RAN (Core, Regional, and Edge Cluster). For cluster naming, we need to make changes in the packages and their labels.

For networking, we need to make changes in

  1. test-infra/e2e/tests/002-topo.gotmpl change the name from free5gc to something generic (I don't recommend using oai either just something generic or r2-network)
  2. test-infra/e2e/provision/hacks/vlan-interfaces.sh add new vlan ids in for i in {2..4} change it to for i in {2..6}
  3. Update the nephio-example-packages/network with new vpcs
  4. Update test-infra/e2e/provision/hacks/network-topo.sh with new cluster labels and network name

@electrocucaracha
Copy link
Member

electrocucaracha commented Nov 29, 2023

Initial tasks detected for this implementation:

  • Create an environment variable to specify the End-to-End scenario to execute, e.g ${NEPHIO_E2E_TYPE:-free5gc} and move the existing testing scripts from e2e/tests/ to e2e/tests/free5gc and update their references. Completed
  • Create new sequential bash scripts in e2e/tests/oai for End-to-End scenario. Completed
  • Define new Terraform variables to control and pass the End-to-End scenario to execute. Completed
  • Create new on-demand and periodic prow jobs that cover the new ${NEPHIO_E2E_TYPE:-oai} e2e scenario. [Backlog]
  • Rename topology from free5gc to something generic. Completed
  • Add new VLAN IDs in for i in {2..4} change it to for i in {2..6}. Completed
  • Update the nephio-example-packages/network with new vpcs. Completed
  • Update test-infra/e2e/provision/hacks/network-topo.sh with new cluster labels and network name. Completed

@henderiw
Copy link
Contributor

henderiw commented Jan 3, 2024

script updates to be tested

@josephthaliath
Copy link

PR: nephio-project/test-infra#227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test-infra SIG Release Test Infra sig/release
Projects
Status: Done
Development

No branches or pull requests

7 participants