PaloAltoNetworks / PaloAltoNetworks/pan.dev

Issue/Help with "Update a layer 3 subinterface"

Open
#937 0 comments 0 reactions 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/update-layer-3-subinterfaces-by-id/

Describe the problem

Updating a L3 Subinterface in a folder seems to be impossible. The name start with a "$" which seems to cause the error "INVALID_STRING_REGEX:
b'{"_errors":[{"code":"API_I00013","message":"Invalid Object. $ethernet1_3.16 '$ethernet1_3.16' is invalid","details":{"erro...valid","params":["$ethernet1_3.16"],"type":"INVALID_STRING_REGEX"}]}}],"_request_id":"19f437c6-2ed0-41ed-8143-00357a22e072"}\n'

Trying any other version of the name will cause the object not to be found anymore. So I am guessing that "$" needs to be allowed as a character.

Suggested fix

I am guessing that "$" needs to be allowed as a character.

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 the linked Update Layer 3 Subinterfaces by ID endpoint documentation and reproduce the folder update using the reported "$ethernet1_3.16" name. Determine whether the endpoint rejects a valid subinterface identifier or whether the documentation is inaccurate; done means the behavior is corrected or the documented limitation and valid naming rules are clear.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.