Skip to main content

OpenSwitch Development Tool

Project description

https://readthedocs.org/projects/opx/badge/?version=latest

Installation

$ pip3 install opx

Requirements

Getting Started

# initialize your workspace
$ opx init

# build all packages
$ opx build

# assemble an installer
$ opx assemble

# remove persistent container
$ opx remove

New Features (Over opx-build)

  • Opinionated defaults
    • Remembers to pull Docker image regularly so you don’t have to
    • Sort packages into pkg/$repo/ after building
    • Persistent container (if inside a workspace)
    • One container allowed per workspace
  • Publish packages to testing
$ opx publish opx-logging
  • Commands are aliased
# all run opx build
$ opx b opx-logging
$ opx bui opx-logging
$ opx build opx-logging

Command Line Completion

Run the command corresponding with your shell. Add to your shell startup file for persistent autocomplete.

# bash
$ eval "$(_OPX_COMPLETE=source-bash opx)"

# zsh
$ eval "$(_OPX_COMPLETE=source-zsh opx)"

# fish
$ eval (env _OPX_COMPLETE=source-fish opx)

Roadmap

  • Port opx_rel_pkgasm from python script to module
  • Port opx_get_packages from python script to module
  • Port opx_bld_basics from python script to module

License

OpenSwitch Development Tool is distributed under the terms of the MIT License.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
opx-1.0.1-py3-none-any.whl (17.8 kB) Copy SHA256 hash SHA256 Wheel py3 Mar 29, 2018
opx-1.0.1.tar.gz (13.5 kB) Copy SHA256 hash SHA256 Source None Mar 29, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page