An add-on to boardfarm that contains DOCSIS specific libraries.
Project description
Boardfarm DOCSIS
This is the repo that will contain DOCSIS specific tests and libraries for use for testing a docsis CM, CMTS, or other devices in a typical DOCSIS environment
To use this boardfarm plugin on Ubuntu, you must install:
# TCL for encoding of an MTA config file
sudo apt update
sudo apt install tcllib
# docsis for running docsis commands
sudo apt install automake libtool libsnmp-dev bison make gcc flex git libglib2.0-dev libfl-dev
git clone https://github.com/rlaager/docsis.git
cd docsis
./autogen.sh
./configure
make
sudo make install
Execute tests
Please see the the demo test suite that utilizes some of the use-cases
from the boardfarm-docsis plugin.
.
└── tests
├── __init__.py
├── docsis
│ ├── __init__.py
│ └── test_demo_docsis_1.py
├── pytest.ini
└── tr069
├── __init__.py
└── test_demo_tr069_1.py
NOTE: In order to run these test you will have to install pytest-boardfarm.
pip install boardfarm3[docsis,pytest]
Sample run command:
pytest \
--rootdir=. \
--capture=tee-sys \
--board-name <cpe-name> \
--env-config <testbed_env.json> \
--junitxml ./results/pytest_run_report.xml \
--ldap-credentials "username:password" \
--inventory-config <lab_devices.json> \
--html=./results/pytest_run_report.html \
--self-contained-html \
--save-console-logs=./results \
./boardfarm-docsis/tests/ \
--skip-contingency-checks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file boardfarm3_docsis-1.0.1.tar.gz.
File metadata
- Download URL: boardfarm3_docsis-1.0.1.tar.gz
- Upload date:
- Size: 853.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46363acfa49d9f7c89e72b6b458b061230a966ff7d1c54b8566d364a5fc33e45
|
|
| MD5 |
82aaadbc03ee3ebfe9e76bee69e97c40
|
|
| BLAKE2b-256 |
904847e53c04efebcb86b96baa5178aa30237ed0a54b2b1883208c78004d0acd
|
File details
Details for the file boardfarm3_docsis-1.0.1-py3-none-any.whl.
File metadata
- Download URL: boardfarm3_docsis-1.0.1-py3-none-any.whl
- Upload date:
- Size: 903.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2855efacc55e2bb4817f4dc36cf953a740cb3b59642f9ee7dc46fda559a2ffa7
|
|
| MD5 |
960fae5205cdf4829e95de5ed2c79395
|
|
| BLAKE2b-256 |
70d51c85ba7a0b5a424876137f8adb1e1b9867cc9045b78d0eb13403a703c17f
|