Skip to content

Vpn management creation#562

Draft
asmodehn wants to merge 5 commits into
openwisp:masterfrom
asmodehn:vpn_management_creation
Draft

Vpn management creation#562
asmodehn wants to merge 5 commits into
openwisp:masterfrom
asmodehn:vpn_management_creation

Conversation

@asmodehn
Copy link
Copy Markdown
Member

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

First Draft for implementing the server part of #201.
Only tested in molecule for now.

Description of Changes

  • If openwisp2_openvpn_setup is set to true
  • If there is no VPN objects in openwisp
    A VPN server object is created by the load_initial_data.py script.
    Its name and id are known by ansible only for this run, which makes it possible to download the configuration and start the openvpn server.

That is if there is no error...

If an error occurs somewhere after adding the VPN object in the DB, the name and id of the VPN will not be available on the following runs, which means the setup must be completed manually...
Not sure if this is acceptable and/or if there is a better way to address that problem (known unique vpn_server_name that we can look for on every run instead ?)

In any case, let me know what you think about this...

@asmodehn asmodehn marked this pull request as draft November 14, 2025 10:40
Copy link
Copy Markdown

@DominatrixiaALLATU DominatrixiaALLATU left a comment

Choose a reason for hiding this comment

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

Maybe

@openwisp-companion
Copy link
Copy Markdown

Hi @asmodehn 👋,

This pull request has been marked as stale due to 163 days of inactivity after changes were requested.

As a result, any linked issues are being unassigned from you so other contributors can pick them up.

However, you can still continue working on this PR! If you push new commits or respond to the review feedback:

  • The issue will be reassigned to you
  • Your contribution is still very welcome

If you need more time or have questions about the requested changes, please let us know. We're happy to help! 🤝

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.

2 participants