openwisp / openwisp/netjsonconfig

[bug] WireGuard backend is missing parsers

Open
#276 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
388
Forks
87
Avg merge
1h 26m
Merged PRs (30d)
4

Description

The WireGuard backend does not implement parsers.

https://github.com/openwisp/netjsonconfig/blob/96d811fe79b907fa6d8aef2378fc651c4d815179/netjsonconfig/backends/wireguard/parser.py#L10-L21

We need to add parsers like OpenVPN backend.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with netjsonconfig/backends/wireguard/parser.py at lines 10-21, then compare the OpenVPN backend's parser implementation. Add the missing WireGuard parsers with equivalent coverage to OpenVPN, and verify that the WireGuard backend can parse its supported configuration data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.