PaloAltoNetworks / PaloAltoNetworks/pan-os-codegen

Create gosdk level locking mechanism for resources that share xpaths

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

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
19
Forks
11
PR merge metrics
No merged PRs in 30d

Description

#204 introduced per-location locks for importing-related operations. This mechanism has to be made generic and expanded to support more cases: multiple operations within a shared config xpath, "nested resources" (e.g. interfaces and subinterfaces).

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 reviewing the per-location locking mechanism introduced in #204 and trace how importing-related operations currently use it. Map the shared config xpath and nested-resource cases described in the issue; done means a generic gosdk mechanism supports multiple operations on shared xpaths as well as resources such as interfaces and subinterfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.