mellanox/netop-tools/testing-netop-configs
Claude Code and agent skill by mellanox/netop-tools
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Run and create tests for netop-tools configuration generation. Use when running unitest.sh, validating YAML generation, creating new test cases, checking test baselines, debugging test failures, or verifying config changes don't break existing tests.
Install
npx vskill@latest install mellanox/netop-tools/testing-netop-configsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as mellanox/netop-tools/testing-netop-configs.
Testing netop-tools Configurations
Tests validate YAML generation by diffing output against baseline files.
Running Tests
How Tests Work
- Sets
CREATE_CONFIG_ONLY=1(generate YAML, don't deploy) - Sources test's
configfile asGLOBAL_OPS_USER - Runs
install/ins-network-operator.shto generate YAML - Runs
diff -ruNbetween generated YAML and baseline*.yamlfiles - Non-zero exit if any diffs found
Available Test Scenarios
| Directory | Scenarios | |
|---|---|---|
tests/sriovnet_rdma/ | 1/, 2/, combined/, rdmaMode/ | |
tests/sriovibnet_rdma/ | basic/, combined/ | |
tests/hostdev/ | basic/, combined/ | |
tests/macvlan_rdma_shared_device/ | 1/, combined/ | |
tests/25_10/ | sriovnet_rdma/1/, sriovibnet_rdma/1/ |
Creating a New Test
Test Directory Structure
Debugging Test Failures
When a test fails, unitest.sh shows the diff. Common causes:
| Symptom | Cause | Fix | |
|---|---|---|---|
| All tests fail | Changed default in global_ops.cfg | Regenerate all baselines | |
| One test fails | Config override missing | Add missing variable to test's config | |
| New YAML file not compared | Test dir missing baseline | Copy generated file to test dir | |
| Version-specific failures | NETOP_VERSION changed behavior | Create version-specific test under tests/ |
CI Integration
GitHub Actions (.github/workflows/main.yml) runs tests/unitest.sh on ubuntu-22.04 on every push. Tests are discovered automatically by finding config files via find.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testing-netop-configs/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mellanox/netop-tools/testing-netop-configs)