Giter Club home page Giter Club logo

config-models's Introduction

config-models

Model Plugins for onos-config YANG Files compiled with YGOT loadable as Shared Object Libraries

Building the modules

The plugins are built from the Makefile of onos-config.

The build cannot be done from this folder, because Go plugins cannot be loaded in to a Main module if they are built under a different GOPATH than the main module

the error plugin was built with a different version of package internal/cpu (or similar) can be expected, if this is not the case.

See golang/go#26759

Running

The plugins are loaded in Kubernetes by declaring them as additional containers in the onos-config Pod - this is specified in the Helm Chart for onos-config or in onit.

As the plugin containers startup in Kubernetes the default command is copylibandstay. This is a tiny program that copies the library in to a shared folder where onos-config can refer to it as a file e.g. /usr/local/lib/shared/devicesim.so.1.0.0

config-models's People

Contributors

seancondon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.