PaloAltoNetworks / PaloAltoNetworks/pan.dev

Issue/Help with "Create a tunnel interface"

Open
#967 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.