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 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


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.1.0.tar.gz (838.8 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.1.0-py3-none-any.whl (903.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: boardfarm3_docsis-1.1.0.tar.gz
  • Upload date:
  • Size: 838.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for boardfarm3_docsis-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e2d34ced984b1c0c2bd98343de4ea38809d575ef621054ff1b4591c6e7906ef2
MD5 1ed6f7657a152402599784c9ac5c9dbd
BLAKE2b-256 fe71a52af3ee82c0b7a7af310560842b130e8f482ff8838f0684b05182675f5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: boardfarm3_docsis-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 903.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for boardfarm3_docsis-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39e053b135c849ace0423d252343474d148a9d8776a6e2cd0ebfc4e5c348b6a2
MD5 cc6455f5ebab2f45cac049f6d632e160
BLAKE2b-256 f851948a9cf89188f60eedac72c1b7b8dc42fb9620b86784142437095e34ef9a

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