Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .claude/skills/infix-dev/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ when_to_use: >-
Building or flashing an Infix image; running `make test` / writing a test case;
editing src/confd/yang or wiring a YANG model into a daemon; changing confd,
netd, statd or yangerd; changing src/webui pages, handlers or templates; debugging the
QEMU dev build; writing a commit, doc page or ChangeLog entry.
QEMU dev build; writing a commit, doc page or ChangeLog entry; committing or
pushing changes.
allowed-tools: Read, Grep, Glob, Bash(make *), Bash(go *), Bash(git submodule *), Bash(git status), Bash(git log:*), Bash(ls *)
---

Expand Down
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ over NETCONF, RESTCONF and a CLI from YANG models. The developer
documentation is in `doc/`, starting with `doc/developers-guide.md`,
and contribution rules are in `.github/CONTRIBUTING.md`.

Before building, testing or changing anything in this tree, invoke the
`infix-dev` skill in `.claude/skills/infix-dev/`. It names the document
to read for the task at hand and lists the rules reviewers enforce.
When the skill and the docs disagree, the docs win.
Before building, testing, changing, committing or pushing anything in
this tree, invoke the `infix-dev` skill in `.claude/skills/infix-dev/`.
It names the document to read for the task at hand and lists the rules
reviewers enforce. When the skill and the docs disagree, the docs win.
2 changes: 1 addition & 1 deletion src/yangerd/internal/zapiwatcher/zapiwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (w *ZAPIWatcher) collectRoutes(ctx context.Context, family string) ([]json.
var protocolMap = map[string]string{
"kernel": "infix-routing:kernel",
"connected": "ietf-routing:direct",
"local": "ietf-routing:direct",
"local": "infix-routing:kernel",
"static": "ietf-routing:static",
"ospf": "ietf-ospf:ospfv2",
"ospf6": "ietf-ospf:ospfv3",
Expand Down
2 changes: 1 addition & 1 deletion src/yangerd/internal/zapiwatcher/zapiwatcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestProtocolName(t *testing.T) {
cases := map[string]string{
"kernel": "infix-routing:kernel",
"connected": "ietf-routing:direct",
"local": "ietf-routing:direct",
"local": "infix-routing:kernel", // host route for own addr -> kernel
"static": "ietf-routing:static",
"ospf": "ietf-ospf:ospfv2",
"rip": "ietf-rip:rip",
Expand Down
Loading