PaloAltoNetworks / PaloAltoNetworks/pan.dev
Issue/Help with "Create a tunnel interface"
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 78
- Forks
- 88
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 18
Description
Documentation link
https://pan.dev/scm/api/config/ngfw/network/create-tunnel-interfaces/
Describe the problem
"default-value" cannot be set, when creating a tunnel interface. The value is ignored by the API.
Also, when listing all existing tunnel interfaces (https://pan.dev/scm/api/config/ngfw/network/list-tunnel-interfaces/), the parameter is named "default_value" (with an underscore instead of a hyphen) and the returned value is not an integer but a string looking as following: "tunnel.".
This is inconsistent and may also be the cause of this issue.
Suggested fix
see problem description
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the create tunnel interfaces documentation with the linked list tunnel interfaces documentation, focusing on default-value/default_value and the returned value format. Determine whether the inconsistency is in the documentation or API behavior; done means the documented parameter and response format accurately match the verified behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100