Skip to content

open-traffic-generator/models-yang

Repository files navigation

Open-Traffic-Generator Telemetry Yang Models

Build Project Status: Active – The project has reached a stable, usable state and is being actively developed. License

Helpful links

Build

Gitlab is not reachable from within lab network, hence please make sure that the intended system is outside lab network (for build to succeed).

  • Clone this project

    git clone https://github.com/open-traffic-generator/models-yang.git
    cd models-yang/
  • For Development

    # Create a tagged docker image
    docker build -t models-yang:dev .
    # Start container and you'll be placed inside the project dir
    docker run -it --name models-yang-dev models-yang:dev

Quick Tour

do.sh covers most of what needs to be done manually. In addition, make utility can be used.

# install necessary software for dev environment setup and install dependency
./do.sh deps
# build artifacts
./do.sh art
# clean artifacts
./do.sh clean
# run makefile
make
# generate yang tree
make lint

Get project source, install dependencies and build it