openwisp / openwisp/netengine

Verify AirOS CPU count source

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

Nobody has claimed this yet.

Dominant language
Python
Stars
42
Forks
18
Avg merge
12h 54m
Merged PRs (30d)
1

Description

Follow-up to #62.

The AirOS backend currently derives resources.cpus from 1.3.6.1.4.1.10002.1.1.1.4, the load table. Before changing this behavior, verify the relevant AirOS MIBs on real devices and compare the reported value with the device CPU topology.

If this is not an authoritative CPU source, identify the correct supported OID or omit the field. Add a sanitized real-device fixture and regression test for the selected behavior.

Contributor guide

No contributing guide indexed for this repository

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 locating the AirOS backend code that derives resources.cpus from OID 1.3.6.1.4.1.10002.1.1.1.4 and review the relevant AirOS MIBs on real devices. Compare the reported value with CPU topology, then add a sanitized real-device fixture and regression test covering the selected behavior: use an authoritative OID or omit the field.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.