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

add support to create L2TP and PPTP VPN connection #4746

Merged

Conversation

jremerich
Copy link
Contributor

SUMMARY

Add support to nmcli module to manage L2TP and PPTP VPN connections.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/net_tools/nmcli.py

ADDITIONAL INFORMATION

It manages VPN connections of service types L2TP and PPTP on the host

@ansibullbot

This comment was marked as outdated.

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR net_tools new_contributor Help guide this first time contributor plugins plugin (any type) labels May 29, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. I've added some first comments. Please also add a changelog fragment.

plugins/modules/net_tools/nmcli.py Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-5 labels May 29, 2022
jremerich and others added 8 commits May 29, 2022 17:51
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
@ansibullbot

This comment was marked as outdated.

- add changelog fragment
- change example code to use jinja2 in place of shell command
@ansibullbot

This comment was marked as outdated.

@ansibullbot ansibullbot removed the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label May 29, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Please also add tests for this to tests/unit/plugins/modules/net_tools/test_nmcli.py.

plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
jremerich and others added 3 commits May 30, 2022 10:30
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
plugins/modules/net_tools/nmcli.py Outdated Show resolved Hide resolved
This was referenced Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module net_tools new_contributor Help guide this first time contributor plugins plugin (any type) tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants