Skip to main content

Distributed Device Reasoning (DDR) IOS-XE runtime

Project description

########## Instructions for updating DDR infrastructure files #################

Make changes in ddr infrastructure files

cd ~/ddr-home/ddr-clips/ddr-packaging/ edit setup.py for new ddr-clips version number rm -rf dist python3 -m build cp ~/ddr-home/ddr-clips/ddr-packaging/dist/ddr_clips-x.y.z-py3-none-any.whl ddr-home/ddr-clips/infra/xe/infra-files

cd ~/ddr-home/ddr-python/ddr-packaging/ edit setup.py for new ddr-python version number rm -rf dist python3 -m build cp ~/ddr-home/ddr-python/ddr-packaging/dist/ddr_python-x.y.z-py3-none-any.whl ddr-home/ddr-python/infra/xe/infra-files

Make changes in DDR automation to use the updated ddr-clips and ddr-python packages

Copy new ddr-clips and ddr-python .whl files

rm ~/ddr-home/ddr-lm/files/xe/infra-files/ddr_* cp ~/ddr-home/ddr-clips/ddr-packaging/dist/ddr_clips-x.y.z-py3-none-any.whl ~/ddr-home/ddr-lm/files/xe/infra-files cp ~/ddr-home/ddr-python/ddr-packaging/dist/ddr_python-x.y.z-py3-none-any.whl ~/ddr-home/ddr-lm/files/xe/infra-files

Edit pipfiles.sh to include new ddr-clips and ddr-python .whl names

~/ddr-home/ddr-lm/files/xe/infra-files/pipfiles.sh

Push changes to ddr-clips repository Push changes to ddr-python repository Push changes to ddr-pyats repository

Make changes in ddr-clips and ddr-python usecases

Copy selected usecases that will be used with ddr-pyats

cp ~/ddr-home/ddr-clips/usecases/xe/USECASE_Directory ~/ddr-home/ddr-pyats/usecases/xe cp ~/ddr-home/ddr-python/usecases/xe/USECASE.py ~/ddr-home/ddr-pyats/usecases/xe

update DDR repositories

git add and git commit changes to repositories and push

~/ddr-home/ddr-clips git push ~/ddr-home/ddr-python git push ~/ddr-home/ddr-pyats git push

update ADS machine DDR repositories

Assumes that all repositories are stored on ADS in /nobackup/USERNAME/ddr-home...

/nobackup/USERNAME/ddr-home/ddr-clips git pull /nobackup/USERNAME/ddr-home/ddr-python git pull /nobackup/USERNAME/ddr-home/ddr-pyats git pull

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

ddr-python-1.0.16.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

ddr_python-1.0.16-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file ddr-python-1.0.16.tar.gz.

File metadata

  • Download URL: ddr-python-1.0.16.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for ddr-python-1.0.16.tar.gz
Algorithm Hash digest
SHA256 ad7283a77fd6fc8828956115e2eaed557362b0018dc90e1b3b4a011d2cf01706
MD5 0f284f1c693590bf6f0c8f9f9ddf692d
BLAKE2b-256 ef8040a35ad7efde45f0823dd470f5e0f587f5098fb548c9fdb3cf23669c84fe

See more details on using hashes here.

File details

Details for the file ddr_python-1.0.16-py3-none-any.whl.

File metadata

  • Download URL: ddr_python-1.0.16-py3-none-any.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for ddr_python-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 493a90fa1df610153dda65013ad4a11b8c2bacd9eaf41e14ca81bf01cfb33285
MD5 f5d36c6cb0733e18fe22c6451ff3df0d
BLAKE2b-256 0f0ad836270a3f524b428eeb97de5b4a3861c41e0f203282fd86d23ff255bc37

See more details on using hashes here.

Supported by

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