Skip to content

docs: remove Vagrant documentation from magma-documentation#59

Open
Spirizeon wants to merge 8 commits into
magma:mainfrom
Spirizeon:remove-vagrant-docs
Open

docs: remove Vagrant documentation from magma-documentation#59
Spirizeon wants to merge 8 commits into
magma:mainfrom
Spirizeon:remove-vagrant-docs

Conversation

@Spirizeon
Copy link
Copy Markdown

Summary

Remove Vagrant-related documentation from the magma-documentation repository as part of the approved TSC plan to deprecate and remove Vagrant deployment in Magma (see magma/magma#15754).

This addresses Issue #45.

Changes

Prerequisites (readmes/basics/prerequisites.md)

  • Removed Vagrant and VirtualBox from macOS development tools list
  • Removed Vagrant and VirtualBox from Ubuntu development tools list
  • Removed Vagrant plugin installation instructions

Introduction (readmes/basics/introduction.md)

  • Added new "Deployment Methods" section
  • Added deprecation notice: "Vagrant-based AGW deployment has been deprecated and will be removed in a future release"
  • Added link to Docker-based AGW deployment guide

Quick Start Guide (readmes/basics/quick_start_guide.md)

  • Replaced Vagrant-based AGW VM setup with Docker-based deployment
  • Added reference to agw_docker_install.sh
  • Updated AGW registration to use Docker commands
  • Added links to Docker deployment guide and S1AP tests

Docusaurus Docs (docusaurus/docs/)

  • Updated prerequisites.md and quick_start_guide.md with similar changes

Testing

Searched repository for remaining Vagrant references:

  • readmes/basics/prerequisites.md - removed
  • readmes/basics/quick_start_guide.md - updated
  • docusaurus/docs/basics/ - updated
  • Additional files (lte/setup.md, cwf/setup.md, etc.) remain - can be addressed in follow-up PR

Related Issues

Spirizeon and others added 4 commits May 3, 2026 22:56
- Removed Vagrant and VirtualBox from prerequisites (macOS and Ubuntu)
- Replaced Vagrant-based AGW setup with Docker-based deployment
- Added deprecation notice in introduction.md directing users to Docker
- Updated quick_start_guide.md to use agw_docker_install.sh
- Part of Issue magma#45: Remove Vagrant Documentation from Magma Documentation Repository

See: magma/magma#15754
- Removed Vagrant and VirtualBox from prerequisites (macOS and Ubuntu)
- Replaced Vagrant-based AGW setup with Docker-based deployment
- Added deprecation notice in introduction.md directing users to Docker
- Updated quick_start_guide.md to use agw_docker_install.sh
- Part of Issue magma#45: Remove Vagrant Documentation from Magma Documentation Repository

See: magma/magma#15754
- Fixed relative link from ./deployment/agw/docker.md to ../deployment/agw/docker.md
- Added migration guide reference to deprecation notice pointing to issue #15754
Spirizeon added 3 commits May 3, 2026 23:10
- Updated docusaurus/docs/lte/setup.md to use Docker instead of Vagrant
- Updated readmes/lte/readme_agw.md to use docker exec instead of vagrant ssh
- Updated readmes/lte/build_install_magma_pkg_in_agw.md to use Docker
- Updated readmes/lte/dev_unit_testing.md to use Docker containers

Part of Issue magma#45: Remove Vagrant Documentation
- Updated docusaurus/docs/cwf/setup.md to use Docker instead of Vagrant
- Added deprecation notice to docusaurus/docs/lte/s1ap_tests.md
- Added deprecation notice to readmes/feg/s1ap_federated_tests.md
- Updated architecture section to remove Vagrant mentions

Part of Issue magma#45: Remove Vagrant Documentation
- docusaurus/docs/lte/setup.md: Fixed cd path (cd deploy instead of cd lte/gateway/deploy)
- readmes/lte/build_install_magma_pkg_in_agw.md: Removed duplicate bazel command, changed VM to container
- readmes/lte/dev_unit_testing.md: Changed VM to CONTAINER in test/format sections
- readmes/orc8r/dev_gateway_registration.md: Updated paths for Docker instead of Vagrant
- docusaurus/docs/lte/README_AGW.md: Updated CLI example for Docker
- readmes/bazel/agw_with_bazel.md: Added deprecation notes for Vagrant VMs

Part of Issue magma#45: Remove Vagrant Documentation
Copy link
Copy Markdown
Collaborator

@lucaaamaral lucaaamaral left a comment

Choose a reason for hiding this comment

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

Thank you for the time and effort invested in this, I appreciate. I have some nits.
Don't change documentation outside readmes unless you have a strong reason to.

Comment thread readmes/basics/quick_start_guide.md Outdated
vagrant machine under `lte/gateway`.
> **Note**: Vagrant-based development has been deprecated. Please use the
> Docker-based AGW deployment. See the [AGW Docker deployment guide](../deployment/agw/docker.md)
> for the latest instructions.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need to mention this here. The previous version is still correct. A VM is used for deploying, this is the easiest "quick start" possible.
You can rephrase to make the intent clearer.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Current documentation lives on readmes, don't change anything else unless you have a reason to.

Comment thread readmes/basics/quick_start_guide.md Outdated
Go ahead and open up 2 fresh terminal tabs.

### Terminal Tab 1: Provision the AGW VM
### Terminal Tab 1: Provision the AGW (Docker)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We still use VMs to provision AGW, this is the best "quick start" way possible to go.

Comment thread readmes/basics/quick_start_guide.md Outdated
any production hardware on hand to test an end-to-end setup.
We'll be setting up the LTE AGW VM in this tab.
The development environment can use Docker to run the Access Gateway. See the
[AGW Docker deployment](../deployment/agw/docker.md) for detailed instructions.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would very much approciate if you reviewed if the file existed before submitting the PR. Or create one with targeted content if it does not exist. This is on roadmap, only not implemented yet.

Comment on lines -179 to -184
At this point, you will have built all the code in the LTE access gateway and
the Orchestrator cloud. All the services on the LTE access gateway and
orchestrator cloud are running, but your gateway VM isn't yet set up to
communicate with your local cloud.

We have a fabric command set up to do this:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Think from the point of view of the reader, add a little bit of context or reference a file for this context. "Why do we need to register the AGW to the orchestrator" was something the previous text attempted to answer.

Comment thread readmes/bazel/agw_with_bazel.md Outdated
Comment on lines +113 to +116
- Vagrant VMs (Deprecated)
- **magma-dev**
- The magma-dev virtual machine is intended for local development and for extended testing in CI. It can be used to run the Magma AGW services, as well as e.g. the [Python sudo tests](#python-sudo-tests).
- > **Note**: Vagrant-based development has been deprecated. Use Docker-based AGW instead.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You can straight up remove it.

Comment thread readmes/bazel/agw_with_bazel.md Outdated
- > **Note**: Vagrant-based development has been deprecated. Use Docker-based AGW instead.
- **magma-test**
- The magma-test virtual machine is used in CI to run the [LTE integration tests](#lte-integration-tests).
- > **Note**: Vagrant-based testing has been deprecated.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You can remove it.

Comment thread readmes/feg/s1ap_federated_tests.md Outdated
Comment on lines +9 to +10
> **Note**: Vagrant-based testing has been deprecated. Docker-based deployment is now recommended.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need - the documentation is updated already.

Comment thread readmes/lte/dev_unit_testing.md Outdated

To SSH into the magma-dev VM, run
> **Note**: Vagrant-based testing has been deprecated. Please use Docker containers.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need, remove.

The registration token expires every 30 minutes and automatically refreshes every time the operator fetches this unregistered gateway.
2. The operator runs the `register.py` script at the gateway with the registration token and its Orc8r's domain name.

> **Note**: Vagrant-based AGW has been deprecated. Please use Docker-based AGW deployment.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No need, remove.

- Reverted changes to docusaurus/docs/ (keep only readmes/ changes)
- Removed redundant deprecation notices from agw_with_bazel.md,
  s1ap_federated_tests.md, dev_unit_testing.md, dev_gateway_registration.md
- Updated VM references in quick_start_guide.md (VMs still valid for quick start)
- Fixed broken link to use existing ../lte/deploy_install_docker.md

Part of Issue magma#45
@Spirizeon
Copy link
Copy Markdown
Author

@lucaaamaral Thank you for the review! I have tried to resolve the requested changes.

@lucaaamaral
Copy link
Copy Markdown
Collaborator

Revert changes on docusaurus/docs

@lucaaamaral
Copy link
Copy Markdown
Collaborator

Check my comments, there are still unnadressed points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Remove Vagrant Documentation from Magma Documentation Repository

2 participants