Skip to main content

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 git+https://github.com/lgirdk/pytest-boardfarm.git@boardfarm3
pip install git+https://github.com/lgirdk/boardfarm-docsis.git@boardfarm3

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boardfarm3_docsis-1.0.0.tar.gz (851.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boardfarm3_docsis-1.0.0-py3-none-any.whl (903.4 kB view details)

Uploaded Python 3

File details

Details for the file boardfarm3_docsis-1.0.0.tar.gz.

File metadata

  • Download URL: boardfarm3_docsis-1.0.0.tar.gz
  • Upload date:
  • Size: 851.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for boardfarm3_docsis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a19de39b84c8a463ce8a8ea12de1100e5bd560045cfc9803996a79a7ccbb2fcf
MD5 395e566ae60fac1c9e0ec067ca2085ad
BLAKE2b-256 58e7491ccd58644acce74769273df11bf0e8f7f14ea306004d9bd3d8b68880bf

See more details on using hashes here.

File details

Details for the file boardfarm3_docsis-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for boardfarm3_docsis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4314d09ccb580961a4168a67b6b15ae99348b056d5fdac23ed3db0f5ef73a0f5
MD5 49993b3ad3cb7ed0e2f4109385985c3d
BLAKE2b-256 8a83833103db22d34c3bc7d2bfefa981e2aa287fbf293ef0ecd835566bbb8c95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page